Commit Graph

2009 Commits

Author SHA1 Message Date
Michael C
76ce1017ea add warning webhook 2023-02-22 00:08:27 -05:00
Ajay Ramachandran
df279cf48a Adjust ip logging fix threshold 2023-02-20 18:57:19 -05:00
Ajay Ramachandran
81b0c27180 Merge pull request #540 from mchangrh/workflow
simplify workflows, use cache
2023-02-18 22:33:00 -05:00
Michael C
bff05dccaa simplify workflows, use cache 2023-02-18 03:12:50 -05:00
Ajay Ramachandran
9c438602f8 Add codecov config 2023-02-18 02:42:08 -05:00
Ajay Ramachandran
f48fb6c3f6 Merge pull request #539 from mchangrh/nyc
run nyc for codecov
2023-02-18 00:48:39 -05:00
Michael C
4a90ba8992 run sqlite and postgres coverage 2023-02-18 00:36:45 -05:00
Michael C
efc911a229 fix codecov 2023-02-18 00:30:21 -05:00
Ajay Ramachandran
2e3f4f8c70 Add codecov 2023-02-18 00:16:18 -05:00
Ajay Ramachandran
b95b6d8efe Merge pull request #538 from mchangrh/less-tempvip-perms
give less permissions to tempVIPs
2023-02-18 00:10:04 -05:00
Ajay Ramachandran
7985d131ef Merge pull request #537 from mchangrh/lenientSetUsername
make privateIDUsername check more lenient #532
2023-02-18 00:09:37 -05:00
Michael C
a384079562 more lenient privateIDUsername checks
- disallow username = privateID
- disallow username = other privateID on username table if length > minLength
2023-02-17 22:28:23 -05:00
Michael M. Chang
3281954019 Update src/routes/postSkipSegments.ts
Co-authored-by: mini-bomba <55105495+mini-bomba@users.noreply.github.com>
2023-02-08 12:21:58 -05:00
Michael C
aece615992 give less permissions to tempVIPs 2023-02-08 01:54:20 -05:00
Ajay
6448fbfbd8 Fix logger calls where this will be wrong 2023-02-05 13:27:18 -05:00
Ajay
c5426e5fc4 Fix reputation test 2023-02-04 18:43:08 -05:00
Ajay
3894d453a5 Improve performance of reputation query 2023-02-04 18:22:31 -05:00
Ajay
280e6684af Fix reputation using wrong date 2023-02-04 18:22:19 -05:00
Ajay
7361c7056b Print active db requests in redis errors 2023-02-04 15:12:22 -05:00
Ajay
2d751a0b21 Log response time limits 2023-02-04 14:13:49 -05:00
Ajay
399bda869f Add more detailed redis error message 2023-02-04 14:07:09 -05:00
Ajay Ramachandran
663bd96130 Fix forget sh file missing 2023-02-03 20:06:14 -05:00
Ajay
5b3f4b476e Update redis config 2023-02-03 12:31:30 -05:00
Michael C
b855eea349 make privateIDUsername check more lenient #532 2023-01-29 16:10:59 -05:00
Ajay
51d25cfc68 Ban users submitting from banned IPs 2023-01-29 13:53:08 -05:00
Ajay
f8f02d86d5 Fix shadow hidden requiring type 1 2023-01-29 13:15:05 -05:00
Ajay
cb7492628c Names for docker compose ci 2023-01-28 14:48:20 -05:00
Ajay
e69b61fb4c Fix shadow ban exiting early 2023-01-28 14:42:16 -05:00
Ajay
5c1b502a15 Fix ban users var not used 2023-01-28 14:04:14 -05:00
Ajay
d5c544f1ee Allow auto banning ips 2023-01-28 14:00:12 -05:00
Ajay
5426ae826e Add IP banning 2023-01-28 13:09:04 -05:00
Ajay Ramachandran
7911819cab Merge pull request #536 from mchangrh/sharedParser
use shared parseParams helper
2023-01-28 12:20:50 -05:00
Ajay Ramachandran
d8e0eac61b Use includes and check in sql usage 2023-01-28 12:18:34 -05:00
Michael C
74c0ba37e2 remove debug statements, fix shadowBanUser tests 2023-01-28 02:54:01 -05:00
Michael C
a64b8f99b7 use shared parseParams helper 2023-01-28 02:40:09 -05:00
dependabot[bot]
894cd48182 Bump luxon from 1.28.0 to 1.28.1 (#535)
Bumps [luxon](https://github.com/moment/luxon) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/1.28.0...1.28.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28 01:22:05 -05:00
Ajay Ramachandran
1641a41b00 Merge pull request #533 from mchangrh/cache-control
add ETag to skipSegments byHash
2023-01-28 01:16:32 -05:00
Ajay
d0a9168531 remove temp server outage error 2023-01-22 18:59:51 -05:00
Ajay
2ed23d7fcb Fix duplicate chapter issue
Fix https://github.com/ajayyy/SponsorBlockServer/issues/521
2023-01-21 21:52:39 -05:00
Michael C
e7a43d79ab optimize skipSegments, add eTag
- moved skipSegments parameter parsing to new file
- added oldGetVideoSponsorTimes to getSkipSegments.ts
2023-01-01 04:59:57 -05:00
Michael C
b792354ffb lock redis, postgres versions, no persistence in redis 2023-01-01 02:51:44 -05:00
Michael C
a613b68c66 add ETag to skipSegments byHash 2023-01-01 02:50:49 -05:00
Ajay
66c2be6012 remove hash and extra segment params 2022-12-30 15:39:45 -05:00
Ajay Ramachandran
928eef637a Merge pull request #532 from mchangrh/fix-privateIDUsername
fix privateIDUsername
2022-12-30 01:07:08 -05:00
Michael C
be03367557 fix privateIDUsername 2022-12-30 01:04:23 -05:00
Ajay Ramachandran
fd288dd330 Merge pull request #531 from ajayyy/dependabot/npm_and_yarn/json5-2.2.2
Bump json5 from 2.2.1 to 2.2.2
2022-12-30 00:47:01 -05:00
dependabot[bot]
0c00f7323d Bump json5 from 2.2.1 to 2.2.2
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 05:45:16 +00:00
Ajay Ramachandran
5a6ba891f9 Merge pull request #530 from mchangrh/privateIDUsername
add privateID username check
2022-12-30 00:44:51 -05:00
Michael C
90e5446078 add privateID username check
- bump AGPL to package-lock
2022-12-30 00:41:45 -05:00
Ajay Ramachandran
dc0bde0e36 Merge pull request #529 from mchangrh/sanitizeVideoID
Sanitize videoID and minimum UserID length
2022-12-27 17:10:27 -05:00