Skip to content

Plex authentication and user activity graphs from tautulli

Latest
Compare
Choose a tag to compare
@KevinMidboe KevinMidboe released this 23 Dec 00:40
· 106 commits to master since this release
318d1e3

Proposed feature

Want to bring more features and usefullnes to the frontend of seasonedShows. We have a lot of user data that could be interesting for the viewers to see. Don't want to give access to view everyone elses data. The goal is to fetch user data and display it on the profile page of seasoned.

How do we do the access rights to personal user data?

Feature plex authentication #124

  • Tatulli great api
  • Only save the userid.
  • What this means if they aren't in my library or I have removed them?

⚠️ The following is from the resolving Pull Request #124 comment:

Closes issues

#120 Link seasoned account with plex
#122 -User activity

Features

  • link and unlink seasoned account with plex account
  • NEW! Settings table with:
    • plex user_id
    • darkmode preference
    • emoji preference
  • middleware to check if the user has a plex-linked account
  • local tautulli support for user -activity and history.
    • get graphs and user activity based on the plex_userid linked to your seasoned account
    • (endpoints)

TODO list

✅ user should know if they are authenticate or not. (seasoned request settings page should not display authenticate if authenticated, but should have the option to re-authenticate). E.g. /api/user/settings

Misc

Every instance of sqlite now starts with executing pragma foreign_keys = on. This enables cascading and updating on delete of primary (user).