Commit Graph

735 Commits

Author SHA1 Message Date
71e9a5a46e Merge pull request #98 from KevinMidboe/strayParser_fix
Updated when parsing for show name allow names with numbers.
v1.0.5
2018-04-06 16:27:42 +02:00
fce6dc7658 Updated when parsing for show name allow names with numbers. 2018-04-06 16:22:58 +02:00
baff59181c Update README.md v1.0.4 2018-04-04 23:22:18 +02:00
490d015f80 Update README.md 2018-03-30 15:31:15 +02:00
f1cc2c4ebe Merge pull request #97 from KevinMidboe/coverage
Added coverage stats with nyc and coveralls
2018-03-22 18:30:12 +01:00
2f4421d9e0 Merge branch 'coverage' of github.com:kevinmidboe/seasonedShows into coverage 2018-03-22 18:25:01 +01:00
92cc094787 Removed old coverage script and updated travis config. 2018-03-22 18:24:42 +01:00
f30b46c384 Update README.md 2018-03-22 17:20:14 +01:00
d9f679603a Command in travis config was doc, not cov. 2018-03-22 17:17:23 +01:00
64bd9d1e14 Added support for travis upload test coverage to coveralls. 2018-03-22 15:09:59 +01:00
721826d454 Re-added request and removed superagent. 2018-03-22 13:24:57 +01:00
242fe3515c Removed and moved some dep to dev. 2018-03-22 13:23:30 +01:00
ccf40d2161 Merge pull request #96 from KevinMidboe/snyk-fix-6de5e99f
[Snyk] Fix for 42 vulnerable dependency paths
2018-03-22 12:59:36 +01:00
832b8ba539 Added license and description to package.json. Also updated packages node packages. 2018-03-22 12:56:04 +01:00
snyk-bot
0477e49eca fix: seasoned_api/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:qs:20170213
- https://snyk.io/vuln/npm:qs:20140806
- https://snyk.io/vuln/npm:qs:20140806-1
- https://snyk.io/vuln/npm:mime:20170907
- https://snyk.io/vuln/npm:mime:20170907
- https://snyk.io/vuln/npm:fresh:20170908
- https://snyk.io/vuln/npm:debug:20170905
- https://snyk.io/vuln/npm:ms:20170412
- https://snyk.io/vuln/npm:qs:20170213
- https://snyk.io/vuln/npm:negotiator:20160616
- https://snyk.io/vuln/npm:ms:20151024
- https://snyk.io/vuln/npm:debug:20170905
- https://snyk.io/vuln/npm:ms:20170412
- https://snyk.io/vuln/npm:ms:20151024
- https://snyk.io/vuln/npm:hoek:20180212

Latest report for kevinmidboe/seasonedshows:seasoned_api/package.json:
https://snyk.io/test/github/kevinmidboe/seasonedshows?targetFile=seasoned_api/package.json
2018-03-22 11:34:42 +00:00
451b67630a Merge pull request #95 from KevinMidboe/docs_testing
Improved testing, more linting and added paging to request/all endpoint
v1.0.3
2018-03-21 23:53:29 +01:00
096bbdf085 Merge branch 'master' into docs_testing 2018-03-21 23:51:31 +01:00
e914e4ab45 Added ORDER BY date that was missing in sql stmt 2018-03-21 23:44:59 +01:00
c1461e1f41 Merge pull request #93 from KevinMidboe/travis
Updated travis to pull submodules
2018-03-21 14:43:36 +01:00
91bf2c1e2a Updated travis to pull submodules 2018-03-21 14:30:26 +01:00
da3df383ed Update gitmodule torrent_search url to be https 2018-03-21 14:29:51 +01:00
9816b978d3 Updated demo on readme 2018-03-21 12:13:57 +01:00
8e22b0f6ea Updated fixtures. v1.0.2 2018-03-20 21:18:11 +01:00
18359f442c Mapped results in tmdb now returns the complete json object so not needed to be created before sent. When getting all requested movies and shows it is now possible to only get one page at a time. 2018-03-20 21:17:41 +01:00
42b8b5ea0e Removed a ) 2018-03-20 20:15:28 +01:00
996295b1fe Removed the id parameter, not used. 2018-03-20 20:14:44 +01:00
1b08c8d3d1 Now when running tests we use a separate config file test.json 2018-03-20 20:14:15 +01:00
9e145f7068 When testing we dont have api access so we create cache entries before each request. The cache key changed so this is now updated in the tests and tmdb. 2018-03-20 20:12:49 +01:00
7051edb212 Added unit tests for testing config file for correct values and if not check the env variables. 2018-03-20 19:25:35 +01:00
0581813ee3 Merge pull request #92 from KevinMidboe/api_filterBug
Fixes api not filtering requests/all query when filtering
v1.0.1
2018-03-20 13:17:17 +01:00
edf1de223e When filtering the request on status the sql query for the db did not sort DESC. 2018-03-20 13:11:26 +01:00
7595b6df25 Update README.md v1.0.0 2018-03-19 17:03:03 +01:00
04ec0e0785 Update README.md
Added snyk badge
2018-03-19 17:02:02 +01:00
b08dc899c3 Update ISSUE_TEMPLATE.md 2018-03-19 16:32:03 +01:00
aafe524681 Merge pull request #90 from KevinMidboe/testing
Testing
2018-03-19 16:28:44 +01:00
40b7ceda5f The name of the teardown.sql file was renamed, reverted to correct name. 2018-03-19 16:23:58 +01:00
8850f06e3e Updated travis config. 2018-03-19 16:15:31 +01:00
972dcf4aab Merge pull request #84 from KevinMidboe/api_request
Api request
2018-03-19 15:46:18 +01:00
8e0eff7120 Merge branch 'master' into api_request 2018-03-19 15:46:07 +01:00
e092eae60a The retrieveHash and changePassword functions now return promises. 2018-03-19 15:43:48 +01:00
424cf0985d Added test for registering when user is already registered. 2018-03-19 15:43:00 +01:00
ed5d302820 Stricter when running test, now we wait until resetdatabase and createuser are done in in the before function before running the tests. 2018-03-19 15:27:11 +01:00
559ef1bc11 Before we create a db instance we check for testing flag is set and then use the :MEMORY: database for a anonymous db instance. 2018-03-19 15:25:53 +01:00
9645fba4ef Removed connect, connection is now a new sqlite instance, async run function, check for errors when executing and setup and teardown now return promises. 2018-03-19 15:24:42 +01:00
e27d5c7084 We use the db instance globally with establisheddatabase. 2018-03-19 15:23:54 +01:00
4ab3946181 Added testing variable, this uses :MEMORY: database when running tests. 2018-03-19 15:22:33 +01:00
3a508b9843 Because we sort requests by date we want to use a finer measurement of time to sort more correctly. 2018-03-09 13:37:23 +01:00
d8078570eb Changed the sort order when selecting all from requests. 2018-03-09 13:36:01 +01:00
47b499c072 Jackett sometimes returns a link to self that redirects to a magnet. The response is now parsed for if it is a link and gets the url it redirects to. 2018-03-08 16:35:17 +01:00
a69e2d9bbb Merge pull request #88 from KevinMidboe/submodules
Submodules
2018-03-08 14:31:21 +01:00