nextcloud/core
Ferdinand Thiessen 1df23140b8 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>
2024-12-19 18:56:46 +01:00
..
ajax chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
BackgroundJobs fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-10-08 11:26:53 +02:00
Command fix: error handling for wrong json values 2024-12-18 18:32:34 +01:00
Controller fix(ReferenceApiController): Bump rate limit for public resolve endpoint 2024-12-16 13:01:55 +01:00
css chore: Compile assets 2024-11-19 09:42:13 +01:00
Data chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Db Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-support 2024-10-18 19:05:08 +02:00
doc chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Events chore: Unify user related events to always provide a getUid method 2024-10-15 18:33:11 +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-08 14:31:21 +02:00
js fix(code-style): Adjust JS code to our code style 2024-10-16 22:11:59 +02:00
l10n Fix(l10n): Update translations from Transifex 2024-12-19 00:21:31 +00:00
Listener chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Middleware chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Migrations Merge pull request #49477 from nextcloud/hasTableTaskprocessingTasks 2024-12-06 14:45:54 +01:00
Notification feat(notifications): Migrate server INotifiers to new exceptions 2024-06-25 11:56:24 +02:00
Service chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src fix: Redirect user to login if session is terminated 2024-12-19 18:56:46 +01:00
templates chore(profile): move profile app from core to apps 2024-11-14 10:25:02 +01:00
vendor chore: Remove old travis related stuff 2024-09-19 20:16:29 +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 fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
openapi-ex_app.json.license feat(OpenAPI): Add ex_app scope 2024-07-02 09:12:48 +02:00
openapi-full.json fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
openapi-full.json.license feat(TaskProcessingApi): Add endpoint for getting the next task 2024-07-01 17:11:12 +02:00
openapi.json fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
openapi.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
register_command.php feat: add occ command for task type toggling 2024-12-18 18:32:34 +01:00
ResponseDefinitions.php fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
routes.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
shipped.json fix(profile): make sure the app cannot be disabled as it was in core 2024-11-14 10:25:10 +01:00
shipped.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
strings.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00