summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | 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>
* | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-071-1/+2
|/ | | | 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>
* Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan2022-01-1318-126/+119
|\ | | | | Fix psalm not running
| * Check style updateCarl Schwan2022-01-1318-126/+119
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #30600 from nextcloud/fix/30595/idn-email-shareCarl Schwan2022-01-131-8/+50
|\ \ | | | | | | Fix idn emails not working in shares
| * | Add check before sending email that email address is validCarl Schwan2022-01-111-8/+50
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30588 from nextcloud/bugfix/noid/fix-unset-scopesPytal2022-01-111-1/+1
|\ \ \ | |/ / |/| |
| * | Fix testJoas Schilling2022-01-111-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #30291 from nextcloud/image-memory-limitJoas Schilling2022-01-111-0/+17
|\ \ \ | | | | | | | | Prevent loading images that would require too much memory.
| * | | Prevent loading images that would require too much memory.Joachim Bauch2022-01-111-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>