Chocobozzz
0c058f256a
Remove exif tags when processing images
2022-03-07 17:23:12 +01:00
Chocobozzz
41878d3397
Remove unnecessary comment
2022-03-07 11:52:29 +01:00
Chocobozzz
2f19481147
Optimize markdown renderer
2022-03-07 11:48:53 +01:00
Chocobozzz
ab4b897499
Merge branch 'release/4.1.0' into develop
2022-03-04 17:01:02 +01:00
Chocobozzz
907ba7e270
Fix live update error
2022-03-04 17:00:53 +01:00
Chocobozzz
d3d3deaa7a
Refactor user build and express file middlewares
2022-03-04 10:57:36 +01:00
Chocobozzz
156c44c8f6
Refactor a little bit raw sql builders
2022-03-03 10:23:44 +01:00
Chocobozzz
135c38bbc5
Fix search index tests
2022-03-02 08:40:57 +01:00
Chocobozzz
90fbb78498
Node 12 is not supported anymore
2022-03-01 14:08:03 +01:00
Chocobozzz
7bde625050
Fill width of local avatars
2022-03-01 13:37:40 +01:00
kontrollanten
8d07888728
Possibility to set custom RTMP/RTMPS hostname ( #4811 )
...
* live: set custom RTMP/RTMPS hostname
closes #4786
* dont use webserver.hostname as default
* check that rtmp/s.hostname is set
2022-03-01 13:37:34 +01:00
Chocobozzz
b5c00b9b67
Fix lint
2022-03-01 08:33:23 +01:00
Chocobozzz
242f52253e
Fix getting avatars in videos list
2022-03-01 08:32:49 +01:00
Chocobozzz
f1c70a8666
Remove unnecessary code
2022-02-28 16:04:31 +01:00
Chocobozzz
95faf1eaff
Create another test suite for transcoding jobs
2022-02-28 16:02:08 +01:00
Chocobozzz
f7ac03ee94
Fix client html performance regression
2022-02-28 15:13:56 +01:00
kontrollanten
c5ca7e1e0c
add filter:api.video-playlist.videos.list.* hooks
...
closes #4775
2022-02-28 10:56:37 +01:00
Chocobozzz
c729caf6cc
Add basic video editor support
2022-02-28 10:42:19 +01:00
kontrollanten
d0800f7661
Implement avatar miniatures ( #4639 )
...
* 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>
2022-02-28 08:34:43 +01:00
Chocobozzz
8296984de4
Fix max buffer size for youtube-dl
2022-02-22 15:03:13 +01:00
Chocobozzz
5301e7762b
Fix video file storage column consistency
2022-02-22 14:49:23 +01:00
Chocobozzz
6ea9295b8f
Check video privacy when creating comments/rates
2022-02-22 14:16:51 +01:00
Chocobozzz
bdb54e6f8c
Use local URL for feed guid
2022-02-22 11:16:29 +01:00
Chocobozzz
ebee0c0427
Increase test timeout
2022-02-10 10:43:42 +01:00
Chocobozzz
9d8ef212ff
Fix broken dep
2022-02-09 17:48:15 +01:00
Chocobozzz
d4727de48b
Upgrade tools dependencies
2022-02-09 13:51:26 +01:00
Chocobozzz
c9f27d9881
Update server dependencies
2022-02-09 13:51:24 +01:00
Chocobozzz
350b866fdd
Fix CLI build
2022-02-09 13:37:04 +01:00
Chocobozzz
400ed2ab41
Add log on user plugin auth conflict
2022-02-09 11:54:18 +01:00
Chocobozzz
7630e1c893
Fix import timeout inconsistency
2022-02-09 11:54:18 +01:00
Chocobozzz
474542d7ac
Add additional checks when importing a video
2022-02-09 11:54:18 +01:00
Chocobozzz
f33e515991
Correctly check import target URL IP
2022-02-07 11:21:25 +01:00
Chocobozzz
4393b2552c
Move to peertube feed fork
2022-02-07 09:38:24 +01:00
Chocobozzz
c68e2b2d22
Fix plaintext markdown converter
2022-02-04 10:38:32 +01:00
Chocobozzz
6e0ee5a53a
Update changelog
2022-02-04 09:01:40 +01:00
Chocobozzz
cd8f207a8e
Case insensitive search on tags
2022-02-03 10:24:48 +01:00
Chocobozzz
b25fdc73fd
Add fixme info
2022-02-02 09:20:40 +01:00
Chocobozzz
a2caee9f51
Fix HLS re transcoding with object storage enabled
2022-02-01 14:19:44 +01:00
Chocobozzz
0f11ec8dd3
Prevent HLS transcoding after webtorrent transcoding
2022-02-01 11:27:38 +01:00
Chocobozzz
228d8e8e47
Convert markdown to html/plain text for feeds
2022-01-31 10:07:38 +01:00
Chocobozzz
ebe4b3df5c
Remove fixed workaround
2022-01-21 11:11:03 +01:00
lutangar
d2d4a5a999
Fix plugin settings manager definition
...
This mainly fix the `onSettingsChange` argument typing.
I'm not 100% sure the setting `value` can be a boolean though.
But this is how it was typed before so I just made it consistent.
Feel free to change - or suggest change - to the type names / location.
2022-01-20 13:43:20 +01:00
Chocobozzz
82b9a1005c
Fix abuse crash on deleted reporter account
2022-01-20 10:52:50 +01:00
Chocobozzz
4abc7b053a
Fix peertube tools auth
2022-01-20 09:33:49 +01:00
Chocobozzz
d511df2890
Add ability to filter my imports by target URL
2022-01-19 14:58:16 +01:00
Chocobozzz
419b520ca4
Add ability to cancel & delete video imports
2022-01-19 14:31:05 +01:00
Chocobozzz
52435e467a
Handle quota for 413
2022-01-19 10:50:34 +01:00
Chocobozzz
7177b46ca1
Add ability to delete history element
2022-01-18 11:23:41 +01:00
Chocobozzz
2f0a0ae217
Upgrade uploadx dependency
2022-01-18 10:47:26 +01:00
Chocobozzz
743dab5517
Better 413 error handling in cli script
2022-01-18 09:19:59 +01:00
Chocobozzz
4dfd57ae6f
Better auth args handling for peertube cli
2022-01-18 09:13:36 +01:00
Chocobozzz
8f7d35fd0f
Add simplified/traditional chinese languages
2022-01-17 11:33:50 +01:00
Chocobozzz
ff4d2c73fd
Fix bull redis options
2022-01-14 15:06:33 +01:00
Chocobozzz
5cd0a3aead
Upgrade server tools dependencies
2022-01-14 14:41:03 +01:00
Chocobozzz
c0d2eac332
Update server dependencies
2022-01-14 14:15:23 +01:00
Chocobozzz
ce7c099f0e
Increase captions max size
2022-01-14 08:47:27 +01:00
Chocobozzz
3726c37255
Add missing mediaType info to AP objects
2022-01-13 14:16:32 +01:00
John Livingston
dd200d3477
Fix missing Account.name on getAuthUser return type.
2022-01-12 15:26:13 +01:00
Chocobozzz
73e64592b9
Fix lint
2022-01-10 17:03:11 +01:00
Chocobozzz
ac75f640fe
Display all user history
...
Not limited to instance federation bubble
2022-01-10 16:40:56 +01:00
Chocobozzz
3318147300
Merge branch 'release/4.0.0' into develop
2022-01-10 16:17:46 +01:00
Chocobozzz
84c8d98668
Don't display comments of private/internal videos
2022-01-10 16:15:09 +01:00
Florent
22c7778630
Give the ability to define python path for youtube-dl / yt-dlp
2022-01-10 10:01:43 +01:00
Chocobozzz
f332d502d5
Fix abuse test
2022-01-07 08:45:05 +01:00
Chocobozzz
cbe2f36d93
Fix audio transcoding with video only file
2022-01-06 17:55:37 +01:00
Chocobozzz
c3edc5b074
Merge branch 'release/4.0.0' into develop
2022-01-06 13:31:37 +01:00
Chocobozzz
795212f7ac
Prevent caption listing of private videos
2022-01-06 13:27:29 +01:00
Chocobozzz
7b54a81ccc
Prevent video import on non unicast ips
2022-01-06 11:16:35 +01:00
Chocobozzz
75b7117f07
Remove unnecessary NPM_RUN_BUILD_OPTS docker arg
2022-01-06 10:37:55 +01:00
Chocobozzz
f8360396ff
Stop using tsconfig register
...
Prefer to replace paths at compile time
2022-01-06 08:26:14 +01:00
Chocobozzz
cea093bca5
Fix redis connection timeout
...
We don't need to start it at this point
And it could lead to issues when nodejs is compiling peertube using sync
calls
2022-01-04 10:45:50 +01:00
Chocobozzz
8f5a1f36b5
Try to fix tests
2022-01-04 09:16:43 +01:00
Chocobozzz
b18a501a0e
Try to fix docker build
2022-01-03 14:20:56 +01:00
Chocobozzz
0628157fe9
Move uuid stuff in extra utils
...
Since it requires an external dependency
2021-12-29 14:44:58 +01:00
Chocobozzz
fb3c9e2bf5
Translate plugin settings
2021-12-29 14:08:07 +01:00
Chocobozzz
fba87e27c1
Resolve enums at compile time
2021-12-28 15:34:55 +01:00
Chocobozzz
81d02aac56
Fix types package dependencies
2021-12-28 15:10:55 +01:00
Chocobozzz
10a72a7e61
Fix tests
2021-12-28 14:12:57 +01:00
Chocobozzz
f1569117f9
Cleanup unavailable remote AP resource
2021-12-28 11:37:05 +01:00
Chocobozzz
21d68e6803
Add version to generate types packages
2021-12-28 10:27:06 +01:00
Chocobozzz
6627dbc957
Move types package in packages/
2021-12-28 10:18:15 +01:00
Chocobozzz
656ed49f24
Increase timeout
2021-12-24 15:19:45 +01:00
Chocobozzz
ae4e417ab0
Update CREDITS
2021-12-24 14:56:33 +01:00
Chocobozzz
e5d91a9b9c
Upgrade redis dep
2021-12-24 14:52:24 +01:00
Chocobozzz
2d28b0c21d
Upgrade fast xml parser dep
2021-12-24 13:55:47 +01:00
Chocobozzz
4ff75a3b2c
Deprecate node 12
2021-12-24 13:52:32 +01:00
Chocobozzz
5a63748877
Node 10 is not supported anymore
2021-12-24 13:43:59 +01:00
Chocobozzz
c7cdac4409
Fix type conflict
2021-12-24 10:40:51 +01:00
Chocobozzz
d17c7b4e8c
Fix shared imports
2021-12-24 10:14:47 +01:00
Chocobozzz
5354af75b3
Fix video import transcoding
2021-12-23 13:40:47 +01:00
Chocobozzz
dbd9fb44dd
Don't stuck state when move transcoding job failed
2021-12-23 11:13:06 +01:00
Chocobozzz
482b26231b
Fix audio only transcoding
2021-12-23 10:57:55 +01:00
lutangar
5e3d29ab21
Add video caption created and deleted hooks
2021-12-23 09:35:35 +01:00
Chocobozzz
293074ae79
Fix video upload with big preview
2021-12-17 15:50:02 +01:00
Chocobozzz
8484599294
Fix subscriptions
2021-12-17 15:21:24 +01:00
Chocobozzz
9e2789aa4b
Fix internal user subscription
2021-12-17 14:42:31 +01:00
Chocobozzz
6def7d34e6
Fix migrations
2021-12-17 14:27:16 +01:00
Chocobozzz
f304a1580b
Fix build
2021-12-17 13:58:07 +01:00
Chocobozzz
c55e3d7227
Move test functions outside extra-utils
2021-12-17 12:24:03 +01:00
Chocobozzz
bf54587a3e
shared/ typescript types dir server-commands
2021-12-17 09:29:23 +01:00
Chocobozzz
6b5f72beda
Move typescript utils in its own directory
2021-12-16 18:04:16 +01:00
Chocobozzz
754c52b9b9
Add ffprobe helper
2021-12-16 17:00:46 +01:00
Chocobozzz
2e9c7877eb
Add videos.getFiles plugin helper
2021-12-16 16:49:43 +01:00
Chocobozzz
51872b82a1
Fix tests
2021-12-16 10:17:39 +01:00
lutangar
ced38c0ffe
fix plugin storage return value when storing a Json array
2021-12-16 10:17:39 +01:00
Chocobozzz
b65de1be4d
Use different p2p policy for embeds and webapp
2021-12-16 10:08:55 +01:00
Chocobozzz
a9bfa85d2c
Add ability for admins to set default p2p policy
2021-12-16 10:08:55 +01:00
Chocobozzz
c77fdc605b
Fix videos language tests
2021-12-16 10:08:43 +01:00
lutangar
b8fa3e8c73
refactor(types): create dedicated folder for types package src
...
fix guide examples and add types package readme
refactor(tsconfig): move back base tsconfig to base directory
2021-12-16 10:08:43 +01:00
lutangar
8b03e2ce1a
feat(types): create peertube-types package
...
Create dedicated Typescript "types" configuration file for each "projects".
Create a types folder which includes every useful ts definition:
- client
- server
- shared
Add tooling to create a proper package, extract dependencies, etc...
Add CI Github task.
refactor(types): publish types package in release script
2021-12-16 10:08:43 +01:00
lutangar
06aad80165
chore(refactor): remove shared folder dependencies to the server
...
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
2021-12-16 10:08:43 +01:00
Chocobozzz
854f533c12
Fix lint
2021-12-14 17:38:59 +01:00
Chocobozzz
3cf68b869d
Ability for admins to set default upload values
2021-12-14 17:17:01 +01:00
Chocobozzz
a6f919e455
Increase timeout
2021-12-14 14:21:29 +01:00
Chocobozzz
14857212f1
Move b frame strategy in transcoding profile
...
We may use a too high value for some encoders and it allows to specify
custom values/strategy
2021-12-14 10:46:31 +01:00
John Livingston
9234110650
Fix typo.
2021-12-14 09:00:08 +01:00
Chocobozzz
ab18fadfd1
Fix AP audience
2021-12-13 17:33:59 +01:00
Chocobozzz
b5e1cd9a30
Handle channel owner update of remote server
2021-12-13 16:03:16 +01:00
Florian CUNY
81547acb25
Added "zxx" (no linguistic content) in available video languages ( #4631 )
...
* Added "zxx" (no linguistic content) in available video languages
Implements https://github.com/Chocobozzz/PeerTube/issues/1489
* FIx lint
* Fix lint
* Put other languages below instance languages
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-13 15:32:14 +01:00
kontrollanten
a37e9e74ff
Give moderators access to edit channels ( #4608 )
...
* 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 2c627c154e
.
* 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>
2021-12-13 15:29:13 +01:00
Chocobozzz
d17d743051
Add upload/import/go live video attributes hooks
2021-12-10 13:51:44 +01:00
Chocobozzz
90701ec1d8
Add hls to prune storage script
2021-12-10 10:28:46 +01:00
Chocobozzz
0fbc0dec59
Fix tests
2021-12-09 15:44:54 +01:00
Chocobozzz
9e847c17f9
No notification on moderator abuse
2021-12-09 14:27:32 +01:00
Chocobozzz
650580504c
Add filter:api.server.stats.get.result hook
2021-12-09 14:09:24 +01:00
Chocobozzz
6ba93fa639
Fix torrent metadata update for hls
2021-12-09 11:23:02 +01:00
Chocobozzz
38d69d6501
Update torrents info name on video update
2021-12-08 16:12:49 +01:00
Chocobozzz
9b293cd6a2
Update torrent metadata on video update
2021-12-08 11:07:19 +01:00
Chocobozzz
636d73c588
Merge branch 'release/4.0.0' into develop
2021-12-07 13:47:34 +01:00
Chocobozzz
7e44bd4a6f
Fix services tests
2021-12-07 13:47:26 +01:00
Chocobozzz
4c6757f2fd
Fix live log tags
2021-12-07 13:45:01 +01:00
Chocobozzz
d9f9804d86
Merge branch 'release/4.0.0' into develop
2021-12-07 11:06:57 +01:00
Chocobozzz
6e14e40053
Fix iframe allow-popups for oembed
2021-12-07 11:06:35 +01:00
Chocobozzz
80badf493a
Add mute status in account and channel pages
2021-12-07 09:46:01 +01:00
Chocobozzz
33675a4775
Increase timeout
2021-12-06 10:05:05 +01:00
Chocobozzz
0bc53e2029
Add ability to redirect users on external auth
2021-12-03 17:04:47 +01:00
Chocobozzz
9ea02c48a7
Merge branch 'release/4.0.0' into develop
2021-12-03 14:40:52 +01:00
Chocobozzz
025d858e79
Fix pending transcoding with failed job
2021-12-03 14:40:29 +01:00
Chocobozzz
453537426a
Fix too long filename video upload
2021-12-03 14:23:45 +01:00
Chocobozzz
6d472b4046
Decrease time to cleanup resumable uploads
2021-12-03 14:01:38 +01:00
Chocobozzz
9213df1d79
Fix comment
2021-12-03 10:49:36 +01:00
Chocobozzz
63a3d336f6
Remove uneeded function
2021-12-03 10:14:33 +01:00
Chocobozzz
ca87d95bcb
Fix plugin upgrade
...
Correctly decache all plugin paths
2021-12-03 10:14:17 +01:00
John Livingston
3a1157a68a
CLI: plugins install command accept a --plugin-version parameter. ( #4599 )
...
* CLI: plugins install command accept a --plugin-version parameter.
* Unit tests for plugins install --plugin-version.
* Fix linting.
* Styling
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-03 10:14:01 +01:00
kontrollanten
5fc44b57f8
Add header Vary Accept-Language ( #4588 )
...
* nginx: add header Vary Accept-Language
solves #3647
* Revert "nginx: add header Vary Accept-Language"
This reverts commit 90dccf5324
.
* add resp header Vary Accept-Language
solves #3647
* don't add vary header to embed page
2021-12-02 09:14:54 +01:00
Chocobozzz
1da843eeac
Don't notify when transcoding ends on manual run
2021-12-01 12:33:46 +01:00
Chocobozzz
a5ee023cf3
Fix redundancy timeout
2021-11-30 08:40:30 +01:00
Chocobozzz
55cb8bc73c
Correctly escape meta tags
2021-11-30 08:31:56 +01:00
Chocobozzz
7b0c61e743
Fix build
2021-11-29 15:46:52 +01:00
Chocobozzz
4c99953acd
Fix redundancy timeout
2021-11-29 15:45:02 +01:00