aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Collaboration
Commit message (Collapse)AuthorAgeFilesLines
* test: Fix non-static data providersJoas Schilling2025-05-155-11/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Finish migrating tests/Core/ to PHPUnit 10 compatible codetest/noid/more-phpunit-10Joas Schilling2025-05-021-37/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Prepare more tests for PHPUnit 10Joas Schilling2025-04-301-7/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Adapt tests to properly use valid email addressesfix/filter-empty-emailJulius Knorr2025-03-261-25/+25
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen2025-03-111-14/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen2025-03-111-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-193-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(Collaboration): Use non-deprecated methodsFerdinand Thiessen2024-09-191-6/+5
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-157-17/+17
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-257-51/+51
| | | | 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-139-167/+18
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Adapt tests to config value typingCôme Chilliet2023-04-051-31/+36
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-204-4/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* adjusts tests for CloudIdManagerRobin Appelman2022-08-312-2/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Rename setting name to reduce its lengthLouis Chemineau2022-06-271-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Remove at matcher uses in tests/libCôme Chilliet2022-06-163-52/+61
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #31932 from nextcloud/feat/ignore_second_dnVincent Petry2022-04-131-18/+129
|\ | | | | Add settings to ignore second display name in search
| * Add settings to ignore second display name in searchLouis Chemineau2022-04-121-18/+129
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | confirm user is internal to globalscaleMaxence Lange2022-04-121-0/+12
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Add check before sending email that email address is validCarl Schwan2022-01-111-8/+50
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add integration tests for email completionJulius Härtl2021-12-081-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to get a local cloud id without going through the contacts managerJulius Härtl2021-07-142-2/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix warnings about logExceptionJoas Schilling2021-06-041-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make dav respect disallowing sharing with groupsThomas Citharel2021-05-261-45/+60
| | | | | | Closes #25390 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix unit testsJoas Schilling2021-04-273-19/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* save a whitespace todayblizzz2021-04-201-1/+1
| | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* ignore mail shares of related remote share resultsArthur Schiwon2021-04-201-22/+75
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix unit testRoeland Jago Douma2021-04-161-4/+4
| | | | | | | | | * Fix namespace * Fix test Was broken after https://github.com/nextcloud/server/pull/26529 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also limit to user group in case enumeration is enabled for groups and ↵Joas Schilling2021-03-171-5/+16
| | | | | | phonenumbers Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve search results when only phonebook-matches can we autocompletedJoas Schilling2021-03-171-8/+47
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-102-1/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-2/+2
| | | | | | | | | | 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>
* Show unique displayname context in the sharing inputJulius Härtl2020-12-142-23/+23
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* set the display name of federated sharees from addressbookArthur Schiwon2020-11-242-8/+25
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Bump @nextcloud/vue to 3.0.0John Molakvoæ (skjnldsv)2020-10-201-19/+19
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* In case the group backend returns $limit or more results it is expected to ↵Morris Jobke2020-08-211-1/+1
| | | | | | contain more results Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Expose status via Collaborators APIGeorg Ehrke2020-08-141-20/+27
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-127-32/+32
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update share type constant usageJoas Schilling2020-06-246-110/+110
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testsJoas Schilling2020-06-181-37/+47
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Avoid duplicate matches in wide and exact resultsJulius Härtl2020-06-151-10/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-106-12/+6
| | | | | | | | | | | | | | | 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-103-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-095-15/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-092-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-096-6/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-092-17/+17
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>