aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user.model.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Add correct feed image to RSS channel * Prefer HLS videos for podcast RSS Remove video/stream titles, add optional height attribute to podcast RSS * Prefix podcast RSS images with root server URL * Add optional video query support to include captions * Add transcripts & person images to podcast RSS feed * Prefer webseed/webtorrent files over HLS fragmented mp4s * Experimentally adding podcast fields to basic config page * Add validation for new basic config fields * Don't include "content" in podcast feed, use full description for "description" * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Add correct feed image to RSS channel * Prefer HLS videos for podcast RSS Remove video/stream titles, add optional height attribute to podcast RSS * Prefix podcast RSS images with root server URL * Add optional video query support to include captions * Add transcripts & person images to podcast RSS feed * Prefer webseed/webtorrent files over HLS fragmented mp4s * Experimentally adding podcast fields to basic config page * Add validation for new basic config fields * Don't include "content" in podcast feed, use full description for "description" * Add medium/socialInteract to podcast RSS feeds. Use HTML for description * Change base production image to bullseye, install prosody in image * Add liveItem and trackers to Podcast RSS feeds Remove height from alternateEnclosure, replaced with title. * Clear Podcast RSS feed cache when live streams start/end * Upgrade to Node 16 * Refactor clearCacheRoute to use ApiCache * Remove unnecessary type hint * Update dockerfile to node 16, install python-is-python2 * Use new file paths for captions/playlists * Fix legacy videos in RSS after migration to object storage * Improve method of identifying non-fragmented mp4s in podcast RSS feeds * Don't include fragmented MP4s in podcast RSS feeds * Add experimental support for podcast:categories on the podcast RSS item * Fix undefined category when no videos exist Allows for empty feeds to exist (important for feeds that might only go live) * Add support for podcast:locked -- user has to opt in to show their email * Use comma for podcast:categories delimiter * Make cache clearing async * Fix merge, temporarily test with pfeed-podcast * Syntax changes * Add EXT_MIMETYPE constants for captions * Update & fix tests, fix enclosure mimetypes, remove admin email * Add test for podacst:socialInteract * Add filters hooks for podcast customTags * Remove showdown, updated to pfeed-podcast 6.1.2 * Add 'action:api.live-video.state.updated' hook * Avoid assigning undefined category to podcast feeds * Remove nvmrc * Remove comment * Remove unused podcast config * Remove more unused podcast config * Fix MChannelAccountDefault type hint missed in merge * Remove extra line * Re-add newline in config * Fix lint errors for isEmailPublic * Fix thumbnails in podcast feeds * Requested changes based on review * Provide podcast rss 2.0 only on video channels * Misc cleanup for a less messy PR * Lint fixes * Remove pfeed-podcast * Add peertube version to new hooks * Don't use query include, remove TODO * Remove film medium hack * Clear podcast rss cache before video/channel update hooks * Clear podcast rss cache before video uploaded/deleted hooks * Refactor podcast feed cache clearing * Set correct person name from video channel * Styling * Fix tests --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
* Breaking API: Consistency with role id/labelChocobozzz2022-10-281-2/+4
|
* Support two factor authentication in backendChocobozzz2022-10-071-0/+2
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-161-0/+4
|
* Allow accounts to skip account setup modalChocobozzz2021-08-271-0/+1
|
* Fix lintChocobozzz2021-04-121-1/+1
|
* Don't use @shared in modelsChocobozzz2020-08-271-1/+1
| | | | So other projects can use them
* Add migrationsChocobozzz2020-07-101-3/+6
|
* Add last login date to usersChocobozzz2020-05-071-0/+2
|
* Add auth plugin info in users listChocobozzz2020-05-051-0/+2
|
* Add overview of a user's actions in user-edit (#2558)Rigel Kent2020-03-271-0/+5
|
* Move to eslintcontainChocobozzz2020-02-031-1/+0
|
* Share playlists stateChocobozzz2020-01-061-2/+0
|
* Improve SQL query for my special playlistsChocobozzz2020-01-031-1/+10
|
* Add miniature quick actions to add video to Watch later playlistRigel Kent2020-01-021-0/+5
|
* autoplay next video support for playlistsRigel Kent2019-12-131-0/+1
|
* Autoplay next recommended video (#2137)LoveIsGrief2019-09-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | * Start working on autoplay of next video * Ignore changes made by gitpod * Apply changes from PR#1370 * Correct the spelling of recommendations * Fix linting errors * Move boolean check to existing onEnded handler * Pick a random video until the recommendations are improved * Add simple tests for autoPlayNextVideo * Fix lint ...again
* Add welcome modalChocobozzz2019-09-051-2/+8
|
* WIP plugins: load theme on client sideChocobozzz2019-07-241-0/+3
|
* Handle email update on serverChocobozzz2019-06-111-0/+1
|
* Add user adminFlagsChocobozzz2019-04-151-0/+5
|
* Add user notification base codeChocobozzz2019-01-091-0/+2
|
* Add ability to disable and clear historyChocobozzz2018-12-181-0/+4
|
* enable email verification by admin (#1348)Josh Morel2018-11-211-0/+1
| | | | | | | | | | | | | * enable email verification by admin * rename/label to set email as verified to be more explicit that admin is not sending another email to confirm * add update user emailVerified check-params test * make user.model emailVerified property required
* Better typingsChocobozzz2018-10-181-1/+0
|
* NoImplicitAny flag true (#1157)BO412018-10-181-0/+1
| | | | | | | | this enables the `noImplicitAny` flag in the Typescript compiler > When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time. closes: #1131 replaces #1137
* Implement daily upload limit (#956)Felix Ableitner2018-08-281-0/+1
| | | | | | | | | | | | | | | | | | | | * Implement daily upload limit (ref #652) * remove duplicate code * review fixes * fix tests? * whitespace fixes, finish leftover todo * fix tests * added some new tests * use different config value for tests * remove todo
* Add quota used in users listChocobozzz2018-08-141-0/+2
|
* Flat shared module directoryChocobozzz2018-08-141-1/+1
|
* Add reason when banning a userChocobozzz2018-08-081-0/+3
|
* Add ability to choose what policy we have for NSFW videosChocobozzz2018-04-191-1/+2
| | | | There is a global instance setting and a per user setting
* Begin moving video channel to actorChocobozzz2017-12-191-1/+1
|
* Enh #106 : Add an autoPlayVideo user attribute (#159)Andréas Livet2017-12-191-0/+1
| | | | | | | | | Warning : I was not able to run the tests on my machine. It uses a different approach to handle databse connexion and didn't find where to configure it... - create a migration file to add a boolean column in user table - add autoPlayVideo attribute everywhere it is needed (both on client and server side) - add tests - add a way to configure this attribute in account-settings - use the attribute in video-watch component to actually autoplay or not the video
* Add account avatarChocobozzz2017-12-041-5/+3
|
* Make it compile at leastChocobozzz2017-11-271-1/+1
|
* Support roles with rights and add moderator roleChocobozzz2017-10-271-1/+1
|
* Add video channelsChocobozzz2017-10-261-1/+7
|
* Begin user quotaChocobozzz2017-09-041-0/+1
|
* Better typescript typing for a better worldChocobozzz2017-07-101-0/+10