summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Test disabled for now due to multiple reasonsJoas Schilling2022-03-221-0/+1
| | | | | | see https://github.com/nextcloud/server/pull/31580#issuecomment-1069182234 for details Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-2213-291/+282
|\ | | | | Extract request id handling to dedicated class so it can be injected without DB dependency
| * Fix testsJoas Schilling2022-02-239-124/+109
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Adjust and add unit testsJoas Schilling2022-02-234-167/+173
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add profile default setting for adminChristopher Ng2022-03-181-0/+6
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add global profile toggle configChristopher Ng2022-03-181-5/+5
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add method to set all account properties from jsonChristopher Ng2022-03-171-0/+25
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Discard duplicate collection name from account serializationChristopher Ng2022-03-171-1/+15
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #31513 from nextcloud/techdebt/noid/enforce-primary-keysJoas Schilling2022-03-151-1/+43
|\ \ | | | | | | Enforce primary keys as they are required to be performant in MySQL c…
| * | Add a test for primary keysJoas Schilling2022-03-101-1/+43
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Overwrite the channelJoas Schilling2022-03-101-9/+15
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow to set a strict-dynamic CSP through the APIJulius Härtl2022-03-092-0/+19
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | type fixesRobin Appelman2022-03-041-4/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | simplify setup of circular SetupManager<->ManagerRobin Appelman2022-03-041-6/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | adjust tests to new fs setupRobin Appelman2022-03-0418-86/+179
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31266 from nextcloud/root-setup-mountproviderRobin Appelman2022-03-042-0/+153
|\ \ | | | | | | move root mount setup to mountproviders
| * | skip localstorage dependend user test when not using local user storageRobin Appelman2022-02-251-0/+12
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | move root mount setup to mountprovidersRobin Appelman2022-02-241-0/+141
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #31387 from nextcloud/fix/common-main-core-script-orderJohn Molakvoæ2022-03-041-9/+30
|\ \ \
| * | | Make sure common and main core scripts are loaded firstJohn Molakvoæ2022-03-041-9/+30
| |/ / | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | Update images in scripts to run local tests in DockerDaniel Calviño Sánchez2022-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHP 7.3 support was dropped for Nextcloud 24. The Docker images are updated to the same images used for integration and acceptance tests in CI. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Fix testsJulius Härtl2022-02-282-9/+29
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add event logging to app loadingJulius Härtl2022-02-281-0/+6
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / store mountprovider for each mount in the mounts tableRobin Appelman2022-02-231-0/+4
|/ | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add Transactional trait for atomic DB operationsChristoph Wurst2022-02-171-0/+98
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add testChristopher Ng2022-02-111-0/+27
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix fs cache test user setupRobin Appelman2022-02-091-13/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #31007 from ↵Christoph Wurst2022-02-092-76/+126
|\ | | | | | | | | nextcloud/enhancement/bootstrap-calendar-resource-room-backend-registration Move calendar resource/room backend registration to IBootstrap
| * Move calendar resource/room backend registration to IBootstrapChristoph Wurst2022-02-072-76/+126
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #30945 from ↵Joas Schilling2022-02-081-1/+2
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/background-job-time-windows Background job time windows
| * | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-071-1/+2
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Only allow avatars in 64 and 512 pixel sizeJoas Schilling2022-02-072-12/+52
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #30354 from nextcloud/enhancement/talk-apiJoas Schilling2022-02-042-0/+188
|\ | | | | Add a Talk API for OCP
| * Add a Talk API for OCPChristoph Wurst2022-02-042-0/+188
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #30888 from nextcloud/comments-interfaceJoas Schilling2022-02-041-0/+17
|\ \ | |/ |/| Update ICommentsManager with reaction methods
| * Update ICommentsManager with reaction methodsVitor Mattos2022-02-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix psalm errors Reorder methods and remove return null Use best pattern on docblock Goals: update https://github.com/ChristophWurst/nextcloud_composer/ with reaction methods. The script https://github.com/ChristophWurst/nextcloud_composer/blob/master/build.sh only get lib/public classes Signed-off-by: Vitor Mattos <vitor@php.rio>
* | send request id in response headerRobin Appelman2022-02-013-1/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #30794 from ↵Joas Schilling2022-01-281-0/+12
|\ | | | | | | | | nextcloud/techdebt/noid/allow-to-get-comments-with-verb Allow to get comments with a given set of verbs
| * Fix fake managerJoas Schilling2022-01-211-0/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Refactor and fixes on testsVitor Mattos2022-01-211-124/+135
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Fix check after change from string to mb_stringVitor Mattos2022-01-211-2/+3
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Limit the summary and sort it afterwardsJoas Schilling2022-01-211-4/+29
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Order the reaction summary, improvements on validationsVitor Mattos2022-01-211-0/+84
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Disable reactions if database don't support utf8mb4Vitor Mattos2022-01-211-4/+1
| | | | | | | | | | | | Fix column size Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Skip if dont support 4 bytes UTF8Vitor Mattos2022-01-211-0/+13
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Fix column size to work with Oracle. Add unit testsVitor Mattos2022-01-211-2/+9
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Add unit testsVitor Mattos2022-01-211-4/+261
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Prevent query error when use subqueryVitor Mattos2022-01-211-1/+8
|/ | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Fix tests with email templatesCarl Schwan2022-01-182-4/+4
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>