aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
| * | Feat: Allow users to select another user as their out-of-office replacementHamza Mahjoubi2024-07-011-3/+15
| |/ | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* / feat(AppFramework): Add ExAppRequired attributeprovokateurin2024-07-012-1/+58
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: reduce available languages per config value "reduce_to_languages"Misha M.-Kupriyanov2024-07-011-0/+47
| | | | | | | | | | | | Example: restrict to en, de, es, fr, it' languages ./occ config:system:set reduce_to_languages 0 --value en ./occ config:system:set reduce_to_languages 1 --value de ./occ config:system:set reduce_to_languages 2 --value es ./occ config:system:set reduce_to_languages 3 --value fr ./occ config:system:set reduce_to_languages 4 --value it Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
* refactor: Use `IAppConfig` for setting cron typeFerdinand Thiessen2024-06-281-10/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #46133 from ↵Joas Schilling2024-06-272-16/+13
|\ | | | | | | | | nextcloud/bugfix/noid/fix-missing-protocol-on-remotes fix(federation): Fix missing protocol on CloudID remote
| * fix(federation): Fix missing protocol on CloudID remoteJoas Schilling2024-06-272-16/+13
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #45951 from nextcloud/chore/comments-event-legacyArthur Schiwon2024-06-271-0/+4
|\ \ | | | | | | chore: Move comments event handler to use proper event dispatcher
| * | chore: Move comments event handler to use proper event dispatcherJulius Härtl2024-06-261-0/+4
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #45655 from nextcloud/feat/mysql_ignore_conflicsBenjamin Gaussorgues2024-06-271-0/+66
|\ \ | |/ |/|
| * feat(dbal): add proper insert ignore conflict method for SQLiteBenjamin Gaussorgues2024-06-251-0/+66
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #45532 from nextcloud/feat/publish-resources-room-updateRichard Steinmetz2024-06-253-0/+467
|\ \ | |/ |/| feat: implement public OCP api to update resources and rooms
| * feat: implement public OCP api to update resources and roomsRichard Steinmetz2024-05-273-0/+467
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | chore: remove chunking-v1Robin Appelman2024-06-191-58/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #45930 from nextcloud/repair-mimetype-expensiveRobin Appelman2024-06-191-2/+4
|\ \ | | | | | | fix: move repair mimetype repair step to the expensive steps
| * | feat: add setup check for needed mimetype migrationsRobin Appelman2024-06-181-2/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #45228 from smokris/heartbeat-routeAndy Scherzinger2024-06-181-5/+14
|\ \ \ | | | | | | | | fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
| * | | fix(tests): Strong type property $router in RouterTestCôme Chilliet2024-06-181-2/+1
| | | | | | | | | | | | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | | fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle ↵Steve Mokris2024-05-071-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | redirected root Signed-off-by: Steve Mokris <steve@kosada.com>
* | | | fix(tests): Fix tests with new LazyUser usage in DefaultShareProviderCôme Chilliet2024-06-171-11/+19
| |/ / |/| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #45582 from nextcloud/joblist-cleanup-by-idRobin Appelman2024-06-171-4/+18
|\ \ \ | | | | | | | | delete background jobs by id when cleaning up
| * | | test: update DummyJobListRobin Appelman2024-05-301-4/+18
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #45811 from nextcloud/add-test-for-profile-page-controllerDaniel2024-06-121-0/+78
|\ \ \ \ | | | | | | | | | | test: add tests for ProfilePageController
| * | | | test: add tests for ProfilePageControllerDaniel Kesselberg2024-06-121-0/+78
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | fix(files_sharing): dark avatar supportskjnldsv2024-06-121-2/+13
|/ / / / | | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | | chore(webhooks): Rename webhooks application to webhook_listenersCôme Chilliet2024-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | There is already a webhooks application in the appstore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | feat: Add webhooks applicationCôme Chilliet2024-06-111-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #43942 from nextcloud/fix/43612/avoid-pwd-confirm-ssoArthur Schiwon2024-06-075-7/+72
|\ \ \ \ | | | | | | | | | | fix(Session): avoid password confirmation on SSO
| * | | | refactor(Token): introduce scope constantsArthur Schiwon2024-06-054-7/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | fix(Session): avoid password confirmation on SSOArthur Schiwon2024-06-052-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSO backends like SAML and OIDC tried a trick to suppress password confirmations as they are not possible by design. At least for SAML it was not reliable when existing user backends where used as user repositories. Now we are setting a special scope with the token, and also make sure that the scope is taken over when tokens are regenerated. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Merge pull request #45570 from nextcloud/fix/strict-email-verificationFerdinand Thiessen2024-06-042-9/+33
|\ \ \ \ \ | | | | | | | | | | | | fix(Mailer): Allow to enforce strict email format
| * | | | | fix(Mailer): Allow to enforce strict email formatFerdinand Thiessen2024-05-312-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | Merge branch 'master' into refactor/OC-Server-getSecureRandomJohn Molakvoæ2024-05-302-4/+5
|\| | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | | | Merge branch 'master' into refactor/OC-Server-getL10NFactoryJohn Molakvoæ2024-05-301-3/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>