Commit Graph

  • 743c132aef If a strict type is passed to convertTmdbToSeasoned than this is now used to set the type of objects to be made. Kevin Midboe 2017-09-21 16:37:10 +02:00
  • b219242787 Added infinate scroll to lists also. KevinMidboe 2017-09-21 15:04:53 +02:00
  • 00d000b8f8 Started working in the infinate scroll so it loads the next page when visible on page. This commit was under_development bugs as of now. KevinMidboe 2017-09-21 15:03:33 +02:00
  • c79d5dbc6e Also rewrote the funtionality for fetching lists from tmdb. It is now done in a similar fashion as searching requests, but with its own error handling and messaging. KevinMidboe 2017-09-21 15:01:51 +02:00
  • 372ec1b241 Rewrote most of how api calls are made when searching for a movie and how the returning data is handled. We now have finer handling of status response from the original api call aswell as if any of the functions hit a error e.g. not hitting the server, than we have our own errors thrown. Also updated the page incrementers to updated the last api call with a higher or lower number. KevinMidboe 2017-09-21 14:36:41 +02:00
  • 4c2982293b Merge pull request #29 from KevinMidboe/searchRequest Kevin 2017-09-20 10:49:27 +02:00
  • 072f0cca93 Forgot to append the tmdb endpoint to the baseurl in searchRequest #29 KevinMidboe 2017-09-20 10:46:10 +02:00
  • acd0a1782d Changed the links from localhost to the correct global url KevinMidboe 2017-09-20 10:38:10 +02:00
  • d9dd7ec153 It is now expected to get a JSON object were the items we want to display are listed in results object within, this is now reflected in the client by iterating over data.results not just data. KevinMidboe 2017-09-20 10:26:30 +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. KevinMidboe 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. KevinMidboe 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. KevinMidboe 2017-09-20 10:21:57 +02:00
  • fae3fcc74c Merge branch 'master' of github.com:KevinMidboe/seasonedShows Kevin Midboe 2017-09-12 20:15:41 +02:00
  • 12835d4ed5 Changed the location of moveseasoned app script. Kevin Midboe 2017-09-12 20:15:20 +02:00
  • c187ce7515 Merge pull request #26 from KevinMidboe/client_features Kevin 2017-09-12 14:40:46 +02:00
  • 4fa32440af Now we can fetch lists for discover, popular, now playing and upcoming with optional tv_show and movie filter options. #26 KevinMidboe 2017-09-12 14:39:32 +02:00
  • cf90616ec9 Set theme jekyll-theme-cayman Kevin 2017-09-08 20:22:54 +02:00
  • 895d52b41a Set theme jekyll-theme-cayman Kevin 2017-09-08 20:22:53 +02:00
  • d26f4b0531 Set theme jekyll-theme-cayman Kevin 2017-09-08 20:21:56 +02:00
  • d347a2bbfe Merge pull request #25 from KevinMidboe/documentation Kevin 2017-09-08 12:49:49 +02:00
  • 8e894b3dfb Merge pull request #23 from KevinMidboe/bugfix_api/plex/playing Kevin 2017-09-07 23:57:41 +02:00
  • fa3d56c4e5 Merge pull request #22 from KevinMidboe/client_features Kevin 2017-09-07 23:56:02 +02:00
  • eb2de340a3 Added variables for audioProfile, videoProfile, duration and container for a playback. #23 KevinMidboe 2017-09-07 23:52:05 +02:00
  • 0370f051bc Changed the error message returned if something goes wrong when fetching playing KevinMidboe 2017-09-07 23:51:22 +02:00
  • 3eb2bbe54e Removed a console log KevinMidboe 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 KevinMidboe 2017-09-07 23:48:06 +02:00
  • cd52d295b0 Now both Media and Media.Part in the JSON object about a stream is a list and need to index the first element of the stream to get this info. KevinMidboe 2017-09-07 23:47:11 +02:00
  • e9c0e5bfa6 Removed extra space under header #25 KevinMidboe 2017-09-04 13:45:18 +02:00
  • fcf6b324c9 Moved the pitch sentence down under the header KevinMidboe 2017-09-04 13:44:34 +02:00
  • 231b70c226 Added what the different parts of seasoned does, that is external, api and services. KevinMidboe 2017-09-04 13:43:31 +02:00
  • 28d0b63960 Added TODO and a output of what is requested in the router #22 KevinMidboe 2017-09-03 18:17:07 +02:00
  • 9eb31ea433 Added type input to the sendRequest function. KevinMidboe 2017-09-03 18:16:26 +02:00
  • 2b7f9551bf Moved styles from serachRequest to a seapate file in ./styles KevinMidboe 2017-09-03 17:34:45 +02:00
  • 6a4e2bc2ab Moved all styling to a separate file in ./style KevinMidboe 2017-09-03 17:29:51 +02:00
  • 850452db78 Removed unnesessary this.id when calling function, this is already a object, don't need to pass itself. KevinMidboe 2017-09-03 17:07:53 +02:00
  • 7a1f709d90 Small changed that first checks if the variable is undefined or not and then length KevinMidboe 2017-09-03 17:06:19 +02:00
  • e81f5c8057 Added functions for discover, upcoming, nowplaying, popular and similar. Also documented better and some finer error handling with more logical responses. KevinMidboe 2017-09-03 17:04:59 +02:00
  • 789ed77ab6 Now the type of object being passed can be set by strictType variable. The type is then set before creating a movie or show object item. KevinMidboe 2017-09-03 17:03:31 +02:00
  • 2dc22b386d Added endpoints for discover media (either movie or show), getUpcoming movies, nowPlaying (movies or shows), popular (movie or show) and search similar where the type movie/show must be defined KevinMidboe 2017-09-03 17:02:02 +02:00
  • 3e12cf10fb Updated tmdb to use the new endpoints KevinMidboe 2017-09-03 16:59:52 +02:00
  • c64f6a861e Merge branch 'master' of github.com:kevinmidboe/seasonedShows into client_features KevinMidboe 2017-09-02 23:16:46 +02:00
  • 70b284380f Removed unused console.log KevinMidboe 2017-09-02 23:16:24 +02:00
  • e33e7d8dc7 Removed unsued imports. KevinMidboe 2017-09-02 23:15:30 +02:00
  • a5bb42f175 Merge pull request #20 from KevinMidboe/api_bugfixing Kevin 2017-09-02 22:54:09 +02:00
  • dacd44a8f5 Changed the value of the filter to be vote_count >= 80 or popularity > 18 #20 KevinMidboe 2017-09-02 22:53:04 +02:00
  • 84a897da6e Added popularity and vote_count to movie and show object and added a new check for name and title of movie KevinMidboe 2017-09-02 22:51:49 +02:00
  • d5479be563 Merge pull request #19 from KevinMidboe/api_bugfixing Kevin 2017-09-02 21:15:36 +02:00
  • 849bc4aa5e Merge pull request #18 from KevinMidboe/app_style_update Kevin 2017-09-02 21:13:43 +02:00
  • 17dd66e9ac Fixed a bug where if a seach query did not pass anything back when checking existance in plex, then you would get a 404 message. #19 KevinMidboe 2017-09-02 21:12:38 +02:00
  • 8149c8f732 Added date_added for plex added date. KevinMidboe 2017-09-02 20:50:19 +02:00
  • 8652a0ee0f Rewrote for more general use. KevinMidboe 2017-09-02 20:49:50 +02:00
  • 101dc7d570 Changed the filter cutoff to be based on, if the show/movie has popularity over 2, vote_count over 20 and has a defined release_date/first_air_date. Also changed so that it now uses the new convertTmdbToSeaonsed insted of the old (convertTmdbToMovie) KevinMidboe 2017-09-02 20:49:09 +02:00
  • 3bf646483d Renamed file. Now converts to both movie and show. Also added more data that is saved to the object. KevinMidboe 2017-09-02 18:13:51 +02:00
  • 622e89ea50 Changed import name from convertPlexToMovie -> convertPlexToSeasoned and changed from map function to reduce to be able to filter only movies and shows to be parsed. KevinMidboe 2017-09-02 18:13:08 +02:00
  • b4a005da42 Changed the name of convertPlexToMovie -> convertPlexToSeasoned KevinMidboe 2017-09-02 18:11:59 +02:00
  • 1a858d09bb Created a new shows class that only holds relevant information for shows. KevinMidboe 2017-09-02 18:10:16 +02:00
  • a4fe5cc635 Made this a singular movie object that now only holds relevant information for movies. KevinMidboe 2017-09-02 18:09:43 +02:00
  • a82dc1ae78 Added requestRep again KevinMidboe 2017-09-02 16:36:54 +02:00
  • ebe09390d2 Removed unused css loaders #18 KevinMidboe 2017-09-02 16:32:57 +02:00
  • d4fdf6bdcf Updated babel node packages KevinMidboe 2017-09-02 16:32:35 +02:00
  • 72c4a43d2e Also has a lot of inline css, but not the search type buttons have function, but not feedback. KevinMidboe 2017-09-02 16:30:42 +02:00
  • d77a4c6d9e Now it is a little messy with lots of css inline, but will clean and comment. Has now a working UI, needs more 404 handling of items. KevinMidboe 2017-09-02 16:30:02 +02:00
  • e33840f1db Commented out unused elements. KevinMidboe 2017-09-02 16:03:43 +02:00
  • bd3d8f385b Added link to font-awesome and google font api. Also set the margin: 0 for body. KevinMidboe 2017-08-31 13:16:06 +02:00
  • 5706c02a5d Updated much of the surrounding styling for the request page, still need to ble cleaned. KevinMidboe 2017-08-31 13:14:57 +02:00
  • ee019f5674 Now with new styling, still need to do cleanup, but added a big bulk of the grutt. KevinMidboe 2017-08-31 13:13:50 +02:00
  • 56405e54f9 Downgraded from sqlite3 to sqlite because of connection function error. Kevin Midboe 2017-08-23 10:26:23 +02:00
  • daa1915203 Merge pull request #17 from KevinMidboe/filestructure_cleanup Kevin 2017-08-14 22:50:27 +02:00
  • ea97a0b4af Moved all python related scripts to app directory #17 KevinMidboe 2017-08-14 22:42:48 +02:00
  • d2bed84ecb Moved conf folder to seasoned_api KevinMidboe 2017-08-14 22:42:24 +02:00
  • b8d01fcf1c Changed filename for moveSeasoned to include dir KevinMidboe 2017-08-14 22:33:28 +02:00
  • 47aa638fd8 Moved eveything related to the api to a seperate folder seasoned_api. KevinMidboe 2017-08-06 16:45:02 +02:00
  • f53ab55d96 Merge pull request #16 from KevinMidboe/request_ui Kevin 2017-08-06 09:26:22 +02:00
  • 20a7cb0ba1 Added yarn lock files #16 KevinMidboe 2017-08-06 09:23:48 +02:00
  • 10da9874fc Added yarn error log KevinMidboe 2017-08-06 09:22:26 +02:00
  • bc4eff795e Added quotes to poster url KevinMidboe 2017-08-06 09:19:39 +02:00
  • 82add07e00 Font that is not yet in use KevinMidboe 2017-08-05 17:27:01 +02:00
  • e5cb80afc8 Mostly unused style file KevinMidboe 2017-08-05 17:26:40 +02:00
  • 891b7ecb28 Added CSS loaders to webpack.config KevinMidboe 2017-08-05 17:24:08 +02:00
  • 292922c06c Added webfontloader and css-loader to package.json KevinMidboe 2017-08-05 17:23:45 +02:00
  • 9265b469c4 Added style to the elements of the html elements KevinMidboe 2017-08-05 17:06:26 +02:00
  • c892755759 Created function for creating a HTML object that is returned to the caller. KevinMidboe 2017-08-05 17:05:15 +02:00
  • d2c456305a Added style to background and main object KevinMidboe 2017-08-05 17:04:44 +02:00
  • 66b9c8c3db Updated webpack version KevinMidboe 2017-08-05 17:02:38 +02:00
  • fbf49e4cd9 Updated to use sqlite3 instead of sqlite in api KevinMidboe 2017-07-29 13:21:25 +02:00
  • a436f79770 Merge pull request #15 from KevinMidboe/submit_request Kevin 2017-07-17 17:17:38 +02:00
  • 6b5a2341bf Class file that creates and returns objects for the mail sender in a single place. #15 KevinMidboe 2017-07-16 13:47:49 +02:00
  • 30d26d82c3 Added nodemailer to send email of the requested movie KevinMidboe 2017-07-16 13:47:06 +02:00
  • a6af5e8c5d Now returns just id of the movie when clicked button. KevinMidboe 2017-07-16 13:45:42 +02:00
  • 6322b0b17b Formatting changes, sorted alpha KevinMidboe 2017-07-16 13:45:05 +02:00
  • e77a05db07 Merge pull request #14 from KevinMidboe/client_feature Kevin 2017-07-16 11:19:15 +02:00
  • f2cc05307b Added TODO #14 KevinMidboe 2017-07-16 11:18:14 +02:00
  • 90546755cc Rewrote much of the fetching of media items for the rendered request page. KevinMidboe 2017-07-16 11:11:43 +02:00
  • b34e23077b Updated gitignore with dist folder KevinMidboe 2017-07-16 11:08:36 +02:00
  • c45df8a131 Added controller for calling POST request function for media items. KevinMidboe 2017-07-16 11:08:14 +02:00
  • 91606fc9b8 Removed unused import KevinMidboe 2017-07-16 11:05:30 +02:00
  • 3047dce147 Opened the POST endpoint for requesting a movie in the server KevinMidboe 2017-07-16 11:04:56 +02:00
  • 2c97803d82 Added a sendRequest function for handliing the post of a movie request Kevin Midbøe 2017-07-16 11:03:30 +02:00
  • 97dea47a7a Updated inherits in yarn config file Kevin Midbøe 2017-07-16 10:54:44 +02:00
  • c97ab972ef Changed movieObject ot pass full object, not just it's id when clicked Kevin Midbøe 2017-07-16 10:51:02 +02:00