Commit Graph

2477 Commits

Author SHA1 Message Date
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
5664ff4f58 fix missed awaits for db.prepare in test cases 2025-09-10 23:24:44 +02:00
mini-bomba
c942eea640 autogenerate userids for the postwarning test suite 2025-09-10 22:59:54 +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
Ajay
74b9b123a8 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2025-07-25 02:15:29 -04:00
Ajay
367cb24478 Add hook category 2025-07-25 02:15:27 -04:00
Ajay Ramachandran
40c4ec7437 Merge pull request #606 from ajayyy/dependabot/npm_and_yarn/tar-fs-2.1.3
Bump tar-fs from 2.1.2 to 2.1.3
2025-06-03 14:40:36 -04:00
dependabot[bot]
70ce320737 Bump tar-fs from 2.1.2 to 2.1.3
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.2 to 2.1.3.
- [Commits](https://github.com/mafintosh/tar-fs/commits)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:19:22 +00:00
Ajay Ramachandran
0bfc9b30f5 Merge pull request #605 from mini-bomba/fix/banned-webhooks
don't send dearrow webhooks for banned users
2025-05-29 12:09:59 -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
Ajay Ramachandran
c0e7401a73 Merge pull request #604 from mini-bomba/limit-usernames
Limit username creation
2025-04-28 19:04:03 -04:00
Ajay
314461c9f0 Fix old user check 2025-04-28 19:03:24 -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
Ajay Ramachandran
1b3b1b1cb3 Merge pull request #603 from mini-bomba/request-validator-rule-names
Add request validator rule names
2025-04-26 01:46:42 -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
Ajay Ramachandran
e7f3753077 Merge pull request #602 from mini-bomba/request-validator
Create an engine for rule-based request validation
2025-04-25 17:37:25 -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
b2cd048909 load request validator rules from env as json 2025-04-25 21:11:30 +02:00
mini-bomba
5c249fb02b test cases for the request validator engine 2025-04-25 21:11:30 +02:00
mini-bomba
f7e5394a18 create a request validator engine 2025-04-25 21:11:30 +02:00
Ajay
161db6df0c Don't error if failing to parse vanced ua 2025-04-25 13:51:46 -04: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
39f8dc6c22 Fix revanced ua 2025-04-21 20:14:43 -04:00
Ajay
08ba5c21b1 Fix validity check 2025-04-21 19:39: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
707b36d161 Fix user agent parser lower casing 2025-04-21 11:10:47 -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
ed5a397a30 Improve permission check 2025-04-15 02:01:41 -04:00
Ajay
300642fd4f Fix innertube failure handling 2025-04-12 00:44:10 -04:00
Ajay
46580322fc Fix dearrow old submitter check 2025-04-11 02:44:19 -04:00