Commit Graph

972 Commits

Author SHA1 Message Date
b56b1f6c0c Environment variables now take presedence over local config 2022-08-17 00:20:17 +02:00
c8477fabaa If redis fails to connect use a mock client to not crash 2022-08-17 00:19:22 +02:00
014cac8b06 Remove installing redis-server from apt on build 2022-08-17 00:18:34 +02:00
20d74cafb9 gchr repo name all lowercase 2022-08-16 01:22:35 +02:00
1690bbcdd0 Temporarly build and publish docker container on all push 2022-08-16 01:15:58 +02:00
7094aa2bb5 Updated all imports to be relative to itself 2022-08-16 01:15:36 +02:00
3660e88acf Moved package.json up to root folder 2022-08-16 01:13:07 +02:00
d8f7f82127 Drone config w/ install and build docker container steps 2022-08-16 00:42:23 +02:00
0a4248bf30 Setup dockerfile for seasoned api project
TODO remove apt installing redis and running service internally
2022-08-16 00:41:33 +02:00
92d139a156 Prevent foreign key to user, no user crashes server 2022-08-16 00:40:56 +02:00
5578bf854a Updated default config 2022-08-16 00:39:01 +02:00
5648b8fffa Merge pull request #130 from KevinMidboe/feat/cookie-authentication
Feat/cookie authentication
2022-08-15 23:59:12 +02:00
1b7a754224 Merge pull request #131 from KevinMidboe/feat/credits
Feat/credits
2022-08-15 23:58:54 +02:00
5d91f1bae7 TODO sms code 2022-08-15 23:51:18 +02:00
cdcfae56e7 Allow set-cookie & allow credentials 2022-08-15 23:39:39 +02:00
f2c77e092d Safer imports in credits 2022-08-15 23:38:53 +02:00
d6ac7e55e9 Better matching when getting matchin plex title & year 2022-08-15 23:38:35 +02:00
a3543090f2 Translate plex query params to fixed 2022-08-15 23:37:07 +02:00
041e944783 Upgraded bcrypt & sqlite3 2022-08-15 23:36:02 +02:00
bfd31ebd23 Linting 2022-03-06 11:59:32 +01:00
5036f4ca36 Read and pass adult search query param consistently for movie, show & person info 2022-03-06 11:57:45 +01:00
61b59ae3ea Person info now handles optional credits query parameter 2022-03-06 11:55:32 +01:00
92c49ac523 Registered endpoint for person credits 2022-03-06 11:54:56 +01:00
f680642f25 When fetching credits for person we get movie & show objects, now handled here. 2022-03-06 11:54:22 +01:00
f89486ae9e Sepearate controller and tmdb function for fetching personCredits 2022-03-06 11:53:45 +01:00
4d853565d1 Person gets biography & place_of_birth attributes 2022-03-06 11:50:20 +01:00
91c81e5cf6 Use cookie-parser, updated tokenToUser middleware & set logout endpoint 2022-03-06 10:39:34 +01:00
0ecbde9675 Logout endpoint for deleting auth cookie 2022-03-06 10:36:24 +01:00
d8e951c2ef Can now pass settings to new Token. 2022-03-06 10:34:48 +01:00
90f3d86511 Removed unused Promise resolves 2022-03-06 10:34:39 +01:00
c6791a7027 Login and register builds and sets cookie auth token 2022-03-06 10:31:58 +01:00
5b6a2c2651 Linting 2022-03-06 10:27:09 +01:00
4f7a22fff1 New tokenToUser middleware checks both header and cookie for Auth token 2022-03-06 10:17:56 +01:00
31b0c998a8 Removed filter option when searching jackett 2022-01-03 19:28:50 +01:00
9ce5b476ef Prettierrc file 2022-01-03 19:28:42 +01:00
554f292e4c Don't fail request when plex failes existance check 2022-01-03 19:28:09 +01:00
d8985aaff7 Correctly use username from req.loggedInUser 2022-01-03 19:17:27 +01:00
be889b8100 Lining 2022-01-03 19:06:11 +01:00
b5bd672f44 More accurate checks for what response contains and throws error if it does not exist. 2022-01-03 18:38:32 +01:00
4501bc5302 Updated yarn lock file 2022-01-03 18:33:45 +01:00
b384e748af Updated and moved update requests to /scripts 2022-01-03 18:32:48 +01:00
c676f182b4 Cache time in HR & future cache bust function 2022-01-03 18:31:28 +01:00
95d2b0095b Linting 2022-01-03 18:23:49 +01:00
8165cf8e85 Keep whitespace when sanitizing string 2022-01-03 18:04:10 +01:00
14775744b0 Linting 2022-01-03 18:03:53 +01:00
559e32c059 Use list index 1 results 2022-01-03 18:02:58 +01:00
f4dbaf4c58 Translate symbol + to space in query 2022-01-03 18:02:45 +01:00
1d25914ae0 Linting 2022-01-03 17:56:00 +01:00
4d3d8c874c Moved cors allowed origins to conf file. 2020-04-08 23:17:45 +02:00
08433523b7 Correctly export poster_path from person tmdb response object. 2020-04-08 23:09:37 +02:00