aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(federatedfilesharing): import external federated share scriptskjnldsv2024-06-061-5/+11
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(federatedfilesharing): Use correct language file to render notificationJoas Schilling2024-03-191-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor: Configure OpenAPI scopesprovokateurin2024-01-192-0/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-237-33/+33
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #39743 from nextcloud/fixNullArrayGit'Fellow2023-10-271-0/+1
|\ | | | | fix: Don't try to access null array
| * fix: don't try to access null arrayGit'Fellow2023-08-141-0/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-1/+1
| | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* | Refactors "strpos" and "substr" calls to improve code readabilityHamid Dehnavi2023-09-273-7/+7
| | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* | Add single status code descriptions for OpenAPIjld31032023-09-271-0/+6
|/ | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* federatedfilesharing: Add OpenAPI specjld31032023-07-124-57/+65
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Migrate federated file sharing to PSR LoggerInterfaceBenjamin Gaussorgues2023-07-075-287/+61
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* displayname on federated sharesMaxence Lange2023-06-282-12/+44
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Specify the parameters of FederatedFileSharing controllersJoas Schilling2023-06-141-41/+45
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #36267 from nextcloud/bugfix/noid/dont-reuse-query-builderJoas Schilling2023-02-061-0/+1
|\ | | | | Don't reuse query builder object with populated parameters in FederatedShareProvider
| * Don't reuse query builder object with populated parametersJoas Schilling2023-01-231-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use the default color and matching text color for the federation inviteJoas Schilling2023-01-301-23/+13
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-291-9/+0
| | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-1/+1
| | | | | | | 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>
* Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan2022-08-231-25/+11
|\ | | | | Deprecated ILogger from IJob
| * Port existing server code to new interfaceCarl Schwan2022-08-081-25/+11
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-1/+2
|/ | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add argument to getSharesInFolder enable deep share lookupLouis Chemineau2022-07-261-3/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Port federatedfilesharing personal settings to vueCarl Schwan2022-06-151-10/+22
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Port admin federated files sharing to vueCarl Schwan2022-05-201-24/+27
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Log in audit log federated shares eventsCarl Schwan2022-03-161-1/+17
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Mark DAV background jobs as time sensitive/insensitiveChristoph Wurst2022-02-221-2/+2
| | | | | | | * As a bonus they are now all using OCP base classes * Strict typing is now enforced Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Limit more contact searchesJoas Schilling2021-12-081-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix federated sharingRobin Appelman2021-10-191-34/+25
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add support for Delegation Settings for more appsCarl Schwan2021-10-151-3/+26
| | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Replace ILogger with LoggerInterface in remote share managerVincent Petry2021-07-271-1/+2
| | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
* Add logging to external shares managerVincent Petry2021-07-271-1/+2
| | | | | | | Instead of just returning false, also log the exception to make debugging database issues easier. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI2021-07-081-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Migrate HintException to OCPGary Kim2021-06-307-16/+15
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Correctly check the reception of a remote feedbackLouis Chemineau2021-06-091-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0417-27/+20
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Respect default share permissions for federated resharesRoeland Jago Douma2021-05-171-1/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Throttle MountPublicLinkController when share is not foundRoeland Jago Douma2021-05-121-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix usage of rename executeUpdateChristoph Wurst2021-05-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Improve federated permission handlingRoeland Jago Douma2021-04-261-18/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #26615 from nextcloud/enh/ffs/require_readMorris Jobke2021-04-191-0/+8
|\ | | | | Require read permissions for federated shares
| * Require read permissions for federated sharesRoeland Jago Douma2021-04-191-0/+8
| | | | | | | | | | | | | | Else they end up as weird shares that can't be properly utilized by other parties anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do not allow adding file drop shares to your own cloudRoeland Jago Douma2021-04-191-0/+10
|/ | | | | | | There is no reason for this and you can't create such shares normally anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-7/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Implement expiration date for federated sharesVincent Petry2021-04-151-3/+13
| | | | | | | | | Add expiration date field in UI. Save expiration date when creating or updating federated share. Read expiration date from DB in federated share provider. Applies to both federated user and group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* l10n: Add word user in FederatedShareProvider.phpValdnet2021-04-111-1/+1
| | | | | | Standardizing text strings with other Nextcloud applications. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25498 from Worteks/feat-federatedfilesharing-loggingMorris Jobke2021-03-221-0/+31
|\ | | | | feat(federatedfilesharing): log errors, as suggested by @maxbes
| * fix(no_unused_imports)Samuel2021-02-091-1/+0
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(php-cs)Samuel2021-02-091-17/+0
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(misc)Samuel2021-02-091-5/+7
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(php-cs)Samuel2021-02-091-4/+7
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>