Deluan
4296741ec0
Simplify EventStream handling
2023-05-17 11:53:09 -04:00
certuna
265f33ed9d
Remove clearServiceWorkerCache, not needed anymore. ( #1205 )
...
remove clearServiceWorkerCache, not needed anymore.
2021-06-23 12:11:35 -04:00
Deluan Quintão
03efc48137
Refactor routing, changes API URLs ( #1171 )
...
* Make authentication part of the server, so it can be reused outside the Native API
This commit has broken tests after a rebase
* Serve frontend assets from `server`, and not from Native API
* Change Native API URL
* Fix auth tests
* Refactor server authentication
* Simplify authProvider, now subsonic token+salt comes from the server
* Don't send JWT token to UI when authenticated via Request Header
* Enable ReverseProxyWhitelist to be read from environment
2021-06-13 12:46:36 -04:00
Igor Rzegocki
6bd4c0f6bf
Reverse proxy authentication support ( #1152 )
...
* feat(auth): reverse proxy authentication support - #176
* address PR remarks
* Fix redaction of UI appConfig
Co-authored-by: Deluan <deluan@navidrome.org>
2021-06-11 23:17:21 -04:00
Deluan
e529390034
Remove md5-hex wrapper and use blueimp-md5 directly
2021-05-20 13:42:56 -04:00
Deluan
874b17b8f6
Require user to provide current password to be able to change it
...
Admins can change other users' password without providing the current one, but not when changing their own
2021-05-03 15:03:34 -04:00
Deluan
a35de2bfd1
Allow regular users to change their info, including password.
...
Should fix #199
2021-04-28 22:35:25 -04:00
Deluan
b6f525bda5
Fix exception when running in Firefox over insecure http. Fix #1039
2021-04-18 02:21:58 -04:00
Aldrin Jenson
5245b4c62b
Fix cacheUndefined bug - #901 ( #915 )
...
- add check to see if cache is defined before deleting
2021-03-29 20:43:51 -04:00
certuna
1ea3d005e8
clear the ServiceWorker cache on logout ( #854 )
...
* Update authProvider.js
This fixes https://github.com/navidrome/navidrome/issues/613 : clears the ServiceWorker cache on logout. Based on this code: https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/keys . Seems to work on macOS and iOS, but please test on other platforms.
* Format code with `prettier`
Co-authored-by: Deluan <deluan@navidrome.org>
2021-03-21 14:34:10 -04:00
Deluan
f2fd7ed016
Fix race condition that could cause multiple EventSource connections from the same client
2020-12-13 14:44:57 -05:00
Deluan
f86bc070de
Don't break on login when activity panel is disabled
2020-12-13 12:16:02 -05:00
Deluan
3e8bee4f65
Make eventStream connection/reconnection more reliable
...
Also more logs on the server
2020-11-20 20:27:30 -05:00
Deluan
9d7995fd4d
Redesign UserMenu, now with support for Gravatar
2020-11-13 00:40:30 -05:00
Deluan
9d2426a601
Use a better notation for exporting JS components and functions
2020-11-10 19:27:28 -05:00
Deluan
94f28f6216
Generate a better salt for Subsonic token authentication
2020-11-03 15:13:40 -05:00
Deluan
fd1604b1d2
Add user's name to UserMenu
2020-11-02 17:13:12 -05:00
Deluan
ebc7964157
Fix formatting
2020-04-26 15:07:36 -04:00
Deluan
d38f8544d5
Remove unused localStorage config
2020-04-08 13:20:02 -04:00
Deluan
089a92157f
Pass version to UI through AppConfig, instead of login payload.master
...
This makes the version info updated with a browser refresh (no need to logout and login again)
2020-04-08 11:00:30 -04:00
Deluan
a0f389fc3e
Consolidate UI configuration in one place, allowing it to be overridden from the server
2020-04-08 09:07:15 -04:00
Deluan
75cd21da1f
Add BaseURL configuration ( fixes #103 )
2020-04-03 19:05:38 -04:00
Deluan
10ead1f5f2
feat: better way to detect initial account creation
2020-02-08 14:32:55 -05:00
Deluan
99361c0d9f
fix: create a subsonic token on login, to use for subsonic API calls
2020-02-06 20:57:00 -05:00
Deluan
2dbd645292
feat: show server version in User Menu
2020-02-05 23:08:04 -05:00
Deluan
6978790e96
feat: allow regular users to login to the UI
2020-02-05 22:22:44 -05:00
Deluan
58a7879ba8
feat: first time admin user creation through the ui
2020-01-25 17:10:16 -05:00
Deluan
e717d99780
Authenticate UI
2020-01-20 10:25:35 -05:00