aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | code checker fixes for instanceOfStorageRobin Appelman2021-12-021-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | background scan the source storage when a background scan on a storage jail ↵Robin Appelman2021-12-021-0/+1
|/ | | | | | is triggered Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ2021-10-2271-358/+728
|\
| * update testsRobin Appelman2021-10-191-17/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * use the correct navigation manager for the sharesRobin Appelman2021-10-191-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * call setupSharingMenus againRobin Appelman2021-10-191-13/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * move files_sharing to IBootStrapRobin Appelman2021-10-192-68/+47
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Merge pull request #28377 from nextcloud/fix/shared-ext-storage-scanszaimen2021-09-101-1/+16
| |\ | | | | | | Scan the shared external storage source on access
| | * Return proper watcher if SharedStorage originates from ExternalMountJohn Molakvoæ (skjnldsv)2021-09-101-1/+16
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Merge pull request #28764 from nextcloud/feat/sharing-link-eventJohn Molakvoæ2021-09-102-2/+100
| |\ \
| | * | Emit event on link share actionJohn Molakvoæ2021-09-102-2/+100
| | |/ | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * / use specific email getter where necessaryArthur Schiwon2021-09-091-1/+1
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Let users choose a share_folderHinrich Mahler2021-09-065-6/+47
| |
| * add event for when a share is mountedRobin Appelman2021-08-242-1/+75
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Fix remote share deletion when deleting userVincent Petry2021-07-271-23/+54
| | | | | | | | | | | | | | When deleting a user, we should only delete the direct remote user shares or the remote group based subshares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Replace ILogger with LoggerInterface in remote share managerVincent Petry2021-07-273-12/+14
| | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
| * Fix remote group share decline+accept code pathVincent Petry2021-07-271-1/+7
| | | | | | | | | | | | | | | | When declining a remote group share through the dialog that appears when notifications are off, the mount point is now correctly saved when re-accepting. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Fix external share manager with multiple user groupsVincent Petry2021-07-271-8/+15
| | | | | | | | | | | | Use query builder with proper matching for finding the group names. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Fix remote group share API interactionsVincent Petry2021-07-271-8/+36
| | | | | | | | | | | | | | | | | | | | Accepting and declining can now be done repeatedly on both the parent group share and sub-share with the same effects. Added unit tests to cover these cases, and also when the same operation is repeated. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Fix re-accepting or re-rejecting remote group sharesVincent Petry2021-07-271-42/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | When accepting a group share, a sub-share entry is created which also has a different id. When accepting or rejecting the sub-share, simply update the "accepted" flag instead of trying to re-insert the entry. Adjust getShare to also properly validate group share membership when called on a sub-share id. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Add logging to external shares managerVincent Petry2021-07-273-15/+28
| | | | | | | | | | | | | | Instead of just returning false, also log the exception to make debugging database issues easier. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Fix received federated group sharesVincent Petry2021-07-271-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | Fix pending shares endpoint to consider user-specific sub-entries for group shares whenever a share was accepted or declined. Added unit test for adding remote group shares. Fixed "removeUserShares" to not send a remote request as we never send remote requests for group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Merge pull request #27875 from goyome/goyome-patch-group-shares-limitblizzz2021-07-141-1/+1
| |\ | | | | | | No limit in the number of group shares
| | * No limit in the number of group sharesGuillaume Colson2021-07-081-1/+1
| | | | | | | | | | | | | | | | | | By default, autoaccept doesn't work if the user has more than 50 group shares Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
| * | Update "Sending password by Nextcloud Talk failed" sentenceszaimen2021-07-071-1/+1
| |/ | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
| * Migrate HintException to OCPGary Kim2021-06-301-2/+2
| | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
| * Use DI for files_sharing CacheMorris Jobke2021-06-172-11/+13
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Use proper methods for display name retrievalMorris Jobke2021-06-171-1/+8
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Merge pull request #26571 from nextcloud/bugfix/noid/existing-link-no-reshareblizzz2021-06-161-0/+6
| |\ | | | | | | Only allow removing existing shares that would not be allowed due to reshare restrictions
| | * When changing the share owner, downgrade permissions where neededJulius Härtl2021-06-091-0/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| | * Drop share if moved to a parent share that does not allow resharingJulius Härtl2021-06-091-0/+5
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Use product name in places where it is appropriate rather than the instance nameJulius Härtl2021-06-161-1/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | use searchoperation for storage filter instead of db expressionRobin Appelman2021-06-141-8/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-141-11/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Correctly check the reception of a remote feedbackLouis Chemineau2021-06-091-2/+2
| |/ | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0469-133/+66
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Also make other shares listen to the "Allow sharing with groups"Joas Schilling2021-05-261-1/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-212-24/+34
| |\ | | | | | | Add option to exclude groups from creating link shares
| | * load share settings from the share manager in more placesRobin Appelman2021-05-122-24/+34
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Merge pull request #25679 from nextcloud/drop/ocp-userMorris Jobke2021-05-211-3/+3
| |\ \ | | | | | | | | Drop \OCP\User
| | * | Drop \OCP\UserChristoph Wurst2021-05-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Inlines and remaining usages and drops the deprecated public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Rename External storages to External storageszaimen2021-05-201-1/+1
| |/ / | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
| * | l10n: Unify spellingValdnet2021-05-201-1/+1
| | | | | | | | | Spelling unification in Nextcloud applications.
| * | Merge pull request #26580 from castillo92/patch-2Morris Jobke2021-05-181-2/+2
| |\ \ | | |/ | |/| Fix casing of exception string
| | * Update ShareAPIController.phpcastillo922021-04-161-2/+2
| | | | | | | | | | | | | | | Change to capital letters in an abbreviation. Signed-off-by: castillo92 javiercizquierdo@gmail.com
| * | Add bruteforce protection to the shareinfo endpointRoeland Jago Douma2021-05-121-5/+11
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | l10n: Change to a capital letterValdnet2021-04-271-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | Make lookup search explicitRoeland Jago Douma2021-04-191-1/+1
| |/ | | | | | | | | | | Speedsup sharee lookup quite a bit. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Separate settings for remote share expirationVincent Petry2021-04-151-0/+7
| | | | | | | | | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Fix expire date capability for federated sharesVincent Petry2021-04-151-1/+4
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>