summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #26571 from nextcloud/bugfix/noid/existing-link-no-reshareblizzz2021-06-161-4/+16
|\ | | | | Only allow removing existing shares that would not be allowed due to reshare restrictions
| * Handle single action unshareJulius Härtl2021-06-091-4/+16
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | split of query building bits from searchhelperRobin Appelman2021-06-141-20/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | update tests and fix some edge cases around new searchRobin Appelman2021-06-141-77/+69
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-142-3/+17
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #27414 from francoisfreitag/test-at-2kesselb2021-06-081-36/+76
|\ | | | | Rewrite LegacyHelperTest without $this->at()
| * Rewrite LegacyHelperTest without $this->at()François Freitag2021-06-071-36/+76
| | | | | | | | | | | | | | | | The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked. Signed-off-by: François Freitag <mail@franek.fr>
* | Merge pull request #27306 from ↵Christoph Wurst2021-06-081-1/+39
|\ \ | | | | | | | | | | | | nextcloud/enh/noid/set-local-domain-for-swiftmailer Set local domain for swiftmailer
| * | Set local domain for swiftmailer transportDaniel Kesselberg2021-05-311-1/+39
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #27189 from ↵blizzz2021-06-083-19/+404
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/feat/26866/account-collection-properties Extend Accounts with multivalue properties (PropertyCollection)
| * | CI: more flexible assertionsArthur Schiwon2021-06-071-1/+6
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | allow interacting with IAccountPropertyCollectionsArthur Schiwon2021-06-031-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in fact the API could be done in a nicer way and it might be possible to work without IAccountPropertyCollection, but only with the IAccountProperties. - To keep it simple at first and not overengineer the blunt attempt is followed - If necessary helpful in the further cause of development adjustements or extensions can be done quickly with this base Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | add IAccountPropertyCollection with implementationArthur Schiwon2021-06-031-0/+209
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | update unit testsArthur Schiwon2021-06-031-16/+166
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #27374 from nextcloud/bugfix/noid/adjust-unit-testsMorris Jobke2021-06-075-12/+12
|\ \ \ | | | | | | | | Bugfix/noid/adjust unit tests
| * | | Fix warnings about logExceptionJoas Schilling2021-06-045-12/+12
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / Port dav calendar settings page to Vue.jsFrançois Freitag2021-06-051-0/+23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Drop reliance on deprecated global jQuery object. - Allow testing user interactions. - Use newer technology stack. --- Test user interactions with the groupware dav settings Add infrastructure to test Vue components: - Use recommended libraries: - https://vuejs.org/v2/guide/testing.html#Recommendations - Use jest-dom for robust assertions on the DOM state - Use user-event to be more representative of user actions - Code is transpiled by Jest, with the help of vue-jest. Ignore test files for no-unpublished-import. Prevent ESLint from flagging: ``` /home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js Error: 1:24 error "@testing-library/vue" is not published node/no-unpublished-import Error: 2:23 error "@testing-library/user-event" is not published node/no-unpublished-import ``` Signed-off-by: François Freitag <mail@franek.fr>
* | Escape filename in Content-DispositionLukas Reschke2021-06-021-11/+25
| | | | | | | | | | | | We should escape all occurences of ' and \ in here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #26792 from nextcloud/user-delete-cleanup-filesJohn Molakvoæ2021-06-021-0/+3
|\ \ | | | | | | better cleanup of user files on user deletion
| * | better cleanup of user files on user deletionRobin Appelman2021-04-271-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #25658 from ↵Christoph Wurst2021-06-011-45/+60
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/dav-respect-disallow-sharing-with-groups Dav respect disallow sharing with groups
| * | | Make dav respect disallowing sharing with groupsThomas Citharel2021-05-261-45/+60
| | |/ | |/| | | | | | | | | | | | | Closes #25390 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* / | Rewrite requesttoken.spec.js with JestFrançois Freitag2021-05-301-0/+26
|/ / | | | | | | | | | | | | | | | | | | | | [Jest](https://jestjs.io/) is a test runner that focuses on simplicity. It instruments babel to transform modules and test them. Using Jest simplifies the existing configuration and allows dropping a bunch of workarounds, as well as following the shared Babel configuration for new code. Signed-off-by: François Freitag <mail@franek.fr>
* | Merge pull request #27035 from ↵blizzz2021-05-253-18/+40
|\ \ | | | | | | | | | | | | nextcloud/techdebt/26866/userscontroller-accountmanager-api do not use private AccountManager in UsersController
| * | do not use private AccountManager in UsersControllerArthur Schiwon2021-05-253-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | - extends IAccountProperty for verificationData getters and setters - implementation thereof ^ - and of course adaption of UsersController Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #26600 from hosting-de/feature/occ-tagsMorris Jobke2021-05-254-0/+552
|\ \ \ | |/ / |/| | Add commands to manage tags via OCC
| * | Add commands to manage tags via OCCJohannes Leuker2021-05-254-0/+552
| | | | | | | | | | | | | | | | | | list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | | Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-212-59/+23
|\ \ \ | | | | | | | | Add option to exclude groups from creating link shares
| * | | load share settings from the share manager in more placesRobin Appelman2021-05-122-59/+23
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | l10n: Fix testValdnet2021-05-201-23/+23
| | | |
* | | | Merge pull request #26322 from nextcloud/recent-searchJulius Härtl2021-05-181-0/+13
|\ \ \ \ | | | | | | | | | | Use file search for recent files and optimize getting share types
| * | | | adjust testsRobin Appelman2021-04-211-0/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #26626 from J0WI/strict-securityRoeland Jago Douma2021-05-1822-0/+64
|\ \ \ \ \ | | | | | | | | | | | | Make Security module strict
| * | | | | Make Security module strictJ0WI2021-04-1922-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | | | Merge pull request #26679 from ↵blizzz2021-05-131-50/+49
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning Fix unauthorized OCS status in provisioning
| * | | | | Fix unauthorized OCS status in provisioningJoas Schilling2021-05-121-50/+49
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | allow to set valid scopes only in AccountPropertyArthur Schiwon2021-05-122-7/+25
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | the auto-fallback to v2-local is removed as well to react on wrong input Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Merge pull request #26758 from J0WI/more-strictChristoph Wurst2021-04-281-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Some more strict_types
| * | | | | Use strictJ0WI2021-04-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | | | Merge pull request #26591 from nextcloud/techdebt/noid/less-iloggerChristoph Wurst2021-04-2718-77/+81
|\ \ \ \ \ \ | | | | | | | | | | | | | | Less ILogger
| * | | | | | Fix unit testsJoas Schilling2021-04-2718-77/+81
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #26718 from nextcloud/bugfix/noid/fix-ratelimit-templateJoas Schilling2021-04-271-11/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix ratelimit template
| * | | | | | Fix ratelimit templateJoas Schilling2021-04-271-11/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #26572 from ↵Joas Schilling2021-04-271-4/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/throw-401-when-authentication-is-provided-and-invalid Throw "401 Unauthenticated" when authentication is provided but invalid
| * | | | | Fix Authentication testJoas Schilling2021-04-221-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #26259 from ↵Joas Schilling2021-04-261-0/+26
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | nextcloud/feature/noid/validate-website-to-be-valid Validate the website field input to be a valid URL
| * | | | | Validate the website field input to be a valid URLJoas Schilling2021-04-221-0/+26
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #26375 from ↵Morris Jobke2021-04-223-2/+30
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/techdebt/noid/symfony-component-translation-pluralization-rules-is-deprecated "Symfony\Component\Translation\PluralizationRules" is deprecated
| * | | | Fix test by defining pluralsJoas Schilling2021-04-201-1/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Correctly replace all PHP placeholders with the parametersJoas Schilling2021-04-202-1/+25
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>