aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #46760 from nextcloud/fix/appframework/csrf-custom-headerJohn Molakvoæ2024-07-271-0/+20
|\
| * fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checksprovokateurin2024-07-251-0/+20
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #46672 from nextcloud/fix/preview-invalid-idAndy Scherzinger2024-07-251-0/+1
|\ \ | |/ |/| Avoid using partial file info as valid one
| * fix: Ignore preview requests for invalid file idsJulius Härtl2024-07-221-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | feat(TaskProcessing): Implement enums and default valuesMarcel Klehr2024-07-251-0/+96
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #46644 from nextcloud/cast-bigintFerdinand Thiessen2024-07-241-1/+3
|\ \ | | | | | | fix: cast to bigint on postgresql
| * | fix: cast to bigint on postgresqlRobin Appelman2024-07-231-1/+3
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegationLouis2024-07-241-8/+6
|\ \ | | | | | | feat(users): Add users and group management to admin delegation
| * | feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-221-8/+6
| |/ | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* / feat: mail provider backendSebastianKrupinski2024-07-234-0/+469
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* feat(taskprocessing): add support for webhooks (http or AppAPI) in the task ↵Julien Veyssier2024-07-221-0/+4
| | | | | | processing API Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Merge pull request #46571 from nextcloud/chore/migrate-to-filenamevalidatorStephan Orbaugh2024-07-221-9/+6
|\ | | | | refactor: Migrate some legacy and core functions to `IFilenameValidator`
| * refactor: Migrate some legacy and core functions to `IFilenameValidator`Ferdinand Thiessen2024-07-191-9/+6
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #46473 from nextcloud/feat/restrict_admin_to_ipsAndy Scherzinger2024-07-223-32/+118
|\ \ | |/ |/| feat(security): restrict admin actions to IP ranges
| * feat(security): Add public API to allow validating IP Ranges and checking ↵Joas Schilling2024-07-193-18/+21
| | | | | | | | | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * feat(security): restrict admin actions to IP rangesBenjamin Gaussorgues2024-07-193-32/+115
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #46605 from nextcloud/bugfix/noid/test-more-oracle-versionsJoas Schilling2024-07-197-22/+21
|\ \ | |/ |/| fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions
| * fix(test): Make the test less flakyJoas Schilling2024-07-191-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Deprecate `IExpressionBuilder::or()` and ↵Joas Schilling2024-07-191-1/+6
| | | | | | | | | | | | `IExpressionBuilder::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵Joas Schilling2024-07-195-20/+13
| | | | | | | | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Use `createSchemaManager()` method as `getSchemaManager()` is ↵Joas Schilling2024-07-191-1/+1
| | | | | | | | | | | | deprecated Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #46368 from nextcloud/fix/task-processingMarcel Klehr2024-07-191-10/+73
|\ \ | |/ |/| TaskProcessing follow-up
| * fix(TaskProcessing): Run cs:fixMarcel Klehr2024-07-171-1/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix(TaskProcessing): fix testsMarcel Klehr2024-07-171-9/+21
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * test(TaskProcessing): Add test for setTaskResult with fileIdsMarcel Klehr2024-07-171-0/+52
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #46583 from nextcloud/filecache-sharding-compatRobin Appelman2024-07-192-23/+34
|\ \ | | | | | | Make filecache queries compatible with sharding
| * | fix: make batch propagator work with sharding restrictionsRobin Appelman2024-07-171-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix: make usermountcache compatible with shardingRobin Appelman2024-07-171-22/+33
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(Security): Warn about using annotations instead of attributesprovokateurin2024-07-182-12/+19
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #46510 from nextcloud/feat/info-xml-backendsRichard Steinmetz2024-07-175-5/+59
|\ \ | | | | | | feat: hide caldav server settings if no app uses the caldav backend
| * | feat: hide caldav server settings if no app uses the caldav backendRichard Steinmetz2024-07-165-5/+59
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | feat(settings/admin/ai): fix testsJulien Veyssier2024-07-171-0/+1
| |/ |/| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | Merge pull request #46419 from nextcloud/bugfix/noid/limit-logo-size-for-outlookJoas Schilling2024-07-175-3/+8
|\ \ | | | | | | fix(mail): Fix big logos in mail templates for Outlook
| * | fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-175-3/+8
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #46538 from nextcloud/fix/use-filename-validatorFerdinand Thiessen2024-07-164-157/+107
|\ \ \ | | | | | | | | refactor: Migrate filename validation from `Storage` and `Util` to `FilenameValidator`
| * | | fix(dav): Verify target path in `setName` instead of source pathFerdinand Thiessen2024-07-161-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | | refactor: Remove deprecated `Util` function for filename validation to ↵Ferdinand Thiessen2024-07-161-58/+0
| | | | | | | | | | | | | | | | | | | | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | | refactor: Migrate filename validation logic from `Storage` to ↵Ferdinand Thiessen2024-07-163-99/+107
| |/ / | | | | | | | | | | | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #46547 from nextcloud/query-builder-connectionRobin Appelman2024-07-161-31/+58
|\ \ \ | |/ / |/| | feat: allow running QueryBuilder queries on different connections
| * | feat: allow running QueryBuilder queries on different connectionsRobin Appelman2024-07-151-31/+58
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / feat: Add `forbidden_filename_basenames` config optionFerdinand Thiessen2024-07-151-27/+58
|/ | | | | | | | This allows to configure forbidden filenames (the full filename like `.htaccess`) and also forbidden basenames like `com0` where `com0`, `com0.txt` and `com0.tar.gz` will match. We need this as only using basenames was too restrictive and will cause problems on some systems when updating. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): phpunit & openapi fixesskjnldsv2024-07-121-8/+20
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat: don't count failed CSRF as failed login attemptBenjamin Gaussorgues2024-07-111-1/+0
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-091-0/+188
| | | | | | | | validation Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Test hash validationChristopher Ng2024-07-041-0/+25
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: support excalidraw fileHoang Pham2024-07-042-2/+4
| | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* fix(tests): Remove output when running testsJoas Schilling2024-07-031-0/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #46185 from ↵Daniel2024-07-022-38/+59
|\ | | | | | | | | nextcloud/debt/noid/migrate-background-commands-to-iappconfig refactor: simplify background commands
| * refactor: simplify background commandsDaniel Kesselberg2024-07-012-38/+59
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #45766 from nextcloud/feat/ooo-replacementDaniel2024-07-011-3/+15
|\ \ | | | | | | Feat: Allow users to select another user as their out-of-office replacement