Commit Graph

291 Commits

Author SHA1 Message Date
Mia
38a0881240 Fix typo 2024-10-28 20:30:43 -05:00
Mia
89b1d76c7e Actions: Improve logging for smogon request failures 2024-10-28 20:25:03 -05:00
Mia
bf82e317a5 Re-send suspectStartDate
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
Node.js CI / build (20.x) (push) Waiting to run
2024-10-27 17:27:29 -05:00
Mia
1898067cd0 Allow editing suspect tests without overwriting start date 2024-10-27 17:25:25 -05:00
Mia
7d393dfff6 Fix time desync 2024-10-27 17:21:15 -05:00
Mia
41dfa29377 Fix minor typo in suspect verification 2024-10-27 17:03:51 -05:00
Mia
f6661b465d Ensure reqs columns default to null 2024-10-27 16:20:11 -05:00
Mia
72661ecf4a Add an action to manually check if a user is verified for a suspect
For fallbacks, mostly. Shouldn't truly be needed.
2024-10-27 16:04:42 -05:00
Mia
735b408ed0 Track suspects in a database table
they don't sync across processes well otherwise.
2024-10-27 15:51:28 -05:00
Mia
08e0cabf2b Don't send reqs as a JSON string
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
Node.js CI / build (20.x) (push) Has been cancelled
2024-10-24 08:54:12 -05:00
Mia
0f5a8f4200 Properly read suspect url from request 2024-10-24 08:50:58 -05:00
Mia
8241340f0e Send suspect data to smogon on test creation 2024-10-24 08:10:46 -05:00
Mia
f5ce9fb1e3 Fix build
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
Node.js CI / build (20.x) (push) Has been cancelled
2024-10-23 00:58:58 -05:00
Mia
e597942587 Push some code from the box 2024-10-22 18:27:19 -05:00
Mia
1094b0a227 Ensure redundancy in suspect verification request 2024-10-22 18:26:16 -05:00
Mia
eef35153d4 Request www.smogon, not smogon.com
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
Node.js CI / build (20.x) (push) Waiting to run
2024-10-22 13:59:52 -05:00
Mia
ccea2dbe94 Suspects: Ensure no games were played before suspect start 2024-10-22 12:43:54 -05:00
Mia
1486ae18a9 Add last_played and first_played columns to ladder table 2024-10-22 12:31:48 -05:00
Mia
fb000e6887 Send user req values to smogon along with test req values 2024-10-22 11:47:06 -05:00
Mia
1a73f75261 Ensure coil/suspect caches are synced across processes 2024-10-22 11:41:01 -05:00
Mia
792e493999 Modify params for suspect formatids 2024-10-22 11:35:14 -05:00
Mia
853413ecaf Bump @types/node for v20 2024-10-22 11:14:54 -05:00
Mia
5088cfe808 Add support for suspect test verification 2024-10-22 11:14:01 -05:00
Guangcong Luo
5f07341fe9 Fix email mismatch error message
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
Node.js CI / build (20.x) (push) Has been cancelled
2024-10-18 02:12:12 +00:00
Guangcong Luo
fe53f73b62 Update Google log-in API
Previous one was deprecated and being phased out.
2024-10-18 02:09:36 +00:00
Mia
7e27d71a73 Don't strip periods in COIL values
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
Node.js CI / build (20.x) (push) Has been cancelled
2024-10-08 22:03:20 -05:00
Mia
3dae19bcaf Support floats in COIL values 2024-10-08 20:33:03 -05:00
Mia
249f6f9c34 Remember to merge counts in IP tracking 2024-10-01 13:58:40 -05:00
Mia
76394e23b6 Serve count of IPs as well 2024-09-30 13:33:57 -05:00
Mia
c8aed44d69 Provide min/max timestamp ranges on smogon/assoc-ips 2024-09-30 13:19:52 -05:00
Mia
687ad4c4a3 Fix typo
Forgot to run git add again.
2024-09-30 13:00:33 -05:00
Mia
1b9423764e Skip dispatch prefix for smogon requests 2024-09-30 12:57:19 -05:00
Mia
ea5e938e49 Add an action to provide account-associated IPs to Smogon 2024-09-29 18:38:44 -05:00
Mia
ee1dea989b Use RSA-SHA1 signing for validation instead 2024-09-28 18:18:26 -05:00
Mia
b4df7e3605 Add extra authentication to encoded usernames 2024-09-28 14:47:45 -05:00
Mia
731aa3e31a Actions: decode URI components on encrypted usernames passed by Smogon 2024-09-28 14:33:36 -05:00
Mia
7ce47cc9f3 Share Smogon key between processes via temporary file 2024-09-28 14:22:03 -05:00
Mia
d31ddcc30c Add actions to support linking PS and Smogon accounts 2024-09-28 13:58:29 -05:00
AnnikaCodes
75b2885851
CI: Also run with node 20 2024-09-05 16:43:39 -07:00
Mia
322fb6d6b9 Ladder: Add GXE filtering for ladders with a max elo above 1500 2024-09-05 15:45:45 -05:00
Mia
ce369d9285 Add LICENSE file 2024-08-02 19:21:40 -05:00
Mia
43d6daaa87 Sync master to ps-web 2024-07-22 22:09:07 -05:00
Mia
fac270d475 Allow users with 2fa to bypass loginattempts filter
If they have 2FA, this becomes unnecessary anyway.
2024-07-22 22:05:55 -05:00
Mia
650b379cb8 Log times in crashes 2024-07-20 14:37:47 -05:00
Mia
9f5b6ab448 Add support for editing COIL through an action 2024-07-20 14:36:06 -05:00
singiamtel
870d2ac579
Fix some quirks on oauth pages (#24)
* Fix jquery

* Add !DOCTYPE

* Fix image link

* Fix special characters in username
2024-04-22 17:22:12 -05:00
Mia
b50e377e50 Bump mysql2 version 2024-04-13 00:44:45 -05:00
Mia
58b3ffdbd8 Fix typing of Database.getTable returns 2024-04-06 15:48:56 -05:00
Mia
6be86db254 Fix typo 2024-04-06 15:44:37 -05:00
Mia
4762b09376 Fix TS errors 2024-04-06 15:43:23 -05:00