1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00
Commit graph

455 commits

Author SHA1 Message Date
Chocobozzz
572100b1a3
Fix tests build 2025-09-12 08:54:50 +02:00
Chocobozzz
74e97347bb
Add ability to customize player settings 2025-09-12 08:54:50 +02:00
Chocobozzz
906b5f7f2c
Migrate to pnpm 2025-09-12 08:43:41 +02:00
Shalabh Agarwal
efa32646ed
feat: add user password constraints (#6945)
* feat: add user password length constraints

* add password length changes in locale files

* revert maximum password length changes

* add tests

* fix lint

* fix lint and test

* fix tests

* Revert "add password length changes in locale files"

This reverts commit eaaf63ba7c.

* Update PR

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-09-10 16:51:04 +02:00
諏訪子
ef28ba3038
add x link
Add missing code
2025-09-10 11:51:58 +02:00
ilfarpro
dd52e8b89e
Feature for runners - handle storyboard-generation-job (#7191)
* Implement processing storyboards by runners

* Fixed storyboard generation by runners

* use common code patterns

* fix import

* improve debug logging for storyboard generation

* config option for storyboard processing with remote-runners

* refactor repetitive pattern

* refactor storyboard related code to share common utlities

* Fix test

* Fix storyboard generation config logic

* Improve logging

* Added tests for storyboard generation with runners

* Refactor PR

---------

Co-authored-by: ilfarpro <ilfarpro@ya.ru>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-09-10 11:50:06 +02:00
Gianantonio Pini
e74bf8ae2a
feat(config): add admin options to customize default "Browse videos" behaviour (#7193)
* feat(customBrowseVideosDefaultSort): update server config

* feat(customBrowseVideosDefaultSort): update client admin-config-general component

* feat(customBrowseVideosDefaultSort): add new consistency check to server checker-after-init

* feat(customBrowseVideosDefaultSort): update config .yaml with more details about available options

* feat(customBrowseVideosDefaultSort): refactor consistency check in server checker-after-init

* feat(customBrowseVideosDefaultSort): client, add new select-videos-sort shared component

* feat(customBrowseVideosDefaultSort): client, refactor admin-config-general component to use new select-videos-sort shared component

* feat(customBrowseVideosDefaultSort): client, fix my-select-videos-sort width in admin-config-general

* feat(customBrowseVideosDefaultSort): client, update video-filters-header scss

* feat(customBrowseVideosDefaultSort): client, update videos-list-all component

* feat(config): refactor checkBrowseVideosConfig logic into separate custom validator

* feat(config): refactor isBrowseVideosDefaultSortValid to use template literals

* feat(config): refactor isBrowseVideosDefaultSortValid

* feat(config): add check for invalid browse videos config to customConfigUpdateValidator

* feat(config): group browse-videos tests in describe block

* feat(config): refactor to use client.browse_videos section, instead of browse.videos section

* feat(config): add browse_videos default_scope config key (config and server changes)

* feat(config): add browse_videos default_scope config key (client changes)

* Reorder browse videos before videos

* Fix i18n message

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-09-10 10:41:45 +02:00
Chocobozzz
38e04969df
Check API search invalid config 2025-09-05 09:36:27 +02:00
Chocobozzz
91afa1004e
Fill video support on channel sync 2025-09-03 08:46:38 +02:00
Chocobozzz
d0e810d29a
Fix retrying the test 2025-08-26 07:46:57 +02:00
Chocobozzz
57667734c6
Fix E2E tests 2025-08-21 10:21:17 +02:00
Chocobozzz
b591f42914
Add "copyrighted" licence 2025-08-19 10:30:42 +02:00
Chocobozzz
acaabaace1
Compat with openid plugin 1.0.2 2025-08-11 10:46:27 +02:00
Chocobozzz
b44dfef3f9
Add more openid tests 2025-08-08 14:17:20 +02:00
Chocobozzz
83f74169da
Add official openid plugin tests 2025-08-08 14:16:49 +02:00
Jakob Meier
fc986076c9
Allow auth plugins to redirect to external url (#7179)
* Allow auth plugins to redirect to external url

Add a new optional field to `RegisterServerExternalAuthenticatedResult`,
the object passed to the `userAuthenticated` callback used by auth plugins.

The server code uses this to redirect to an external website if it is set.

Left TODO:

- This code has been tested manually but a test case is still missing.
- Here or in the plugin, the redirect urls must be limited to values configurable by admins.

* rename to URI for consistency

* add test for the new parameter

* address review comments

- correct syntax for optional parameter
- handle the case where `externalAuthToken` has query parameters included
2025-08-07 14:59:19 +02:00
Bojidar Marinov
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
57caf25611
Add ability to list and revoke token sessions 2025-07-30 11:42:49 +02:00
Chocobozzz
f19954414f
Fix tests build 2025-07-29 12:11:17 +02:00
Chocobozzz
3e1cdb9fa2
Add runner version info 2025-07-29 10:30:33 +02:00
Chocobozzz
c9905ecd3a
Add ability to set square icon in welcome wizard 2025-07-28 17:03:17 +02:00
Chocobozzz
06d9c7a13d
More robust checkLiveSegmentHash 2025-07-28 09:46:56 +02:00
Chocobozzz
13bceb5f40
Better thumbnail error handling
* Had to upgrade to es2022 to use `cause` error
 * Had to declare class attributes with declare for sequelize models, so
   it still works as before
2025-07-25 17:01:36 +02:00
Chocobozzz
29a88c0dde
Improve audio transcoding
ffmpeg aac encoder is not very good so prefer to keep the same bitrate
as mp3
we also use the max available bitrate with a flac input that has an
unknown bitrate
2025-07-24 16:49:28 +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
b45fbf4337
Fix import tests 2025-07-22 16:43:38 +02:00
Chocobozzz
eadbf4e001
Merge branch 'release/7.2.0' into develop 2025-07-22 11:01:12 +02:00
Chocobozzz
189d846ab8
Fix duplicates when syncing a channel 2025-07-22 09:35:25 +02:00
Chocobozzz
8f4ba03550
Fix remote actor follow count after subscription 2025-07-17 11:09:26 +02:00
Chocobozzz
037197a7e9
Merge branch 'release/7.2.0' into develop 2025-07-08 16:46:46 +02:00
Chocobozzz
56b8bff325
Convert video short uuid to uuid 2025-07-08 16:40:27 +02:00
Chocobozzz
0adafa0fc0
Add ability to order playlists 2025-07-06 13:05:01 +02:00
Chocobozzz
546bd42240
Fix tests 2025-07-02 09:50:41 +02:00
Chocobozzz
532020e2af
Styling
Also prefer "0" instead of "none" because outerHTML converts the later
to "medium" (I don't know why)
2025-06-27 11:01:18 +02:00
Shalabh Agarwal
4323ffbb4e update allowfullscreen property 2025-06-27 10:24:35 +02:00
Chocobozzz
6c85bbf852
Prefer og:image for opengraph
See https://github.com/Chocobozzz/PeerTube/issues/7109
2025-06-27 10:00:51 +02:00
Chocobozzz
c0f4de6077
Add ability to customize instance logo 2025-06-24 06:38:29 +02:00
Chocobozzz
f5fd593976
Add ability for admins to refuse remote comments 2025-06-18 10:05:46 +02:00
Chocobozzz
031b61c466
Add ability to disable channel followers 2025-06-18 06:40:19 +02:00
Chocobozzz
ce28c64750
Support variable in email subject/signature 2025-06-18 06:40:19 +02:00
Chocobozzz
e9bb222b6c
Add defaults values config in web admin 2025-06-18 06:40:19 +02:00
Chocobozzz
eb11e5793f
Add admin config wizard 2025-06-18 06:40:19 +02:00
Chocobozzz
a6b89bde2b
Redesign admin config and add theme customization 2025-06-18 06:40:19 +02:00
Chocobozzz
6f3b827d6c
Fix broken replay on live privacy change 2025-05-14 16:20:35 +02:00
Chocobozzz
bd33fbb4ec
Better avatar order in AP representation
Remote federated software usually use the first item, and so 48x48 is
too small. Prefer 120x120 instead
2025-05-14 15:37:41 +02:00
Chocobozzz
25c5507a03
Add global rate limit to video download 2025-05-14 15:16:38 +02:00
Chocobozzz
b84f203459
Remove shocking/disturbing nsfw flag
It's too vague
2025-05-14 15:16:38 +02:00
Chocobozzz
1aa9ff8aa4
Merge branch 'release/7.1.0' into develop 2025-05-13 15:24:51 +02:00
Chocobozzz
a9069d0d0b
Fix crash on download stream error 2025-05-13 13:54:19 +02:00
Chocobozzz
dc05b37d17
Add ability to disable NSFW flags settings 2025-05-12 10:18:55 +02:00