aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
Commit message (Collapse)AuthorAgeFilesLines
* Send views in a dedicated queueChocobozzz2022-06-172-5/+16
|
* Optimize broadcast job creationChocobozzz2022-06-172-5/+5
|
* Fix transaction when processing local viewerChocobozzz2022-06-171-2/+4
|
* Fix schema.org contextChocobozzz2022-06-071-1/+1
|
* Fix collection typeChocobozzz2022-05-091-1/+1
|
* Convert followers/following in raw SQL queriesChocobozzz2022-05-051-1/+1
| | | | Prevent weird bug in SQL generation
* Improve viewer counterChocobozzz2022-04-153-5/+6
| | | | More precise, avoid weird decrease, reuse an id to federate viewers
* Support video views/viewers stats in serverChocobozzz2022-04-159-25/+156
| | | | | | | | | | * 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-2417-233/+507
|
* Remove activitypub helperChocobozzz2022-03-2320-27/+272
| | | | Put functions in lib/activitypub instead
* Update server dependenciesChocobozzz2022-03-211-1/+1
|
* Don't store remote rates of remote videosChocobozzz2022-03-1829-281/+326
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Add latency setting supportChocobozzz2022-03-091-0/+1
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-284-77/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Move uuid stuff in extra utilsChocobozzz2021-12-291-1/+2
| | | | Since it requires an external dependency
* Fix shared importsChocobozzz2021-12-244-8/+4
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-2/+1
|
* Move typescript utils in its own directoryChocobozzz2021-12-162-2/+2
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-2/+2
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Fix AP audienceChocobozzz2021-12-132-2/+2
|
* Handle channel owner update of remote serverChocobozzz2021-12-134-21/+30
|
* No notification on moderator abuseChocobozzz2021-12-091-3/+6
|
* Fix redundancy timeoutChocobozzz2021-11-291-2/+2
|
* Optimize AP fetchChocobozzz2021-11-162-1/+8
|
* Refactor video viewsChocobozzz2021-11-093-21/+16
| | | | | | | | Introduce viewers attribute for live videos Count views for live videos Reduce delay to see the viewer update for lives Add ability to configure video views buffer interval and view ip expiration
* Remove aws bug workaroundChocobozzz2021-10-221-1/+0
| | | | This has been fixed in https://github.com/aws/aws-sdk-js-v3/pull/2835
* Constants consistencyChocobozzz2021-10-221-1/+1
|
* Add ability to search by URL with query paramsChocobozzz2021-10-201-1/+1
|
* Force live type specification in first stepChocobozzz2021-10-152-4/+4
|
* Remove old federation compatibilityChocobozzz2021-10-151-3/+0
|
* Fix user subscription follows countChocobozzz2021-10-141-17/+9
|
* Fix actor follow counts calculationChocobozzz2021-10-131-9/+10
|
* Process slow followers in unicast job queueChocobozzz2021-10-132-10/+36
|
* esModuleInterop to trueChocobozzz2021-08-277-14/+14
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Refactor notifierChocobozzz2021-08-021-1/+11
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-262-12/+13
|
* Add ability for instances to follow any actorChocobozzz2021-07-212-2/+18
|
* Refactor requestsChocobozzz2021-07-203-3/+3
|
* Fix webfinger tls onlyChocobozzz2021-07-011-2/+2
|
* Fix hooks definitionChocobozzz2021-07-011-1/+3
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-2/+2
|
* Add ability to search playlistsChocobozzz2021-06-259-26/+76
|
* Fix prune storage testsChocobozzz2021-06-171-8/+12
|
* Refactor live managerChocobozzz2021-06-171-1/+1
|
* Resolve object id from actors tooChocobozzz2021-06-162-0/+4
|
* Fix missing transactionsChocobozzz2021-06-154-16/+15
|
* Remove unnecessary awaitChocobozzz2021-06-151-1/+1
|
* Use a global request timeoutChocobozzz2021-06-152-7/+4
|
* Handle short video linksChocobozzz2021-06-141-0/+2
|