Feat: Plex authentication #124

Merged
KevinMidboe merged 22 commits from feature/plex-authentication into master 2019-12-23 00:39:43 +00:00
KevinMidboe commented 2019-11-03 23:59:43 +00:00 (Migrated from github.com)

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

## 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).
coveralls commented 2019-11-04 16:57:37 +00:00 (Migrated from github.com)

Pull Request Test Coverage Report for Build 397

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 8 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.7%) to 43.235%

Files with Coverage Reduction New Missed Lines %
src/searchHistory/searchHistory.js 2 31.58%
src/user/userRepository.js 6 71.43%
Totals Coverage Status
Change from base Build 390: -0.7%
Covered Lines: 669
Relevant Lines: 1468

💛 - Coveralls
## Pull Request Test Coverage Report for [Build 397](https://coveralls.io/builds/26753984) * **0** of **0** changed or added relevant lines in **0** files are covered. * **8** unchanged lines in **2** files lost coverage. * Overall coverage decreased (**-0.7%**) to **43.235%** --- | Files with Coverage Reduction | New Missed Lines | % | | :-----|--------------|--: | | [src/searchHistory/searchHistory.js](https://coveralls.io/builds/26753984/source?filename=src%2FsearchHistory%2FsearchHistory.js#L38) | 2 | 31.58% | | [src/user/userRepository.js](https://coveralls.io/builds/26753984/source?filename=src%2Fuser%2FuserRepository.js#L44) | 6 | 71.43% | <!-- | **Total:** | **8** | | --> | Totals | [![Coverage Status](https://coveralls.io/builds/26753984/badge)](https://coveralls.io/builds/26753984) | | :-- | --: | | Change from base [Build 390](https://coveralls.io/builds/26750685): | -0.7% | | Covered Lines: | 669 | | Relevant Lines: | 1468 | --- ##### 💛 - [Coveralls](https://coveralls.io)
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KevinMidboe/seasonedShows#124
No description provided.