summaryrefslogtreecommitdiffstats
path: root/tests/lib/Collaboration
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* dont show remote and email options if we have an exact match for local user ↵Robin Appelman2020-04-081-62/+77
| | | | | | email Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-2/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-2/+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>
* Add tests for user group enumeration limitJulius Härtl2020-03-201-16/+128
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Decouple resource provider registrationDaniel Kesselberg2019-12-072-0/+173
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Mode to modern phpunitRoeland Jago Douma2019-11-277-8/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix more testsRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-277-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-291-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Search sharees on lookup server when explicitly requested by userChristoph Wurst2019-02-261-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* allow group backends to mark that a group should now be shown in search dialogsRobin Appelman2019-02-251-1/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix injection to get the user idJulius Härtl2018-10-301-1/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>