|
|
d2d396bb7a
|
Set cache TTL for credits to 1 day
|
2019-11-03 15:07:11 +01:00 |
|
|
|
500b75eaf6
|
We know there could be a 401 response so we handle it
|
2019-11-03 15:04:14 +01:00 |
|
|
|
9308d4ea9b
|
Credits endpoint for movies
|
2019-11-03 15:02:45 +01:00 |
|
|
|
6c2c81a1a1
|
Updated movieInfo controller to also handle requesting release_dates as query parameter
|
2019-10-04 22:36:39 +02:00 |
|
|
|
90aa4d2485
|
Rewrote the movie & show list controller to be more abstract and easier to extend later
|
2019-10-04 21:21:52 +02:00 |
|
|
|
0ca3f81bf8
|
listController first defines all async functions as constant variables then module exports them all as a dict
|
2019-10-04 20:55:39 +02:00 |
|
|
|
b9831c6b3d
|
Forgot to reasing variables after copy-pasting them in convertTmdbToMovie
|
2019-10-04 20:37:06 +02:00 |
|
|
|
8e23ae5a27
|
Added babel for ES6 functionality. In this case the new import statements
|
2019-07-27 01:28:41 +02:00 |
|
|
|
04ba094a14
|
Throw more errors and cleanup some unmerged code
|
2019-07-26 21:55:59 +02:00 |
|
|
|
23f9911237
|
Throw errors when failing to create user
|
2019-07-26 21:54:13 +02:00 |
|
|
|
3b27af1f83
|
Error handling for themoviedb api response codes that are not 200. Started with 401 and 404. See issue #116 for info.
|
2019-07-26 21:52:20 +02:00 |
|
|
|
c42195d242
|
Removed swap file
|
2019-07-25 00:53:40 +02:00 |
|
|
|
a5aaf1bfca
|
Merge branch 'api/v2' of github.com:KevinMidboe/seasonedShows into api/v2
|
2019-07-25 00:53:16 +02:00 |
|
|
|
af7b1f2424
|
Script for updating all requested and downloading request status to downloaded if exist in plex
|
2019-07-25 00:48:16 +02:00 |
|
|
|
6aba9774c6
|
When requesting all request elements we now also return the page as int not string
|
2019-07-25 00:47:17 +02:00 |
|
|
|
e19cfb5870
|
Updated formatting
|
2019-07-25 00:24:04 +02:00 |
|
|
|
144b27f128
|
Renamed token variable from user to username
|
2019-07-25 00:23:32 +02:00 |
|
|
|
12afbf6364
|
Tokens can also have a admin property. When admin is defined its included in the jwt token.
|
2019-07-25 00:13:28 +02:00 |
|
|
|
8a5ab204e1
|
Change node bcrypt package from bcrypt-nodejs to bcrypt. Change response message on invalid username/pass and changed to bcrypt syntax for compare and hash.
|
2019-07-24 23:02:06 +02:00 |
|
|
|
3f04d9bc56
|
Update script for updating all plex statuses of requestes.
|
2019-07-24 23:02:06 +02:00 |
|
|
|
de50805d1e
|
Handle both status code 301 and 302 from jackett
|
2019-07-15 18:16:46 +02:00 |
|
|
|
3a9131a022
|
Removed, commented and added comments
|
2019-07-02 23:53:26 +02:00 |
|
|
|
77433e8505
|
Query of plex search is now encoded
|
2019-07-02 23:53:08 +02:00 |
|
|
|
3845000b3f
|
Allow filtering for requested items by status
|
2019-06-28 23:32:11 +02:00 |
|
|
|
071fd54825
|
Pages for requests are only calulated for items not yet downloaded and use ceil isteadof floor to get last items on a page
|
2019-06-28 22:51:09 +02:00 |
|
|
|
d3bc854e03
|
Pirate repository has relative and use virtuale python when running python commands
|
2019-06-28 22:44:39 +02:00 |
|
|
|
15826a00ba
|
plexRepo now using class instance plexIp address
|
2019-06-28 22:42:11 +02:00 |
|
|
|
91dcfaccb9
|
Rewrote posting request controller to handle body parameters and use new requestsRepository function istead of plexRepository functions
|
2019-06-28 22:31:52 +02:00 |
|
|
|
270a259cee
|
Request list also gets and returns total pages
|
2019-06-28 21:51:43 +02:00 |
|
|
|
162d20ae52
|
Submitting requests now use requests repository
|
2019-06-28 21:51:11 +02:00 |
|
|
|
9f1badc1b1
|
Get a request item by id and type
|
2019-06-28 19:21:54 +02:00 |
|
|
|
ac027a97d6
|
Added pagination and removed sort & filtering for requested items
|
2019-06-28 18:50:30 +02:00 |
|
|
|
127db88ded
|
Renamed function name and comment to make for sense. Also deconstruct page from query
|
2019-06-28 18:45:53 +02:00 |
|
|
|
4b07434615
|
Imported configuration with incorrect name
|
2019-06-05 00:05:54 +02:00 |
|
|
|
5d6f2baa34
|
plex hook should have post not get
|
2019-06-05 00:00:31 +02:00 |
|
|
|
1a1a7328a3
|
Map results with total_results before returing. TODO this should be mapped with all wanted list return vars
|
2019-06-04 23:54:39 +02:00 |
|
|
|
b9dec2344e
|
Added timeout to plex requests and include error in error message when unable to search
|
2019-06-04 23:53:54 +02:00 |
|
|
|
476a34fb69
|
Changed the order of execution between getting tmdb movie and searching plex for it. Now we await tmdb movie and then check if exists in plex. This is better when we miss plex request
|
2019-06-04 23:47:10 +02:00 |
|
|
|
e3ed08e8dd
|
Now a plex ip address is dynamically passed into the plexrepository, fetched from the config
|
2019-06-04 23:45:22 +02:00 |
|
|
|
70f6497404
|
All converter function from tmdb to movie, show and person takes optional cast object and maps to response
|
2019-06-04 23:35:21 +02:00 |
|
|
|
99bab3fb73
|
Movie and show can also return credits for a item. Enabled by query parameter credits=true
|
2019-06-04 23:32:38 +02:00 |
|
|
|
e6796aff8b
|
Hotfix 🧯 for returning new poster object variable
|
2019-06-04 21:41:10 +02:00 |
|
|
|
784aa2616a
|
Fetchall gets docstring
|
2018-11-12 01:20:18 +01:00 |
|
|
|
7cb55ce054
|
Fetchall uses promises smarter. Now the utils functions also return promises to be able to nicely chain the steps a request needs to go through. Promise all lets us wait for all items return in the map function. Without the map function would return immidiately and resolve before the map operation completed.
|
2018-11-10 20:26:28 +01:00 |
|
|
|
840816c930
|
request returns all requested items. Optional sort, query and filter params.
|
2018-11-10 01:50:24 +01:00 |
|
|
|
91d238de7c
|
Request id is now passed as body param. Database default timestamp value changed to epoch time.
|
2018-11-09 22:13:00 +01:00 |
|
|
|
e64c4d5d01
|
Lists are now reachable by movie or show / listname. Endpoints added & removed outdated comments.
|
2018-11-01 00:17:51 +01:00 |
|
|
|
22e57c03de
|
Controller for movie and shows. Each have multiple small export functions; one for each list search type
|
2018-11-01 00:16:56 +01:00 |
|
|
|
d80386da40
|
Implementing lists lookups for movie and shows. Add new cachetags for the lists & created a helper function for returning response with convertFunction as parameter.
|
2018-11-01 00:15:49 +01:00 |
|
|
|
4250b1bd17
|
request endpoint finds type by body not query. Better error handling on what goes wrong if incorrect type or missing body parameter.
|
2018-10-30 20:34:26 +01:00 |
|