Commit Graph

1150 Commits

Author SHA1 Message Date
Michael C
88a368d0b9 add tests for shadowban 2021-10-30 17:58:17 -04:00
Nishant Arora
246ec7c3c3 Merge branch 'master' into fix/general-fixes 2021-10-27 23:51:45 -06:00
Nishant Arora
70d0387356 routes/deleteLockCategories: fixed 2021-10-27 23:50:20 -06:00
Ajay Ramachandran
19f7bbcde5 Add info about using sb mirror
Closes #373
2021-10-27 21:25:46 -04:00
Ajay Ramachandran
6cf268330f Remove old auto-ban on low trust 2021-10-27 19:36:33 -04:00
Michael C
9d761815d8 add userID to getSkipSegments 2021-10-27 17:03:16 -04:00
Michael C
a9adfbc06d disable eslint for error dump 2021-10-26 20:37:49 -04:00
Michael C
5743ed5434 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into no-console 2021-10-26 20:36:53 -04:00
Ajay Ramachandran
eecb238e18 Merge pull request #389 from mchangrh/replication-mirror
changes for mirror mode
2021-10-26 20:34:22 -04:00
Ajay Ramachandran
3877cd580c Merge pull request #391 from HaiDang666/388_lock-user-with-reason
add username in get lock reason route
2021-10-26 20:26:44 -04:00
Ajay Ramachandran
393027c1ea Merge pull request #386 from mchangrh/more-stats
add loadAvg to status
2021-10-26 20:24:06 -04:00
Michael C
6be034362b don't queue dump if generate=false 2021-10-24 16:19:40 -04:00
Felix Hoang
103280ca59 remove unuse variable 2021-10-24 16:27:12 +07:00
Felix Hoang
b715b30ae6 add username in get lock reason route 2021-10-24 16:04:18 +07:00
Michael C
6bcc4cdfa3 sturcture for init and exit 2021-10-22 11:37:32 -04:00
Nishant Arora
05072f5d22 routes/deleteLockCategories: Run Queries in Parallel 2021-10-22 00:17:43 -06:00
Nishant Arora
28dc0fb512 routes/addUserAsVIP: fixed 2021-10-21 23:59:08 -06:00
Nishant Arora
2376d88481 routes/addUnlistedVideo: Improved 2021-10-21 23:49:42 -06:00
Nishant Arora
db8543a0b4 utils/getService: Improve Functionality to run on O(n) 2021-10-21 23:49:36 -06:00
Michael C
c6428bf9e4 import without fs 2021-10-21 23:15:36 -04:00
Michael C
0163a52e55 if in mirror mode, import CSV files 2021-10-21 03:49:25 -04:00
Michael C
815df94db4 add eslint rule for no-console 2021-10-20 01:01:58 -04:00
Michael C
ac15686b47 add loadAvg to status 2021-10-20 00:16:27 -04:00
Ajay Ramachandran
93536976d0 Merge pull request #385 from mchangrh/384-fix
Implement #384
2021-10-19 23:30:09 -04:00
Michael C
6caab2ef06 don't destructure and re-structure 2021-10-19 23:23:58 -04:00
Michael C
a316403bb5 quote for postgres 2021-10-19 23:22:13 -04:00
Michael C
5cf7a61de1 restructure for postgres 2021-10-19 23:14:52 -04:00
Michael C
d0deb6fe27 finish tests and remove extra console.logs 2021-10-19 23:06:47 -04:00
Michael C
4ee35d3cd4 implementation 2021-10-19 22:05:08 -04:00
Michael C
83b8127eb2 fix fragment in links 2021-10-19 03:52:24 -04:00
Ajay Ramachandran
a42e933240 Send webhook link with required segment 2021-10-18 20:02:17 -04:00
Ajay Ramachandran
450f4a2d44 Store video info from submissions 2021-10-17 14:42:48 -04:00
Ajay Ramachandran
f6d6e93847 Return locked and votes in skipSegment calls
#379
2021-10-15 00:14:59 -04:00
Ajay Ramachandran
9cdccbe7f0 Fix user counter not working 2021-10-12 21:19:37 -04:00
Ajay Ramachandran
7e23bc9eeb Check for service in category vote 2021-10-03 13:12:14 -04:00
Ajay Ramachandran
658e391f50 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into pr/FlorianZahn/376 2021-10-03 13:11:25 -04:00
Ajay Ramachandran
2388dea859 Remove extra log 2021-10-03 12:55:49 -04:00
FlorianZahn
0aa286442f Vip locked segment voting, handle client side
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2021-10-03 18:53:06 +02:00
FlorianZahn
7135aa3369 removing console.log() commands 2021-10-02 05:11:26 +02:00
FlorianZahn
aacd297b3b Fixed bugs where normal users could cirumvent vip locks by changing categories 2021-10-02 05:04:18 +02:00
FlorianZahn
bb2a007ed1 first changes and timeout on 2nd test 2021-10-02 04:39:54 +02:00
Haidang666
356974b478 add service to table only have videoID 2021-09-30 13:56:55 +07:00
Ajay Ramachandran
99d72b92e4 Clear cache after purging segments 2021-09-29 16:31:44 -04:00
Ajay Ramachandran
eaaf106d7c Another try at #372 2021-09-29 12:22:40 -04:00
Ajay Ramachandran
86e26025f4 Safe navigation 2021-09-28 09:56:32 -04:00
Ajay Ramachandran
4470f0b60b Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-09-28 09:50:26 -04:00
Ajay Ramachandran
3873aa61bc Release client even if an error occurs
#372
2021-09-28 09:50:24 -04:00
Ajay Ramachandran
3335d54153 Log stack for unhandled errors 2021-09-28 09:48:24 -04:00
Ajay Ramachandran
ad3f2088ef Merge pull request #370 from mchangrh/switch-axios
replace node-fetch with axios in src
2021-09-27 20:24:34 -04:00
Ajay Ramachandran
39baa4871a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-09-27 20:17:24 -04:00