Commit Graph

405 Commits

Author SHA1 Message Date
Ajay Ramachandran
e303405ee0 Check before mkdir 2020-04-30 00:31:42 -04:00
Ajay Ramachandran
5c0062d9df Make directories if needed for the databases 2020-04-29 22:21:15 -04:00
Ajay Ramachandran
bd9a411106 Updated packages 2020-04-29 22:15:31 -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
ad169fd6e7 Added VIP support to category vote 2020-04-29 21:30:07 -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
cb2b0aabf3 Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into new-vote-options
# Conflicts:
#	src/routes/voteOnSponsorTime.js
2020-04-29 19:58:19 -04:00
Ajay Ramachandran
b5fcdea62f Don't upgrade if read only 2020-04-29 19:40:17 -04:00
Ajay Ramachandran
0eec924c02 Made all updates required be performed at once. 2020-04-29 18:31:19 -04:00
Ajay Ramachandran
e27ef39dcf Remove unused function 2020-04-29 18:26:05 -04:00
Ajay Ramachandran
37587fd12a Merge pull request #79 from Joe-Dowd/mod-report-submission
add user history to discord notification on segment reporting
2020-04-29 17:45:56 -04:00
Joe-Dowd
d930853edf review changes 2020-04-29 22:27:38 +01:00
Joe-Dowd
e9e525ec63 fixed formatting 2020-04-28 05:18:54 +01:00
Joe-Dowd
13aee13f18 Improved phrasing of error responses \n removed debug logs 2020-04-28 05:10:55 +01:00
Joe-Dowd
f6df7e5f6f remove testing logs 2020-04-28 05:07:39 +01:00
Joe-Dowd
cfa80be4c7 add user history to discord notification on segment reporting 2020-04-28 05:04:51 +01:00
Ajay Ramachandran
cde51a3059 Only unhide submissions with normal vote 2020-04-27 23:02:29 -04:00
Ajay Ramachandran
d767f2ff6b Added schema upgrade system and started on new vote type 2020-04-27 23:01:51 -04:00
Ajay Ramachandran
74169e6caf Merge pull request #77 from ajayyy/testing
Update master
2020-04-24 13:53:17 -04:00
Ajay Ramachandran
70ca58f98e Merge pull request #76 from Joe-Dowd/bugfix-0durationautomod
Bugfix 0durationautomod
2020-04-24 13:50:58 -04:00
Joe-Dowd
fd397de6b4 allow submission if duration is 0 2020-04-24 18:20:40 +01:00
Joe-Dowd
6cd672f9e6 allow submissions when duration is parsed as 0 2020-04-24 18:11:09 +01:00
Ajay Ramachandran
097e9e446e Merge pull request #75 from ajayyy/experimental
Fixed mocks not responding properly
2020-04-23 13:33:32 -04:00
Ajay Ramachandran
546ded3bdd Fixed mocks not responding properly 2020-04-23 12:48:02 -04:00
Ajay Ramachandran
c60d7ed75e Merge pull request #74 from ajayyy/experimental
Experimental
2020-04-23 12:03:08 -04:00
Ajay Ramachandran
a3b01e4eae Fix test process not dying 2020-04-23 11:58:36 -04:00
Ajay Ramachandran
818c288ba0 Set production mode based on config 2020-04-19 19:47:17 -04:00
Ajay Ramachandran
ad2fe00af0 Fixed database endpoint and getDatsSavedFormatted 2020-04-19 19:39:40 -04:00
Ajay Ramachandran
f8340d770c Fixed capitalization 2020-04-19 19:26:09 -04:00
Ajay Ramachandran
14e21a1009 Fixed wrong database being sent 2020-04-19 19:22:38 -04:00
Ajay Ramachandran
950b8ecb55 Update getDaysSavedFormatted.js 2020-04-19 19:18:24 -04:00
Ajay Ramachandran
5525462f11 Merge pull request #67 from ajayyy/testing
Merge the refactor into master
2020-04-19 18:59:00 -04:00
Ajay Ramachandran
7481b42499 Update README.MD 2020-04-16 20:14:13 -04:00
Ajay Ramachandran
7001fd2ef1 Merge pull request #73 from ajayyy/categories
Category fixes
2020-04-09 15:45:27 -04:00
Ajay Ramachandran
6aa4737b6e Fixed one category being empty causing a 404 2020-04-09 15:40:45 -04:00
Ajay Ramachandran
5eca6016fa Fixed getSkipSegments tests due to removal of JSON body as input 2020-04-09 15:40:27 -04:00
Ajay Ramachandran
585f2a2483 Merge pull request #72 from ajayyy/categories
Categories fixes
2020-04-09 15:33:28 -04:00
Ajay Ramachandran
26b9659140 Switched GET skipSegments to use params instead of JSON.
Body is not supported for GET requests.
2020-04-09 01:19:51 -04:00
Ajay Ramachandran
b2147d42a8 Merge pull request #71 from ajayyy/categories
Categories + Github Actions and Tests Fixes
2020-04-07 14:50:48 -04:00
Ajay Ramachandran
08a76dc420 Added back example config comment 2020-04-07 14:45:47 -04:00
Ajay Ramachandran
f9ec4e37e9 Added another test case for get 2020-04-07 02:41:20 -04:00
Ajay Ramachandran
d331ece0be Added JSON get test cases 2020-04-07 02:39:29 -04:00
Ajay Ramachandran
57cc4f698f Added get sponsor test cases 2020-04-07 02:24:58 -04:00
Ajay Ramachandran
0b4416d9eb Renamed old get method 2020-04-07 02:04:37 -04:00
Ajay Ramachandran
4c9aa11b9a Made old get function use new function 2020-04-07 02:03:02 -04:00
Ajay Ramachandran
3c9380c2a2 Added new segment getting endpoint 2020-04-07 01:54:19 -04:00
Ajay Ramachandran
ca8f571978 Removed extra logging 2020-04-06 20:30:27 -04:00
Ajay Ramachandran
70a39eeea4 Fixed duplicate check code 2020-04-06 20:29:58 -04:00
Ajay Ramachandran
329abfa617 Only delete test db if it exists 2020-04-06 20:26:01 -04:00