aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* refactor(federatedfilesharing): Replace deprecated functionsFerdinand Thiessen2024-10-291-241/+0
| | | | | | | | | * Replace deprecated OC dialogs methods * Replace deprecated global jQuery with axios * Replace deprecated jQuery event with event bus * Add component + unit tests for new dialog Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-156-11/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-157-31/+31
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-256-18/+18
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(federation): Fix missing protocol on CloudID remoteJoas Schilling2024-06-271-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-299-208/+32
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(federation): Fix creating local cloudIds with http:// protocolJoas Schilling2024-03-251-10/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: phpunitJohn Molakvoæ2024-02-131-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-131-2/+2
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-21/+21
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Migrate federated file sharing to PSR LoggerInterfaceBenjamin Gaussorgues2023-07-073-47/+49
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Specify the parameters of FederatedFileSharing controllersJoas Schilling2023-06-141-16/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-141-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* adjusts tests for CloudIdManagerRobin Appelman2022-08-313-3/+27
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove broken function resetStorage from test casesCôme Chilliet2022-08-021-13/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove at() matcher from tests in federatedfilesharingCôme Chilliet2022-05-241-5/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Port admin federated files sharing to vueCarl Schwan2022-05-201-13/+27
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Log in audit log federated shares eventsCarl Schwan2022-03-161-2/+8
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add support for Delegation Settings for more appsCarl Schwan2021-10-151-1/+3
| | | | | | | | | * 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>
* 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