aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #44763 from nextcloud/fix/group_name_length_dbBenjamin Gaussorgues2024-05-162-5/+37
|\
| * fix(groups): allows to save group names with more than 64 charactersBenjamin Gaussorgues2024-04-222-5/+37
| | | | | | | | | | | | Mimic behaviour from LDAP users and add a hard limit to 255 characters Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | fix: Extend SVG reference checkJoas Schilling2024-05-161-0/+29
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix: run cs:fixMarcel Klehr2024-05-141-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | test: Put input files in user storageMarcel Klehr2024-05-141-11/+10
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix(TextToImage): Allow leaving the resources openMarcel Klehr2024-05-141-8/+9
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix: fix testsMarcel Klehr2024-05-141-3/+3
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix: Don't use dynamic propertyMarcel Klehr2024-05-141-0/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix: Run cs:fixMarcel Klehr2024-05-141-1/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | test: Test file authorization checkMarcel Klehr2024-05-141-2/+27
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | test: Add more tests for legacy pass-throughMarcel Klehr2024-05-141-2/+231
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | refactor: rename getTaskType to getTaskTypeIdMarcel Klehr2024-05-141-4/+4
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix: Run cs:fixMarcel Klehr2024-05-141-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | test: Add OldTasksShouldBeCleanedUp testMarcel Klehr2024-05-141-23/+68
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix: weed out some psalm errors and run cs:fixMarcel Klehr2024-05-141-5/+3
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | feat: first pass at TaskProcessing APIMarcel Klehr2024-05-141-0/+467
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | chore: Add SPDX headerAndy Scherzinger2024-05-13545-7475/+1444
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | Merge pull request #44791 from nextcloud/reshare-permission-logicRobin Appelman2024-05-131-6/+17
|\ \ | | | | | | fix: consider all paths the user has for a share source when considering max permissions
| * | test: adjust test to new permissions check logicRobin Appelman2024-05-031-6/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | feat(bg-jobs): allow setting a job class list instead of a single class in ↵Julien Veyssier2024-05-021-1/+1
| | | | | | | | | | | | | | | | | | cron.php and the job worker occ command Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | feat(bg-jobs): Allow calling cron.php with a background job classJulius Härtl2024-05-021-1/+1
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #44968 from nextcloud/fix/drop-workaround-for-obsolete-phpCôme Chilliet2024-04-291-2/+1
|\ \ | | | | | | fix: Drop workarounds for unsupported obsolete PHP versions
| * | fix: Drop workarounds for unsupported obsolete PHP versionsCôme Chilliet2024-04-221-2/+1
| | | | | | | | | | | | | | | | | | Also improved error handling in Installer.php to be type safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix(session): Do not update authtoken last_check for passwordlessChristoph Wurst2024-04-261-0/+78
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #44745 from nextcloud/fix/auth/2fa-redirect-urlChristoph Wurst2024-04-231-3/+6
|\ \ \ | |/ / |/| | fix(auth): Keep redirect URL during 2FA setup and challenge
| * | fix(auth): Keep redirect URL during 2FA setup and challengeChristoph Wurst2024-04-191-3/+6
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix: Lazy load IURLGenerator from AppManager to avoid installation crashCôme Chilliet2024-04-221-7/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Fix RouterTest by adding IAppManagerCôme Chilliet2024-04-221-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Fix tests following OC_App migrations to IAppManagerCôme Chilliet2024-04-225-19/+61
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Migrate a few more classes away from OC_App::getAppPathCôme Chilliet2024-04-221-1/+0
|/ | | | | | Also fixed AppTest Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #44886 from ↵Joas Schilling2024-04-181-4/+5
|\ | | | | | | | | nextcloud/techdebt/noid/improved-activity-exceptions fix(activity): Improved activity exceptions
| * fix(activity): Add a dedicated exception when not all fields are set while ↵Joas Schilling2024-04-171-4/+5
| | | | | | | | | | | | publishing an activity Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(appconfig): returns correct value on detailsMaxence Lange2024-04-171-1/+1
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #44644 from nextcloud/enh/noid/returns-formated-app-valuesFerdinand Thiessen2024-04-171-0/+15
|\ \ | |/ |/| fix(appconfig): format app values
| * fix(appconfig): format app valuesMaxence Lange2024-04-051-0/+15
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #44736 from nextcloud/fix/avatar-imagesPytal2024-04-091-0/+16
|\ \ | | | | | | fix: Fix avatar images
| * | test: Update testsChristopher Ng2024-04-081-0/+16
| |/ | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* / test: add test for jail watcherRobin Appelman2024-04-081-0/+30
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(federation): ICloudId->getRemote() should contain the protocolJoas Schilling2024-04-021-5/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-0211-12/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Fix tests when daytime saving time change happened recentlyCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #44438 from nextcloud/feat/login-form-timeoutFerdinand Thiessen2024-03-251-19/+9
|\ | | | | feat(login): Clear login form (password) after IDLE timeout
| * feat(login): Clear login form (password) after IDLE timeoutFerdinand Thiessen2024-03-251-19/+9
| | | | | | | | | | | | | | | | | | For security reasons it is recommended to stop the login process at a defined time, this could prevent password leaks by e.g. user forgetting that they entered their password on public devices. Enforced e.g. by the BSI ORP.4.A13 rule. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(federation): Fix creating local cloudIds with http:// protocolJoas Schilling2024-03-251-6/+10
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(config): Make sure user keys are stringsChristoph Wurst2024-03-191-0/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(AppDiscoverFetcher): Do not remove entries as expired that have no ↵Ferdinand Thiessen2024-03-191-0/+133
| | | | | | expiry date Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: add check for app_api_system session flag to bypass rate limitFlorian Klinger2024-03-181-1/+5
| | | | | Signed-off-by: Florian Klinger <florian.klinger@nextcloud.com> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* Merge pull request #41684 from nextcloud/feat/rst-mimetypeAnupam Kumar2024-03-152-2/+3
|\ | | | | feat(mimetypes): Add mimetype for ReStructuredText
| * feat(mimetypes): Add mimetype for ReStructuredTextAnupam Kumar2024-03-152-2/+3
| | | | | | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* | Merge pull request #40117 from summersab/refactor/OC-Server-getCommentsManagerJohn Molakvoæ2024-03-152-2/+3
|\ \