aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/activitypub
Commit message (Collapse)AuthorAgeFilesLines
* Use raw sql for commentsChocobozzz2023-01-091-1/+1
|
* Support video views/viewers stats in serverChocobozzz2022-04-151-1/+13
| | | | | | | | | | * 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
* Refactor AP context builderChocobozzz2022-03-242-20/+20
|
* Remove activitypub helperChocobozzz2022-03-232-5/+7
| | | | Put functions in lib/activitypub instead
* Don't store remote rates of remote videosChocobozzz2022-03-181-0/+2
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-7/+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>
* Fix shared importsChocobozzz2021-12-241-1/+1
|
* Give moderators access to edit channels (#4608)kontrollanten2021-12-133-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* esModuleInterop to trueChocobozzz2021-08-275-6/+6
|
* Move apicache in peertubeChocobozzz2021-07-221-2/+2
| | | | Allow us to upgrade to node 16
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-1/+2
|
* Also serve AP for new account/video watch pagesChocobozzz2021-06-111-3/+4
|
* Refactor include checksChocobozzz2021-06-111-1/+0
|
* Use raw SQL for most of video queriesChocobozzz2021-06-111-4/+3
|
* Stricter models typingChocobozzz2021-05-121-1/+0
|
* Cleanup models directory organizationChocobozzz2021-05-111-1/+1
|
* Serve AP objects for default account/channel pagesChocobozzz2021-01-201-2/+4
|
* Add AP statsChocobozzz2020-12-151-18/+6
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-1/+2
|
* Fix lintChocobozzz2020-11-201-1/+1
|
* Fix incorrect IDs in AP federationChocobozzz2020-11-201-17/+39
|
* Regenerate miniature on live saveChocobozzz2020-11-091-19/+19
|
* Begin live testsChocobozzz2020-11-091-1/+1
|
* Add ability to a video multiple times in a playlistChocobozzz2020-08-191-1/+1
|
* Split types and typingsChocobozzz2020-06-183-3/+3
|
* Block comments from muted accounts/serversChocobozzz2020-05-291-1/+1
| | | | | | | | | | | | Add better control for users of comments displayed on their videos: * Do not forward comments from muted remote accounts/servers (muted by the current server or by the video owner) * Do not list threads and hide replies (with their children) of accounts/servers muted by the video owner * Hide from RSS comments of muted accounts/servers by video owners Use case: * Try to limit spam propagation in the federation * Add ability for users to automatically hide comments on their videos from undesirable accounts/servers (the comment section belongs to videomakers, so they choose what's posted there)
* Add missing channel playlists AP endpointChocobozzz2020-05-131-4/+16
|
* Avoir some circular dependenciesChocobozzz2020-05-041-3/+3
|
* Add CORS to AP routesChocobozzz2020-04-101-0/+2
|
* Update dependenciesChocobozzz2020-02-281-2/+2
|
* Optimize context for CacheFileChocobozzz2020-02-041-2/+2
|
* Optimize view endpointChocobozzz2020-02-041-2/+3
|
* Add model cache for videoChocobozzz2020-02-041-10/+10
| | | | When fetching only immutable attributes
* Reduce AP context size on specific activitiesChocobozzz2020-02-031-1/+1
|
* Move to eslintcontainChocobozzz2020-02-032-4/+8
|
* Don't log error on actor delete signature errorChocobozzz2020-01-292-7/+7
|
* Adapt feeds content-type to accept headerRigel Kent2020-01-101-1/+1
|
* Add outbox page size parameterRigel Kent2020-01-091-1/+4
|
* Soft delete video comments instead of detroyJulien Maulny2019-12-041-5/+8
|
* Fix federation with some actorsChocobozzz2019-10-231-1/+0
| | | | That don't have a shared inbox, or a URL
* Type toActivityPubObject functionsChocobozzz2019-08-211-2/+2
|
* Stronger model typingsChocobozzz2019-08-193-28/+24
|
* Stronger actor association typing in AP functionsChocobozzz2019-08-091-1/+2
|
* Add hook filters testsChocobozzz2019-07-241-1/+1
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+1
|
* Move config in its own fileChocobozzz2019-04-111-11/+8
|
* Cleanup express locals typingsChocobozzz2019-03-193-27/+20
|
* Better AP route checkerChocobozzz2019-03-191-45/+67
|
* Add videos playlist exist testsChocobozzz2019-03-181-1/+1
|