Commit graph

1627 commits

Author SHA1 Message Date
Ajay
c5f163e41e rename container 2022-05-04 02:25:29 -04:00
Ajay
c5d2cacae2 Fix postgres tests 2022-05-04 02:07:22 -04:00
Ajay
5e3e02c674 Fix context 2022-05-04 01:54:32 -04:00
Ajay
0fe85b9760 Auto build container 2022-05-04 01:51:38 -04:00
Ajay
5f53859c94 Fix docker container 2022-05-04 01:46:41 -04:00
Ajay
5b177a3e53 Prepare dockerfile for use, allow configuring via env vars 2022-05-03 22:08:44 -04:00
Ajay
a66588619a Fix rep hurting negatively voted segments 2022-05-03 15:27:23 -04:00
Ajay Ramachandran
98494aec4a
more server 2022-04-27 14:19:14 -04:00
Ajay Ramachandran
e74b985304
more writes 2022-04-14 01:57:23 -04:00
Ajay
fb414ed6db Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-04-14 01:54:28 -04:00
Ajay
c7905d4062 Don't break for no response 2022-04-14 01:54:26 -04:00
Ajay Ramachandran
8a9c7c869b
new server 2022-04-14 01:18:48 -04:00
Ajay Ramachandran
002298648c
Merge pull request #468 from ajayyy/redis-backed-ratelimit
Back rate limit by redis and upgrade node-redis
2022-04-13 17:51:04 -04:00
Ajay
929856fd3f No ugly json access 2022-04-13 17:45:41 -04:00
Ajay
1df8117105 Fix warnings and errors 2022-04-13 17:43:38 -04:00
Ajay
146ba4ff93 Migrate breaking config changes 2022-04-13 17:41:57 -04:00
Ajay
8dc87da462 Back rate limit by redia and upgrade node-redis 2022-04-13 17:36:07 -04:00
Ajay
41c92da37e Upgrade express-rate-limit 2022-04-13 13:50:30 -04:00
Ajay
2d6be12062 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-04-11 23:48:54 -04:00
Ajay
14ef6682df Log locked downvoted segment 2022-04-11 23:48:52 -04:00
Ajay Ramachandran
10298efc08
Merge pull request #464 from mchangrh/postSkipSegment
update postSkipSegments
2022-04-11 01:56:22 -04:00
Michael M. Chang
b09ed1cbe2
Update src/routes/postSkipSegments.ts
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2022-04-11 01:54:28 -04:00
dependabot[bot]
d5611fb023 Bump moment from 2.29.1 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 11:54:05 -04:00
Michael C
f67c0b5762
merged changes by @mini-bomba 2022-03-31 18:03:42 -04:00
Ajay Ramachandran
468ce25858
Merge pull request #465 from mini-bomba/optimize/voteOnSponsorTime
voteOnSponsorTime.ts: don't do database queries for vote eligibility on locked segments
2022-03-31 16:52:30 -04:00
Michael C
d392b1c8fc
remove outdated comments & unnecessary space 2022-03-31 16:52:05 -04:00
Michael C
d02d78f325
add 80% tempVIP
- move isUserTempVIP to own file
- reduce allSegmentDuration instead of forEach
- don't return decreaseVotes from autoModerator
- completely skip autoModCheck if VIP
2022-03-31 16:43:10 -04:00
mini-bomba
6b5dc54cc7
voteOnSponsorTime.ts: don't do database queries for vote eligibility on locked segments 2022-03-31 22:41:09 +02:00
Michael C
76cc603a3f
update auotmod check
- remove NB code
- reduce complexity + unnecessary iterations
- use client duration if given
2022-03-31 16:02:50 -04:00
Ajay
fe0afd58bc Save userid with votes 2022-03-30 16:02:30 -04:00
Ajay
9bcf7ed199 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-03-30 15:43:54 -04:00
Ajay
fafcbe0b25 Move new user down 2022-03-30 15:43:53 -04:00
Ajay Ramachandran
4c2b258038
new server 2022-03-30 14:15:44 -04:00
Ajay Ramachandran
bd059c3a68
another get query 2022-03-29 14:14:53 -04:00
Ajay Ramachandran
70a507818f
move post server again 2022-03-29 13:08:12 -04:00
Ajay Ramachandran
5f4f45056e
Increase max memory 2022-03-28 12:18:15 -04:00
Ajay Ramachandran
7ead3ddc63
reenable redis snapshots 2022-03-28 12:17:37 -04:00
Ajay Ramachandran
a536e4aeb8
remove 10s cache 2022-03-28 12:07:46 -04:00
Ajay Ramachandran
2b237a4a8b
Move server 2022-03-28 11:58:59 -04:00
Ajay Ramachandran
03542ebcac
Merge pull request #460 from ajayyy/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-24 11:38:59 -04:00
dependabot[bot]
b3c2b2c15d
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 07:12:26 +00:00
Ajay Ramachandran
80e3a55cfe
Change url for test 2022-03-17 12:31:09 -04:00
Ajay Ramachandran
9224960dea
Fix wiki redirect 2022-03-17 12:30:00 -04:00
Ajay
84ea08d6d0 Fix crash when categories array is broken 2022-03-11 10:19:55 -05:00
Ajay Ramachandran
e9c43a22f5
Don't redirect to different port 2022-03-08 13:28:59 -05:00
Ajay Ramachandran
fe6d2e88bd
Increase read timeout 2022-03-07 16:45:31 -05:00
Ajay Ramachandran
0bb6d29932 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-03-07 18:40:17 +01:00
Ajay Ramachandran
e9ebf08984 proxy protocol 2022-03-07 18:39:38 +01:00
Ajay
f156a5fbe9 Don't count low viewed downvoted segments 2022-03-06 18:42:24 -05:00
Ajay
b182945274 Clear redis timeouts 2022-03-04 19:22:01 -05:00