|
|
d9a22f506e
|
When posting a request, the type is also added to the database.
|
2017-10-06 15:38:22 +02:00 |
|
|
|
307a8352a3
|
Now takes both id and type because there is two different sets of id pools, and need to select the corrent one.
|
2017-10-06 15:37:09 +02:00 |
|
|
|
3c372aab92
|
Added returnstatement to updateRequestedById and fixed the sql query.
|
2017-10-06 15:19:08 +02:00 |
|
|
|
650c2603e4
|
Changed the input path of requestRepo
|
2017-10-06 15:16:45 +02:00 |
|
|
|
fb479e7a37
|
Renamed function in requestRepo to updateRequestedById
|
2017-10-06 15:14:31 +02:00 |
|
|
|
ac38dacedd
|
Changed database table name.
|
2017-10-06 15:04:50 +02:00 |
|
|
|
f54bd0f743
|
Added a function for updating the status from a given id in requests database.
|
2017-10-06 15:04:18 +02:00 |
|
|
|
61c242b5eb
|
Passes the id from request parameter and status we want to change to from the request body.
|
2017-10-06 15:03:47 +02:00 |
|
|
|
51d446f378
|
Added endpoint for updating a requested item.
|
2017-10-06 15:02:44 +02:00 |
|
|
|
f8ff71bcff
|
Removed a no longer used ip address for allowed origins.
|
2017-10-06 12:14:05 +02:00 |
|
|
|
7e27e19a0d
|
Added more strict header allowence and was a error where endpoints for user was not using router, but app.
|
2017-10-06 12:12:21 +02:00 |
|
|
|
5e50d52344
|
Now gitignore is working for new prefs.
|
2017-10-04 14:25:05 +02:00 |
|
|
|
26c1bda3df
|
Now when calling moveSeason python script, the python version used is python3.
|
2017-10-04 14:18:42 +02:00 |
|
|
|
5fbedeb4b2
|
Misspelled User-Agent, when should have been user-agent.
|
2017-10-03 16:26:03 +02:00 |
|
|
|
455bf565b2
|
Moved the ? marker in the sql query to the end of the statement.
|
2017-10-03 16:19:55 +02:00 |
|
|
|
a819a4bbf3
|
Now passes the user agent that is making the post request (requesting content) so it can be saved in the db.
|
2017-10-03 16:11:15 +02:00 |
|
|
|
f50e0b2a59
|
Added user_agent to be passed to and saved in db when a request is made.
|
2017-10-03 16:10:27 +02:00 |
|
|
|
9d2c7c4c2f
|
Added variable for status for database request query.
|
2017-10-03 16:01:28 +02:00 |
|
|
|
a8166bcad9
|
Removed unused console.
|
2017-09-27 17:56:36 +02:00 |
|
|
|
149b05ef28
|
Calling function for fetching all the requested items.
|
2017-09-27 17:55:07 +02:00 |
|
|
|
e43bcbdd52
|
Added endpoint for getting all requests.
|
2017-09-27 17:54:34 +02:00 |
|
|
|
509759bca8
|
Added a function in requestRepo to fetch out all the requested items. And a sql statement to do so.
|
2017-09-27 17:54:01 +02:00 |
|
|
|
bab4af08d9
|
Added the use of tokenToUser so that it is verified that a valid token is in the request header when doing actions that need login verification.
|
2017-09-27 16:27:05 +02:00 |
|
|
|
a3de70e2da
|
Created a middleware for requests that checks for a token in the Authentication field in the header and verifies that the token is valid for a user.
|
2017-09-27 16:25:54 +02:00 |
|
|
|
698d2d6072
|
Created endpoints for user tasks like login, register and a test endpoint history. A test for checking that session token works as expected.
|
2017-09-27 16:19:02 +02:00 |
|
|
|
6ec6c7f9cb
|
Added token, user, userRepository and userSecurity in user folder. This handles creating new users, loging in and creating a user specific token then returning it when logging in.
|
2017-09-27 16:15:28 +02:00 |
|
|
|
72654fd465
|
Added searchHistory for adding a logged in users history trace. (More like a test function of the page)
|
2017-09-27 16:13:39 +02:00 |
|
|
|
f4aee549be
|
Added bcrypt and jsonwebtoken to package list
|
2017-09-27 16:12:20 +02:00 |
|
|
|
bb6dd1ad59
|
Added middleware for authentiaction, endpoints for a user and import for token handling.
|
2017-09-27 14:02:59 +02:00 |
|
|
|
5ceb19f449
|
Merge branch 'update/frontend_logic' of github.com:kevinmidboe/seasonedShows into update/frontend_logic
|
2017-09-27 13:51:07 +02:00 |
|
|
|
8b5b8bb0b7
|
Reduced the filter values to return more results.
|
2017-09-27 13:49:49 +02:00 |
|
|
|
98dafe56c4
|
Merge branch 'master' into update/frontend_logic
|
2017-09-27 00:45:49 +02:00 |
|
|
|
8014f01766
|
Added stricter handling for selecting what mediaType to convert to when searching tmdb and converting to seasoned object.
|
2017-09-27 00:28:41 +02:00 |
|
|
|
d787fba024
|
Changed a smellingerror (reponse -> response). Also now pass the type of the search request when converting to seasoned object. Fixed issue where number_of_items_on_page was not set to the length of the list.
|
2017-09-27 00:22:22 +02:00 |
|
|
|
daa9a7749e
|
Now also the ip address is passed to the sendRequest function in requestRepository so that the requesters ip address can be logged in the database.
|
2017-09-26 20:43:56 +02:00 |
|
|
|
d47f2bf757
|
Added support for database operations. Now when requesting a item, it is saved to a database and sends a email from pi.midboe account.
|
2017-09-26 20:42:49 +02:00 |
|
|
|
6f54a61223
|
Removed a extra / that was in the posterURL
|
2017-09-26 20:41:25 +02:00 |
|
|
|
6b4daf140a
|
Change a grammar error
|
2017-09-21 16:58:44 +02:00 |
|
|
|
e281e73293
|
Now the type is checked and passed to convertTmdbToSeasoned if it is movie or show and not multiwq
|
2017-09-21 16:37:53 +02:00 |
|
|
|
743c132aef
|
If a strict type is passed to convertTmdbToSeasoned than this is now used to set the type of objects to be made.
|
2017-09-21 16:37:10 +02:00 |
|
|
|
4c2982293b
|
Merge pull request #29 from KevinMidboe/searchRequest
Search request
|
2017-09-20 10:49:27 +02:00 |
|
|
|
ae66e9a684
|
Changed variable name from movie to searchResult and now checks if the result list in the return JSON object is empty before sending a result back to client.
|
2017-09-20 10:25:01 +02:00 |
|
|
|
2d465d841e
|
Before when doing a request search we had a lot of promisses and loops within one-another, now it's more split so easier to read and better error handling if something goes wrong when looking up either in plex or tmdb api.
|
2017-09-20 10:23:36 +02:00 |
|
|
|
72d50209a5
|
Rewrote the search function in tmdb to now return a JSON object with results: (all movie/show objects), number_of_items: (count of result objects), page and total page. Split up the filtering and converting of the result from tmdb api to finished seasoned objects for better readability.
|
2017-09-20 10:21:57 +02:00 |
|
|
|
fae3fcc74c
|
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
|
2017-09-12 20:15:41 +02:00 |
|
|
|
12835d4ed5
|
Changed the location of moveseasoned app script.
|
2017-09-12 20:15:20 +02:00 |
|
|
|
eb2de340a3
|
Added variables for audioProfile, videoProfile, duration and container for a playback.
|
2017-09-07 23:52:05 +02:00 |
|
|
|
0370f051bc
|
Changed the error message returned if something goes wrong when fetching playing
|
2017-09-07 23:51:22 +02:00 |
|
|
|
3eb2bbe54e
|
Removed a console log
|
2017-09-07 23:49:21 +02:00 |
|
|
|
a8c6850863
|
For some reason this was player info, but it is now been replaced with all the variables specific for mediaInfo
|
2017-09-07 23:48:06 +02:00 |
|