Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-08-23Merge pull request #28256 from nextcloud/enh/21045/stable22-quota-restrictionsPytal
[stable22] Add quota restrictions options
2021-08-20refs #21045 add app config to disable unlimited quota and to set max quotaChristopher Ng
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: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-16Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-09fix Folder->getById() when a single storage is mounted multiple timesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-29add test for searching within a "root jail"Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-26Admin Audit - Sharing: createShare - report the full pathszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-22Let memory limit set in tests fit the used amountJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05Use minio for s3 testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05Run s3 tests againJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-30adjust internal data handling logic to fix store and loadArthur Schiwon
- format as stored previously in oc_accounts table is kept Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30adjust email verification checkerArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30adjust verification state updater methodArthur Schiwon
- also fixes scope of internal methods Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30make AccountManager actually write multi value propertiesArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30accounts event handler to use eventdispatcher, DI and Accounts APIArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30prov api reports additional emails on getUserArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-24Fix branch selection in stable22Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-23Merge pull request #27635 from nextcloud/fix/datetime-constantsPytal
Fix usage of DateTime constants
2021-06-23Move DateTime::RFC2822 to DateTimeInterface::2822Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23Merge pull request #26346 from J0WI/clean-auth-regexblizzz
Cleaner removePassword regex
2021-06-16Let apps toggle an unread counter on app iconsJulius Härtl
Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16Merge pull request #26571 from nextcloud/bugfix/noid/existing-link-no-reshareblizzz
Only allow removing existing shares that would not be allowed due to reshare restrictions
2021-06-14split of query building bits from searchhelperRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14update tests and fix some edge cases around new searchRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14rework search api to allow searching on multiple caches at onceRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-09Handle single action unshareJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-08Merge pull request #27414 from francoisfreitag/test-at-2kesselb
Rewrite LegacyHelperTest without $this->at()
2021-06-08Merge pull request #27306 from ↵Christoph Wurst
nextcloud/enh/noid/set-local-domain-for-swiftmailer Set local domain for swiftmailer
2021-06-08Merge pull request #27189 from ↵blizzz
nextcloud/feat/26866/account-collection-properties Extend Accounts with multivalue properties (PropertyCollection)
2021-06-08CI: more flexible assertionsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-07Rewrite LegacyHelperTest without $this->at()François Freitag
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>
2021-06-07Merge pull request #27374 from nextcloud/bugfix/noid/adjust-unit-testsMorris Jobke
Bugfix/noid/adjust unit tests
2021-06-05Port dav calendar settings page to Vue.jsFrançois Freitag
- 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>
2021-06-04Fix warnings about logExceptionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-03allow interacting with IAccountPropertyCollectionsArthur Schiwon
- 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>
2021-06-03add IAccountPropertyCollection with implementationArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03update unit testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-02Escape filename in Content-DispositionLukas Reschke
We should escape all occurences of ' and \ in here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02Merge pull request #26792 from nextcloud/user-delete-cleanup-filesJohn Molakvoæ
better cleanup of user files on user deletion
2021-06-01Merge pull request #25658 from ↵Christoph Wurst
nextcloud/dav-respect-disallow-sharing-with-groups Dav respect disallow sharing with groups
2021-05-31Set local domain for swiftmailer transportDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-05-30Rewrite requesttoken.spec.js with JestFrançois Freitag
[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>
2021-05-26Make dav respect disallowing sharing with groupsThomas Citharel
Closes #25390 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-25Merge pull request #27035 from ↵blizzz
nextcloud/techdebt/26866/userscontroller-accountmanager-api do not use private AccountManager in UsersController
2021-05-25Merge pull request #26600 from hosting-de/feature/occ-tagsMorris Jobke
Add commands to manage tags via OCC
2021-05-25do not use private AccountManager in UsersControllerArthur Schiwon
- extends IAccountProperty for verificationData getters and setters - implementation thereof ^ - and of course adaption of UsersController Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-25Add commands to manage tags via OCCJohannes Leuker
list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-05-21Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke
Add option to exclude groups from creating link shares
2021-05-20l10n: Fix testValdnet
2021-05-18Merge pull request #26322 from nextcloud/recent-searchJulius Härtl
Use file search for recent files and optimize getting share types