Commit graph

96 commits

Author SHA1 Message Date
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
Ajay Ramachandran
c5245cb8e2 Save more info in unlisted video endpoint 2021-06-23 23:58:33 -04:00
Ajay Ramachandran
42da1b6c23 Add endpoint to submit unlisted videos
A temporary measure which will be removed next month

https://support.google.com/youtube/answer/9230970
2021-06-23 19:19:30 -04: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
75981a3e5f
Fix copy mistake 2021-06-15 01:03:37 -04:00
Nanobyte
34fd78961b Add username lock 2021-06-15 00:09:37 +02:00
Ajay Ramachandran
a732159a3a Fix comment in sql upgrade file 2021-05-24 12:46:39 -04:00
Ajay Ramachandran
5c2ab9087a Use reputation when sorting segments 2021-05-23 17:54:51 -04:00
Ajay Ramachandran
b0a4b6ebed Update indexes file table name 2021-05-06 15:53:31 -04:00
Nanobyte
f561388a1f Rename noSegments to lockCategories 2021-04-24 01:54:42 +02:00
Ajay Ramachandran
c9a8dc21b1 Unlock videos and hide segments if duration changed 2021-03-29 19:16:18 -04:00