Commit Graph

274 Commits

Author SHA1 Message Date
Andrew Lee
ba555c0a7c Syntax fixes to pass tests. 2020-04-25 17:11:44 -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
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
Joe-Dowd
870b80998e updated the readme 2020-04-04 00:19:28 +01:00
Joe-Dowd
2f9f4c2bc0 Added nodemon to watch for changed and reload with tests for "npm run dev" 2020-04-03 22:25:11 +01:00
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