nextcloud/core/src
Ferdinand Thiessen 00d9d8366e 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-28 10:06:03 +01:00
..
components chore(deps): Update debounce to 2.1.0 2024-07-10 19:05:38 +02:00
files feat(s3): Use multipart upload for chunked uploading 2023-03-08 14:00:04 +01:00
jquery fix(oc-dialog): Get rid of the overlay 2024-04-08 12:50:45 -05:00
mixins feat: Limit email input on auth pages to 255 chars 2024-03-21 10:34:55 +01:00
OC Replace password dialog with dialog from library 2023-10-17 14:09:43 +02:00
OCA fix: Remove deprecation warning for already removed API 2023-07-06 17:40:31 +02:00
OCP fix: Make URL pattern regexes match localhost and URLs with ports 2024-03-06 09:59:42 +01:00
profile chore: upgrade typescript, eslint and fix lint 2023-06-27 16:16:41 +02:00
services feat(core): create filter-plugin architecture for unified search 2024-03-06 02:05:50 +01:00
store refactor: migrate from vuex to pinia 2024-03-06 02:05:51 +01:00
systemtags chore: Remove jquery-migrate and jQuery tooltip polyfills from global scope 2024-02-09 12:08:04 +01:00
tests feat(contactsmenu): Show user status 2023-10-31 11:52:46 -07:00
Util Rename a11y helper function 2022-06-09 00:25:13 +00:00
utils fix: Redirect user to login if session is terminated 2025-01-28 10:06:03 +01:00
views feat: Adapt providers disabled property to match user applied filters 2025-01-21 10:58:04 +01:00
globals.js chore: Remove jquery-migrate and jQuery tooltip polyfills from global scope 2024-02-09 12:08:04 +01:00
icons.js feat: Add new icon-filetype-text and icon-add-folder-description 2024-03-20 16:27:38 -07:00
init.js Replace password dialog with dialog from library 2023-10-17 14:09:43 +02:00
install.js chore: Remove jquery-migrate and jQuery tooltip polyfills from global scope 2024-02-09 12:08:04 +01:00
legacy-unified-search.js Rename "global search" to "unified search" 2023-12-12 20:34:37 +01:00
logger.js Replace license information to SPDX expression 2022-01-11 17:26:40 +01:00
login.js chore(eslint): fix missing import extensions 2023-03-23 08:14:19 +01:00
main.js fix: csrf check failed on public share with password 2024-07-08 13:22:20 +02:00
maintenance.js Replace license information to SPDX expression 2022-01-11 17:26:40 +01:00
profile.ts enh(core): Refactor profile page to use vue components 2024-01-10 11:22:27 -06:00
public.ts fix: Fix inaccessible content on public pages due to overlapping footer 2024-09-06 15:57:15 -07:00
recommendedapps.js chore(eslint): fix missing import extensions 2023-03-23 08:14:19 +01:00
session-heartbeat.js stop the auto-logout loop after redirecting to the logout 2024-02-20 17:51:16 +01:00
unified-search.ts refactor: use TypeScript for unified-search boostrap file 2024-03-07 20:19:29 +01:00
unsupported-browser-redirect.js webpack: add nonce to unsupported-browser-redirect chunk 2023-05-24 10:38:43 +00:00
unsupported-browser.js Only check unsupported browsers on user rendering 2022-10-28 12:23:02 +02:00