Commit graph

1146 commits

Author SHA1 Message Date
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
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
Andrew Lee
ee75eea939 Changed interval check 2020-04-25 17:42:33 -04:00
Andrew Lee
ba555c0a7c Syntax fixes to pass tests. 2020-04-25 17:11:44 -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
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
Andrew Lee
35fa384a5b Added automod check with NB 2020-04-19 12:10:39 -04:00
Ajay Ramachandran
6aa4737b6e Fixed one category being empty causing a 404 2020-04-09 15:40:45 -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
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
06de0d61fa Fixed crashes from multiple submissions. 2020-04-06 20:14:50 -04:00
Ajay Ramachandran
557c6ad05a Fixed discord tests 2020-04-06 20:12:12 -04:00
Ajay Ramachandran
9807d3e9c7 Merge 2020-04-06 20:05:26 -04:00
Ajay Ramachandran
f1a7524acf Fixed getIP module import 2020-04-06 17:29:52 -04:00
Ajay Ramachandran
8eca458e38 Added DB checks to tests and fixed getIP using the wrong config 2020-04-06 17:25:20 -04:00
Ajay Ramachandran
67c608e76f Added github actions logging 2020-04-06 16:59:57 -04:00
Ajay Ramachandran
bd2f00d5f7 Added new submission method 2020-04-06 16:43:47 -04:00
Joe-Dowd
819f338c68 Ensured anything in master is implemented 2020-04-02 18:53:02 +01:00
Joe-Dowd
3087e05212 added getHash import for getSavedTimeForUser 2020-04-01 23:29:37 +01:00
Joe-Dowd
30d24de4d3 added http tests 2020-04-01 21:29:13 +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
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