Commit graph

2209 commits

Author SHA1 Message Date
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
Ajay Ramachandran
e868fb4c22 Increased VIP power even more. 2019-12-29 21:55:48 -05:00
Ajay Ramachandran
16d3404476 Merge branch 'experimental' of https://github.com/ajayyy/SponsorBlockServer 2019-12-29 00:25:06 -05:00
Ajay Ramachandran
f156b21ead Updated gitignore 2019-12-29 00:24:51 -05:00
Ajay Ramachandran
daef6ab06b Removed accidental upload 2019-12-29 00:24:19 -05:00
Ajay Ramachandran
2f92efc44b
Merge pull request #53 from ajayyy/experimental
Added post method for view counting and vote endpoints
2019-12-29 00:23:25 -05:00
Ajay Ramachandran
94bb1665a9 Fixed formatting. 2019-12-29 00:22:39 -05:00
Ajay Ramachandran
1d1c30a483 Added post for view counting and vote endpoints. 2019-12-28 23:55:19 -05:00
Ajay Ramachandran
306456c3c7
Merge pull request #52 from ajayyy/experimental
Prevented crash from thumbnail being missing
2019-12-28 23:30:45 -05:00
Ajay Ramachandran
bf56d5c3d7 Prevented crash from thumbnail being missing. 2019-12-28 23:30:10 -05:00
Ajay Ramachandran
6e6795a6f4
Merge pull request #51 from ajayyy/experimental
Prevented overdownvoting
2019-12-28 23:26:32 -05:00
Ajay Ramachandran
befb3f69bd Prevented overdownvoting 2019-12-28 23:25:57 -05:00
Ajay Ramachandran
65d90495eb
Merge pull request #50 from ajayyy/experimental
Fixed discord error
2019-12-28 13:41:31 -05:00
Ajay Ramachandran
8f9d991a6c Fixed discord error. 2019-12-28 13:41:13 -05:00
Ajay Ramachandran
fd6f6d6c9a
Merge pull request #49 from ajayyy/experimental
Made it show votes before and after in the discord message
2019-12-28 11:53:40 -05:00
Ajay Ramachandran
20fbb84118 Made it show votes before and after in the discord message. 2019-12-28 11:53:25 -05:00
Ajay Ramachandran
85fd0254e8
Merge pull request #48 from ajayyy/experimental
Made the discord notification show votes after vote happened
2019-12-28 11:51:43 -05:00
Ajay Ramachandran
1b4c38d82b Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into experimental 2019-12-28 11:50:03 -05:00
Ajay Ramachandran
c20649e14a Made the discord notification show votes after vote happened. 2019-12-28 11:49:51 -05:00
Ajay Ramachandran
e20910c920
Merge pull request #47 from ajayyy/experimental
Discord messages + Increased downvote power
2019-12-28 11:30:39 -05:00
Ajay Ramachandran
efc32f8e3a Improved VIP downvote calculation. 2019-12-28 00:48:11 -05:00
Ajay Ramachandran
d5a679731c Removed notification for first time submission if there is a conflict. 2019-12-28 00:41:33 -05:00
Ajay Ramachandran
95ccaf9478 Increased downvote power and VIP downvote power. 2019-12-28 00:38:22 -05:00
Ajay Ramachandran
50bc218ccd Fixed double downvote issue. 2019-12-28 00:36:03 -05:00
Ajay Ramachandran
765755a041 Added first time submission notifications for discord.
Also updated the downvote notification.
2019-12-28 00:29:14 -05:00