aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Add visibility to all constantsChristoph Wurst2020-04-103-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1010-62/+8
| | | | | | | | | | | | | | | 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-102-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-097-6/+1
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-314-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-5/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-5/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-264-9/+9
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Default value of lookupServerEnabled should be the same everywhereGeorg Ehrke2020-03-171-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Use proper andwhere clauseRoeland Jago Douma2020-02-031-1/+1
| | | | | | Fixes #19248 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove non-circles-generated shares onlyMaxence Lange2020-01-071-1/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Update license headers for 18Christoph Wurst2019-12-203-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* confirm auth on share generated by CirclesMaxence Lange2019-12-163-1/+19
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> returns true Signed-off-by: Maxence Lange <maxence@artificial-owl.com> DI Signed-off-by: Maxence Lange <maxence@artificial-owl.com> DI Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* revert protectedJohn Molakvoæ2019-12-061-1/+1
|
* Fix external sharing loading scriptJohn Molakvoæ (skjnldsv)2019-12-061-2/+19
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headersChristoph Wurst2019-12-0513-17/+26
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-227-12/+7
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>