aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/Share.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-201-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Make share reminders more stable & fix issuesStefan Cherniakov2024-09-031-2/+1
| | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* feat(files_sharing): reminder for link shares with expiration dateStefan Cherniakov2024-09-031-0/+11
| | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-26/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(shareManager): Respect empty `expireDate` in serverfenn-cs2024-05-231-2/+17
| | | | | | If `expireDate` is an empty string and not `null` then the server should not set a default. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Fix tiny phpdoc errors related to ShareCôme Chilliet2024-04-301-10/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-5/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix view-only code after code review commentsVincent Petry2022-07-281-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix share attribute related tests + code styleVincent Petry2022-07-281-2/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add share attributes + prevent download permissionVincent Petry2022-07-281-1/+26
| | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix typos in lib/private subdirectoryluz paz2022-07-271-1/+1
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-0/+16
| | | | | | | | | | | | | | | | | | 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>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove duplicated query for email sharesDaniel Calviño Sánchez2021-03-221-1/+1
| | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* only use share cacheentry when availableRobin Appelman2021-01-261-2/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust testsRobin Appelman2021-01-261-1/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix search in nested jailsRobin Appelman2021-01-261-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+3
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Respect the accepted flag for group and user sharesJoas Schilling2019-11-121-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add expiration event for sharesJohn Molakvoæ (skjnldsv)2019-08-211-0/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* allow to add labels to sharesBjoern Schiessle2018-11-011-0/+17
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Extend IShare to show hide download stateRoeland Jago Douma2018-10-301-0/+13
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add "sendPasswordByTalk" property to sharesDaniel Calviño Sánchez2018-07-241-0/+17
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* allow 'note' to be nullBjoern Schiessle2018-07-211-1/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow to add a personal note to a shareBjoern Schiessle2018-07-211-0/+17
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* SharedWithDisplayName + SharedWithAvatarMaxence Lange2018-05-211-0/+40
| | | | | Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* let the share backend get the node cacheentry to save queriesRobin Appelman2016-11-171-0/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Always unlock node after trying to create a shareRobin Appelman2016-10-121-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-0/+1
|
* use share initiator as fall back to access the fileBjörn Schießle2016-05-201-4/+13
| | | | | in case of federated re-shares the owner can be a remote user. Therefore we can't always use to owner to access the local file
* Add setId and setProviderID to the public interfaceRoeland Jago Douma2016-03-301-2/+23
| | | | | | Fixes #23337 We only allow the id to be set once!
* Move (new) sharing over to composer autoloaderRoeland Jago Douma2016-03-201-0/+389