Commit graph

1977 commits

Author SHA1 Message Date
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
Michael C
7c2feb80bc
videoID validation and userID min length 2022-12-27 01:45:50 -05:00
Ajay Ramachandran
fc607d0cb7
Specify only in package.json 2022-12-26 23:43:01 -05:00
Ajay Ramachandran
3fbcadc3a0
Update license in package.json 2022-12-26 23:24:46 -05:00
Ajay
7f7a3a37ec Relicense project to AGPL 2022-12-26 23:18:43 -05:00
Ajay Ramachandran
d738e89f20
Merge pull request #528 from mchangrh/bumpInnertube
bump innertube clientVersion
2022-12-18 00:07:13 -05:00
Michael C
b591b7194e
Merge branch 'bumpInnerTube' into sanitizeVideoID 2022-12-18 00:03:33 -05:00
Michael C
fc5b5ca72c
use node 18 across all tests 2022-12-18 00:01:32 -05:00
Michael C
8d7b010a12
append missing number to version 2022-12-17 23:58:19 -05:00
Michael C
fc73f491fe
bump innertube clientVersion 2022-12-17 23:56:36 -05:00
Michael C
2683c61995
add minUserIDLength config option 2022-12-17 23:35:13 -05:00
Ajay
cff2325aef use keep alive in disk cache and user counter 2022-12-05 17:06:00 -05:00
Ajay
d7d5618985 update sqlite 2022-12-05 17:04:08 -05:00
Ajay
4e3753d32c Only call user counter some of the time 2022-12-05 16:47:11 -05:00
Ajay
1202c264aa Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-12-04 19:54:46 -05:00
Ajay
89e122210e Remove extra hash 2022-12-04 19:54:44 -05:00
Ajay Ramachandran
aed0e38d2f
Merge pull request #524 from mchangrh/submitPrivateVideo
add innertube tests for private videos
2022-12-04 14:59:28 -05:00
Ajay Ramachandran
665ad6fe50
Merge pull request #526 from mchangrh/bump-dependencies
update dependencies, finally bump to node 18
2022-12-04 14:59:13 -05:00
Ajay
992c65a39d Fix sqlite tests 2022-11-21 17:06:04 -05:00
Ajay
b6e62aa68f Add postgres request time stats 2022-11-21 16:48:16 -05:00
Michael C
1f844bf56a
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into submitPrivateVideo 2022-11-21 14:40:46 -05:00
Michael C
fa5f3b8a50
update dependencies, finally bump to node 18 2022-11-21 14:36:11 -05:00
Ajay
30ac91c537 Don't refetch reputation if under high db load 2022-11-20 19:17:47 -05:00
Ajay
e252411fe1 No time saved for chapter 2022-11-20 17:30:13 -05:00
Ajay
91fc56f59a Wait for redis to connect before starting server 2022-11-20 01:20:05 -05:00
Ajay
0cd808a2d9 Add high load checks to leaderboard pages 2022-11-20 00:50:32 -05:00
Ajay
87e38c8bc4 Show total stats if not under high load 2022-11-20 00:47:41 -05:00
Ajay
df76b5f053 Add max queue to redis 2022-11-20 00:23:22 -05:00
Ajay
71d30c0b51 change redis max response time default 2022-11-19 23:59:50 -05:00
Ajay
238ccc83d9 Stop writing if response time exceeds value 2022-11-19 23:58:55 -05:00
Ajay
9bd6e9df4f Add error catching in segment by hash 2022-11-19 23:35:46 -05:00
Ajay
7bdcb10994 Fix redis set limiting 2022-11-19 23:32:09 -05:00
Ajay
849ca52ef8 Allow disabling hash cache 2022-11-19 20:05:59 -05:00