add webtorrent opt-out settings
authorRigel Kent <sendmemail@rigelk.eu>
Fri, 5 Oct 2018 13:17:34 +0000 (15:17 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Sat, 13 Oct 2018 09:53:42 +0000 (11:53 +0200)
commit64cc5e8575fda47b281ae20abf0020e27fc8ce7c
treec3ec40b03d3fdc5d3beee9ff089384c894d9efe9
parent0e5ff97f6fdf9a4cebe5a15f5a390380465803ad
add webtorrent opt-out settings

- add a key in localstorage to remember the opt-out
- add a user setting
13 files changed:
client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.ts
client/src/app/core/auth/auth-user.model.ts
client/src/app/shared/users/user.model.ts
client/src/assets/player/peertube-player-local-storage.ts
client/src/assets/player/peertube-videojs-plugin.ts
server/controllers/api/users/me.ts
server/helpers/custom-validators/users.ts
server/initializers/constants.ts
server/initializers/migrations/0280-webtorrent-policy-user.ts [new file with mode: 0644]
server/models/account/user.ts
shared/models/users/user-update-me.model.ts
shared/models/users/user-webtorrent-policy.type.ts [new file with mode: 0644]