Commit Graph
1227 Commits
Author SHA1 Message Date
Bojidar MarinovandChocobozzz 8c9b4abe45 Add Scheduled Lives functionality (#7144)
* Add Scheduled Lives functionality through originallyPublishedAt

Implements #6604 by reusing the originallyPublishedAt field of isLive videos to mark "waiting for live" videos as scheduled at a set time.

* Hide scheduled lives from Browse Videos page

* Add tests for Scheduled Live videos

* Make scheduled lives use a dedicated scheduledAt field in the VideoLive table

* Plan live schedules to evolve in the future

 * Use a dedicated table to store live schedules, so we can add multiple
   schedules in the future and also add a title, description etc. for a
   specific schedule
 * Adapt REST API to use an array to store/get live schedules
 * Add REST API param so it's the client choice to include or not
   scheduled lives
 * Export schedules info in user import/export

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-08-01 15:06:27 +02:00
Chocobozzz a5c087d3d4 Reapply "Upgrade webfinger lib to 2.8.1"
This reverts commit 04245f9dc1.
2025-07-31 10:10:59 +02:00
Chocobozzz 9af56c26bc Fix openapi missing param 2025-07-30 11:52:54 +02:00
Chocobozzz 57caf25611 Add ability to list and revoke token sessions 2025-07-30 11:42:49 +02:00
Chocobozzz d6e4dac032 Add email translations
Convert emails from Pug template to Handlebars because i18next doesn't
support Pug
2025-07-24 09:18:04 +02:00
Chocobozzz e9af88b332 Update upgrade config documentation 2025-07-21 09:22:39 +02:00
Chocobozzz e399515941 Add missing fields in openapi 2025-07-16 14:58:38 +02:00
Chocobozzz b0d5a6776b Remove reference to openapi generator
OpenAPI generation crashes so we had to remove them
2025-07-08 08:26:00 +02:00
Chocobozzz 0adafa0fc0 Add ability to order playlists 2025-07-06 13:05:01 +02:00
Chocobozzz c0f4de6077 Add ability to customize instance logo 2025-06-24 06:38:29 +02:00
Chocobozzz eb11e5793f Add admin config wizard 2025-06-18 06:40:19 +02:00
Chocobozzz 9ca0d0739b Add missing channelId param 2025-06-16 08:34:25 +02:00
Jackson 4ab22c7187 fix mismatching sql backup path and database name 2025-06-10 09:44:20 +02:00
Chocobozzz 39c48888ca Add object storage env variable example 2025-05-30 15:36:17 +02:00
Chocobozzz 944240e442 Update theme guide 2025-05-30 15:25:13 +02:00
Chocobozzz 8f46c6d23c Fix weblate link 2025-05-26 08:29:55 +02:00
Pedro hates github.com e26f4b7c5c Update entrypoint.nginx.sh
add exec to nginx process to ensure is PID 1 and  thenensure a graceful shutdown
2025-05-20 15:37:03 +02:00
Chocobozzz b84f203459 Remove shocking/disturbing nsfw flag
It's too vague
2025-05-14 15:16:38 +02:00
Wicklow 51aa83406e Update translation.md 2025-05-14 15:16:27 +02:00
Wicklow 389c432c5c update openapi 2025-05-14 15:16:27 +02:00
Chocobozzz dd4027a10f Improve NSFW system
* Add NSFW flags to videos so the publisher can add more NSFW context
 * Add NSFW summary to videos, similar to content warning system so the
   publisher has a free text to describe NSFW aspect of its video
 * Add additional "warn" NSFW policy: the video thumbnail is not blurred
   and we display a tag below the video miniature, the video player
   includes the NSFW warning (with context if available) and it also
   prevent autoplay
 * "blur" NSFW settings inherits "warn" policy and also blur the video
   thumbnail
 * Add NSFW flag settings to users so they can have more granular
   control about what content they want to hide, warn or display
2025-04-30 15:54:11 +02:00
Chocobozzz c1ced4209e User is created in the production guide 2025-04-16 16:43:51 +02:00
Chocobozzz acaa6810df Prevent login for prunner 2025-04-16 16:27:42 +02:00
Florent Poinsaut b991534827 Fix typo in production.yaml 2025-04-16 13:52:14 +02:00
q0ntinuum efdbd77d5d Modernize the OpenRC service with openrc-run and improve production guide (#6983)
* Modernize the OpenRC service with openrc-run and add upgrade documentation

* Move some variables to conf.d
2025-04-16 07:00:50 +02:00
Chocobozzz ad21027598 Add missing reset password doc 2025-04-15 10:49:15 +02:00
Chocobozzz 45da32cdd7 Merge branch 'release/7.1.0' into develop 2025-04-11 10:31:02 +02:00
Chocobozzz a2812e40d9 Fix nginx max body size
We increased max image upload size in https://github.com/Chocobozzz/PeerTube/commit/a4f836c042d4aae3f45a11d14bb1928653e47700
2025-04-11 08:22:58 +02:00
Chocobozzz e7753c1b62 Prefer handle param name 2025-04-10 09:55:55 +02:00
kontrollantenandChocobozzz a7be820abc add user agent video stats (#6871)
* add user agent video stats

closes #6832

* Disable indexes, support start/end dates

* move ua parsing to client

* Openapi, inline body request, update tests

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-04-07 10:29:59 +02:00
Chocobozzz ccafb6c6eb Add nginx-logs directory creation 2025-04-03 09:03:58 +02:00
RiQuY cfc5cfd06b feat (docker): Expose NGINX logs folder. (#6963)
* feat (docker): Expose NGINX logs folder.

This commit adds the folder /var/log/ngnix of the webserver container to the volume mount.

* refactor (docker): Rename mount folder name to avoid conflicts with NGINX site file.

This commit renames the mount folder nginx/logs to nginx-logs  to avoid conflicts with the NGINX site file.
2025-04-03 09:03:03 +02:00
RF9A5VandChocobozzz 25a9f37ded Add Comment Count to Video Preview Components (#6635)
* WIP: Add backend functionality to store comment count per video and update on comment visibility actions

* WIP: Display image icon and comment count on video miniature component

* Probably don't need to index the comment count

* Added comment count back to mini video component

* Added basic tests

* Sort by comments, more robust comments count

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-04-02 16:29:22 +02:00
Matthias Frey 6e296350e4 add missing docker env options to configure live settings 2025-04-02 14:16:46 +02:00
Chocobozzz b295dd5820 Redesign manage my videos
* Use a table to list my videos for a clearer overview and so it's
   easier to add bulk actions in the future
 * Use a "Manage" video page with a proper URL navigation
 * Add "Stats" and "Studio" in this "Manage" page
2025-04-02 10:49:25 +02:00
Chocobozzz 9f512fa1fd Improve move CLI doc 2025-03-19 15:51:14 +01:00
Chocobozzz a21955318b More specific version range for node 20 2025-03-19 14:24:27 +01:00
Chocobozzz 19b8cfaa4f Add OTP header doc 2025-03-19 06:57:00 +01:00
Chocobozzz 4c99c2399c Update openapi version 2025-03-18 10:20:21 +01:00
Chocobozzz 772a41e9ea Save DB of tests too 2025-03-18 09:23:03 +01:00
Chocobozzz f6d2aca645 Fix openapi schema 2025-03-12 10:56:02 +01:00
Chocobozzz 963e5b30a9 Improve REST API doc 2025-03-05 14:22:17 +01:00
Chocobozzz 4e5b7bf68b Fix raw docker build 2025-03-05 09:14:52 +01:00
Chocobozzz fd02f76733 Update changelog 2025-03-04 14:10:36 +01:00
Chocobozzz 530a083cea More robust create playlist 2025-02-21 10:20:10 +01:00
Chocobozzz 0bf17d869c Add typeOneOf filter to list notifications 2025-02-20 11:48:15 +01:00
Chocobozzz b9a53addc9 Add list-jobs runner command 2025-02-20 10:31:04 +01:00
Chocobozzz 29f55e9115 Use npm run install-node-dependencies
Instead of yarn, so we can move to another package manager in the future
2025-02-18 13:44:06 +01:00
Chocobozzz 70dae47f08 Compress RSS feed using gzip 2025-02-18 11:55:50 +01:00
Chocobozzz eaf6fccbbb Add playlistUrl metadata in json to hls files 2025-02-13 10:45:48 +01:00