Commit graph

61 commits

Author SHA1 Message Date
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
Ajay Ramachandran
46524e4298 Fix indexes 2021-03-26 19:02:32 -04:00
Ajay Ramachandran
c7eb5fed35 Fix video duration precision and use submitted one when possible 2021-03-26 18:35:25 -04:00
Ajay Ramachandran
27c2562a7f Add more indexes 2021-03-23 23:46:46 -04:00
Ajay Ramachandran
11b4f642a6 Apply indexes after upgrades 2021-03-21 19:16:56 -04:00
Ajay Ramachandran
5544491728 Add duration option when submitting and save duration in DB 2021-03-19 22:45:30 -04:00
Ajay Ramachandran
29d2c9c25e Add new "Service" option 2021-03-19 21:31:16 -04:00
Ajay Ramachandran
cfdb0f4466 Remove index creation from upgraders 2021-03-11 18:55:27 -05:00
Ajay Ramachandran
3fe7501802 Support private db with postgres 2021-03-06 19:29:03 -05:00
Ajay Ramachandran
2772a9dcc6 Switch to case sensitive and get submitting + getting working 2021-03-04 20:23:05 -05:00
Ajay Ramachandran
1a66be8665 Make schemas work with postgres 2021-03-04 19:44:54 -05:00
Ajay Ramachandran
88855ab695 Support schema upgrading with postgres 2021-03-01 22:20:44 -05:00
Ajay Ramachandran
ef21ceb332 Add segment locking 2021-02-18 19:48:36 -05:00
Ajay Ramachandran
78ef129634 Add remove feature to warnUser 2020-12-29 00:18:50 -05:00
LoganDark
b4b7b55ce1
Correct indentation in _private.db.sql 2020-11-24 05:15:13 -08:00
Joe Dowd
075cb9d5f2
added warning system
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2020-09-16 00:56:10 +02:00
Ajay Ramachandran
7a83e7901a
Merge pull request #131 from ajayyy/query-by-hash-prefix
Hash prefix fixes
2020-09-11 17:45:58 -04:00
Joe Dowd
0611ad54d0 fixed db upgrade filesize inflation 2020-09-09 23:14:20 +01:00
Ajay Ramachandran
c3de215b08 Add index for hashed videoID 2020-09-04 13:49:28 -04:00
Joe Dowd
9c9c2a23cc added comment to db upgrade sql file 2020-08-31 03:31:53 +01:00
Joe Dowd
88e6c6f93c added db upgrade tests 2020-08-31 02:52:12 +01:00
Joe Dowd
82d59e159f added post and get test to hash prefix 2020-08-31 02:42:25 +01:00
Joe Dowd
26c72b006c mreged no-segments 2020-08-30 22:33:56 +01:00
Joe Dowd
b8d7eef536 origin testing merge 2020-08-30 22:24:37 +01:00
Joe Dowd
db3de8ce6f changed copy/pasted comment 2020-08-22 03:21:10 +01:00
Joe Dowd
44ea0c418a fixed db update, started no segments 2020-08-22 02:14:19 +01:00
Martijn van der Ven
3167c24f75 Put hashedVideoID column before shadowHidden column 2020-05-23 21:27:21 +02:00
Martijn van der Ven
803b1fa505 Add initial version of querying by hash prefix 2020-05-23 17:12:40 +02:00
Ajay Ramachandran
14c0aa1ec1 Make key in config unique 2020-05-10 20:19:04 -04:00
Ajay Ramachandran
8638698d61 Added schema upgrades for both DBs 2020-05-03 13:25:45 -04:00
Ajay Ramachandran
d4328f4d54 Change the version code to be the last run upgrade file. 2020-05-03 12:08:07 -04:00
Ajay Ramachandran
8eecffd3d5 Changed from version table to a key-value config table. 2020-05-03 12:01:49 -04:00
Ajay Ramachandran
6a17e4d141 Added test cases for voting and fixed code to support them. 2020-04-29 22:15:16 -04:00
Ajay Ramachandran
f23ead56ad Updated inserts to new database schema and removed null coalescing 2020-04-29 21:26:11 -04:00
Ajay Ramachandran
98f4d973e7 Added wrong category vote option. 2020-04-29 20:56:34 -04:00
Ajay Ramachandran
b5fcdea62f Don't upgrade if read only 2020-04-29 19:40:17 -04:00