portainer/app
Dakota Walsh 7b806cf586
fix(cache): trigger page reload on logout (#7407)
When portainer is restarted the user's session is invalidated and as
soon as they start clicking around they will be logged out. This PR does
two additional things when this happens.

1) We trigger a browser page reload which will force the client the grab
   the latest version of our js, css, etc. Previously if a user updated
   portainer, but never clicked the browser's refresh button they would
   never see new css changes.

2) We also set "cache-control no-cache" on the index.html header. Since
   portainer is an SPA and the the index.html is very small it makes
   sense to avoid letting the browser cache it so that the user is
   always given the latest version when the above reload is triggered.
2022-08-05 15:38:45 +12:00
..
__mocks__ feat(ui): add sorting icon component and table header cell styling EE-3626 (#7165) 2022-07-08 01:20:33 +12:00
agent EE-3831 Replace sort icon and search icon in all docker pages (#7400) 2022-08-03 17:43:29 +08:00
angulartics.matomo fix(analytics): load public settings [EE-3590] (#7128) 2022-06-27 19:29:17 +03:00
assets feature(ui): registry access screen EE-3770 (#7332) 2022-08-02 15:32:22 +12:00
azure refactor(azure): migrate module to react [EE-2782] (#6689) 2022-07-26 16:44:08 -03:00
docker Fix(UI) Update UI of docker dashboard EE-3845 (#7422) 2022-08-05 10:17:31 +08:00
edge feat(ui): renovate the edge jobs edit page EE-3531 (#7192) 2022-08-02 10:28:27 -03:00
kubernetes fix(style): UI task issues [EE-3839] (#7406) 2022-08-04 23:41:12 +08:00
nomad refactor(app): create empty react structure [EE-3178] (#6926) 2022-05-17 07:22:44 +03:00
portainer fix(cache): trigger page reload on logout (#7407) 2022-08-05 15:38:45 +12:00
react Fix(UI) Update UI of docker dashboard EE-3845 (#7422) 2022-08-05 10:17:31 +08:00
react-tools feat(gpu) EE-3191 Add GPU support for containers (#7146) 2022-07-18 11:02:14 +12:00
setup-tests refactor(sidebar): migrate sidebar to react [EE-2907] (#6725) 2022-06-23 10:25:56 +03:00
app.js fix console error for feather icon (#7305) 2022-07-25 20:11:48 +12:00
config.js feat(docker-desktop-extension): Make Portainer compatible with Docker Desktop Extension EE-2747 (#6644) 2022-04-19 13:10:42 +12:00
constants.js fix(networks): handle windows specific system networks [EE-2594] (#6922) 2022-05-17 14:45:30 +12:00
global.d.ts feat(app): ui additional css class [EE-3594] (#7157) 2022-07-01 13:14:22 +12:00
i18n.ts feat(i18n): add support for multiple languages (#6270) 2022-01-10 15:22:21 +02:00
index.html fix(cache): trigger page reload on logout (#7407) 2022-08-05 15:38:45 +12:00
index.js refactor(azure): migrate module to react [EE-2782] (#6689) 2022-07-26 16:44:08 -03:00
matomo-setup.js feat(telemetry): replace GA with matomo (#4140) 2020-08-07 10:46:25 +12:00
react-table-config.d.ts fix(app): add github action for linting and formatting [EE-2344] (#6356) 2022-01-17 07:53:32 +02:00
timeout.ejs style(init): style init views [EE-3556] (#7384) 2022-08-05 11:48:08 +12:00
types.ts refactor(sidebar): migrate sidebar to react [EE-2907] (#6725) 2022-06-23 10:25:56 +03:00
vendors.js feat(app): introduce react configurations [EE-1809] (#5953) 2021-11-03 12:41:59 +02:00