Commit Graph

29 Commits

Author SHA1 Message Date
a301d21cc2 Merge branch 'feature/user-graphs' into refactor 2019-12-26 01:14:34 +01:00
a2a4b9a553 getPerson endpoint and is called properly when movie.vue opens with type 'person'. 2019-12-26 01:08:19 +01:00
1c7a688cb8 Moved fetch call for getting charts to api.js 2019-12-26 00:28:33 +01:00
6269f178e9 Store added to api 2019-12-26 00:20:40 +01:00
2236316863 api functions for linking, unlinking-plex account, get settings and update settings. 2019-12-26 00:15:45 +01:00
e7882869e6 Created checkStatusAndReturnJson middleware for checking for responses status is ok(200-299) or not and if it does returns a json parsed object. 2019-11-25 23:28:23 +01:00
d0a251f69a Moved register and login requests to api.js. 2019-11-25 23:25:08 +01:00
33e3ee3489 Authenticating with plex now happens to seasonedShows backend and not through plex.tv. 2019-11-25 22:57:05 +01:00
e3502a7690 Searching tmdb should also include authorization token for search history. 2019-11-25 22:56:01 +01:00
8d09ba4d07 get movie now has optional url parameters to also include existance and release dates in response 2019-11-25 22:55:34 +01:00
4a44924f56 Updated webpack to resolve common file extensions 2019-10-23 00:38:36 +02:00
39cd5ce04a Re-wrote most all api calls to use fetch over axios. There is still a problem with form authentication with plex. The response we get does not seem to be a json object. Updated what is expected to return from altered api methods in each component that uses them 2019-10-23 00:30:37 +02:00
67d3af0ed0 Emoji api now uses URL object to construct url path 2019-07-06 19:37:48 +02:00
57d58d47a8 Content type for elasticsearch set to json and changed from axios to fetch 2019-07-01 19:24:46 +02:00
74704fbdee Changed AddManget endpoint url to use URL class instance to construct location 2019-06-30 22:35:31 +02:00
7e926bb37f Requests are now posted with a body to endpoint /v2/requests 2019-06-28 22:30:37 +02:00
0139d0b0da Create url object for constructing correct elastic search url 2019-06-28 21:27:49 +02:00
cc9bcf927c Renamed elastic index variable 2019-06-28 20:55:33 +02:00
6920877bfc Do a separate api call to check if an item is requested already 2019-06-28 20:52:16 +02:00
94c65cb272 Pirate search url appended with /search 2019-06-28 18:10:31 +02:00
ee3ce60406 Imported missing path package 2019-06-28 18:10:05 +02:00
8dc51251c1 Elastic index for api searches for movie and show titles moved to ELASTIC_INDEX variable in config 2019-06-28 17:42:39 +02:00
f17b4a20ba All urls now use URL object or join with path to not need to construct strings manually 2019-06-10 01:29:05 +02:00
9a84d6ebf2 Use documentation and JSDocs comments for all api functions 2019-06-10 00:55:57 +02:00
75a8496791 Extended function names to clearify its action 2019-06-10 00:51:01 +02:00
2ae175d1b5 Moved configurable api addresses to config.json. Elasticsearch relatime search can also be disabled by setting to false or undefined 2019-06-10 00:43:09 +02:00
4fada32d14 Created addmagnet helper function 2019-06-04 23:21:57 +02:00
b637cb3e08 Completly new search input with elastic realtime search. Handles keyboard inputs and autohides to not be in the way 2019-06-04 22:50:09 +02:00
7f38f7f0cd Renamed seasonedAPI to api.js 2019-06-04 22:34:05 +02:00