Commit Graph

711 Commits

Author SHA1 Message Date
e65d4125b9 Trying to sort on the wrong column name. 2018-03-06 21:27:31 +01:00
354b833375 Removed console log of table data. 2018-03-06 21:24:18 +01:00
cffba202b0 Now the server does not crash when unable to search plex. 2018-03-06 19:33:22 +01:00
d3b4a34298 Re-added filter options for later use. 2018-03-06 19:32:51 +01:00
164191f89d Fixed indentation and updated sqlite to sqlite3! 🚀 2018-03-06 19:32:21 +01:00
02c36d041a Removed console.log and fixed docstring comment. 2018-03-06 19:30:11 +01:00
404c200474 Removed unused mail conf and added a function for getting all requested elements by loggedInUser. 2018-03-06 19:29:21 +01:00
aa0094762b Now save only the username of the user in search history. 2018-03-06 19:27:18 +01:00
7c4aeb48ab When registering a token is also returned so we dont need to sign in after registration. 2018-03-06 19:26:28 +01:00
ca146d77bc Fixed error message 2018-03-06 19:25:33 +01:00
cede376349 Was not using the registered loggedInUser variable, but one passed by client 2018-03-06 19:24:58 +01:00
e11dfc7712 Renamed class name. 2018-03-06 19:23:11 +01:00
1a693ef92f Our new controller for getting a users requested items. 2018-03-06 19:21:55 +01:00
2df734bb32 ADded endpoints for checking search history and the items a user has requested, both require authentication. Changed that searching for torrents now require being admin not just signed in. 2018-03-06 19:20:32 +01:00
6619184a45 When creating a account the email field is now optional. 2018-03-06 19:18:51 +01:00
34a97c069b Updated from sqlite to sqlite3 now all functions are async so we wait for response. 2018-03-06 19:16:10 +01:00
e6a8515432 Now we can check if user is admin. This has to be set manually and now only is used for fetching torrents. 2018-03-06 19:12:21 +01:00
08b373cba0 Response results are now saved in the object results instead of torrents 2018-02-26 19:58:54 +01:00
ec0923f1c0 Can now filter the response by status. 2018-02-26 17:17:37 +01:00
4bc94ae3b7 When a element is not found in plex it now still gets a matchedInPlex value, now False when not found. 2018-02-26 16:59:56 +01:00
bf4cf8bef1 Merge pull request #83 from KevinMidboe/api
Api
2018-02-07 15:56:40 +01:00
1d8a72429d Merge branch 'api' of github.com:KevinMidboe/seasonedShows into api 2018-02-07 15:53:52 +01:00
528cbed30f Wasn't getting all the items because some elements do not have a media_type 2018-02-07 15:53:27 +01:00
7ee3ace83b Removed unused semicolon 2018-02-07 15:44:24 +01:00
ba69893e21 Removed static function. 2018-02-07 15:44:04 +01:00
ad4fa9d95a Fixed issue with types not being upheld when converting from tmdb objects. 2018-02-07 15:40:39 +01:00
28a731efbf Merge pull request #82 from KevinMidboe/testing
Testing
2018-02-07 14:41:05 +01:00
878c71ef4a Merge pull request #81 from KevinMidboe/frontend
Frontend
2018-02-07 14:38:16 +01:00
bd1e3c4455 Added test for checking popular shows list in tmdb. 2018-02-07 14:35:36 +01:00
1be8bc0319 Merge branch 'master' of github.com:kevinmidboe/seasonedShows 2018-02-07 14:25:31 +01:00
f0476b2890 Merge pull request #80 from KevinMidboe/linting
Linting
2018-02-07 14:24:43 +01:00
72294e19c5 Merge pull request #79 from KevinMidboe/api
Api
2018-02-07 14:22:50 +01:00
30b494e356 The id used for searching was somehow not a movies id and returned false. 2018-02-07 14:20:34 +01:00
b037cb23a2 Updated test to reflect new tmdb response. 2018-02-07 14:16:45 +01:00
98b10aa693 Changed the api endpoint to one that requires to be logged in. 2018-02-07 14:15:10 +01:00
3ca3c06824 Removed static tag in tmdb functions. 2018-02-07 14:13:50 +01:00
f6c504223a Now yarn lint lints all files in src not only webserver. 2018-02-07 13:53:15 +01:00
93e1ef6d99 Linted app and server.js files. 2018-02-07 13:52:39 +01:00
58449fc753 Linted all middleware. 2018-02-07 13:52:08 +01:00
34982c14fe Linted all controllers 2018-02-07 13:51:57 +01:00
81aeed86ef Linted all pirate, git, tmdb and searchHistory scripts. 2018-02-07 13:51:42 +01:00
a8ec7acff5 Linted all seasoned scripts. 2018-02-07 13:51:02 +01:00
74d143775b Linted all user files. 2018-02-07 13:50:16 +01:00
dda1db6c5f Linted all plex scripts. 2018-02-07 13:50:05 +01:00
97217a2826 Linted all media_classes 2018-02-07 13:49:37 +01:00
272300249e Linted all database files. 2018-02-07 13:49:22 +01:00
fe1ad2b1ad Linted all config files. 2018-02-07 13:49:11 +01:00
444295d5d1 Updated our eslint config file. Still extends airbnb, but have changed indent rule and dropped some other rules. 2018-02-07 13:47:11 +01:00
a40d4f7cd5 Removed movie and show in replacement with a common media.js and tmdb and plex that extend this media class. 2018-02-07 13:44:26 +01:00
6fd65fdb23 Refactoring where now we can search lists and lookup movies or shows by using the new tmdbMethod function which takes the api endpoint variable and type to return the appropriate tmdbMethod name for the matching api call to tmdb. Removed a lot of the globally defined variables. 2018-02-07 13:42:46 +01:00