Commit Graph

22 Commits

Author SHA1 Message Date
Aelita4 eafea0c1f5
Restructure access token model to store user ID
Signed-off-by: Aelita4 <kontakt@mikorosa.pl>
2024-01-26 21:58:04 +01:00
Aelita4 d3ac213590
Add support for token validation for headers 2023-12-29 22:31:29 +01:00
Aelita4 4a34daa54c
Fix "validateAccessToken" not returning AccessToken object 2023-12-26 20:58:30 +01:00
Aelita4 1a76f8d5f3
Display date instead of timestamp at admin panel 2023-12-26 20:54:37 +01:00
Aelita4 0d4a187bed
Add basic resource bar 2023-12-25 16:23:57 +01:00
Aelita4 cfc7fef6c4
Make "validateAccessToken" function return AccessToken object 2023-12-25 16:20:22 +01:00
Aelita4 c0c0dab25a
Add helper format function 2023-12-25 16:18:59 +01:00
Aelita4 6c64e770b4
Add basic building support 2023-12-25 14:30:29 +01:00
Aelita4 2fdb719df8
Improve navigation bar 2023-12-25 14:28:01 +01:00
Aelita4 fe53185779
Move database-related files to "db" subdir 2023-12-24 23:25:57 +01:00
Aelita4 79f0c3a1d6
Export token check to helper function 2023-12-12 21:25:19 +01:00
Aelita4 44786a1dd2
Fix bug where expiry date "0" was assigned if none was present 2023-12-12 14:52:09 +01:00
Aelita4 9e36bf75c0
Merge pull request 'I #5: Add "showForLoggedIn" flag for navigation elements' (#6) from 5_dont_show_login into main
Reviewed-on: #6
2023-11-17 10:59:30 +00:00
Aelita4 9950c5458b
Add "showForLoggedIn" flag for navigation elements 2023-11-12 12:58:28 +01:00
Aelita4 edf97f63dd
Implement basic layout of website 2023-11-11 23:28:42 +01:00
Aelita4 eb5283882b
Add basic language support 2023-11-11 23:28:14 +01:00
Aelita4 210c457e72
Fix wrong expiry date in token generation endpoint 2023-11-11 23:23:41 +01:00
Aelita4 41bf8d80dc
Add resource structure and implement into User structure 2023-11-11 23:20:47 +01:00
Aelita4 9c99b27547
Add check for token without expiration date 2023-11-11 23:19:12 +01:00
Aelita4 4feba517aa
Add admin page for showing access tokens 2023-11-05 21:23:46 +01:00
Aelita4 0acc5d797c
Implement database connection and access tokens 2023-11-02 10:47:26 +01:00
Aelita4 6c6619572f
Initial commit 2023-10-12 23:26:26 +02:00