summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* adjust internal data handling logic to fix store and loadArthur Schiwon2021-06-301-146/+109
| | | | | | - format as stored previously in oc_accounts table is kept Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust email verification checkerArthur Schiwon2021-06-301-4/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust verification state updater methodArthur Schiwon2021-06-301-10/+5
| | | | | | - also fixes scope of internal methods Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* make AccountManager actually write multi value propertiesArthur Schiwon2021-06-301-163/+106
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* accounts event handler to use eventdispatcher, DI and Accounts APIArthur Schiwon2021-06-301-42/+42
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports additional emails on getUserArthur Schiwon2021-06-301-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix branch selection in stable22Joas Schilling2021-06-241-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #27635 from nextcloud/fix/datetime-constantsPytal2021-06-231-5/+5
|\ | | | | Fix usage of DateTime constants
| * Move DateTime::RFC2822 to DateTimeInterface::2822Christoph Wurst2021-06-231-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-231-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #26346 from J0WI/clean-auth-regexblizzz2021-06-231-3/+7
|\ \ | |/ |/| Cleaner removePassword regex
| * Cleaner removePassword regexJ0WI2021-03-271-3/+7
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Let apps toggle an unread counter on app iconsJulius Härtl2021-06-161-10/+20
| | | | | | | | | | Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | 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>