Commit graph

1427 commits

Author SHA1 Message Date
Kailash Nadh ba8724e52a Fix update check looping on failed HTTP requests. 2024-07-18 18:21:30 +05:30
Kailash Nadh fe558868d6 Add legacy TOML user+password to API auth on init with warning. 2024-07-17 10:39:03 +05:30
Kailash Nadh 0480c1160f Add API user authentication to auth module with caching of creds on user CRUD. 2024-07-15 23:04:00 +05:30
Kailash Nadh 4d8d2fc009 Fix role selection on in user form. 2024-07-15 22:58:11 +05:30
Kailash Nadh 9e7cc62d9e User legacy (TOML) admin credentials as API creds for backwards compatibility. 2024-07-14 12:21:42 +05:30
Kailash Nadh cbc178f31a Fix admin UI legacy user warning. 2024-07-14 12:20:39 +05:30
Kailash Nadh c82d6b22e3 Remove obsolete path var. 2024-07-13 19:20:49 +05:30
Kailash Nadh d55839dd40 Fix broken subscription status tag on subscriber form UI. 2024-07-13 19:17:09 +05:30
Kailash Nadh dcbb9131a7 Add OIDC auth hooks (init, callback, session) and finish OIDC support. 2024-07-09 00:42:29 +05:30
Kailash Nadh 9162e6f772 Add avatar field to user schema for OIDC avatars. 2024-07-09 00:41:28 +05:30
Kailash Nadh f13e9ff962 Update OIDC auth URL in login form. 2024-07-09 00:40:45 +05:30
Kailash Nadh 9bf2f985ec Apply OIDC/user profile related changes to admin UI. 2024-07-09 00:39:38 +05:30
Kailash Nadh 717e6bb7f1 Add one-click provider config shortcut in OIDC settings. 2024-07-09 00:38:55 +05:30
Kailash Nadh 13c3ff543f Refactor update check.
- Switch away from GitHub releases API to a statically hosted custom
  JSON message to include richer data.
- Instead of checking 24 hours post-boot, check 15 mins later post boot
  and then every 24 hours.
- Add provision for messages to display on the admin dashboard to
  communicate important / urgent announcements.
  (Fingers crossed, this never has to be used!)
2024-07-06 20:04:16 +05:30
Kailash Nadh 14e2137a1d Add warning on admin UI for legacy creds in the TOML file. 2024-07-06 15:29:48 +05:30
Kailash Nadh f4967fbb4d Apply minor linting fixes to role form. 2024-07-06 14:09:54 +05:30
Kailash Nadh 8bd32ad62d Add cookie check hack to auth for v3 -> 4 browser BasicAuth session issue. 2024-07-06 13:14:30 +05:30
Kailash Nadh fd03ffb02b Sort roles by created date. 2024-06-30 12:12:30 +05:30
Kailash Nadh e15626f356 Update user APIs and queries to embed role + list permissions. 2024-06-24 00:08:37 +05:30
Kailash Nadh d6e4838e1f Add per-list permission management to roles. 2024-06-23 22:50:24 +05:30
Kailash Nadh 3d4c0684cc Add new fields to /api/config to remove /settings dependency in camapign UI. 2024-06-19 17:00:41 +05:30
Kailash Nadh 359c4ab697 Move User/Roles nav items under Settings. 2024-06-17 16:47:46 +05:30
Kailash Nadh 64dcdf58da Minor refactor to subscribers UI. Remove superfluous status column. 2024-06-17 16:41:35 +05:30
Kailash Nadh dace3e2c43 Add permission checks to admin UI to toggle visibility/functionality of components. 2024-06-17 16:25:24 +05:30
Kailash Nadh 7be6c190b4 Add user profile based permission check in auth middleware. 2024-06-17 16:24:52 +05:30
Kailash Nadh aee81a0efc Fix profile edit page. 2024-06-16 14:07:02 +05:30
Kailash Nadh 28e948b82f Refactor 'super' user type to a pre-defined super admin role. 2024-06-16 13:50:04 +05:30
Kailash Nadh 1df7462c2c Restyle tags on the UI. 2024-06-16 13:49:41 +05:30
Kailash Nadh 92bdde15c6 Add granular permissions and role management to backend and admin UI. 2024-06-15 15:14:55 +05:30
Kailash Nadh e1dc2e1d00 Style and add OIDC logo to the login page. 2024-06-01 18:02:56 +05:30
Kailash Nadh b6ceb29e74 Upgrade simplesessions to v3. 2024-06-01 16:55:51 +05:30
Kailash Nadh bfad7a4bbf Make user avatar field nullable. 2024-05-30 23:38:14 +05:30
Kailash Nadh 38b1bed7f0 Add user profile APIs and update UI. 2024-05-30 23:37:20 +05:30
Kailash Nadh ad63114962 Update login credentials doc in sample config. 2024-05-30 22:00:54 +05:30
Kailash Nadh 3772ce8807 Refactor migration for the latest version. 2024-05-26 00:12:23 +05:30
Kailash Nadh eff335dca4 Refactor handler groups and add mising auth features like logout. 2024-05-26 00:03:41 +05:30
Kailash Nadh 95fbc17926 Add public login page and auth middleware and handlers. 2024-05-23 11:54:10 +05:30
Kailash Nadh d7439a951c Add api type user. 2024-05-07 11:08:31 +05:30
Kailash Nadh bd8be90613 Add API token authentication. 2024-04-27 23:01:23 +05:30
Kailash Nadh fcdf8511d6 Add missing user UI files. 2024-04-13 12:18:03 +05:30
Kailash Nadh 2c14cf49e9 Add user/password login handler. 2024-04-10 00:20:48 +05:30
Kailash Nadh bc80600e57 Add create/add/delete user management UI and database schema. 2024-04-10 00:02:45 +05:30
Kailash Nadh dbda4e18bf Fix bug in OIDC cookie check. 2024-04-02 14:50:45 +05:30
Kailash Nadh 4475fe5b2b Add migrations for OIDC db fields. 2024-04-02 14:31:19 +05:30
Kailash Nadh 02e6b252d7 Refactor the oidc package and separate out handlers. 2024-04-02 14:30:12 +05:30
Kailash Nadh 66258b38f0 Refactor OIDC middleware handler logic. 2024-04-02 12:23:25 +05:30
Kailash Nadh 8fdde0247d Add a settings UI for OIDC. 2024-04-02 10:28:07 +05:30
Marc Bärtschi ee1ab0381e Implement OIDC
This is a simple OIDC implementation. It's very basic and just logs the user in. Access control needs to be done on the IDP side.
2024-04-01 22:49:02 +05:30
Kailash Nadh d5cfaa9bb3 Remove obsolete subscriber disabled status from docs. Closes #1793. 2024-04-01 19:09:19 +05:30
Kailash Nadh 7bf9481488 Add /uploads/ path to HTTP config docs. Closes #1803. 2024-04-01 19:05:38 +05:30