Commit graph

1183 commits

Author SHA1 Message Date
Ajay Ramachandran
1ad0c195ad
Merge pull request #66 from Joe-Dowd/refactor
Refactor
2020-04-03 16:48:38 -04:00
Joe-Dowd
cc0bfef0ad added more tests (categories prep) 2020-04-03 21:45:06 +01:00
Joe-Dowd
6f2798e8c4 merged master into testing 2020-04-02 18:54:21 +01:00
Joe-Dowd
819f338c68 Ensured anything in master is implemented 2020-04-02 18:53:02 +01:00
Joe-Dowd
5d2d5819cf added db files to .gitignore 2020-04-02 18:38:00 +01:00
Joe-Dowd
393c131104 remove duplicate videoID in test cases 2020-04-01 23:42:58 +01:00
Joe-Dowd
af149b09a9 added getSavedTimeForUser test 2020-04-01 23:39:56 +01:00
Joe-Dowd
3087e05212 added getHash import for getSavedTimeForUser 2020-04-01 23:29:37 +01:00
Ajay Ramachandran
0f7d1dd801
Merge pull request #64 from Joe-Dowd/refactor
Refactor
2020-04-01 17:25:44 -04:00
Joe-Dowd
461483ea36 changed a test message 2020-04-01 22:12:32 +01:00
Joe-Dowd
7bf43cfe9a You can insert into the test db in the test scripts 2020-04-01 22:02:59 +01:00
Joe-Dowd
30d24de4d3 added http tests 2020-04-01 21:29:13 +01:00
Joe-Dowd
e2f430dd09 removed db files from test 2020-04-01 21:08:48 +01:00
Joe-Dowd
5369d48eae Added testing 2020-04-01 21:04:04 +01:00
Joe-Dowd
1bff019a64 fixed youtube / discord calls 2020-04-01 19:28:21 +01:00
Ajay Ramachandran
60dfec3375
Merge pull request #59 from Joe-Dowd/createDBFromSchema
Create DB from schema on start if config option is set
2020-03-26 21:58:59 -04:00
Ajay Ramachandran
da47098ccd Added info to config example 2020-03-26 21:58:21 -04:00
Joe-Dowd
f1ee7bb430 Removed console.log 2020-03-20 21:50:57 +00:00
Joe-Dowd
be6d75c1ff add mode condition to logger util 2020-03-20 20:14:30 +00:00
Joe-Dowd
9bf065e1f0 added request debug log without condition 2020-03-20 20:14:20 +00:00
Joe-Dowd
8543647cbc added youtube util and cors middleware 2020-03-20 20:14:14 +00:00
Joe-Dowd
5c3d18b0e2 Initial refactor (routes and utils to respective folders) 2020-03-20 20:13:55 +00:00
Ajay Ramachandran
f6826b60b0
Merge pull request #63 from Joe-Dowd/more-sponsortime-checks
Bug Fix: Don't allow Infinity to be passed into the database as a sponsor time.
2020-03-17 23:50:43 -04:00
Joe Dowd
5bf86ca7bf Don't allow Infinity to be passed into the database as a sponsor time. 2020-03-18 02:25:37 +00:00
Joe Dowd
a8cbc4fbdb Stopped initial DB from being created when missing if config option set to false. Checked for existence of schema files before executing the schema. 2020-03-10 02:10:53 +00:00
Ajay Ramachandran
67bbce0b07
Merge pull request #62 from ajayyy/experimental
Added indexes and mmap to the private db
2020-03-04 15:19:23 -05:00
Ajay Ramachandran
dd2a8b682c Added indexes and mmap to the private db 2020-03-04 15:17:50 -05:00
Ajay Ramachandran
cfba798b89
Merge pull request #61 from ajayyy/experimental
Enable memory mapped IO
2020-03-02 17:57:27 -05:00
Ajay Ramachandran
d226c52630 Enable memory mapped IO 2020-03-02 17:56:00 -05:00
Ajay Ramachandran
202d7eb047
Update README.MD 2020-02-25 22:16:22 -05:00
Ajay Ramachandran
891e5d795f
Merge pull request #60 from ajayyy/experimental
Allow duplicate votes
2020-02-21 18:46:15 -05:00
Ajay Ramachandran
744538eec6 Allow duplicate votes 2020-02-21 18:45:17 -05:00
Joe Dowd
97b2d2d561 Updated config comment to match changed condition for running schema script 2020-02-15 21:02:56 +00:00
Joe Dowd
1900d1ae52 Check config.readonly instead of config.mode as condition to creading tables from schema files 2020-02-15 20:52:33 +00:00
Ajay Ramachandran
3dfeefd174
Update README.MD 2020-02-12 20:35:56 -05:00
Joe Dowd
7acb19756b Create DB form schema on start if config option is set 2020-02-13 00:03:09 +00:00
Ajay Ramachandran
dc4c68903f Made sponsor submission work on POST. 2020-01-28 20:10:47 -05:00
Ajay Ramachandran
2cfe8964f3
Updated API Url 2020-01-28 15:39:08 -05:00
Ajay Ramachandran
402be52681 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into experimental 2020-01-25 12:07:39 -05:00
Ajay Ramachandran
8f12cc527b Fixed missing get 2020-01-25 12:07:20 -05:00
Ajay Ramachandran
0a78310fdd
Merge pull request #57 from ajayyy/experimental
API user count upgrade
2020-01-25 11:58:51 -05:00
Ajay Ramachandran
012f3e695e
Merge pull request #56 from ajayyy/better-sqlite
Switched to Better-Sqlite
2020-01-25 11:58:25 -05:00
Ajay Ramachandran
aad16e2359 API now returns the user count from the download stores. 2020-01-24 22:56:47 -05:00
Ajay Ramachandran
d3998f5d13 Fixed shield user count 2020-01-24 21:56:57 -05:00
Ajay Ramachandran
0b6d2381dc Merge branch 'better-sqlite' of https://github.com/ajayyy/SponsorBlockServer into experimental 2020-01-24 21:51:45 -05:00
Ajay Ramachandran
b5070cf647 Switched to better sqlite 2020-01-24 21:37:16 -05:00
Ajay Ramachandran
97a2aa5015
Merge pull request #55 from ajayyy/experimental
Added WAL mode checkpoint number
2020-01-23 15:05:51 -05:00
Ajay Ramachandran
938cff5381 Now sets the journal mode to wal 2020-01-23 15:02:55 -05:00
Ajay Ramachandran
ca5890e6e3 Added WAL mode checkpoint number 2020-01-23 15:00:20 -05:00
Ajay Ramachandran
b5e569a80d
Merge pull request #54 from ajayyy/experimental
Increased VIP power even more
2019-12-29 21:56:58 -05:00