aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #31771 from nextcloud/fix/hook-encryption-cronVincent Petry2022-06-101-1/+1
|\ | | | | Fix hook encryption with cron job
| * Fix hook encryption with cron jobCarl Schwan2022-06-071-1/+1
| | | | | | | | | | | | | | | | Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #32741 from nextcloud/Valdnet-patch-2Joas Schilling2022-06-102-10/+10
|\ \ | | | | | | l10n: Delete apostrophe
| * | Fix unit testsJoas Schilling2022-06-071-2/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | l10n: Delete apostropheValdnet2022-06-071-8/+8
| |/ | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | Merge pull request #32806 from nextcloud/fix-federated-sharingVincent Petry2022-06-101-0/+70
|\ \ | | | | | | Revert "Remove inefficient fed share scanner"
| * | Revert "Remove inefficient fed share scanner"Carl Schwan2022-06-101-0/+70
| |/ | | | | | | | | | | This reverts commit ce319143142e2ee998ef4794b04ad684c4ffa911. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* / Various improvements related to the recent implementation of temporary passwordsCyrille Bollu2022-06-081-1/+1
|/ | | | | | | | | | | | | | | for mail shares: 1- Changes style of "forgot password?" and "Back" button 2- Adds information about share password's expiration time in the emails sent. 3- Shows password expiration time in the Share menu 4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords) 5- At share's creation, password should only be sent when it's a permanent one See also https://github.com/nextcloud/server/issues/31952 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #32349 from nextcloud/enh/projects-eventCarl Schwan2022-05-271-3/+4
|\ | | | | Add event to load additional scripts for projects
| * Move files_sharing over to new event for projectsJulius Härtl2022-05-121-3/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add stricter psalm type for CappedMemoryCacheCarl Schwan2022-05-122-0/+2
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #32053 from nextcloud/cache-verify-share-mountpointblizzz2022-04-222-4/+29
|\ | | | | cache the verification of the share mountpoint
| * cache the verification of the share mountpointRobin Appelman2022-04-212-4/+29
| | | | | | | | | | | | after the initial verification this can only really be invalidated by a system mount (external/group/etc) being created at the share target since any normal file/folder creation will already conflict with the share Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update cache when display name changeCarl Schwan2022-04-222-1/+4
| | | | | | | | | | | | This improve the correctness of the data Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Cache display nameCarl Schwan2022-04-222-30/+13
| | | | | | | | | | | | | | | | This should saves some query in the share backend when displaying the owner and it's not important if the display name is 10 minutes outdated as it is very rare that this gets changed. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #32050 from nextcloud/share-cache-owner-nameJohn Molakvoæ2022-04-221-4/+14
|\ \
| * | cache the share owner name for formating cache entriesRobin Appelman2022-04-211-4/+14
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | also apply the fix for the other storage typesRobin Appelman2022-04-211-1/+11
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | improve optimization for SharedStorage::instanceOfStorage(Common)Robin Appelman2022-04-211-1/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Properly reset pw expirationVincent Petry2022-04-131-36/+0
| | | | | | | When requesting a new password for share by mail link, now we correctly reset the expiration date. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #31220 from nextcloud/enhancement/31005/temporary-passwordsVincent Petry2022-04-123-46/+155
|\ | | | | Temporary passwords for public non-anonymous protected shares (ie: files shared with an email recipient).
| * Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-113-46/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* | Merge pull request #31713 from nextcloud/fed-performanceRobin Appelman2022-04-071-1/+8
|\ \ | |/ |/| Federated share performance improvements
| * only request free space once for external sharesRobin Appelman2022-04-041-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * use all possible permissions dav propertiesRobin Appelman2022-04-041-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * don't overwrite the etag from storage backends that already provide "good" etagsRobin Appelman2022-04-041-1/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31845 from nextcloud/querybuilder-shareexternalCarl Schwan2022-04-071-7/+9
|\ \ | | | | | | Use querybuilder for share external mountpoint
| * | Use querybuilder for share external mountpointCarl Schwan2022-04-061-7/+9
| |/ | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #31684 from nextcloud/user-share-permissions-mergeSimon L2022-04-051-11/+22
|\ \ | | | | | | take permissions from multiple paths into account for share permissions
| * | take permissions from multiple paths into account for share permissionsRobin Appelman2022-03-311-11/+22
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #31773 from nextcloud/share-limited-owner-setupVincent Petry2022-04-051-11/+30
|\ \ \ | | | | | | | | Perform a limited filesystem setup when getting share source
| * | | use UserFolder to get the share source nodeRobin Appelman2022-04-041-11/+30
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / | Set oc_share_external.name column length to 4000 to remove arbitrary limitationCôme Chilliet2022-04-041-0/+56
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #31240 from nextcloud/Valdnet-patch-3Louis2022-03-311-1/+1
|\ \ | | | | | | l10n: Add a dot
| * | l10n: Delete dotValdnet2022-02-171-2/+2
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | l10n: Add a dotValdnet2022-02-171-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | invalidate mount cache after accepting or renaming federated shareRobin Appelman2022-03-251-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | invalidate mount cache after share renameRobin Appelman2022-03-242-20/+26
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | l10n: Spelling unification in Transifex.Valdnet2022-03-181-3/+3
| | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | Merge pull request #31431 from nextcloud/fs-setup-managerRobin Appelman2022-03-082-2/+6
|\ \ | | | | | | Unify/cleanup filesystem setup
| * | type fixesRobin Appelman2022-03-041-0/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | adjust tests to new fs setupRobin Appelman2022-03-041-2/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix too many file download notifications when watching a videoszaimen2022-03-077-14/+53
|/ / | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | store mountprovider for each mount in the mounts tableRobin Appelman2022-02-232-2/+2
| | | | | | | | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* | improve errors for external share availability checkRobin Appelman2022-02-211-7/+5
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Support CRUD share permissionsLouis Chemineau2022-02-151-10/+17
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Revert "Add non-breaking space in the file size"szaimen2022-02-101-1/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Use the new option to signaling insensitivityJoas Schilling2022-02-071-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add non-breaking space in the file sizeCarl Schwan2022-01-141-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Remove inefficient fed share scannerVincent Petry2022-01-101-70/+0
| | | | | | | | | | 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>