61 Commits

Author SHA1 Message Date
ca5203068a replace allow with expect 2025-12-09 14:36:34 -08:00
ab9856c962 update deps 2025-09-23 15:28:46 -07:00
579ff91419 update submissions-api 2025-09-23 15:28:32 -07:00
994fe4fae1 random command to satisfy my curiosity as to which map has the longest name 2025-09-18 18:11:33 -07:00
1fc45069fe update readme 2025-09-12 21:52:54 -07:00
f7cb1c76a1 add mapfixes backup command 2025-08-15 19:02:42 -07:00
e69bdd2c57 update deps 2025-08-15 19:02:42 -07:00
7da063b3f4 v1.2.6 delete script policy 2025-08-02 20:00:20 -07:00
c872110a71 delete script policy 2025-08-02 19:52:04 -07:00
5b66ccdc02 v1.2.5 print instead of assert 2025-08-02 18:47:34 -07:00
ed155857db print expectation instead of asserting 2025-08-02 18:47:06 -07:00
60a0cbff2c v1.2.4 only Replace can be missing ToScript 2025-08-02 18:40:49 -07:00
06d612e12b reorder policy validation logic, guarantee only Replace policy ToScript is checked 2025-08-02 18:39:20 -07:00
b8745479e1 v1.2.3 kill orphans 2025-08-02 18:27:56 -07:00
de03d89a71 move action code into yes blocks 2025-08-02 18:26:32 -07:00
4268e8d710 policy missing script 2025-08-02 18:25:11 -07:00
5493933cdc script missing policy 2025-08-02 18:25:05 -07:00
b94e01f397 deduplicate code 2025-08-02 18:19:42 -07:00
4cc8888442 v1.2.2 create missing allowed policies 2025-07-05 03:21:05 -07:00
ca910c6553 Merge pull request 'Create Missing Allowed Policies' (#3) from repair into master
Reviewed-on: StrafesNET/remote-script-review#3
2025-07-05 10:20:06 +00:00
d609804d33 deduplicate create missing allowed policies 2025-07-05 03:17:44 -07:00
2141af46d3 only replace expects allowed 2025-07-05 03:10:44 -07:00
4192dc20b9 consolidate collections 2025-07-05 03:10:23 -07:00
a0235cb1b9 display duplicate 2025-07-05 03:05:26 -07:00
af21785cb5 scan all policies 2025-07-05 02:58:08 -07:00
5b9def8ca9 import policy 2025-07-05 02:50:33 -07:00
d31bf7da24 create missing policies 2025-07-05 02:40:59 -07:00
f27386acfd update deps 2025-07-05 02:17:16 -07:00
81f331b359 v1.2.1 2025-07-01 21:08:59 -07:00
28affbf191 passing a modified script means it must also auto-pass in a future mapfix 2025-07-01 21:08:59 -07:00
596b05c23d v1.2.0 unify repair 2025-07-01 02:59:01 -07:00
c7ab9b9dc3 update deps 2025-07-01 02:58:41 -07:00
b9d1c58236 Unify Repair + Add Policy Duplicate Detect + Confirmation Before Destructive Changes (#2)
Reviewed-on: StrafesNET/remote-script-review#2
Co-authored-by: Quaternions <krakow20@gmail.com>
Co-committed-by: Quaternions <krakow20@gmail.com>
2025-07-01 09:57:54 +00:00
2ed3a6b11c fix scheduling bug 2025-06-12 19:41:47 -07:00
0398fb8d9d Implement Releaser (#1)
- Discover submissions in `Uploaded` status
- Discover most recent release date per game
- Shuffle order
- Create release schedule hardcoded to 1 map per week, Fridays at peak hours
- Confirm each schedule before release

Reviewed-on: StrafesNET/remote-script-review#1
Co-authored-by: Quaternions <krakow20@gmail.com>
Co-committed-by: Quaternions <krakow20@gmail.com>
2025-06-11 05:09:50 +00:00
0f4b57b349 add repair duplicates 2025-06-08 01:04:31 -07:00
726212cb64 update deps 2025-06-06 22:47:27 -07:00
1b1c20a9e4 add purge action 2025-06-06 22:33:09 -07:00
dcc31e46b3 update submissions-api 2025-06-06 22:32:53 -07:00
5230b8a371 database repair tool 2025-06-06 15:47:52 -07:00
bfe55c2af6 fix review tool 2025-06-06 15:04:50 -07:00
a9e838d445 update deps 2025-06-01 16:40:02 -07:00
b2e61016ad print script policy 2025-04-08 15:35:08 -07:00
01a1d8f0c5 skip review 2025-04-08 14:47:52 -07:00
e1e781ed25 inform how many reviews 2025-04-08 14:42:26 -07:00
c766b8b0cc print script name 2025-04-08 14:34:09 -07:00
cee52e31be update deps 2025-04-08 14:30:13 -07:00
2f25efe07e use assert_eq 2025-03-26 15:00:07 -07:00
834d67f8f6 update deps 2025-03-26 14:59:59 -07:00
e97ad7f102 use words 2025-03-18 13:40:23 -07:00
8786ff0c79 update submissions-api 2025-03-18 13:35:20 -07:00
d23cd57850 update deps 2025-03-18 13:11:29 -07:00
80e133c27a load session id from file 2025-03-18 13:10:55 -07:00
f9fb1fb23c inline very thin function 2024-12-30 00:40:36 -08:00
4116eaf829 comment code 2024-12-28 21:10:10 -08:00
c4508480c1 reuse hash source function 2024-12-26 19:59:27 -08:00
a6b8b326f1 tidy id from filename code 2024-12-26 19:44:44 -08:00
3eb39f2c6c publish api 2024-12-26 19:44:44 -08:00
af2cf4b7a8 fix api 2024-12-26 19:44:44 -08:00
bc11f918aa uniformity 2024-12-26 19:44:44 -08:00
a16e8faf8b upload scripts 2024-12-26 19:44:44 -08:00
4 changed files with 1752 additions and 515 deletions

1282
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[package]
name = "rreview"
version = "1.0.0"
version = "1.2.6"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -8,8 +8,10 @@ edition = "2021"
[dependencies]
clap = { version = "4.4.2", features = ["derive"] }
futures = "0.3.31"
rand = "0.9.1"
serde_json = "1.0.142"
siphasher = "1.0.1"
submissions-api = { version = "0.3.0", features = ["external"], default-features = false, registry = "strafesnet" }
submissions-api = { version = "0.10.0", registry = "strafesnet" }
tokio = { version = "1.42.0", features = ["fs", "macros", "rt-multi-thread"] }
[profile.release]

View File

@@ -1,2 +1,7 @@
# map-tool
# Remote Script Review Tool
## How to build and run
1. Have rust and git installed
2. `git clone https://git.itzana.me/StrafesNET/remote-script-review`
3. `cd remote-script-review`
4. `cargo run --release`

File diff suppressed because it is too large Load Diff