Commit Graph

29 Commits

Author SHA1 Message Date
mini-bomba
b09e552d1d add disableTime column to the warnings table 2025-09-10 22:50:43 +02:00
mini-bomba
3e74a0da58 Remove warning expiry, save warning history 2025-09-10 18:54:56 +02:00
Ajay Ramachandran
1e8970859f Merge pull request #559 from mini-bomba/✝️ℹ️🅿️
Replace "warning" with "tip" in responses from postWarning.ts
2023-09-27 20:40:34 -04:00
Michael C
1b5a079bbd disallow empty new warnings 2023-09-27 15:09:35 -04:00
mini-bomba
934ce79728 Replace "warning" with "tip" in responses from postWarning.ts 2023-09-12 23:40:39 +02:00
Ajay
f63fa09605 Handle exceptions, and prevent crashing from unhandled exceptions 2023-07-24 21:25:18 -04:00
Ajay
85fc0477ad Fix type check for warning duplicate 2023-07-17 23:38:52 -04:00
Ajay
e9fcf6b445 Add seperate type for dearrow warning
Also add dearrow warning reason as option for user info
2023-07-17 22:42:29 -04:00
Michael C
76ce1017ea add warning webhook 2023-02-22 00:08:27 -05:00
Ajay
603bad4967 Add another warning test 2022-07-21 14:19:41 -04:00
Ajay
3203271fdf Allow removing your own warning 2022-07-20 18:52:27 -04:00
Ajay
6e1df18c38 Allow updating warning messages 2022-07-20 17:20:19 -04:00
Michael C
a5a90e3c84 add getHashCache where applicable= 2021-11-27 02:41:34 -05:00
Michael C
a028eaa41a object-curly-spacing 2021-09-22 18:52:35 -04:00
Michael C
32056ab2f1 re-enable warning if still within issue time 2021-07-28 02:52:00 -04:00
Michael C
5f2bc37e96 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint 2021-07-13 15:55:03 -04:00
Michael C
c0b1d201ad fix non-format eslint in src/ 2021-07-12 02:12:22 -04:00
Michael C
e8d0da3ce3 add 400 conditions 2021-07-10 16:30:30 -04:00
Michael C
8df0c31d35 consistent return and sendStatus 2021-07-04 02:04:39 -04:00
Michael C
d89b26b77d fix eslint-errors 2021-07-04 01:36:03 -04:00
Haidang666
214ddc9807 Add warning reason in postWarning 2021-06-29 14:56:57 +07:00
Ajay Ramachandran
b9bcc35dd2 Allow removing warnings created by anyone 2021-06-17 19:08:36 -04:00
Ajay Ramachandran
e9b7eac289 Finish up conversion to use case-sensitive column names 2021-03-04 23:29:01 -05:00
Ajay Ramachandran
ff4af3786e Switch to postgres + promises 2021-03-01 20:40:31 -05:00
Ajay Ramachandran
432cc42cba Don't allow duplicate warnings 2020-12-29 13:31:15 -05:00
Ajay Ramachandran
baa4e73ba5 Don't remove all warnings 2020-12-29 13:27:54 -05:00
Ajay Ramachandran
78ef129634 Add remove feature to warnUser 2020-12-29 00:18:50 -05:00
Ajay Ramachandran
7beb521d68 Warning should not hash the reported userID 2020-12-28 19:01:23 -05:00
Dainius Daukševičius
08d27265fc migrate to typescript 2020-10-26 19:13:30 +02:00