Skip to content

Conversation

@butonic
Copy link
Member

@butonic butonic commented Jan 18, 2017

backport of #26306 to stable9.1

requires a few more commits to first enable PUT uploads.

manually tested in IE11, chrome canary and firefox.

cc @michaelstingl @PVince81

butonic and others added 30 commits August 12, 2016 15:10
For owncloud/client#5056
Users can configure arbitrary subfolders for syncing, therefore we should
always return it when asked for.
The sync client makes sure to not always ask for it to save bandwidth.
This instead of recreating it for every call.
Fixes issue where subadmins could never add users to a group.
Added missing unit tests
To prevent recursions in initMountPoints which requires the numeric id
to populate oc_mounts
…agatorinstance

[stable9.1] Store the shared propagator instance
Pick the most recent subshare that has no parenthesis from duplication
which should match whichever name the user picked last. If all
subshares have duplicate parenthesis names, use the least recent group
share's target instead.
Whenever a group share is created after a direct share, the stime order
needs to be properly considered in the repair routine, considering that
the direct user share is appended to the $subShares array and breaking
its order.
…badmin-addtogroup

[stable9.1] Fix subadmin permission check for addToGroup/removeFromGroup
…-shortcutstorageid

[stable9.1] Fix sharedstorage recursion hell
…e568b7bdde1bd49cfad73

[stable9.1] Merge pull request #25652 from owncloud/fix-getQuota-on-null
Seems I forgot to set it back to false after testing.
Will give a performance boost for all storages.
[stable9.1] add conditional smb trace logging for debug purposes
…-repair-targetdecision

[stable9.1] Fix unmerged shares repair targetdecision
[stable9.1] Disable NFD encoding wrapper by default
…-repair-betterregexp

[stable9.1] Improve regexp to detect duplicate folders when repairing unmerged shares
Vincent Petry and others added 25 commits December 14, 2016 19:17
…6d741d61612705463d92c

[stable9.1] When grouping shares, sort by stime then id
Stable9.1: Do not validate return code if set was successful
[stable9.1] Prevent user with empty uid
[stable9.1] Fix for app groups setting preservation
* Add integration test for creating folder with colon

* Update submodule for sabre/uri update

* Update 3rdparty commit
…1b3c05dfc45b15872f31e

Just use moment to comupte the time left for the upload - translation…
[stable9.1] Fix DAV stat cache to properly cache 404
[stable9.1] Prevent PHP request to get killed when using fclose callback
* Skip null groups in group manager

* Also skip null groups in group manager's search function

* Add more group null checks in sharing code

* Add unit tests for null group safety in group manager

* Add unit tests for sharing code null group checks

* Added tests for null groups handling in sharing code

* Ignore moveShare optional repair in mount provider

In some cases, data is inconsistent in the oc_share table due to legacy
data. The mount provider might attempt to make it consistent but if the
target group does not exist any more it cannot work. In such case we
simply ignore the exception as it is not critical. Keeping the
exception would break user accounts as they would be unable to use
their filesystem.

* Adjust null group handing + tests
- uses PUT method with jquery.fileupload for regular and public file
  lists
- for IE and browsers that don't support it, use POST with iframe
  transport
- implemented Sabre plugin to handle iframe transport and redirect the
  embedded PUT request to the proper handler
- added RFC5995 POST to file collection with "add-member" property to
  make it possible to auto-rename conflicting file names
- remove obsolete ajax/upload.php and obsolete ajax routes
Not needed any more in IE >= 11
Hacked around Blueimp's jquery.fileupload to make it work with our new
chunking API.
…26069)

The web UI now uses for PUT uploads which aren't restricted by PHP's
upload_max_filesize and post_max_size
Properly trigger the "stop" even from the uploader.
Also update storage stats at the end of all uploads instead of for each
upload.
Removes the need for POST to collection which would hit against upload
limits.

The client tries to auto rename the file by adding a suffix "(2)".
It tries to use the file list on the client side to guess a
suitable name. In case a file still cannot be uploaded and creates a
conflict, which can happen when the file was concurrently uploaded, the
logic will continue increasing the suffix.
@butonic butonic closed this Jan 18, 2017
@butonic
Copy link
Member Author

butonic commented Jan 18, 2017

ignore ... I'm stupid ...

@DeepDiver1975 DeepDiver1975 deleted the stable9.1-chunked-web-upload branch August 11, 2017 22:54
@lock
Copy link

lock bot commented Aug 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.