nextcloud/build/integration
Daniel Calviño Sánchez 709a74a2ac fix: Fix caching routes by users with an active session
When a user has an active session only the apps that are enabled for the
user are initially loaded. In order to cache the routes the routes for
all apps are loaded, but routes defined in routes.php are taken into
account only if the app was already loaded. Therefore, when the routes
were cached in a request by a user with an active session only the
routes for apps enabled for that user were cached, and those routes were
used by any other user, independently of which apps they had access to.
To solve that now all the enabled apps are explicitly loaded before
caching the routes.

Note that this did not affect routes defined using annotations on the
controller files; in that case the loaded routes do not depend on the
previously loaded apps, as it explicitly checks all the enabled apps.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-12-15 09:53:32 +00:00
..
capabilities_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
collaboration_features fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 13:22:25 +01:00
comments_features chore: Remove deprecated legacy search backend 2024-08-01 12:33:18 +02:00
config chore(files_reminder): add integration tests 2025-11-26 09:49:28 +01:00
data Revert "perf(base): Stop setting up the FS for every basic auth request" 2025-07-11 17:07:44 +02:00
dav_features Merge branch 'master' into remove-x-xss-protection 2025-06-30 21:32:22 +02:00
features fix: Fix caching routes by users with an active session 2025-12-15 09:53:32 +00:00
federation_features chore(federation): add trusted server auto accept integration tests 2025-01-09 12:54:51 +01:00
file_conversions fix(files): more conversion tests and translate error messages 2025-01-17 18:22:58 +01:00
files_features feat(encryption): Add integration tests for occ commands 2025-09-11 21:18:37 +02:00
files_reminders chore(files_reminder): add integration tests 2025-11-26 09:49:28 +01:00
filesdrop_features fix(FilesDropPlugin): Ensure all request for file request have a nickname 2025-11-18 15:19:46 +01:00
ldap_features fix(LDAP): properly disable are require TLS certificate verification 2025-10-14 07:42:25 +00:00
openldap_features test: Check unique display name if provided in the response 2025-11-12 11:16:16 +01:00
openldap_numerical_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
ratelimiting_features test: enable rate limiting for ratelimiting.feature 2025-04-15 10:31:02 +02:00
remoteapi_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
routing_features fix: Fix caching routes by users with an active session 2025-12-15 09:53:32 +00:00
setup_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
sharees_features fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 13:22:25 +01:00
sharing_features fix(dav): ensure moving or copying a file is possible 2025-09-02 16:23:47 +02:00
theming_features fix: Fix theming for disabled accounts 2025-07-10 15:19:01 +02:00
videoverification_features chore: Add SPDX header 2024-05-27 14:53:40 +02:00
.gitignore ci: Align integration test dependencies with 3rdaprty/ 2024-10-29 22:54:30 +01:00
composer.json ci: Bump behat/behat as well 2024-10-30 09:04:05 +01:00
composer.lock build(deps-dev): bump phpunit/phpunit in /build/integration 2025-09-27 13:20:44 +00:00
run-docker.sh feat: Make ISharedStorage public API and reuse where possible 2024-08-12 11:42:10 +02:00
run.sh chore: Disable appstore from integration tests 2025-06-05 16:23:07 +02:00