summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant eventsVincent Petry2022-08-151-16/+0
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-144-34/+40
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-132-0/+14
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-126-4/+48
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-102-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-086-8/+18
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-074-0/+10
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-0620-42/+94
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-05104-0/+164
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix label for allow download share permissionJulius Härtl2022-08-041-5/+1
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix external share scanner not propagating locking-opt-outRobin Appelman2022-08-031-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Disable locking on federated sharesCarl Schwan2022-08-031-0/+5
| | | | | | | The old inneficiant code didn't do locking and adding locking is creating issues Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Revert "Revert "Remove inefficient fed share scanner""Carl Schwan2022-08-032-82/+0
| | | | | | This reverts commit 6667007bf235b90a7dd105c881cf5802b2a3f83e. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Multiple fixesCarl Schwan2022-07-318-127/+276
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Enforcing permission during resharingCarl Schwan2022-07-284-10/+14
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Inherit hide download from share attributesVincent Petry2022-07-281-0/+27
| | | | | | | When resharing by link, if the download permission was removed through share attributes, convert it to the hide download flag. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Block download when needed on direct download endpointVincent Petry2022-07-281-0/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix view-only code after code review commentsVincent Petry2022-07-282-9/+14
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix adding to empty attributes and duplicate requestJulius Härtl2022-07-282-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share attrs + download permission support in frontendVincent Petry2022-07-284-2/+113
| | | | | | | Added download permission checkbox in frontend Added share attributes parsing and setting in frontend. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Don't reset share attributes when not specifiedVincent Petry2022-07-281-2/+6
| | | | | | When not specified in the OCS call, don't reset the share attributes. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix share attribute related tests + code styleVincent Petry2022-07-285-42/+72
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix share controller to accept share attributes aloneVincent Petry2022-07-281-2/+5
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add share attributes + prevent download permissionVincent Petry2022-07-2810-46/+591
| | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #33379 from nextcloud/techdebt/noid/goodbye-legacy-idsVincent Petry2022-07-271-1/+0
|\ | | | | Remove more legacy ids
| * Remove more legacy idsVincent Petry2022-07-271-1/+0
| | | | | | | | | | | | | | | | Remove more unused legacy ids from early ownCloud times. This reduces the number of duplicate ids in the DOM. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Merge pull request #33316 from ↵Vincent Petry2022-07-273-1/+5
|\ \ | |/ |/| | | | | nextcloud/bugfix/noid/aria-label-share-link-buttons Accessible names for share panel buttons
| * Accessible names for share panel buttonsVincent Petry2022-07-263-1/+5
| | | | | | | | | | | | | | Added aria-label for the buttons on the share panel. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Remove legacy #dir element in files listVincent Petry2022-07-274-6/+6
|/ | | | | | | | | | Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #33361 from nextcloud/techdebt/noid/further-cleanupVincent Petry2022-07-261-0/+1
|\ | | | | Further markup cleanup
| * Add missing closing spans and avoid empty hrefVincent Petry2022-07-261-0/+1
| | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Merge pull request #33358 from ↵Vincent Petry2022-07-261-1/+0
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/remove-old-notification-container Remove obsolete notification container
| * | Remove obsolete notification containerVincent Petry2022-07-261-1/+0
| |/ | | | | | | | | | | | | The future is TOAST 🍞 Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Add argument to getSharesInFolder enable deep share lookupLouis Chemineau2022-07-261-1/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Skip testMovedIntoShareChangeOwnerLouis Chemineau2022-07-261-0/+2
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Recursively fetch subsharesLouis Chemineau2022-07-261-3/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Change share owner when moving share out of shareLouis Chemineau2022-07-261-12/+14
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Update owner of subdir on move into/out of shareVincent Petry2022-07-261-0/+19
| | | | | | | | | | | | | | | | When moving a directory into or out of a received share, make sure to also update the share owner column for shares that exist insie the directory. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Test moving share in and out of another shareLouis Chemineau2022-07-261-0/+117
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Replace files app ids to classesVincent Petry2022-07-2615-72/+72
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #33321 from ↵Vincent Petry2022-07-255-102/+106
|\ | | | | | | | | nextcloud/bugfix/noid/fix-sharing-lighthouse-issues Fix sharing panel lighthouse warnings
| * Fix sharing panel lighthouse warningsVincent Petry2022-07-225-102/+106
| | | | | | | | | | | | | | Replaced h5 with span and adjusted selectors. Fixed ul/li hierarchy of some elements. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-07-232-4/+4
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #33064 from nextcloud/feat/capped-memorycache-ocpCarl Schwan2022-07-182-2/+2
|\ | | | | Move CappedMemoryCache to OCP
| * Move CappedMemoryCache to OCPCarl Schwan2022-07-142-2/+2
| | | | | | | | | | | | | | | | This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | [tx-robot] updated from transifexNextcloud bot2022-07-172-0/+14
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-07-142-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #32973 from nextcloud/cleanup/avatar-codeCarl Schwan2022-07-111-7/+7
|\ | | | | Cleanup avatar related code
| * Make Color class publicCarl Schwan2022-07-051-7/+7
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | [tx-robot] updated from transifexNextcloud bot2022-07-104-2/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>