Commit Graph

148 Commits

Author SHA1 Message Date
88056344f4 openapi: generate 2024-12-10 22:23:08 -08:00
0bc8eeffb3 openapi: set http return code according to standard 2024-12-10 22:22:37 -08:00
afa78a1260 openapi: implement cookie auth only on select requests 2024-12-10 22:22:12 -08:00
590627870a implement some basic status codes for errors 2024-12-10 21:49:03 -08:00
ca5c67cb4b check rows affected to see if anything happened 2024-12-10 21:38:12 -08:00
e3360a6c6b the gorm way 2024-12-10 21:31:18 -08:00
1975f3ea4a validation: mtls is handled at a higher level 2024-12-10 21:25:53 -08:00
03e71f09fc validation: golang public fields must be upper case gg 2024-12-10 20:25:40 -08:00
1d545f4413 explicitly specify the port for bun run start 2024-12-10 23:17:58 -05:00
2e379f7077 successfully builds for production 2024-12-10 23:01:22 -05:00
6ce2cd799f update README for web 2024-12-10 22:59:13 -05:00
305f18adb3 send nats
dunk on golang
2024-12-10 19:27:15 -08:00
e185712da5 nasty 2024-12-10 19:25:21 -08:00
3e58d75b87 userids and asset ids are uint64 2024-12-10 19:25:21 -08:00
b49ae10a10 fix roles 2024-12-10 18:23:23 -08:00
24e88c5a0a validation: change error enum names to be more descriptive 2024-12-10 17:47:17 -08:00
c029939ee2 validation: use environment variables 2024-12-10 17:39:08 -08:00
dedbdb2899 validation: silence "unused" code lint 2024-12-10 17:38:47 -08:00
1324fa106f validation: use incremental model version id 2024-12-10 17:38:21 -08:00
f110d82402 docker compose 2024-12-10 17:03:18 -08:00
cf488101a0 add eslint + update nextjs to remove a library deprecation warning on dev start
* requires running `bun install` again, or `bun update`
2024-12-10 17:55:16 -05:00
fbc183f408 change the routing from DOMAIN/map/[map_name] to DOMAIN/submissions/[submission_id] 2024-12-10 17:53:57 -05:00
1a5f58a3b1 map page now builds and heavily refactored
+ Handle no commenters by displaying the message "There are no commenters."
+ Text fallback: "Fetching map image..."
+ Handle the validation status message (still has no css coloring for 80% of the statuses)
- Disable the roblox api for fetching the asset image and avatar headshot images, but keep the module
2024-12-10 03:54:19 -05:00
37e4e29f04 use gorm model 2024-12-09 22:27:52 -08:00
69047eacb0 update golang side 2024-12-09 22:09:52 -08:00
ccb9c17e7f openapi: generate 2024-12-09 22:07:43 -08:00
7b343fc686 openapi: deduplicate parameter ids 2024-12-09 22:05:47 -08:00
7aaa89b69b openapi: change patch to post 2024-12-09 21:57:35 -08:00
3cc1c8a5d9 openapi: limit string lengths for user facing objects 2024-12-09 21:48:52 -08:00
04520edca7 fix IfStatusThenUpdate 2024-12-09 21:38:27 -08:00
fe3562325f fix user info 2024-12-09 21:38:27 -08:00
b3ba9c2301 openapi: unused 2024-12-09 21:38:27 -08:00
1c0ed6574f openapi: remove redundant SubmissionType 2024-12-09 20:51:00 -08:00
576c3a187a produce less garbage 2024-12-09 20:10:36 -08:00
e495a8423f openapi: try session_id 2024-12-09 20:10:36 -08:00
fb6b0ad7c7 cli flag for auth rpc host 2024-12-09 19:33:01 -08:00
8c3e9cf9ea remove empty readme and tweak .gitignore, next.config.ts, and package.json 2024-12-09 22:24:16 -05:00
76792fd144 README: write instructions for each component 2024-12-09 18:35:49 -08:00
9097c551c4 not using openapi-generator (it's java) 2024-12-09 18:28:44 -08:00
0b46ee28a4 open source 2024-12-09 18:16:07 -08:00
6adf9a8977 web folder (dont use this code) 2024-12-09 21:14:54 -05:00
fe6a88a479 tweak submission comment 2024-12-09 17:34:55 -08:00
c3b559f6a6 tweak openapi description 2024-12-09 17:34:46 -08:00
dac135f624 partially implement publish_new 2024-12-06 21:00:19 -08:00
2aacb4c87c split publishing for new maps and map fixes 2024-12-06 20:31:28 -08:00
f46df3a8eb apparently you can just do it, thanks rust 2024-12-06 20:07:15 -08:00
bf3698c1db tweak comment 2024-12-06 19:47:06 -08:00
a019e61556 remove unnecessary data structure 2024-12-06 19:45:44 -08:00
572e51961c validation: mark submission as validated 2024-12-06 19:43:06 -08:00
3289376f8e rust api: action_submission_validate 2024-12-06 19:43:06 -08:00