aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix(sharing): resolveGroupShares setPermissions on nullskjnldsv2024-03-191-4/+6
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
| * | perf: improve performance of resolving group sharesRobin Appelman2024-03-161-50/+28
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | feat(files_sharing): allow to specify allowed groups to share instead of ↵Corentin Damman2024-03-151-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | excluded groups Relates to #3387 Signed-off-by: Corentin Damman <c.damman@intopix.com>
| * | Merge pull request #40131 from summersab/refactor/OC-Server-getShareManagerJohn Molakvoæ2024-03-151-2/+4
| |\ \
| | * \ Merge branch 'master' into refactor/OC-Server-getShareManagerJohn Molakvoæ2024-03-156-114/+172
| | |\ \ | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * | | Refactor `OC\Server::getShareManager`Andrew Summers2023-08-291-2/+4
| | | |/ | | |/| | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * | | Merge branch 'master' into refactor/OC-Server-getCloudFederationFactoryJohn Molakvoæ2024-03-151-5/+7
| |\ \ \ | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * \ \ Merge pull request #40138 from summersab/refactor/OC-Server-getHasherJohn Molakvoæ2024-03-151-1/+2
| | |\ \ \
| | | * | | Refactor `OC\Server::getHasher`Andrew Summers2024-03-151-1/+2
| | | | |/ | | | |/| | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| | * / | Refactor `OC\Server::getLazyRootFolder`Andrew Summers2024-03-151-4/+5
| | |/ / | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * / / Refactor `OC\Server::getCloudFederationFactory`Andrew Summers2024-03-151-1/+2
| |/ / | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * | Merge pull request #42638 from nextcloud/shares-in-folder-storageRobin Appelman2024-03-061-2/+9
| |\ \ | | | | | | | | also filter by storage when getting shares in folder
| | * | fix: also filter by storage when getting shares in folderRobin Appelman2024-03-061-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | refactor: make share manager buildableRobin Appelman2024-03-061-2/+1
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-042-9/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | feat(share): save date and time for expirationBenjamin Gaussorgues2024-02-221-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | Because of timezones, not saving time can lead to unexpected behaviour when sharing an item sooner than timezone offset Example: sharing a file before 9am when in UTC+9 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * | Merge pull request #43461 from nextcloud/fix/get-rid-of-getloggerF. E Noel Nfebe2024-02-141-1/+3
| |\ \ | | | | | | | | chore: Migrate away from OC::$server->getLogger
| | * | chore: Migrate away from OC::$server->getLoggerCôme Chilliet2024-02-131-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: phpunitJohn Molakvoæ2024-02-131-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | feat: rename users to account or personVincent Petry2024-02-131-2/+2
| |/ / | | | | | | | | | | | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | feat(php,vue): Create a new parameterBaptiste Fotia2024-01-311-1/+24
| | | | | | | | | | | | Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
| * | fix(manager): removed dead codeEduardo Morales2023-12-181-7/+1
| | | | | | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
| * | chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-8/+8
| | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * | Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-3/+3
| | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| * | Merge pull request #39863 from nextcloud/sharing-mask-wrapperRobin Appelman2023-09-042-36/+70
| |\ \ | | | | | | | | move share permission logic to storage wrapper
| | * | cleanup di for share permissions wrapperRobin Appelman2023-08-162-36/+70
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Fix sharing creation insert and getJohn Molakvoæ (skjnldsv)2023-09-022-33/+24
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | sharebymail: remove ILogger and upgrade to PHP 8 syntaxBenjamin Gaussorgues2023-08-301-1/+1
| | |/ | |/| | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* / | Refactor `OC\Server::getSecureRandom`Andrew Summers2023-08-291-3/+4
|/ / | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | Use nullsafe call syntax instead of additionnal checkCôme Chilliet2023-08-281-1/+1
| | | | | | | | Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | Set files_sharing:hide_disabled_user_shares to 'yes' to hide shares from ↵Côme Chilliet2023-08-281-5/+19
|/ | | | | | disabled users Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Remove legacy dispatcher from share managerJoas Schilling2023-07-281-6/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat!: Migrate Share accepted event to typed eventJoas Schilling2023-07-282-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat!: Migrate unShare events to typed eventsJoas Schilling2023-07-282-44/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat!: Migrate Sharing events to typed eventsJoas Schilling2023-07-282-23/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Move Sharing events to IEventDispatcherJoas Schilling2023-07-272-24/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate federated file sharing to PSR LoggerInterfaceBenjamin Gaussorgues2023-07-071-4/+4
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-151-1/+1
| | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix types for reading and writing config valuesjld31032023-04-051-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* also set the node when re-using existing share on share createRobin Appelman2023-04-031-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* hide shared files located in group folder's trash binArthur Schiwon2023-03-281-0/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-082-0/+3
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* Pluggable share providerLouis Chemineau2023-02-021-0/+63
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* composer run cs:fixCôme Chilliet2023-01-208-13/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #34477 from ↵Joas Schilling2022-12-091-0/+4
|\ | | | | | | | | nextcloud/bugfix/noid/sharee-recommendations-show-group-id Show group name instead of group id as recommendation
| * Show group name instead of group id as recommendationJoas Schilling2022-10-081-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix PHP CSJoas Schilling2022-10-201-1/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Also catch in getProviderJoas Schilling2022-10-201-3/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't crash with outdated share providerJoas Schilling2022-10-201-4/+23
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>