Commit Graph

475 Commits

Author SHA1 Message Date
546f33883a Merge pull request #59 from KevinMidboe/conf_webpack
Changed to now use a prod and a dev webpack config. Our prod config n…
2017-10-24 23:02:00 +02:00
d10b974545 Changed to now use a prod and a dev webpack config. Our prod config now minifies and sets up caching for us. Package json now has build command. 2017-10-24 23:01:44 +02:00
c6fac11b8d Merge pull request #58 from KevinMidboe/client_styling
Changed the box shadow and margin of result wrapper.
2017-10-23 16:12:57 +02:00
d6c066266c Changed the box shadow and margin of result wrapper. 2017-10-23 16:12:00 +02:00
5c408b826b Merge pull request #57 from KevinMidboe/client_title-position
Changed the title position of our result list.
2017-10-23 16:07:06 +02:00
a0ce4e07fe Changed the title position of our result list. 2017-10-23 16:06:38 +02:00
1b58cb461c Merge pull request #56 from KevinMidboe/client_show-request-user
Now also prints the requestee of a element if it is not null.
2017-10-23 15:50:31 +02:00
dbd258d9fa Now also prints the requestee of a element if it is not null. 2017-10-23 15:49:54 +02:00
1bdf89b69f Merge pull request #55 from KevinMidboe/api_tuning
Lowered the tollerance for what objects we choose to look at by tmdb.…
2017-10-23 15:39:57 +02:00
498bd13a1f Lowered the tollerance for what objects we choose to look at by tmdb. That is we only accept items that have some value of vote or popularity. 2017-10-23 15:39:28 +02:00
80dcba2fba Merge pull request #54 from KevinMidboe/api_save-user-w-request
Api save user w request
2017-10-23 15:36:28 +02:00
effa41978e Merge pull request #53 from KevinMidboe/api_search-tmdb-list
Api search tmdb list
2017-10-23 15:35:35 +02:00
7069db8901 Now checks for loggedinuser header variable and passes it to sendRequest. 2017-10-23 15:32:49 +02:00
81fbc86cad Now loggedinuser cookie variable is sent in our header on each call. 2017-10-23 15:31:41 +02:00
6f12d0ca49 Added docstring to new functions in tmdb 2017-10-23 15:14:16 +02:00
2d986eb5b3 Removed unused controllers 2017-10-23 15:06:22 +02:00
233ad03dd3 Changed so our client now uses our new endpoint for searching lists. 2017-10-23 15:05:42 +02:00
40928a6e46 Added docstring 2017-10-23 14:59:58 +02:00
c48db517ac Created one function for searching for different tmdb lists. This replaces 4 endpoints so we have a single way of searching for lists. 2017-10-23 14:58:52 +02:00
d836dd01d3 Merge pull request #52 from KevinMidboe/app/search-the-bay
App/search the bay
2017-10-22 18:56:00 +02:00
da0609d56c Also passes our regex if there is a year now. 2017-10-22 18:54:38 +02:00
f15df29801 More general re matching for date and also returns empty dict of no candidates are found. 2017-10-22 18:50:50 +02:00
4b01387e56 Merge pull request #51 from KevinMidboe/api_cache
Api cache
2017-10-22 18:19:36 +02:00
0e3189ff11 Added default cache time to be 1 day 2017-10-22 18:16:39 +02:00
1925c2a5e3 Changed the variable for saving to searchHistory to be set when user is not false. 2017-10-22 18:04:20 +02:00
7952e6015a Added caching for all tmdb requests. 2017-10-22 17:41:12 +02:00
6e95d48f11 Now when searching a loggedinuser header element is passed also. 2017-10-22 17:34:16 +02:00
d2d791f5b2 added loggedinuser as acceptable header. 2017-10-22 17:31:37 +02:00
0e70a10cc2 Opps, start with then. 2017-10-22 17:31:14 +02:00
592528dec2 Forgot to change this to point at our new server 2017-10-22 17:30:49 +02:00
354e06a963 Removed searchHistory from tmdb class. 2017-10-22 17:03:40 +02:00
cc8d9f0c50 Added docstring, removed a unused console.log and added better error handling for empty return statement.s 2017-10-22 17:03:16 +02:00
8d248135e0 Chagned from using user.username, to just the variable user. 2017-10-22 17:01:58 +02:00
6574c087bc Added user history saving and that tmdb now gets to use cache. 2017-10-22 17:01:26 +02:00
d90197b8b4 Added a cookie variable loggedInUser, to see search history of a user. 2017-10-22 14:58:38 +02:00
d20ac6470f Was a missing ) 2017-10-22 14:18:38 +02:00
8f4e3a24f4 And the last that imports tmdb class. 2017-10-22 14:16:43 +02:00
f89d81681a Added import for cache to initiate our tmdb class in the correct way, but still not implemented the actual cache lookup. 2017-10-22 14:14:29 +02:00
1b29a08ce8 Removed a unused comment 2017-10-22 14:10:25 +02:00
f57878813d Added Cache file for tmdb queries and controller check the cache and returns it if hit. This is to limit our request to a third party library. 2017-10-22 14:09:57 +02:00
b82efddeba Now tmdb searches also check cache for a matching query request, if so returns it. 2017-10-22 14:08:36 +02:00
6ec6fc771a Merge pull request #49 from KevinMidboe/pirate_bugfixes
Pirate bugfixes
2017-10-21 16:13:36 +02:00
de33f02aeb Temp here just to be able to add torrents. 2017-10-21 16:12:49 +02:00
7d4178a901 Now uses python2, not python3 because of libtorrent library. 2017-10-21 16:12:27 +02:00
e5b3c8a249 Changed the logging dir to be based on __file__ location. 2017-10-21 16:11:36 +02:00
1183126653 Merge pull request #48 from KevinMidboe/api_add-magnet
Api add magnet
2017-10-21 15:39:15 +02:00
dbcb316bfd Merge pull request #47 from KevinMidboe/client_search-the-bay
Client search the bay
2017-10-21 15:38:31 +02:00
b6b9c790e9 Errors. Removed a return from within a resolve and a stray { in addMagnet. 2017-10-21 15:33:40 +02:00
1425da3090 Missed to add some extra parantheses around our return statement. 2017-10-21 15:31:04 +02:00
d1d204691a Changed from GET to POST 2017-10-21 15:28:32 +02:00