|
|
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 |
|