Commit Graph

94 Commits

Author SHA1 Message Date
Ajay
d367998d39 Remove use of "CategoryActionType" 2022-01-19 18:11:01 -05:00
Ajay
acb5a9467e Fix warning 2022-01-16 15:03:46 -05:00
Ajay
6fe7200481 don't allow category vote for full video segment 2022-01-14 00:21:13 -05:00
Ajay
65954520d0 Treat duplicate full video submission as upvote 2022-01-06 03:39:46 -05:00
Michael C
a1d28fbfe1 add addUserAsTempVIP 2021-12-31 04:26:37 -05:00
Michael C
9ae16ea9b6 add tempVIP check to vote 2021-12-30 22:21:27 -05:00
Michael C
a5a90e3c84 add getHashCache where applicable= 2021-11-27 02:41:34 -05:00
Michael C
03c95ca158 rename clearSegmentCache 2021-11-15 01:48:14 -05: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
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
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
Michael C
82c5c70eb7 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:13:27 -04:00
Michael C
6433f50edf replace node-fetch with axios in src 2021-09-23 01:21:10 -04:00
Michael C
a028eaa41a object-curly-spacing 2021-09-22 18:52:35 -04:00
Ajay Ramachandran
d6a986d6cf Disable shadow hidden when vip upvotes 2021-09-01 15:28:39 -04:00
Michael C
9f7abf1865 Revert "fix error with errors"
This reverts commit 7601a1d4bf.
2021-08-28 01:53:53 -04:00
Michael C
7601a1d4bf fix error with errors 2021-08-28 01:48:48 -04:00
Michael C
1c2dd055c1 Update dependencies & eslint
- update API-Docs link
- cast err as string to appease eslint
- update package and bump minimum to fix security issue
- removed unnecessary filters from gitignore
2021-08-27 17:09:31 -04:00
Haidang666
38a09b164d Add Limit 1 when check user as vip 2021-08-03 09:28:28 +07:00
Ajay Ramachandran
3a8076fc3c Indent switch case 2021-08-02 16:25:04 -04:00
Ajay Ramachandran
366de4955b Send warning reason with votes and use quotes 2021-07-29 23:53:02 -04:00
Ajay Ramachandran
144f3fa035 Don't strictly check for locked videos 2021-07-27 00:36:07 -04:00
Ajay Ramachandran
3c5a27d9f5 fix incorrect sql 2021-07-20 13:42:31 -04:00
Ajay Ramachandran
1ad805fda3 reset video duration when vip upvotes hidden segment 2021-07-20 13:40:22 -04:00
Michael C
a7aaffcfe5 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint 2021-07-18 02:27:48 -04:00
Ajay Ramachandran
b98d6fd8ca Ignore votes from short ids 2021-07-16 16:22:55 -04:00
Ajay Ramachandran
d7b8c32c10 Remove lock when undoing vote 2021-07-15 12:32:00 -04:00
Michael C
1ba1450e9c string literal fixes & npm run postgres:docker 2021-07-13 15:45:24 -04:00
Michael C
b5a29675d6 fix more non-format string-concat 2021-07-12 02:48:49 -04:00
Michael C
c0b1d201ad fix non-format eslint in src/ 2021-07-12 02:12:22 -04:00
Michael C
8df0c31d35 consistent return and sendStatus 2021-07-04 02:04:39 -04:00
Michael C
d89b26b77d fix eslint-errors 2021-07-04 01:36:03 -04:00
Ajay Ramachandran
cf592554f1 Merge branch 'master' into unhide-vote 2021-07-03 22:37:23 -04:00
Michael C
931b3fdc68 disallow vote types 10/11 2021-07-02 23:07:17 -04:00
Michael C
107b21c463 restore hidden segments with vip upvote 2021-07-02 21:57:00 -04:00
Nanobyte
11e6c93932 Merge remote-tracking branch 'upstream/master' into fix/prepare-statements 2021-06-21 18:19:50 +02:00
Ajay Ramachandran
48d88614fb Move shadow ban list to public db
Warning: Migration is not automatic
2021-06-20 13:41:35 -04:00
Ajay Ramachandran
588e0abdd8 Fix type = 20 vote 2021-06-13 16:22:10 -04:00