Commit Graph

8 Commits

Author SHA1 Message Date
Thomas Basler
a06a8fec3d webapp: Removed hardcoded info about views which require authentication
If the return value of a API request equals 401 then the user will be redirected to the login page.
Using this method it's possible to decided within the API if a authentication is needed or not.
2022-11-22 20:37:01 +01:00
Thomas Basler
7d1cdb0536 Fix #322: German umlauts create mistakes when using them in passwords
See https://stackoverflow.com/questions/3626183/javascript-base64-encoding-utf8-string-fails-in-webkit-safari
2022-11-09 19:42:47 +01:00
Thomas Basler
0a6965c015 webapp: Implemented logged-out event 2022-11-07 23:34:54 +01:00
Thomas Basler
c2de7dbdb8 webapp: Send X-Requested-With header for all requests
This prevents browser password dialogs in all cases
2022-11-07 18:49:36 +01:00
Thomas Basler
7798854b2b webapp: Change authHeader to return Headers object instead of Record<string, string> 2022-11-04 00:01:34 +01:00
Thomas Basler
8d14dbd367 Password protection for security settings API
Also implemented the base functionallity to protect further API endpoints.
2022-11-03 21:00:13 +01:00
Thomas Basler
20e856ecfc Use correct locale for number formatting
Also moved numberFormat method so separate file
2022-10-31 15:08:56 +01:00
Thomas Basler
cae6ddccb7 webapp: add utils method timestampToString 2022-10-17 21:13:18 +02:00