aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/ProviderFactory.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Do not use circle provider class constantCôme Chilliet2025-05-161-2/+1
| | | | | | | This is to avoid issues if the circles app is disabled but you still have circles shares in your DB Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Count on the circles application to register its share providerCôme Chilliet2025-05-161-40/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated ↵Côme Chilliet2025-05-161-142/+44
| | | | | | | | | getters Ideally circles and talk should migrate to calling registerProvider and core would not need to use their OCA classes like currently. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor(ProviderFactory): Remove usage of ILogger and use non-deprecated stuffFerdinand Thiessen2024-09-191-10/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(files_sharing): Delete user shares if needed when user is removed from a ↵Louis Chemineau2024-08-121-0/+1
| | | | | | group Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files_sharing): implement IShareProviderWithNotification and refactor ↵skjnldsv2024-07-121-0/+1
| | | | | | sendMailNotification Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge branch 'master' into refactor/OC-Server-getSecureRandomJohn Molakvoæ2024-05-301-4/+7
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * Merge branch 'master' into refactor/OC-Server-getL10NFactoryJohn Molakvoæ2024-05-301-3/+5
| |\ | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * Merge pull request #40151 from summersab/refactor/OC-Server-getMailerJohn Molakvoæ2024-05-301-2/+3
| | |\
| | | * Merge branch 'master' into refactor/OC-Server-getMailerJohn Molakvoæ2024-05-301-38/+16
| | | |\ | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | | * | Refactor `OC\Server::getMailer`Andrew Summers2023-08-291-2/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| | * | | Merge branch 'master' into refactor/OC-Server-getHTTPClientServiceJohn Molakvoæ2024-05-301-38/+16
| | |\ \ \ | | | | |/ | | | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * | | Refactor `OC\Server::getHTTPClientService`Andrew Summers2023-08-291-1/+2
| | | |/ | | |/| | | | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
| * | | Merge branch 'master' into refactor/OC-Server-getL10NFactoryJohn Molakvoæ2024-05-301-38/+16
| |\ \ \ | | | |/ | | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | Refactor `OC\Server::getL10NFactory`Andrew Summers2023-08-291-1/+2
| | |/ | |/| | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | | Merge branch 'master' into refactor/OC-Server-getSecureRandomJohn Molakvoæ2024-05-301-38/+16
|\ \ \ | | |/ | |/| Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | chore: Add SPDX headerAndy Scherzinger2024-05-241-30/+4
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | 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>
| * | Fix sharing creation insert and getJohn Molakvoæ (skjnldsv)2023-09-021-1/+2
| | | | | | | | | | | | 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>
* Migrate federated file sharing to PSR LoggerInterfaceBenjamin Gaussorgues2023-07-071-4/+4
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+2
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.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>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-0/+1
| | | | | | | | | | | | | | | | | | 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/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #25498 from Worteks/feat-federatedfilesharing-loggingMorris Jobke2021-03-221-0/+1
|\ | | | | feat(federatedfilesharing): log errors, as suggested by @maxbes
| * fix(sahre20): missing ILogger param instantiating NotificationsSamuel2021-02-091-0/+1
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | Sharing link & mail parityJohn Molakvoæ (skjnldsv)2021-03-221-1/+3
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-091-0/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share type for deckJulius Härtl2020-12-091-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow apps to register their share providers from outsideJulius Härtl2020-12-091-0/+23
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Generate password by password_policy appDaniel Kesselberg2020-08-111-2/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Move federated_share_added into a typed eventMorris Jobke2020-07-231-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update share type constant usageJoas Schilling2020-06-241-7/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix language in share notes email for usersJoas Schilling2020-06-231-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+0
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-101-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>