Commit Graph

311 Commits

Author SHA1 Message Date
sct
c702c17cee feat(api): tmdb api wrapper / multi search route (#62)
Adds a "The Movie DB" api wrapper for some basic requests (search/get movie details/get tv details).
Also adds a search endpoint to our api and mappers to convert the tmdb results
2020-09-08 19:05:55 +09:00
sct
c0166e7ecb feat(api): public settings route (#57)
adds public settings route that provides initalized value to check if the app has been configured
for the first time
2020-09-07 18:41:20 +09:00
sct
cb9098f457 feat: logout route/sign out button (#54) 2020-09-06 23:11:42 +09:00
sct
e6349c13a0 feat: user avatars from plex (#53) 2020-09-06 19:30:16 +09:00
sct
190a8831c7 User Context (#51)
* feat(frontend): user Context / useUser hook

Adds a UserContext to wrap the app and load/cache the user when the website renders. Also adds the
useUser hook to pull in user data anywhere its needed on the site. This commit also adds redirection
to the login page for users who are not signed in

* fix(frontend): use process.env.PORT for user request on server side (defaults to 3000)

* docs(frontend): added documentation/notes for how the user context/login works
2020-09-05 13:16:26 +09:00
sct
cfc84ce2f3 Permission System (#47)
* feat(api): permissions system

Adds a permission system for isAuthenticated middleware. Also adds user CRUD.
2020-09-03 19:20:14 +09:00
sct
5d46f8d76d Settings System (#46)
* feat(api): settings system

Also includes /auth/me endpoint for ticket ch76 and OpenAPI 3.0 compatibility for ch77

* refactor(api): remove unused imports
2020-09-03 19:17:15 +09:00
sct
5343f35e5b feat(api): initial implementation of the auth system (#30)
Adds the auth system but does not add all required features. They will be handled in other tickets
2020-08-28 09:34:15 +09:00
sct
de8ee9ba85 fix: fixes next.js build to not include server files
Also fixes the next.js build to properly purge unused css classes from tailwind
2020-08-23 06:34:38 +00:00
sct
d902ef7277 feat(api-user): add basic User Entity and basic routing to fetch all users 2020-08-17 03:12:00 +00:00
sct
89a6017c7f feat: bootstrap the basic app structure 2020-08-16 14:39:37 +00:00