nextcloud/core
Ferdinand Thiessen f5f3ae2c19 fix: Redirect user to login if session is terminated
If a session timed out or was closed in another tab,
then currently the user gets random error messages.
This intercepts 401 responses (should only happen if logged out, or the
users does something wrong).

If we get a 401, we make sure its because of the session,
by checking if the user can access the files app.
If that is also the case we forward the user to the login page
and set the redirect URL to the last used URL.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-09 09:48:44 +01:00
..
ajax chore: Add SPDX header 2024-05-10 11:07:50 +02:00
BackgroundJobs fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-11-25 08:38:58 +01:00
Command fix(maintenance): Show a success message on data-fingerprint command 2024-12-02 08:22:25 +00:00
Controller fix(ReferenceApiController): Bump rate limit for public resolve endpoint 2024-12-16 15:52:05 +00:00
css chore: compile scss 2024-09-06 15:43:13 -07:00
Data chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Db chore: Add SPDX header 2024-05-27 14:53:40 +02:00
doc chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Events chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Exception chore: Add SPDX header 2024-05-27 14:53:40 +02:00
fonts Include additional scripts in Noto fonts 2021-03-01 19:15:01 +01:00
img fix(federatedfilessharing): Use social media icons from core rather than inline SVGs 2024-10-09 15:34:21 +02:00
js fix: Adapt icon color to new default for mime icons 2024-07-04 11:09:21 +02:00
l10n Fix(l10n): Update translations from Transifex 2025-01-09 00:21:37 +00:00
Listener fix: Fix inaccessible content on public pages due to overlapping footer 2024-09-06 15:43:13 -07:00
Middleware chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Migrations fix(migration): Check if table exists 2024-12-06 13:48:04 +00:00
Notification feat(notifications): Migrate server INotifiers to new exceptions 2024-06-25 11:56:24 +02:00
Service chore: Add SPDX header 2024-05-27 14:53:40 +02:00
skeleton
src fix: Redirect user to login if session is terminated 2025-01-09 09:48:44 +01:00
templates fix(setup): clarify installation wording to be clear that it is about account creation 2025-01-07 09:48:18 +00:00
vendor chore: Add SPDX header 2024-05-27 14:53:40 +02:00
.l10nignore chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Application.php perf(systemtags): Add index for systemtags_object_mappings.objectid 2024-07-30 13:13:48 +02:00
openapi-ex_app.json chore(deps): Update openapi-extractor to v1.0.0 2024-08-21 11:21:33 +00:00
openapi-ex_app.json.license feat(OpenAPI): Add ex_app scope 2024-07-02 09:12:48 +02:00
openapi-full.json chore(deps): Update openapi-extractor to v1.0.0 2024-08-21 11:21:33 +00:00
openapi-full.json.license feat(TaskProcessingApi): Add endpoint for getting the next task 2024-07-01 17:11:12 +02:00
openapi.json chore(deps): Update openapi-extractor to v1.0.0 2024-08-21 11:21:33 +00:00
openapi.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
register_command.php feat: add command to export certificate bundle 2024-08-01 10:06:50 +02:00
ResponseDefinitions.php fix(taskprocessing): fix cs issues and generate autoloaders 2024-07-25 10:10:32 +02:00
routes.php Merge pull request #45228 from smokris/heartbeat-route 2024-06-18 17:29:30 +02:00
shipped.json feat: add app_api to shipped and default enabled apps 2024-09-26 13:27:08 +00:00
shipped.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
strings.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00