Commit Graph

48 Commits

Author SHA1 Message Date
Aelita4 36203b5768
Fix bug where unauthorized user could get detailed planet data 2024-06-18 22:30:29 +02:00
Aelita4 46ad28bc1b
Add changeUserData to API docs 2024-06-18 22:09:49 +02:00
Aelita4 8c5cfc9e65
API docs 2024-06-18 21:42:23 +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 57e87d314b
Fix fetch inside docker container 2024-06-02 15:14:44 +02:00
Aelita4 eb796bfa51
Fix language driver for deployment 2024-06-02 14:10:42 +02:00
Aelita4 e17bdda081
Add docker support 2024-06-01 22:48:42 +02:00
Aelita4 7b0bbf1c0f
Move secrets to config.json 2024-06-01 22:07:11 +02:00
Aelita4 52ec7c6f94
Update README 2024-06-01 17:03:27 +02:00
Aelita4 cdcd3d69b3
Add tests 2024-06-01 15:58:57 +02:00
Aelita4 24ed526cb6
Add ship display 2024-04-15 13:46:34 +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 80d9e9404c
Add support for displaying avatar in navbar 2024-03-01 17:16:26 +01:00
Aelita4 ecb7bca9cd
Fix resource bar not updating values in database on refresh 2024-02-19 20:38:40 +01:00
Aelita4 ef50c8fed2
Rework resource bar to use new resource manager 2024-02-12 19:26:03 +01:00
Aelita4 855bdb0144
Fix user last login not updating in database 2024-02-10 18:27:21 +01:00
Aelita4 6e529a9d74
Add tooltip to resourcebar 2024-02-06 18:19:36 +01:00
Aelita4 4bfa3bbb49
Implement resource manager 2024-01-30 14:57:23 +01:00
Aelita4 564a3942a3
Implement (somewhat) functional resource bar 2024-01-30 10:11:49 +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 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