Ajay
749fa4bb95
Fix not all db config vars being used
2022-06-14 16:22:59 -04:00
Ajay
5c43750835
Allow ssl
2022-06-10 16:40:48 -04:00
Ajay
0260b4889d
safe navigate in user vip
2022-05-27 19:07:44 -04:00
Ajay
043c8b771e
Lower redis timeout
2022-05-23 20:15:44 -04:00
Ajay
55ff3230ed
Catch redis exceptions
2022-05-23 18:32:40 -04:00
Ajay
ed221c8599
Don't log 404 errors for disk cache
2022-05-21 00:39:39 -04:00
Ajay
29660d998b
Don't count users for options requests
2022-05-20 16:59:21 -04:00
Ajay
f520e00ed4
Fix null values messing with env import
2022-05-20 04:53:31 -04:00
Ajay
21f7d5d938
Don't add primary keys with sqlite
2022-05-17 12:53:48 -04:00
Ajay
c9a0fb7bc3
Add disk cache service
...
Fixes #471
2022-05-17 02:29:36 -04:00
Michael C
6a826b63c9
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fullVideoLabels
2022-05-09 02:42:18 -04:00
Ajay
d8395163b9
fix newleafurls
2022-05-06 01:53:44 -04:00
Ajay
d75226bde5
better db dump system
2022-05-05 22:50:07 -04:00
Ajay
db700cd7e8
Allow single newleaf url
2022-05-05 20:52:44 -04:00
Ajay
b0bcf2b684
don't specify tablespace
2022-05-04 16:03:56 -04:00
Ajay
2e4b7a0c9c
Don't force encoding
2022-05-04 15:36:51 -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
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
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
Michael C
f67c0b5762
merged changes by @mini-bomba
2022-03-31 18:03:42 -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
Michael C
65a661ca4d
fix naming regression, simplify findCategory
2022-03-31 14:19:06 -04:00
Michael M. Chang
2fb7f4faa6
consistent function naming
...
Co-authored-by: Ajay Ramachandran <dev@ajay.app >
2022-03-31 14:05:52 -04:00
Michael C
ed560425a0
removed logging, fixed labelByHash test cases
2022-03-31 14:05:07 -04:00
Michael C
267320bc56
add filler and exclusive_access to category enum
2022-03-31 03:47:25 -04:00
Michael C
e6bf20937d
endpoint + tests for getVideoLabels
2022-03-31 03:47:06 -04:00
Ajay
fe0afd58bc
Save userid with votes
2022-03-30 16:02:30 -04:00
Ajay
fafcbe0b25
Move new user down
2022-03-30 15:43:53 -04:00
Ajay
84ea08d6d0
Fix crash when categories array is broken
2022-03-11 10:19:55 -05: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
dbb8128a3a
Improve useragent parsing
2022-02-22 00:51:45 -05:00
Ajay
4029b15233
Add query cache for shadowban
2022-02-21 22:46:13 -05:00
Ajay
6b1fa7f5d0
15 second timeout for requests
2022-02-19 16:02:05 -05:00
Michael C
4da3c2d049
force poi_highlight to be type POI
2022-02-13 16:13:03 -05:00