summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * fix(logger): use logger from constructor argumentsSamuel2021-02-091-1/+14
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(pebkac): missing `use OC`Samuel2021-02-081-0/+1
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(logger): set logger in constructorSamuel2021-02-081-5/+10
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(php-cs): indentation / elseif, maybe braces?Samuel2021-02-051-13/+18
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * feat(federatedfilesharing): log errors, as suggested by @maxbesSamuel2021-02-051-0/+20
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | Move requesthandler controller to LoggerInterfaceRoeland Jago Douma2021-03-101-29/+13
| | | | | | | | | | | | | | | | * LoggerInterface * executeUpdate * log exception when there is one (just so we ahve the trace) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix some redundant castsRoeland Jago Douma2021-03-081-3/+1
| | | | | | | | | | | | Happier psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove redundant castsRoeland Jago Douma2021-03-021-2/+2
| | | | | | | | | | | | | | | | | | For #25839 In short with the connection adapter we now have the function is typed to int (and casts itself). So it is not needed anymore. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-185-16/+16
|/ | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-122-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-2/+2
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-165-3/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix PHP CSJoas Schilling2020-12-151-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add missing parent::__construct() calls to JobsJoas Schilling2020-12-141-25/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust defaultJulius Härtl2020-12-084-6/+25
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move columns to bigintJulius Härtl2020-12-081-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Migrate files_sharing to migrations and move remote_id to a string in ↵Julius Härtl2020-12-081-2/+4
| | | | | | share_external Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move remoteId of remote reshares to stringJulius Härtl2020-12-084-16/+67
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use proper OCP\BackgroundJobs\JobRoeland Jago Douma2020-11-251-4/+3
| | | | | | And typehunt the IJobList Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-101-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't leave cursors open when tests failJoas Schilling2020-11-091-2/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-052-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-247-3/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix missing placeholders in translationsJoas Schilling2020-08-031-7/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* effectively revert 17fae47bdba84ed520fee2cbf1a9485cc14fbbcb fixing i10nArthur Schiwon2020-08-031-13/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>