Commit graph

1607 commits

Author SHA1 Message Date
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
Ajay
6507a3a68d Add timeout to redis calls 2022-03-04 19:19:15 -05:00
Ajay Ramachandran
e8b8b87190
lower timeout 2022-03-04 02:29:52 -05:00
Ajay
c602285102 Fix wrong timeout variable being used 2022-03-03 20:09:30 -05:00
Ajay
744b5ea4f6 Increase max fails, lower timeout 2022-03-03 19:58:03 -05:00
Ajay Ramachandran
68b2fba24c Update nginx config 2022-03-04 01:53:31 +01:00
Ajay
dbb8128a3a Improve useragent parsing 2022-02-22 00:51:45 -05:00
Ajay
22b4135d62 Fix flaky test 2022-02-21 22:58:23 -05:00
Ajay
4029b15233 Add query cache for shadowban 2022-02-21 22:46:13 -05:00
Ajay
90fc02e340 Better private db index 2022-02-21 21:57:57 -05:00
Ajay
6b1fa7f5d0 15 second timeout for requests 2022-02-19 16:02:05 -05:00
Ajay Ramachandran
0e8b6eb506 Update nginx config 2022-02-16 02:27:04 +01:00
Ajay Ramachandran
50d8c5f105
Merge pull request #457 from mchangrh/highlight_poi
force poi_highlight to be type POI
2022-02-13 16:40:20 -05:00
Michael C
4da3c2d049
force poi_highlight to be type POI 2022-02-13 16:13:03 -05:00
Ajay
a3ddbef38e Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-02-12 13:11:47 -05:00
Ajay
77a1799a7f Filter input 2022-02-12 13:11:46 -05:00
Ajay Ramachandran
0dbd081063 Update nginx config 2022-02-12 06:49:21 +01:00
Ajay
c9b18a4938 Don't fail if no latest submission with video duration 2022-02-12 00:06:46 -05:00
Ajay
155c5a9b97 Don't allow upvoting dead locked category segment
for full video
2022-02-12 00:05:01 -05:00
Ajay
1bc9a69b79 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-02-11 12:06:33 -05:00
Ajay
fb6e98f93f Don't allow changing highlight category 2022-02-11 12:05:04 -05:00