-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Stable9.1 chunked web upload #26969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Stable9.1 chunked web upload #26969
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
[stable9.1] remove reference magic
[stable9.1] 204 and 304 must not have a body, see https://tools.ietf.org/html/rfc7230#section-3.3
[stable9.1] fix typo
* Take from nextcloud/server@351cab6 - THX @schiessle * Fix unit tests
…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
…s are delivered as part of moment.js - fixes #26804
…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.
Member
Author
|
ignore ... I'm stupid ... |
|
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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