summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer2021-08-161-0/+6
| | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* Merge pull request #28220 from ↵John Molakvoæ2021-08-091-68/+30
|\ | | | | | | nextcloud/get-by-id-multiple-mounts-single-storage
| * fix Folder->getById() when a single storage is mounted multiple timesRobin Appelman2021-07-281-68/+30
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | refs #21045 add app config to disable unlimited quota and to set max quotaJulien Veyssier2021-07-291-0/+65
| | | | | | | | | | | | | | | | | | avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed avoid getting/setting/displaying unlimited default quota if not allowed implement tests for unlimited quota restrictions Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Merge pull request #28175 from nextcloud/jail-search-rootJulius Härtl2021-07-291-0/+18
|\ \ | |/ |/|
| * add test for searching within a "root jail"Robin Appelman2021-07-281-0/+18
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-pathJulius Härtl2021-07-261-0/+1
|\ \ | | | | | | Admin Audit - Sharing: createShare - report the full path
| * | Admin Audit - Sharing: createShare - report the full pathszaimen2021-07-221-0/+1
| | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | Let memory limit set in tests fit the used amountJulius Härtl2021-07-221-4/+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-143-12/+31
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add a unit test to check for casting a IQueryFunctionJoas Schilling2021-07-071-0/+34
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #27198 from nextcloud/tests/run-s3-testsLukas Reschke2021-07-053-10/+11
|\ | | | | Run s3 tests again
| * Use minio for s3 testsJulius Härtl2021-07-012-4/+10
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Run s3 tests againJulius Härtl2021-06-301-6/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Migrate HintException to OCPGary Kim2021-06-304-6/+6
|/ | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* 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 app version checkJoas Schilling2021-06-252-27/+17
| | | | 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>