|
|
7e46d32e30
|
More unit tests for checking correct definition of movie. Changed some test to match update functions in tmdb.
|
2018-10-30 20:32:55 +01:00 |
|
|
|
5a48158f07
|
Request now happens at /request with id parameter and query for type selection. Only allows movie or show type and is static set in the controller. AddRequest adds tmdb item to database with time of request.
|
2018-10-30 19:20:52 +01:00 |
|
|
|
161a466ab7
|
Rewrote how local plex library is indexed and what it returns. After searching plex the response is separated into three classes by types (movie, show & episode). Plex also has a function for inputing a (tmdb)movie object and searching for matches of name & type in plex. If a match the object matchedInPlex variable is set to true.
|
2018-10-29 21:01:16 +01:00 |
|
|
|
8f5bd44e4d
|
Added endpoint for new plex search.
|
2018-10-29 20:57:22 +01:00 |
|
|
|
5d8869e042
|
Rewrote every function for searching and looking up items from tmdb library. Now there are separate functions for the four categories of search and three for info (multi, movie, show & person). Each function now has its own endpoint and matching controller. Converting tmdb results into a class has been alterted from using three classes; movie, show & person, and each have each their own convertTmdbTo function. Now the structure of the three types are more structured and no longer a single "seasoned" class object.
|
2018-10-29 20:55:18 +01:00 |
|
|
|
90b8ee005e
|
Changed moviedb package to my own fork of it. The old package had vulnerabilities and needed updating.
|
2018-10-29 20:49:21 +01:00 |
|
|
|
1b0525063f
|
New parameter in config and added axios package for new plex connect command.
|
2018-10-29 20:47:57 +01:00 |
|
|
|
41d6bba743
|
v2 endpoints added for clearer intent in endpoints. Two new controller categories; info and search.
|
2018-10-28 12:21:47 +01:00 |
|
|
|
bc64e69b3e
|
Fixed syntax error.
|
2018-08-13 00:01:51 +02:00 |
|
|
|
a29bca7361
|
Controller now expects three parameters for posting to addMagnet; magnet, name and tmdb_id.
|
2018-08-12 23:59:26 +02:00 |
|
|
|
48ebd398bc
|
Changed name values of tables.
|
2018-08-12 23:50:07 +02:00 |
|
|
|
bfe0d55f71
|
Excetion node-pre-gyp failed for version check for sqlite3. The package was set to static version and needed a patch because of errors caused by newer versions of node.
|
2018-07-28 17:51:59 +02:00 |
|
|
|
0a1276a474
|
Merge pull request #105 from KevinMidboe/plex_api_update
Plex api update
|
2018-07-28 16:17:33 +02:00 |
|
|
|
3a34d8995e
|
Merge pull request #104 from KevinMidboe/misc
Misc
|
2018-07-28 16:15:18 +02:00 |
|
|
|
7dd016a56e
|
Changed the python run variable for stray eps.
|
2018-07-28 16:05:22 +02:00 |
|
|
|
c10bbcf518
|
Added update function to package.json fole.
|
2018-07-28 15:58:02 +02:00 |
|
|
|
86e9188a5c
|
The api from plex has changed. This reflects the changes from Video to metadata in the api url.
|
2018-07-28 10:46:25 +02:00 |
|
|
|
7e028a461d
|
Merge branch 'master' of github.com:KevinMidboe/seasonedShows into HEAD
|
2018-05-13 19:21:14 +02:00 |
|
|
|
d02e79e59e
|
Merge pull request #100 from KevinMidboe/linting
Linting
|
2018-05-09 11:00:02 +02:00 |
|
|
|
5b49216c9d
|
Fixed linting issues for json objects and tailing semicolon.
|
2018-05-09 10:52:08 +02:00 |
|
|
|
657ab10034
|
Removed unused comments.
|
2018-05-06 18:36:26 +02:00 |
|
|
|
ed07c77b13
|
Updated files with tripple === and some linting issues.
|
2018-05-06 18:23:29 +02:00 |
|
|
|
4fe85d9fae
|
Change the ordering of user requests to be newest-first.
|
2018-05-06 18:15:54 +02:00 |
|
|
|
64ede43dec
|
Added custom rule for object-shorthand and comma-dangle.
|
2018-04-08 11:58:16 +02:00 |
|
|
|
0592cca16b
|
Updated string_decoder.
|
2018-04-04 23:08:00 +02:00 |
|
|
|
e4d5f5085c
|
Updated yarn lockfile.
|
2018-04-04 14:41:01 +02:00 |
|
|
|
92cc094787
|
Removed old coverage script and updated travis config.
|
2018-03-22 18:24:42 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
8e22b0f6ea
|
Updated fixtures.
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|