51f62f039b
submissions-api: report script IDs not the whole thing
2025-06-18 03:55:03 -07:00
ed7109270f
Audit Event CheckList ( #181 )
...
Depends on #160 , #196 , #197 .
Closes #147 .
This introduces a new type of audit event: the CheckList. This is a list of map checks that the validator performed. The intention is to update the web interface to display ✅ check marks for every check passed and ❌ for every check failed, and also include the summary of why the check failed. ~~The `Details` field would be the complete internal structure of the check in json, but I'm thinking it's unnecessary and should just be omitted.~~ The `Details` field has been removed.
```go
type Check struct {
Name string `json:"name"`
Summary string `json:"summary"`
Passed bool `json:"passed"`
}
type AuditEventDataCheckList struct {
CheckList []Check `json:"check_list"`
}
```
This is created instead of the Error audit event when the validator requests changes, but the Error audit event can still be created for other purposes.
- [x] Make a proper error instead of hijacking a CheckList
Reviewed-on: #181
Reviewed-by: itzaname <itzaname@noreply@itzana.me >
Co-authored-by: Quaternions <krakow20@gmail.com >
Co-committed-by: Quaternions <krakow20@gmail.com >
2025-06-14 02:33:19 +00:00
c4d97b6537
Change Error to Explicit Endpoint ( #197 )
...
This changes the way that the internal api works. The backend used to implicitly create an error for specifc endpoints, but now the validator explicitly creates the error itself.
Reviewed-on: #197
Co-authored-by: Quaternions <krakow20@gmail.com >
Co-committed-by: Quaternions <krakow20@gmail.com >
2025-06-12 00:55:09 +00:00
463d14d2b5
submissions-api: type all ids ( #195 )
...
Reviewed-on: #195
Co-authored-by: Quaternions <krakow20@gmail.com >
Co-committed-by: Quaternions <krakow20@gmail.com >
2025-06-11 05:11:14 +00:00
6a52166901
submissions-api: Add Releaser Endpoints ( #194 )
...
Also uses enums over ints for GameID.
Reviewed-on: #194
Co-authored-by: Quaternions <krakow20@gmail.com >
Co-committed-by: Quaternions <krakow20@gmail.com >
2025-06-11 04:11:21 +00:00
ec59a83379
validation: include more details in duplicates error
2025-06-07 22:34:57 -07:00
131dad7ae0
submissions-api: v0.7.2 script policy delete endpoints
2025-06-06 22:28:07 -07:00
b6d4ce4f80
submissions-api: add external delete endpoints
2025-06-06 17:14:27 -07:00
d39a8c0208
submissions-api v0.7.1 make error type smaller
2025-05-14 00:50:34 -07:00
636282b993
submissions-api: make error type smaller
2025-05-14 00:50:34 -07:00
fc9aae4235
submissions-api: appease clippy
2025-05-14 00:50:34 -07:00
8f8d685f71
validator: plumb fields
2025-04-15 15:45:16 -07:00
a5daa2df4a
validator: update metadata on Submitted
2025-04-11 17:38:21 -07:00
169007f16e
validator: description plumbing
2025-04-11 13:04:52 -07:00
a42501d254
submissions-api: change StatusMessage to ErrorMessage
2025-04-11 01:51:32 +00:00
f1fd826c62
submissions-api: implement validator-submitted endpoint
2025-04-09 19:48:44 -07:00
926a90329b
submissions-api: v0.7.0
2025-04-08 14:22:55 -07:00
ceaec14242
submissions-api: fix validated-model request
2025-04-04 18:41:33 -07:00
719ef95b6d
submissions-api: use explicit ID types
2025-04-03 18:17:25 +00:00
2c31a9585b
submissions-api: add operation failed endpoint
2025-04-03 03:44:32 +00:00
8776936e96
submissions-api: add create internal endpoints
2025-04-03 03:44:32 +00:00
96ace736f4
validator: add mapfix capability
2025-04-01 13:51:40 -07:00
9dd7a41d8f
submissions-api: add simple mapfixes endpoints
2025-04-01 13:51:40 -07:00
cc7df064be
submissions-api: deduplicate simple endpoints with crazy macro
2025-04-01 13:51:37 -07:00
758c2254eb
submissions-api: create new error variant
2025-03-31 19:23:59 -07:00
ade54ee662
validator: refactor + remove mapfix capability
2025-03-31 19:23:59 -07:00
ffcba57408
validation: tweak validator-uploaded endpoint
2025-03-31 16:27:42 -07:00
85a144e276
submissions-api: v0.6.1
2025-03-26 14:58:28 -07:00
ce08b57e18
submissions-api: include get_scripts & get_script_from_hash in internal api
2025-03-26 21:30:12 +00:00
1ca0348924
submissions-api: derive Clone, Debug on many types
2025-03-26 21:30:12 +00:00
b496f8c0d8
submissions-api: v0.6.0
2025-03-18 16:13:10 -07:00
0c247fbb43
submissions-api: add status message to validation failure
2025-03-18 16:12:42 -07:00
e5a1dcf144
submissions-api: v0.5.0
2025-03-18 14:20:21 -07:00
99e320d17f
submissions-api: validated-model
2025-03-18 14:19:12 -07:00
1341f87bf8
submissions-api: v0.4.0
2025-03-18 13:33:01 -07:00
57544f3f64
submissions-api: external is default usage
2025-03-18 13:32:28 -07:00
ecb88c14a4
validation: explicitly append url (TODO: update deployment env var)
2025-03-18 13:23:48 -07:00
e1645e7c46
validation: use cargo workspace
2025-03-18 12:37:20 -07:00
e43f4bd0f0
openapi-internal: remove unused endpoint
2025-01-02 18:33:38 -08:00
25dbc038ca
submissions-api: incorrectly named field
2024-12-26 17:46:45 -08:00
f038b9cda6
submissions-api: wrong url
2024-12-26 17:41:05 -08:00
8b3aa158c9
submissions-api: lazily export other error to avoid importing reqwest elsewhere
2024-12-21 22:39:59 -08:00
ca846972c1
submissions-api: openapi expects optional fields to be omitted
...
The default serde configuration is to serialize optional values as "null"
2024-12-19 17:48:58 -08:00
a511246d78
bruh
2024-12-19 17:23:46 -08:00
b3ffbe4b50
submissions-api: fix cookie
2024-12-19 16:27:11 -08:00
02d77ab421
submissions-api: v0.3.0 refactor
2024-12-18 19:12:06 -08:00
8dbb4517fa
submissions-api: silence lint
2024-12-18 19:12:06 -08:00
b782b1ae64
submissions-api: add eq to select types
2024-12-18 18:57:52 -08:00
246b8a7dc8
validation: update api
2024-12-18 17:01:12 -08:00
518327820d
submissions-api: reintroduce external api
2024-12-18 14:28:11 -08:00