aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #27860 from J0WI/alphanumeric-rndJoas Schilling2021-07-161-1/+1
|\ | | | | Introduce ISecureRandom::CHAR_ALPHANUMERIC
| * Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI2021-07-081-1/+1
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Allow to get a local cloud id without going through the contacts managerJulius Härtl2021-07-143-3/+6
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Migrate HintException to OCPGary Kim2021-06-302-2/+2
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-048-9/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not allow adding file drop shares to your own cloudRoeland Jago Douma2021-04-191-10/+13
| | | | | | | There is no reason for this and you can't create such shares normally anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Unit tests for federated share expiration dateVincent Petry2021-04-151-7/+22
| | | | 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>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-311-6/+17
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #25498 from Worteks/feat-federatedfilesharing-loggingMorris Jobke2021-03-221-0/+7
|\ | | | | feat(federatedfilesharing): log errors, as suggested by @maxbes
| * fix(tests)Samuel2021-02-111-0/+7
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | Move requesthandler controller to LoggerInterfaceRoeland Jago Douma2021-03-101-3/+3
| | | | | | | | | | | | | | | | * LoggerInterface * executeUpdate * log exception when there is one (just so we ahve the trace) 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-181-1/+1
|/ | | | | | | | | | 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>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-163-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* set the display name of federated sharees from addressbookArthur Schiwon2020-11-243-5/+72
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-242-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-127-45/+45
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #21814 from ↵Morris Jobke2020-07-231-2/+9
|\ | | | | | | | | nextcloud/techdebt/noid/federated_share_added-into-typed-event Move federated_share_added into a typed event
| * Move federated_share_added into a typed eventMorris Jobke2020-07-231-2/+9
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Replace deprecated assertArraySubset with logic that does the sameMorris Jobke2020-07-231-1/+3
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update share type constant usageJoas Schilling2020-06-241-25/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-293-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-106-26/+2
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-092-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-094-4/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-313-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-9/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-9/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-10/+10
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-2/+2
|/ | | | 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>
* Update license headersChristoph Wurst2019-12-058-9/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-276-8/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-278-12/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-226-5/+2
| | | | | | | | | | | * 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>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-091-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* update unit testsBjoern Schiessle2018-07-112-3/+46
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix notification testsBjoern Schiessle2018-07-021-4/+19
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update testsBjoern Schiessle2018-07-021-259/+119
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix DI for federated file sharing controllerMorris Jobke2018-04-231-2/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not use \OCP\DB anymoreRoeland Jago Douma2018-03-261-11/+19
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated HTTPHelperRoeland Jago Douma2018-03-131-32/+0
| | | | | | | | * Remove the HTTP Helper * Remove from Server Containter * Removed legacy share tests that use it Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix federatedshareprovidertestRoeland Jago Douma2018-01-161-0/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-01-141-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-068-0/+16
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of encryption appMorris Jobke2017-10-262-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of dav appMorris Jobke2017-10-262-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-244-24/+26
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>