Commit graph

106 commits

Author SHA1 Message Date
Ajay
5426ae826e Add IP banning 2023-01-28 13:09:04 -05:00
Michael C
62a9b0eddd
add innerTube as primary videoInfo endpoint
- drop videoInfo.genreUrl since it's always empty
- bump ts target to ES2021 for Promise.any
- fix mocks to return err: false
- get maxResThumbnail from static endpoint
2022-09-15 17:02:33 -04:00
Ajay
7060c0ab0d Add access token system 2022-08-31 01:55:38 -04:00
Ajay
c2b0ecd6f6 Add ability to add manually choose who can submit chapters 2022-07-06 00:11:45 -04:00
Ajay
f9de547b95 Add malicious vote type for chapters 2022-07-04 16:18:58 -04:00
Ajay
e1d6fdfefb Remove service from index 2022-06-24 02:21:37 -04:00
Ajay
f8ef145bb8 fix collation index 2022-06-24 01:29:07 -04:00
Ajay
a187180388 Add new index 2022-06-24 01:24:55 -04:00
Ajay
6621ae3730 Fix upgrade crash 2022-05-26 22:49:21 -04:00
Ajay
d273095525 Add improved hashed ip index 2022-05-26 22:47:07 -04:00
Ajay
21f7d5d938 Don't add primary keys with sqlite 2022-05-17 12:53:48 -04:00
Ajay
634d5d083a Better indexes 2022-05-14 15:43:38 -04:00
Ajay
d67b9cdcc5 lots of anomolies 2022-05-10 14:34:22 -04:00
Ajay
78acb4a76a am wrong again 2022-05-10 14:27:43 -04:00
Ajay
5889e9e557 another id 2022-05-10 14:25:47 -04:00
Ajay
3931328b60 more duplicates 2022-05-10 14:24:34 -04:00
Ajay
f56fbbd2c7 still impossible 2022-05-10 14:22:42 -04:00
Ajay
dbfc685bf9 fix another impossible key 2022-05-10 14:21:44 -04:00
Ajay
34771e96fe change primary key for category votes 2022-05-10 14:20:07 -04:00
Ajay
72de520781 Add primary keys to tables 2022-05-10 14:06:24 -04:00
Ajay
fe0afd58bc Save userid with votes 2022-03-30 16:02:30 -04: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
Michael C
a2f2cf9c0d
update lockCategories
- migration to remove invalid locks
- lockCategories poi_highlight is now actionType poi
- deleteLockCategories now takes actionType
- update postLockCategories response, serverside filtering for accepted categories
- fix tests accordingly
2022-02-03 17:44:29 -05:00
Ajay
6ece944536 Highlight category now has it's own action type 2022-01-19 17:48:09 -05:00
Ajay
09eec5a4a5 Add locking by action type 2022-01-02 14:00:54 -05:00
Michael C
a1d28fbfe1
add addUserAsTempVIP 2021-12-31 04:26:37 -05:00
Ajay Ramachandran
20e9a3e8b1 Fix index using non existent column 2021-11-16 22:53:59 -05:00
Ajay Ramachandran
bc6db0d109 Add endpoints for rating endpoint (dislikes)
https://github.com/ajayyy/SponsorBlock/issues/1039
2021-11-14 23:09:12 -05:00
Ajay Ramachandran
6919b5433b Add suggested chapter names 2021-11-06 22:43:03 -04:00
Ajay Ramachandran
32150e4a1d Add submitting description for chapters 2021-11-06 00:54:28 -04:00
Michael C
2d10dd6c9c
add extension to db.sql 2021-10-22 01:05:08 -04:00
Ajay Ramachandran
91c52c15fd Add indexes for videoInfo 2021-10-17 14:55:55 -04:00
Ajay Ramachandran
c6944bd7cf Fix types on videoInfo table 2021-10-17 14:54:35 -04:00
Ajay Ramachandran
450f4a2d44 Store video info from submissions 2021-10-17 14:42:48 -04:00
Haidang666
356974b478 add service to table only have videoID 2021-09-30 13:56:55 +07:00
Ajay Ramachandran
326f9e6e93 Fix sqlite 2021-08-05 20:03:37 -04:00
Ajay Ramachandran
00858b6633 Remove duplicate usernames and make unique
Closes #336
2021-08-05 16:50:39 -04:00
Haidang666
ce193b60f7 Store user-agent in postSkipSegment 2021-07-30 13:47:21 +07:00
Haidang666
6b5156468c Add archive downvote segment cron 2021-07-12 08:59:12 +07:00
Haidang666
14f55c9ee5 Add lock category reason 2021-07-06 13:31:44 +07:00
Ajay Ramachandran
fa4c77b495 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into mute-skip 2021-07-05 13:27:25 -04:00
Ajay Ramachandran
28e7ec0ef9 Change db upgrade to v19 2021-07-05 13:26:49 -04:00
Michael C
a860e96d35
getLockCategoresByHash 2021-07-04 23:33:12 -04:00
Ajay Ramachandran
d20320e87e Add post for actionType
untested
2021-07-04 18:35:15 -04:00
Haidang666
081f2d14b7 Add test, Fix sql syntax 2021-06-30 08:59:20 +07:00
Haidang666
214ddc9807 Add warning reason in postWarning 2021-06-29 14:56:57 +07:00
Haidang666
f5bb221ecd Add log when update username 2021-06-27 11:45:42 +07:00
Haidang666
aa29ad2014 Add database table schema, Fix indent 2021-06-25 10:44:08 +07:00
Ajay Ramachandran
7269dc4e5f Remove old index 2021-06-24 00:02:00 -04:00