Commit Graph

23 Commits

Author SHA1 Message Date
Aelita4 c74e61716c
Overhaul language driver and move lang data to db 2024-08-07 23:31:55 +02:00
Aelita4 25b7a01bd6
Fix bug where unauthorized user could get detailed planet data 2024-06-18 22:33:27 +02:00
Aelita4 26125be066
Implement building endpoint in API 2024-06-18 18:57:43 +02:00
Aelita4 6a7644f59f
Add API support for researching 2024-06-18 17:01:27 +02:00
Aelita4 44fdb88ab2
Fix "getAllPlanets" endpoint not returning code and message 2024-06-18 16:11:26 +02:00
Aelita4 2304ff48a3
Add planet support 2024-06-18 15:19:52 +02:00
Aelita4 7b0bbf1c0f
Move secrets to config.json 2024-06-01 22:07:11 +02:00
Aelita4 5bb3940088
Add requirements section to buildings and research 2024-04-03 23:22:20 +02:00
Aelita4 afca4bc0ea
Temporary fix for buildings system 2024-03-30 23:36:41 +01:00
Aelita4 3025178129
Implement basic research system 2024-03-30 23:30:06 +01:00
Aelita4 1bc6aa95b8
Replace bcrypt with argon2 2024-03-27 22:51:41 +01:00
Aelita4 2945828935
Add forms for changing username, email and password
Signed-off-by: Aelita4 <kontakt@mikorosa.pl>
2024-01-26 21:58:15 +01:00
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 4a34daa54c
Fix "validateAccessToken" not returning AccessToken object 2023-12-26 20:58:30 +01:00
Aelita4 cfc7fef6c4
Make "validateAccessToken" function return AccessToken object 2023-12-25 16:20:22 +01:00
Aelita4 6c64e770b4
Add basic building support 2023-12-25 14:30:29 +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 210c457e72
Fix wrong expiry date in token generation endpoint 2023-11-11 23:23:41 +01:00
Aelita4 9c99b27547
Add check for token without expiration date 2023-11-11 23:19:12 +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