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

509 commits

Author SHA1 Message Date
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
Chocobozzz
bbc1afada5
Optimize updating oauth tokens activity 2025-09-10 16:53:39 +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
12c9825658
Optimize updating token activity 2025-09-05 10:34:47 +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
cfe49b37ec
Fix video title with RSS feed video import 2025-08-25 08:48:03 +02:00
Chocobozzz
24dbbbad64
Fix sending emails in production 2025-08-21 11:49:01 +02:00
Chocobozzz
b591f42914
Add "copyrighted" licence 2025-08-19 10:30:42 +02:00
Chocobozzz
da23ad1d09
Add ability for admin to configure request timeout
AFAIK we can't set a specific timeout on a specific route/request, so
the admin must set it globally
2025-08-11 16:55:37 +02:00
Chocobozzz
b4df49b87f
Fix fetching latest elements of a playlist 2025-08-11 14:52:09 +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
a5c087d3d4
Reapply "Upgrade webfinger lib to 2.8.1"
This reverts commit 04245f9dc1.
2025-07-31 10:10:59 +02:00
Chocobozzz
04245f9dc1
Revert "Upgrade webfinger lib to 2.8.1"
This reverts commit 1967546cab.
Another bug that must be fixed first: https://github.com/silverbucket/webfinger.js/issues/116
2025-07-30 14:25:35 +02:00
Chocobozzz
1967546cab
Upgrade webfinger lib to 2.8.1 2025-07-30 11:49:00 +02:00
Chocobozzz
57caf25611
Add ability to list and revoke token sessions 2025-07-30 11:42:49 +02:00
Chocobozzz
a53ed039b8
Prevent metric warning for redundancy gauge 2025-07-29 14:31:26 +02:00
Chocobozzz
1289d645d8
Revert webfinger changes
We can re-apply them when we'll upgrade to 2.8.x, but we need https://github.com/silverbucket/webfinger.js/issues/106 to be fixed first
2025-07-29 14:18:56 +02:00
Chocobozzz
94802f3175
Update dependencies 2025-07-29 11:48:19 +02:00
Chocobozzz
3e1cdb9fa2
Add runner version info 2025-07-29 10:30:33 +02:00
Chocobozzz
17247f205f
Also add stall job check for studio 2025-07-29 09:36:51 +02:00
Ankit lal
cdb861a26a
Add WatchDog for stalled Transcription jobs 2025-07-29 09:36:51 +02:00
Chocobozzz
121d9029b9
Add rcf and gcr video languages 2025-07-28 09:22:15 +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
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
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
2790ec5aaa
Fix choosing the licence in admin 2025-07-17 11:12:08 +02:00
Chocobozzz
8f4ba03550
Fix remote actor follow count after subscription 2025-07-17 11:09:26 +02:00
Chocobozzz
a60eeeff60
Merge branch 'release/7.2.0' into develop 2025-07-16 13:39:11 +02:00
Chocobozzz
b4d7bd49e0
Fix channel sync duplicate after video deletion 2025-07-16 10:48:21 +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
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
53472daa07
Merge branch 'release/7.2.0' into develop 2025-06-27 09:53:31 +02:00
Chocobozzz
379387f56f
Fix broken video state on move failure
Also add a --force option to move files even if the state is broken
2025-06-27 09:03:35 +02:00
Chocobozzz
de884c6721
Fix migration version 2025-06-26 15:23:18 +02:00
Chocobozzz
3fbaae8ac2
Merge branch 'release/7.2.0' into develop 2025-06-26 09:13:56 +02:00
Chocobozzz
86e857e969
Fix lint 2025-06-26 09:10:55 +02:00
Chocobozzz
9373f571be
Relax transaction level
We don't need serializable level
2025-06-24 16:20:51 +02:00
Chocobozzz
bbe4910247
More robust ACL error handler 2025-06-24 16:02:39 +02:00
Chocobozzz
5b887a77ae
Simplify s3 error log 2025-06-24 15:57:06 +02:00