Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-13Revert "Remove inefficient fed share scanner"Carl Schwan
This reverts commit ce319143142e2ee998ef4794b04ad684c4ffa911. Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit 6667007bf235b90a7dd105c881cf5802b2a3f83e)
2022-04-14only request free space once for external sharesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-14use all possible permissions dav propertiesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-14don't overwrite the etag from storage backends that already provide "good" etagsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-05take permissions from multiple paths into account for share permissionsbackport/31684/stable23Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-08Fix too many file download notifications when watching a videoszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-22Use the new option to signaling insensitivityJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-10Revert "Add non-breaking space in the file size"szaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-15Merge pull request #30688 from nextcloud/backport/30499/stable23MichaIng
[stable23] Remove inefficient fed share scanner
2022-01-15Add non-breaking space in the file sizeCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14Remove inefficient fed share scannerVincent Petry
Remove scanAll which relies on the "shareinfo" endpoint that returns the full cache tree. The latter can become big for big shares and result in timeouts. Furthermode, the full tree would be retrieved again for each and every detected change which can become expensive quickly. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-09Handle LocalServerException when scanning external sharesCarl Schwan
When remoteIsOwnCloud trows LocalServerException, the storage is unavailable and instead of crashing the scanner, ignore the specific storage. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-07Fix passing on the parameterJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-29Handle external share with invalid hostCarl Schwan
remoteIsOwnCloud might throw an exception when the host is localhost. Handle this case instead of aborting completely. The behavior is the same as that is done 10 lines under it Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-17Discard share notification for non-existing groupsVincent Petry
Group shares might exist even after a group got deleted. This fix catches the situation and discards the notification for the obsolete group. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-12-13Limit more contact searchesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02code checker fixes for instanceOfStorageRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02background scan the source storage when a background scan on a storage jail ↵Robin Appelman
is triggered Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-22Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ
2021-10-19update testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19use the correct navigation manager for the sharesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19call setupSharingMenus againRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19move files_sharing to IBootStrapRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-09-10Merge pull request #28377 from nextcloud/fix/shared-ext-storage-scanszaimen
Scan the shared external storage source on access
2021-09-10Merge pull request #28764 from nextcloud/feat/sharing-link-eventJohn Molakvoæ
2021-09-10Return proper watcher if SharedStorage originates from ExternalMountJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-09-10Emit event on link share actionJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2021-09-09use specific email getter where necessaryArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-06Let users choose a share_folderHinrich Mahler
2021-08-24add event for when a share is mountedRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-27Fix remote share deletion when deleting userVincent Petry
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>
2021-07-27Replace ILogger with LoggerInterface in remote share managerVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2021-07-27Fix remote group share decline+accept code pathVincent Petry
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>
2021-07-27Fix external share manager with multiple user groupsVincent Petry
Use query builder with proper matching for finding the group names. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27Fix remote group share API interactionsVincent Petry
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>
2021-07-27Fix re-accepting or re-rejecting remote group sharesVincent Petry
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>
2021-07-27Add logging to external shares managerVincent Petry
Instead of just returning false, also log the exception to make debugging database issues easier. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27Fix received federated group sharesVincent Petry
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>
2021-07-14Merge pull request #27875 from goyome/goyome-patch-group-shares-limitblizzz
No limit in the number of group shares
2021-07-08No limit in the number of group sharesGuillaume Colson
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>
2021-07-07Update "Sending password by Nextcloud Talk failed" sentenceszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-30Migrate HintException to OCPGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-17Use DI for files_sharing CacheMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-17Use proper methods for display name retrievalMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-16Merge pull request #26571 from nextcloud/bugfix/noid/existing-link-no-reshareblizzz
Only allow removing existing shares that would not be allowed due to reshare restrictions
2021-06-16Use product name in places where it is appropriate rather than the instance nameJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-14use searchoperation for storage filter instead of db expressionRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14rework search api to allow searching on multiple caches at onceRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-09Correctly check the reception of a remote feedbackLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-09When changing the share owner, downgrade permissions where neededJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>