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
Ajay Ramachandran
b08f5c8390
Don't break for incorrect votes
2021-06-13 16:00:36 -04:00
Ajay Ramachandran
344e680fe3
Fix rejections not being seperated
2021-06-09 15:14:31 -04:00
Ajay Ramachandran
4225d9b3b3
Silently reject votes
2021-06-08 20:20:05 -04:00
Ajay Ramachandran
ec081cf0c5
Support multiple newleaf urls
2021-06-03 11:38:21 -04:00
Ajay Ramachandran
1e5849f504
Prevent failing on api errors
2021-06-03 11:29:55 -04:00
Ajay Ramachandran
0904036009
Use newleaf instead of YouTube API
2021-06-02 22:34:38 -04:00
Ajay Ramachandran
d3210d4e27
Move files to utils
2021-05-23 18:00:20 -04:00
Ajay Ramachandran
194c657ba7
Clear reputation cache
2021-05-23 17:05:06 -04:00
Ajay Ramachandran
a5f9c2a022
Don't allow self votes
2021-05-23 16:57:41 -04:00
Ajay Ramachandran
0051022906
remove old user trustworthy code
2021-05-23 16:55:31 -04:00
Ajay Ramachandran
799aef0b65
Move redis code to middleware
2021-05-23 15:49:12 -04:00
Ajay Ramachandran
9d19c59d44
Add caching for raw videoID fetching
2021-05-23 12:03:05 -04:00
Ajay Ramachandran
5a60dfa988
Uncomment webhook
2021-05-23 11:19:40 -04:00
Ajay Ramachandran
590ed037dd
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into export
2021-05-23 11:17:10 -04:00
Nanobyte
1122681c4f
Fix prepare statements and inconsistencies
2021-05-07 02:01:49 +02:00
Nanobyte
f561388a1f
Rename noSegments to lockCategories
2021-04-24 01:54:42 +02:00
Ajay Ramachandran
9d06bda4f8
Don't allow downvoting dead submissions
2021-04-17 16:37:39 -04:00
Ajay Ramachandran
346485da8c
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
...
# Conflicts:
# src/routes/voteOnSponsorTime.ts
2021-04-17 16:25:10 -04:00
Ajay Ramachandran
5b2f05741e
Fix no segments votes being allowed
2021-04-17 16:23:45 -04:00
Ajay Ramachandran
6a9b218e22
Don't always use YouTube API cache
2021-04-08 20:37:19 -04:00
Ajay Ramachandran
8088f37632
Only return one segment for highlight category
2021-04-05 23:48:51 -04:00
Ajay Ramachandran
7bf09906d3
Prevent voting for highlight category
2021-04-05 22:33:28 -04:00
Ajay Ramachandran
37a07ace72
Cache data for getting hash-prefix segments
2021-03-26 19:03:30 -04:00