Commit Graph

52 Commits

Author SHA1 Message Date
Chris Cromer 10f9899753
increase hard limit of rows to 10000 2023-02-12 02:50:00 -03:00
Chris Cromer 1caceda470
optimize the amount data sent from the backend 2023-02-12 02:49:33 -03:00
Chris Cromer 63106edd97
fix bug with password change 2023-02-10 22:37:00 -03:00
Chris Cromer f914c62d5d
add the id of the user into the token 2023-02-10 22:04:01 -03:00
Chris Cromer 73e958efb1
allow user to change their password 2023-02-09 01:07:31 -03:00
Chris Cromer 63392e2726
fix incorrect json variable name 2023-02-07 23:31:06 -03:00
Chris Cromer 7e8eeab054
permanent delete rows 2023-02-06 22:33:25 -03:00
Chris Cromer 5cbd6ef227
refactor the limit and offset code 2023-02-01 21:55:47 -03:00
Chris Cromer 7cd197ee3a
add filters for each table 2023-02-01 17:56:56 -03:00
Chris Cromer 31ac6b106d
separate the auth routes from the user routes 2023-02-01 16:23:25 -03:00
Chris Cromer 3960bba3eb
add limits to list endpoints 2023-02-01 16:20:29 -03:00
Chris Cromer b179808592
add update and delete endpoints to game controller and router 2023-02-01 14:43:36 -03:00
Chris Cromer 437fcb3f46
reorganize controllers 2023-02-01 14:38:42 -03:00
Chris Cromer e4b760c384
don't join the other tables, let the client ask the API in the other endpoints 2023-02-01 14:31:40 -03:00
Chris Cromer 9fbc414138
simplify the game controller 2023-02-01 14:30:41 -03:00
Chris Cromer 6be49aa11b
add object routes 2023-02-01 13:31:15 -03:00
Chris Cromer fe8c80b1a4
add object state routes 2023-02-01 13:19:19 -03:00
Chris Cromer 78fe19c2bf
add object name routes 2023-02-01 13:18:52 -03:00
Chris Cromer ec3ea08187
add godot version routes 2023-02-01 13:08:28 -03:00
Chris Cromer 4af5e9b621
add frame routes 2023-02-01 13:04:46 -03:00
Chris Cromer fcf6a91257
make game and user use the same structure for all of its endpoints 2023-02-01 12:52:26 -03:00
Chris Cromer fea0ce3d04
fix incorrect variable name 2023-02-01 12:49:14 -03:00
Chris Cromer 1c7c220944
protect the player endpoints behind authentication 2023-02-01 12:48:52 -03:00
Chris Cromer 8d05935bf3
add level routes 2023-02-01 12:48:23 -03:00
Chris Cromer eb490c8b21
add vite preview port 2023-01-31 23:39:05 -03:00
Chris Cromer 523af1b0cb
add cors allow methods and headers 2023-01-31 23:34:04 -03:00
Chris Cromer b0379d1219
run the next middleware in the chain 2023-01-31 23:22:13 -03:00
Chris Cromer 2ed4b14cf1
add cors middleware 2023-01-31 23:06:45 -03:00
Chris Cromer 5fa4d4e78a
fix player endpoints 2023-01-31 23:06:26 -03:00
Chris Cromer e06427a041
add player routes 2023-01-31 09:35:56 -03:00
Chris Cromer 031d97fb2a
gofmt format fixes 2023-01-30 09:35:43 -03:00
Chris Cromer ff98ddf6da
use json instead of form body 2023-01-30 09:33:59 -03:00
Chris Cromer 971d4a28f5
extend the token lifetime 2023-01-28 20:59:53 -03:00
Chris Cromer 49dbe22df7
fix controllers used in OS routes 2023-01-28 20:54:12 -03:00
Chris Cromer ca66e18811
add os routes and conterollers 2023-01-28 20:48:56 -03:00
Chris Cromer b553d1389c
rename the env example file so it isn't hidden 2023-01-28 00:46:51 -03:00
Chris Cromer 46189c7376
improve http status responses and funcion names in game controller 2023-01-28 00:04:17 -03:00
Chris Cromer 495f9bd2d5
improve user controller http responses and error checking 2023-01-27 23:51:40 -03:00
Chris Cromer 73202113b6
organize user routes 2023-01-27 23:51:05 -03:00
Chris Cromer bdca6a6ab1
update dependency versions 2023-01-27 22:52:05 -03:00
Chris Cromer b8517235db
don't check for player if RUT is empty and allow null player id with pointer 2022-09-22 16:37:37 -03:00
Chris Cromer dd69e43bcd
make player option for anonymous statistics collecting 2022-09-22 15:48:10 -03:00
Chris Cromer 1954109fc9
update to Go 1.18.5 2022-08-12 15:41:51 -04:00
Chris Cromer bbc6bb7d6b
change module url 2022-07-22 23:00:31 -04:00
Chris Cromer ea62424f7f
update dependencies 2022-07-22 22:38:34 -04:00
Chris Cromer 84442e791a
update other golang 1.18.3 reference to 1.18.4 2022-07-22 22:34:09 -04:00
Chris Cromer 3f03808002
update to go 1.18.4 2022-07-22 22:30:19 -04:00
Chris Cromer 067f63496a
remove hard code username and email 2022-07-22 22:26:08 -04:00
Chris Cromer ddc3ffe488
fix invalid key expecting bytes instead of string 2022-07-22 22:19:52 -04:00
Chris Cromer 4b26d6f0a5
update docker file to load .env 2022-07-22 22:17:57 -04:00