Commit Graph

360 Commits

Author SHA1 Message Date
5b110b9d82 This is the main router for index page, routes to searchRequest and admin pages. 2017-10-06 11:57:22 +02:00
1633be1276 Added 404 page when a request does not match any routes. 2017-10-06 11:56:22 +02:00
6d5c1e8d6d File that holds functions for retriveing and saving cookie data. 2017-10-06 11:55:20 +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
da83b73732 Added a parent_input that can be used for constructing the move path to a different path than the destination path. Also moved from using os.move to shutil.move for cross filesystem support. Also removed owner renaming. 2017-10-04 14:07:23 +02:00
d9d8d6ab58 Merge pull request #39 from KevinMidboe/feature/api_request
Feature/api request
2017-10-03 16:28:39 +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
8908e36e89 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-09-27 21:55:33 +02:00
33aefef362 This was for some reason removed, now added again. 2017-09-27 21:55:21 +02:00
cee27fd9d2 Merge pull request #38 from KevinMidboe/bugfix/infolinkForShows
Added a check for the type and then change the info link to end with … #35
2017-09-27 20:43:54 +02:00
2bacc54687 Added a check for the type and then change the info link to end with either movie or tv. 2017-09-27 20:41:49 +02:00
850401fd7a Merge pull request #37 from KevinMidboe/feature/getRequested
Feature/get requested
2017-09-27 17:58:16 +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
f1f407c71c Merge pull request #36 from KevinMidboe/feature/authentication
Feature/authentication
2017-09-27 16:30:05 +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
a14d9e5ec6 Merge pull request #34 from KevinMidboe/update/frontend_logic
Update/frontend logic
2017-09-27 14:00:29 +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
6b3fe8c46f Merge pull request #33 from KevinMidboe/update/frontend_logic
Update/frontend logic
2017-09-27 00:47:25 +02:00
98dafe56c4 Merge branch 'master' into update/frontend_logic 2017-09-27 00:45:49 +02:00
44d8dbfe0c Updated gitignore to include yarn.locks. 2017-09-27 00:30:51 +02:00
6d0a91dc93 Changed the default filter values to be multi until a filter selector is implemented. 2017-09-27 00:29:28 +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
6bd1b29d5e Changed the font size of the header, space between the search bar and result content. Also changed so that the font size in the search bar is large enough to not zoom on ios because of smaller than standard font size. 2017-09-27 00:19:19 +02:00
86c479de15 Changed so that the output is split in two idependent mediaQuery items at the second most parent. This is a lazy way to controll all elements of when resizing to a smaller screen. 2017-09-27 00:18:06 +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
1321671840 Added infinite-scroller, notify-toast, urijs. Also burger-menu for later support for selecting discover lists. 2017-09-26 20:40:11 +02:00
1af9368a6c Updated stylesheets to reflect changes to request and movieObject pages. 2017-09-26 20:38:13 +02:00
5341e940c6 Added viewport width to header of main index.html page. 2017-09-26 20:37:24 +02:00
30226af6f6 Lots of style changes done to look neater. Now when scrolled to bottom of the page it fetches more items from the api. 2017-09-26 20:36:37 +02:00
b2f9d6f5f5 Added rating and background to the class constructor. Added type variable to url when requesting a movie/show and added a notification agent. Now this page is also updated to support mobile formatting, when tilted it shows the background image instead of poster image. 2017-09-26 20:34:54 +02:00
6b4daf140a Change a grammar error 2017-09-21 16:58:44 +02:00
a5d270967e Merge pull request #31 from KevinMidboe/fix/seasonedApiSearch
Fix/seasoned api search
2017-09-21 16:39:00 +02:00