summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix(CSP): Only add `strict-dynamic` when using noncesFerdinand Thiessen2023-11-173-61/+61
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on ↵Ferdinand Thiessen2023-11-172-78/+75
| | | | | | | | | | | | `script-src-elem` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on ↵Ferdinand Thiessen2023-11-172-0/+73
|/ | | | | | | | | `script-src-elem` only This adds the possibility to set `strict-dynamic` on `script-src-elem` only while keep the default rules for `script-src`. The idea is to allow loading module js which imports other files and thus does not allow nonces on import but on the initial script tag. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #41395 from nextcloud/hello-emfChristoph Wurst2023-11-162-2/+3
|\ | | | | feat: add preview provider for emf files based on office
| * feat: add preview provider for emf files based on officeDaniel Kesselberg2023-11-132-2/+3
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | optimize UserMountCache::registerStorageRobin Appelman2023-11-161-14/+18
| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Reverse X-Forwarded-For list to read the correct proxy remote addressJoas Schilling2023-11-161-6/+32
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(dav): Enable OOO UI and expose enabled via OCPChristoph Wurst2023-11-151-0/+16
| | | | | | | | | | | | | | | | | | | | | | Makes the feature opt-out now that we have meaningful integrations based on OOO data. Allows instances still to turn the feature off. For apps like Mail that build on top of this feature we need to know if the instance has the feature turned on or off. This is exposed as OCP API, too. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(AppManager): Ensure that app manager can handle empty app keys on the ↵Ferdinand Thiessen2023-11-141-2/+29
| | | | | | | | | | | | navigation entries Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Allow to set custom app order on navigation entries added by closures ↵Ferdinand Thiessen2023-11-142-9/+4
|/ | | | | | to NavigationManager Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #40653 from nextcloud/feat/ooo-apiChristoph Wurst2023-11-091-0/+164
|\ | | | | feat: Add out-of-office message API
| * feat: Add out-of-office message APIChristoph Wurst2023-11-091-0/+164
| | | | | | | | | | | | | | [skipci] Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #41266 from nextcloud/feat/contactsmenu/user-status-sortingChristoph Wurst2023-11-083-3/+126
|\ \ | | | | | | feat(contactsmenu): Sort by user status
| * | feat(contactsmenu): Sort by user statusChristoph Wurst2023-11-083-3/+126
| |/ | | | | | | | | | | If user_status is not enabled, fall back to sorting by contact name. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #41119 from nextcloud/optmize-storage-wrappersRobin Appelman2023-11-081-4/+14
|\ \ | |/ |/| optimize builtin storage wrappers
| * optimize isShared and isMountedRobin Appelman2023-11-081-4/+14
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-87/+0
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(cypress): Migrate apps acceptance tests to CypressFerdinand Thiessen2023-11-0640-11105/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(cypress): Migrate header contacts menu tests from Behat to CypressFerdinand Thiessen2023-11-053-249/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(dependencyinjection): Allow optional (nullable) servicesChristoph Wurst2023-11-031-0/+24
| | | | | | Allows working with classes that might or might not be available. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #41137 from nextcloud/chore/migrate-access-level-cypressFerdinand Thiessen2023-11-022-48/+0
|\ | | | | chore(cypress): Migrate access-level tests from Behat to Cypress
| * chore(tests): Migrate duplicated menu settings tests (access levels) to CypressFerdinand Thiessen2023-10-301-25/+0
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * chore(cypress): Migrate access-level tests from Behat to Cypress as this are ↵Ferdinand Thiessen2023-10-291-23/+0
| | | | | | | | | | | | UI tests Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | 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>