aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(session): Avoid two useless authtoken DB queries for every anonymous requestGit'Fellow2024-01-171-0/+50
| | | | | | Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(appstore): Only send subscription keys to valid appstoresJoas Schilling2024-01-161-2/+93
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* perf: Use more performant way to obtain and check the email as a login name ↵Julius Härtl2024-01-091-1/+1
| | | | | | with token login Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #42450 from nextcloud/backport/37469/stable28Robin Appelman2024-01-022-1/+24
|\ | | | | [stable28] restore shared lock ttl to previous value when releasing
| * adjust redis compareSetTTL to use a lua scriptRobin Appelman2023-12-221-0/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * restore shared lock ttl when releasingRobin Appelman2023-12-221-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | AppAPI: allowed to bypass Two-FactorAlexander Piskun2023-12-291-4/+19
|/ | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* fix(security): Handle idn_to_utf8 returning falseJoas Schilling2023-12-042-3/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [stable28] enh(userstatus): add OOO automation and remove calendar automationAnna Larch2023-11-281-29/+61
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(dav): dispatch out-of-office started and ended eventsRichard Steinmetz2023-11-231-6/+12
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2343-150/+150
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behaviorFerdinand Thiessen2023-11-221-0/+38
|\ | | | | fix(ObjectStore): Make copying behavior consistent with local storage
| * fix(ObjectStore): Make copying behavior consistent with local storageFerdinand Thiessen2023-11-171-0/+38
| | | | | | | | | | | | Drop file permissions on copy like we do on local storage. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Fix linkToOCSRouteAbsolute() without index.php and subfolderJoas Schilling2023-11-201-7/+15
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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>