aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* coding style fixesArthur Schiwon2020-07-301-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix check for Cloud ID, missing return statements, wrong param useArthur Schiwon2020-07-301-9/+13
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move federated_share_added into a typed eventMorris Jobke2020-07-233-11/+67
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-4/+4
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-6/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix typoSergej Pupykin2020-07-161-1/+1
|
* Use IBootstrap for the app federatedfilesharingMorris Jobke2020-07-142-126/+65
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move federatedfilesharing to migrationsJoas Schilling2020-07-061-0/+58
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #21264 from stweil/masterMorris Jobke2020-07-051-1/+1
|\ | | | | build: Fix some typos (most of them found by codespell)
| * build: Fix some typos (most of them found by codespell)Stefan Weil2020-06-061-1/+1
| | | | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Update share type constant usageJoas Schilling2020-06-242-13/+13
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix PSR-4 namespaceJoas Schilling2020-06-051-0/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-294-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Set proper share type when converting link shares to federated sharesJulius Härtl2020-04-211-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>