Commit graph

2335 commits

Author SHA1 Message Date
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
Andrew Lee
35fa384a5b Added automod check with NB 2020-04-19 12:10:39 -04:00
Andrew Lee
fee0c92280 Ignore .DS_Store 2020-04-18 13:07:38 -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
Ajay Ramachandran
739b59c65d Clear database before running tests 2020-04-06 20:17:49 -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
761fb7dafe Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into categories
# Conflicts:
#	src/routes/submitSponsorTimes.js
#	test/cases/submitSponsorTimes.js
2020-04-06 20:05:09 -04:00
Ajay Ramachandran
5b577eb148
Merge pull request #70 from Joe-Dowd/auto-mod
[WIP] Auto Mode using youtube api
2020-04-06 17:34:19 -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
3a203d249e Added Github actions 2020-04-06 16:46:19 -04:00
Ajay Ramachandran
bd2f00d5f7 Added new submission method 2020-04-06 16:43:47 -04:00
Ajay Ramachandran
b74ca3962b Updated table to include category 2020-04-06 14:05:42 -04:00
Ajay Ramachandran
77f9618e0c
Merge pull request #69 from Joe-Dowd/refactor
&& in npm run dev
2020-04-04 23:40:44 -04:00
Joe-Dowd
e5cd72657e added checks using the youtube api on segment submission 2020-04-04 21:37:17 +01:00
Joe-Dowd
98d754f605 && in npm run dev 2020-04-04 18:41:18 +01:00
Ajay Ramachandran
c2ba3d0ab3
Merge pull request #68 from Joe-Dowd/refactor
nodemon to watch for changes and reload with tests for "npm run dev"
2020-04-04 11:51:52 -04:00
Ajay Ramachandran
d682898828 Removed quotes from echo 2020-04-04 11:41:38 -04:00
Ajay Ramachandran
d94c81ed23 Fixed npm run dev to work on Windows 2020-04-04 11:33:22 -04:00
Ajay Ramachandran
73599be5b8
Improved sentence structure 2020-04-04 11:18:06 -04:00
Joe-Dowd
82ee4cca0f changed npm run dev to work in cmd 2020-04-04 01:15:04 +01:00