aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-222-0/+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 * 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>
* Implement remote runner jobs in serverChocobozzz2023-05-091-1/+3
| | | | Move ffmpeg functions to @shared
* Add ability to not send an email for registrationChocobozzz2023-01-201-0/+1
|
* Implement signup approval in serverChocobozzz2023-01-199-3/+59
|
* Breaking API: Consistency with role id/labelChocobozzz2022-10-281-2/+4
|
* Support two factor authentication in backendChocobozzz2022-10-073-0/+10
|
* Fix getting live by anonymous userChocobozzz2022-04-221-28/+28
|
* Support video views/viewers stats in serverChocobozzz2022-04-152-4/+0
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Rename studio to editorChocobozzz2022-03-222-2/+2
|
* Add video edition finished notificationChocobozzz2022-03-222-1/+5
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * client: remove unused file * refactor(client/my-actor-avatar): size from input Read size from component input instead of scss, to make it possible to use smaller avatar images when implemented. * implement avatar miniatures close #4560 * fix(test): max file size * fix(search-index): normalize res acc to avatarMini * refactor avatars to an array * client/search: resize channel avatar to 120 * refactor(client/videos): remove unused function * client(actor-avatar): set default size * fix tests and avatars full result When findOne is used only an array containting one avatar is returned. * update migration version and version notations * server/search: harmonize normalizing * Cleanup avatar miniature PR Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add ability to cancel & delete video importsChocobozzz2022-01-191-1/+3
|
* Resolve enums at compile timeChocobozzz2021-12-281-1/+1
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-0/+1
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-162-0/+7
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * give admins access to edit all channels closes #4598 * test(channels): +admin update another users channel * Fix tests * fix(server): delete another users channel Since the channel owner isn't necessary the auth user we need to check the right account whether it's the last video or not. * REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to MANAGE_ANY_VIDEO_CHANNEL. * user-right: moderator can't manage admins channel * client: MyVideoChannelCreateComponent > VideoChannelCreateComponent * client: MyVideoChannelEdit > VideoChannelEdit * Revert "user-right: moderator can't manage admins channel" This reverts commit 2c627c154e2bfe6af2e0f45efb27faf4117572f3. * server: clean dupl validator functionality * fix ensureUserCanManageChannel usage It's not async anymore. * server: merge channel validator middleares ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets merged into one middleware. * client(VideoChannelEdit): redirect to prev route * fix(VideoChannels): handle anon users * client: new routes for create/update channel * Refactor channel validators Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add ability to run transcoding jobsChocobozzz2021-11-181-1/+2
|
* Add ability to remove hls/webtorrent filesChocobozzz2021-11-181-1/+3
|
* Allow accounts to skip account setup modalChocobozzz2021-08-272-0/+2
|
* Add ability to search by host in serverChocobozzz2021-07-271-5/+2
|
* Introduce user commandChocobozzz2021-07-202-0/+8
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-0/+1
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Fix lintChocobozzz2021-04-121-1/+1
|
* Add new plugin/peertube version notifsChocobozzz2021-03-242-1/+18
|
* Reduce bundle size using a const enumChocobozzz2021-03-241-1/+1
|
* Add ability to update plugin authChocobozzz2021-02-011-0/+1
|
* allow private syndication feeds via a user feedTokenRigel Kent2020-11-251-0/+5
|
* Implement video comment list in adminChocobozzz2020-11-131-0/+1
|
* Begin live testsChocobozzz2020-11-091-0/+1
|
* Don't use @shared in modelsChocobozzz2020-08-271-1/+1
| | | | So other projects can use them
* Make channelName optionnal only for the APIkimsible2020-08-111-1/+1
|
* Add channelName to user-create server-side and modelskimsible2020-08-111-0/+1
|
* Reorganize shared modelsChocobozzz2020-08-074-39/+3
|
* Add abuse messages/states notificationsChocobozzz2020-07-312-5/+18
|
* Add ability to report accountChocobozzz2020-07-101-0/+2
|
* Add new abuses testsChocobozzz2020-07-101-1/+1
|
* Add migrationsChocobozzz2020-07-102-4/+7
|
* Use 3 tables to represent abusesChocobozzz2020-07-103-4/+15
|
* Reorganize client shared modulesChocobozzz2020-06-231-4/+6
|
* preserve original variable names server-sideRigel Kent2020-06-104-6/+6
|
* rename blacklist to block/blocklist, merge block and auto-block viewsRigel Kent2020-06-104-6/+6
| | | | | | | | | | | - also replace whitelist with allowlist - add advanced filters for video-block-list view - move icons in video-block-list and video-abuse-list to left side for visibility - add robot icon to depict automated nature of a block in video-block-list resolves #2790
* 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
|
* Update dependenciesChocobozzz2020-02-281-1/+1
|
* Move to eslintcontainChocobozzz2020-02-031-1/+0
|
* Add url field in caption and use it for thumbnailsChocobozzz2020-01-301-4/+2
|
* Add ability to list redundanciesChocobozzz2020-01-281-1/+3
|
* Share playlists stateChocobozzz2020-01-061-2/+0
|
* Improve SQL query for my special playlistsChocobozzz2020-01-031-1/+10
|