Commit Graph

1098 Commits

Author SHA1 Message Date
Ajay
99ed7698c4 Handle trimmed UUID duplicates 2025-09-30 22:52:32 -04:00
mini-bomba
899000309f make eslint scream about promises, then fix all lints
also rewrite a bunch of test suites from using done callbacks to using
async functions - it's way too easy to forget about a .catch() clause
2025-09-11 01:14:40 +02:00
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
mini-bomba
1b99a8534c type IDatabase::prepare with overloads 2025-09-10 17:08:39 +02:00
Ajay
3711286ef2 Fix old xss prevention only removing first less than symbol 2025-07-30 01:26:02 -04:00
mini-bomba
bce5385864 shortcircuit the new user check for banned users 2025-05-26 16:41:55 +02:00
mini-bomba
f71c4ceba9 don't send dearrow webhooks for banned users 2025-05-25 22:46:23 +02:00
Ajay
69ca711bb3 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2025-04-28 19:17:55 -04:00
Ajay
e519986027 Fix dearrow hiding 2025-04-28 19:17:54 -04:00
mini-bomba
655789e62d Limit username creation 2025-04-29 00:10:20 +02:00
Ajay
339ba127eb Fix log 2025-04-28 02:59:15 -04:00
Ajay
da393da9e9 Fix log 2025-04-28 02:56:36 -04:00
Ajay
aa2c7bf6ea Fix log 2025-04-28 02:41:34 -04:00
Ajay
c82708aae8 Fix log 2025-04-28 02:40:57 -04:00
Ajay
26c575d37a Add log 2025-04-28 02:32:17 -04:00
mini-bomba
9bc4bf8c7b Add request validator rule names 2025-04-26 02:10:33 +02:00
Ajay
cbc38c5ac8 Add another logging webhook 2025-04-25 17:43:01 -04:00
mini-bomba
f44d3cd92c rephrase old rejection logs 2025-04-25 21:52:39 +02:00
mini-bomba
4db4e9458e hook up extra functions to the request validator 2025-04-25 21:52:39 +02:00
mini-bomba
f7e5394a18 create a request validator engine 2025-04-25 21:11:30 +02:00
Ajay
920d288f0b Add title to webhook 2025-04-25 13:00:34 -04:00
Ajay
0d005c23bf Add another validity filter 2025-04-25 12:55:44 -04:00
Ajay
9f745d3a8b Move permission check 2025-04-21 23:50:46 -04:00
Ajay
cfd61dc8dd Validity check 2025-04-21 19:26:42 -04:00
Ajay
039fb3ac7a More logs 2025-04-21 12:39:14 -04:00
Ajay
fccebfa487 Fixed webhook again 2025-04-21 11:27:16 -04:00
Ajay
6130ac8150 Change color for dearrow webhook 2025-04-21 11:20:08 -04:00
Ajay
7e681d2cd5 Fix webhook newlines 2025-04-21 11:15:30 -04:00
Ajay
b849328fae More logging 2025-04-21 10:53:49 -04:00
Ajay
3d596f4528 Save user agent for dearrow 2025-04-17 01:05:34 -04:00
Ajay
74f6224091 Add new user limit per 5 mins 2025-04-10 02:26:09 -04:00
Ajay
9b55dc5d4d Add new config option 2025-04-08 16:52:16 -04:00
Ajay
e40af45c73 Fix query 2025-04-08 16:43:01 -04:00
Ajay
2ef3d68af0 Await promise not being awaited 2025-04-08 16:02:29 -04:00
Ajay
ac26aed21c Add endpoints for config setting 2025-04-08 15:18:32 -04:00
Ajay
2aa3589312 Add ability to set config 2025-04-08 15:15:39 -04:00
Ajay
69cb33aad0 Add logs 2025-04-08 13:23:24 -04:00
Ajay
3817d7fdba Better submission error message 2025-04-08 13:21:01 -04:00
Ajay
34a6a83e44 Change dearrow permission requirements 2025-04-07 19:28:52 -04:00
Ajay
0967373cb2 Rename func 2025-04-07 00:57:48 -04:00
Ajay
b7794b57d0 Fix can vote checks 2025-04-07 00:57:08 -04:00
Ajay
550339db41 Add permission check in more places 2025-04-07 00:36:01 -04:00
Ajay
4fe7cebcb3 Add caching for 5 length skip skip segment query 2025-03-12 02:45:59 -04:00
Ajay
31e678fdc2 Store titles for casual vote submissions
When an uploader changes the title, it will reset the casual votes
2025-02-17 03:16:57 -05:00
Ajay
5f9b4c8acc Make casual downvotes apply to all categories 2025-02-13 04:03:38 -05:00
Ajay
d608125b41 Add endpoint for casual submission count 2025-02-12 03:52:03 -05:00
Ajay
ccde64e90f Change casual submission to allow submitting multiple categories 2025-02-06 02:57:09 -05:00
Ajay
4abf57b0ce Save casual mode status in db 2025-02-06 02:51:13 -05:00
Ajay
07435b9af1 Add casual mode endpoint 2025-02-05 03:38:55 -05:00