summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Check share attributes on preview endpointsJulius Härtl2022-10-251-0/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #34502 from nextcloud/fix/correct-attribute-resharingCarl Schwan2022-10-201-28/+24
|\ | | | | Propagate attributes when resharing
| * Small progress with fixing unit testsCarl Schwan2022-10-111-2/+5
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Propagate attributes when resharingCarl Schwan2022-10-101-27/+20
| | | | | | | | | | | | | | When updating a share, load the node from the initiator instead of the owner similar to how this is done when creating the share. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #34624 from nextcloud/fix/files_external_psalmCarl Schwan2022-10-201-7/+7
|\ \ | | | | | | Multiple fix for files external
| * | Rename file1 and file2 to source and target in Storage abstractionCarl Schwan2022-10-181-7/+7
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix various other small psalm issuesCarl Schwan2022-10-175-18/+9
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix incorrect argument name in inherited methodCarl Schwan2022-10-171-2/+2
| | | | | | | | | | | | | | | | | | The arguments now need to be the same as in the parent method Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix checkpassword undocummented null parameterCarl Schwan2022-10-171-3/+3
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix permission not being intCarl Schwan2022-10-172-5/+5
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix exception getCode typeCarl Schwan2022-10-171-2/+2
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Fix type when getting appconfig with intCarl Schwan2022-10-172-2/+2
|/ / | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #34471 from starypatyk/dav_read_share_notesVincent Petry2022-10-141-0/+7
|\ \ | | | | | | Reduce number of database queries during WebDAV propfind request
| * | Read notes from share already loaded into memoryDariusz Olszewski2022-10-071-0/+7
| |/ | | | | | | Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
* | Merge pull request #34544 from nextcloud/fix/more-flexible-date-validationSimon L2022-10-131-1/+1
|\ \ | | | | | | More flexible date validation
| * | More flexible date validationCarl Schwan2022-10-111-1/+1
| |/ | | | | | | | | | | Fix #34542 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* / type closure to make psalm a bit happierRoeland Jago Douma2022-10-091-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* includeTags -> include_tagstobiasKaminsky2022-09-281-2/+2
| | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Ignore invalid share typesJoas Schilling2022-09-261-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update apps/files_sharing/lib/Controller/ShareAPIController.phpTobias Kaminsky2022-09-211-2/+4
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
* Show include tags on single sharetobiasKaminsky2022-09-191-1/+1
| | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Add includeTags to /share/idtobiasKaminsky2022-09-191-1/+7
|
* Merge pull request #33941 from nextcloud/fix/public-sharingCarl Schwan2022-09-151-1/+3
|\ | | | | Only normalize data in public shares and not crud
| * Only normalize data in public shares and not crudCarl Schwan2022-09-081-1/+3
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Fix typos in apps/ subdirectoryluz paz2022-09-054-5/+5
|/ | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feature: first take on using the viewer to render single file sharesMax2022-08-251-5/+4
| | | | Signed-off-by: Max <max@nextcloud.com>
* Merge pull request #33574 from nextcloud/search-share-query-filter-no-initVincent Petry2022-08-231-2/+4
|\ | | | | directly build the search filter for shared storage instead of setting up the source cache
| * directly build the search filter for shared storage instead of setting up ↵Robin Appelman2022-08-171-2/+4
| | | | | | | | | | | | the source cache Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use user name cache in activity providersJoas Schilling2022-08-191-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | further pre-filter search result before setting up share source cacheRobin Appelman2022-08-171-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make DisplayNameCache return null if user doesn't existsCarl Schwan2022-08-161-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* 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-031-70/+0
| | | | | | This reverts commit 6667007bf235b90a7dd105c881cf5802b2a3f83e. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Multiple fixesCarl Schwan2022-07-314-57/+70
| | | | | | | | | | | - 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-281-8/+9
| | | | 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>
* 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-281-18/+25
| | | | 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-284-8/+236
| | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add argument to getSharesInFolder enable deep share lookupLouis Chemineau2022-07-261-1/+1
| | | | 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>
* 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>
* 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>