aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* feat(contactsmenu): Show user statusChristoph Wurst2023-10-311-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(tests): Test profile entryChristopher Ng2023-10-261-0/+16
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(settings): Stablize user list cypress testsFerdinand Thiessen2023-10-253-458/+0
| | | | | | | | * Use common `data-testid` to identify elements rather than to depend on internal classes or properties * Force clean the state for the user tests * Move leftover acceptance tests for users from drone to cypress Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(tests): Migrate login acceptance tests from behat to CypressFerdinand Thiessen2023-10-233-206/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure default apps and app order in frontend ↵Ferdinand Thiessen2023-10-201-2/+56
| | | | | | | | | settings * Also add API for setting the value using ajax. * Add cypress tests for app order and defaul apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(NavigationManager): Always sort the default app firstFerdinand Thiessen2023-10-191-5/+56
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #39852 from nextcloud/pragmaHeaderFerdinand Thiessen2023-10-183-8/+0
|\ | | | | Stop sending deprecated Pragma header
| * Stop sending deprecated Pragma headerGit'Fellow2023-08-283-8/+0
| | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | fix(acceptance): Locate settings menuChristopher Ng2023-10-161-1/+1
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vueChristoph Wurst2023-10-161-4/+4
|\ \ | | | | | | refactor: Contacts menu to Vue
| * | refactor: Contacts menu to VueChristoph Wurst2023-10-161-4/+4
| | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | Fix unit tests on PHP 8.3Joas Schilling2023-10-161-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat: Add factory method for in-memory cachesChristoph Wurst2023-10-111-0/+11
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix Dynamic property timeFactory in ClientFlowLoginControllerTestCôme Chilliet2023-10-091-1/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(acceptance): Locate contacts menu buttonChristopher Ng2023-10-061-1/+1
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(sqlite): Remove some old SQLite cheatsJoas Schilling2023-10-061-4/+0
| | | | | | | | | | | | | | - Doctrine correctly forces integer for autoincrement by now - Doctrine correctly maintains integer types by now Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(mysql): Remove custom MySQL workaround from 2015Joas Schilling2023-10-061-8/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(postgres): Remove old Postgres 9.4 workaroundJoas Schilling2023-10-061-4/+0
| | | | | | | | | | | | | | | | Postgres 10 is the minimum in the meantime and doctrine/dbal fixed this in 2.6.0 already ref https://github.com/doctrine/dbal/pull/2614 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(sqlite): Remove no longer required autoincrement fixJoas Schilling2023-10-061-90/+0
| | | | | | | | | | | | | | | | | | - I installed current master and exported the schema as SQL - Then I went to this branch, removed the content of the run() method (so made it no-op) - I installed again and exported the schema as SQL - The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal Signed-off-by: Joas Schilling <coding@schilljs.com>
* | make oauth2 authorization code expire after 10 minutesJulien Veyssier2023-10-051-1/+4
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | chore: Install phpunit via vendor binChristoph Wurst2023-10-022-2/+6
| | | | | | | | | | | | | | | | This means we can all run the same version. And when switching to stableX it can pull the corresponding version too. Also local dev envs and CI run the same phpunit. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | feat(backgroundjob): Schedule job after <timestamp>Christoph Wurst2023-09-291-1/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Split list to navigation for the left sidebarjulia.kirschenheuter2023-09-281-1/+1
| | | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* | Merge pull request #40617 from nextcloud/enh/allow-user-to-set-apporderCôme Chilliet2023-09-282-9/+107
|\ \ | | | | | | Read apporder from configuration value
| * | Fix and extend NavigationManagerTest.phpCôme Chilliet2023-09-261-5/+79
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix and extend tests for AppManager::getDefaultAppForUserCôme Chilliet2023-09-261-4/+28
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Refactors tests/app.php to improve readaibility.Faraz Samapoor2023-09-271-12/+18
| | | | | | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | | fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usageJoas Schilling2023-09-251-2/+9
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore(3rdparty): remove opis/closureDaniel Kesselberg2023-09-221-7/+0
| | | | | | | | | | | | | | - We are using laravel/serializable-closure for a while now. - The package was there for compatibility reasons but does not play nice with PHP 8.1. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | feat(CI): Allow apps to test with PHPUnit10Joas Schilling2023-09-211-13/+34
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #40499 from nextcloud/known-mtime-wrapperRobin Appelman2023-09-211-0/+70
|\ \ | | | | | | add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
| * | apply known mtime wrapper for external storagesRobin Appelman2023-09-191-1/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add wrapper to ensure we don't get an mtime that is lower than we know it isRobin Appelman2023-09-191-0/+71
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | test: add test for cache mount providerDaniel Kesselberg2023-09-201-0/+108
|/ / | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | fix(systemtags): fix capabilities and sidebar + tag visibilityJohn Molakvoæ (skjnldsv)2023-09-181-1/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Remove last calls to deprecated at matcher in tests/CoreCôme Chilliet2023-09-189-106/+92
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #40419 from nextcloud/fix/remove-at-matcher-in-installer-testCôme Chilliet2023-09-181-13/+20
|\ \ | | | | | | Remove deprecated at matcher in tests/lib/InstallerTest.php
| * | Remove deprecated at matcher in tests/lib/InstallerTest.phpCôme Chilliet2023-09-141-13/+20
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | refactor(f2v): Migrate unread comments action to the new FileAction APILucas Azevedo2023-09-161-7/+0
|/ / | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | fix: Pass parent to NonExistingFile instancesJulius Härtl2023-09-131-2/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | test: add tests for dns pin middlewareDaniel Kesselberg2023-09-121-0/+563
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #32912 from nextcloud/group-backend-batch-methodCôme Chilliet2023-09-111-3/+6
|\ \ | | | | | | Add batch methods in user backends
| * | Add batch methods in user backendsCarl Schwan2023-09-051-3/+6
| | | | | | | | | | | | | | | | | | This allows for faster group search with significantly less DB traffic Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #39226 from shdehnavi/null_coalescing_conversion_testsJulius Härtl2023-09-092-2/+2
|\ \ \
| * | | Convert isset ternary to null coalescing operatorHamid Dehnavi2023-08-172-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* | | | Merge pull request #40216 from ↵Côme Chilliet2023-09-071-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/print-log-message-when-version-could-not-be-got-from-updater-server Print log message when version could not be got from updater server
| * | | | Print log message when version could not be got from updater serverDaniel Calviño Sánchez2023-09-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could help to diagnose why the updater server could not be reached, as well as other subtler issues like requests taking too long if the updater server was tried to be connected to as a "side effect" (for example, when the "updatenotification" app boots). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Create right table viewjulia.kirschenheuter2023-09-051-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* | | | | Fix ContactsManagerTest adressbook mocks having a null keyCôme Chilliet2023-09-051-0/+27
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #39863 from nextcloud/sharing-mask-wrapperRobin Appelman2023-09-042-12/+28
|\ \ \ \ | | | | | | | | | | move share permission logic to storage wrapper