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
Chocobozzz
fa7388f087
Fix transcoding job count inconsistency
2021-11-29 11:20:17 +01:00
Chocobozzz
7137377d09
Auto update publishedAt in live restream
2021-11-26 17:36:55 +01:00
lutangar
7226e90fdc
Add `req` and `res` as controllers hooks parameters
...
Hooks prefixed by `action:api` now give access the original express req and res.
Checkout guide.md for possible usage.
2021-11-25 09:54:22 +01:00
Chocobozzz
450de91e22
Fix E2E tests
2021-11-24 10:49:12 +01:00
Chocobozzz
842a15732b
Ensure we don't run transcoding after import file
2021-11-23 15:22:07 +01:00
Chocobozzz
d972ca5658
Upgrade tools dependencies
2021-11-22 16:12:01 +01:00
mj-saunders
e291096f78
Apply import interval only when reasonable ( #4552 )
...
* Apply import interval only when reasonable
When importing videos from another service, an interval can be applied
between each download.
It only really makes sense to apply this interval when the last
attempted download actually happened, and not when it was skipped.
* Fix boolean notation
2021-11-22 16:10:00 +01:00
Chocobozzz
5d3c5f2797
Fix typo
2021-11-19 08:26:22 +01:00
Chocobozzz
4842e518be
Fetch publishedAt after wait jobs
...
To make sure it's published
2021-11-18 16:30:25 +01:00
Chocobozzz
98846837eb
Stop killing peertube in ci script
2021-11-18 15:32:06 +01:00
Chocobozzz
ad5db1044c
Add ability to run transcoding jobs
2021-11-18 15:20:57 +01:00
Chocobozzz
b46cf4b920
Add ability to remove hls/webtorrent files
2021-11-18 09:04:30 +01:00
Chocobozzz
9c7cf0072f
Prefer cover instead of contain for images
2021-11-16 16:11:10 +01:00
Chocobozzz
7196a70b28
Fix thumbnails/previews for portrait videos
2021-11-16 15:59:56 +01:00
Chocobozzz
b3ed044ded
Simplify search video channel
2021-11-16 13:52:46 +01:00
Chocobozzz
3455c2656e
Test and log request retries
2021-11-16 11:34:24 +01:00
Chocobozzz
ac03618098
Don't display log tag filter for audit logs
2021-11-16 10:49:03 +01:00
Chocobozzz
a2f99b54df
Optimize AP fetch
2021-11-16 10:28:31 +01:00
Chocobozzz
11a554cfcf
Fix unused parameter
2021-11-16 09:29:54 +01:00
Chocobozzz
1740952b8c
Add more logs for video import tests
2021-11-16 08:59:35 +01:00
Chocobozzz
5c08e1c29d
Increase live transcoding test timeout
2021-11-15 15:59:19 +01:00
Chocobozzz
60409162e6
Fix tests cleanup
2021-11-15 09:37:19 +01:00
Chocobozzz
aaef591b17
Fix live tests
2021-11-15 09:26:56 +01:00
Chocobozzz
527a52ac42
Add ability to filter out public videos from admin
2021-11-12 14:23:22 +01:00
Chocobozzz
8db19c959e
Remove contributors list from /about/peertube
...
Some contributors don't want to be associated to a particular peertube
instance
2021-11-12 11:00:51 +01:00
Chocobozzz
3ef5909aec
Fix extendsLocalExpiration for redundancy
2021-11-12 09:02:53 +01:00
Chocobozzz
597f771f3f
Fix video update transaction
2021-11-10 15:52:22 +01:00
Chocobozzz
17ddba4950
Fix thumbnail update
2021-11-10 15:13:56 +01:00
Chocobozzz
a2a81f5a7f
Prevent concurrent video update
2021-11-10 14:57:09 +01:00
Chocobozzz
5cf027bdc4
Force video updatedAt update on update
2021-11-10 14:34:02 +01:00
Chocobozzz
d78b51aa4e
Fix tests
2021-11-10 14:25:33 +01:00
Chocobozzz
67eeec8b95
Add minimum bitrate limit
2021-11-10 11:04:00 +01:00
Chocobozzz
9390403250
Add ffmpeg tags for ffmpeg logs
2021-11-10 09:53:55 +01:00
Chocobozzz
020d3d3d79
Remove resumable cache after upload success
2021-11-10 09:43:33 +01:00
Chocobozzz
d7ce63d3dd
Fix error log of bad import
2021-11-09 15:07:06 +01:00
Chocobozzz
51353d9a03
Refactor video views
...
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
2021-11-09 15:00:31 +01:00
Chocobozzz
221ee1adc9
Add transcoding fail message in client
2021-11-09 15:00:21 +01:00
kontrollanten
4e29f4fe23
video: add video stranscoding_failed state
2021-11-09 15:00:21 +01:00
kontrollanten
e1ab52d7ec
Add migrate-to-object-storage script ( #4481 )
...
* add migrate-to-object-storage-script
closes #4467
* add migrate-to-unique-playlist-filenames script
* fix(migrate-to-unique-playlist-filenames): update master/segments256
run updateMasterHLSPlaylist and updateSha256VODSegments after
file rename.
* Improve move to object storage scripts
* PR remarks
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-09 11:05:35 +01:00
Chocobozzz
dedcd583b2
Fix remote interaction
...
When we fetch a ressource that is a redirection of another ressource
2021-11-05 14:11:19 +01:00
Chocobozzz
5037e0e474
Correctly close RTMPS server too
2021-11-05 11:40:49 +01:00
Chocobozzz
df1db951c5
Support RTMPS
2021-11-05 11:38:17 +01:00
Florian CUNY
8dd754c767
Added 144p encoding ( #4492 )
...
* Added 144p encoding
Implements https://github.com/Chocobozzz/PeerTube/issues/4428
* Fixed typo in core-utils
* Increased BitPerPixel for 144p
* Disabled 144p by default in test.yaml
* Another try at fixing tests
* Fixed test in video-transcoder (api-3)
* Fixed test in video-imports (api-4)
* Fixed test in live-constraints (api-2)
* Tried to fix tests in api-3 again
* Revert "Tried to fix tests in api-3 again"
This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14.
* Fixed test in config.ts (api-2)
* Try to fix test in video-hls.ts (api-3)
* Fixed test in video-transcoder.ts (api-3)
* Fix tests
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-05 10:23:02 +01:00
Chocobozzz
d324756edb
Add ability to filter by file type
2021-11-03 11:32:41 +01:00
Chocobozzz
7e7d8e4853
Some fixes for admin videos list
2021-11-02 11:13:13 +01:00
Chocobozzz
3c10840fa9
Add video file size info in admin videos list
2021-10-29 11:48:21 +02:00
Chocobozzz
2760b454a7
Deprecate filter video query
...
Introduce include and isLocal instead
2021-10-29 11:48:21 +02:00
Florian CUNY
754b6f5f41
Made the video channels limit (per user) server-wide configurable ( #4491 )
...
* Made the video channels limit (per user) server-wide configurable
Implements https://github.com/Chocobozzz/PeerTube/issues/3092
Also added a "quota bar" in the account's settings page
* Fixed lint errors
* Another pass at fixing lint errors
* Applied code suggestions
* Removed 'video channels quota'
2021-10-26 16:42:10 +02:00
Chocobozzz
5842a85424
Remove unnecessary package
...
https://github.com/standard/standard/issues/1316
2021-10-26 15:08:58 +02:00
Chocobozzz
b9fbc17609
Fix lint
2021-10-26 08:37:03 +02:00
Rigel Kent
276250f0a3
prevent multiple post-process triggering of upload-resumable ( #4175 )
...
* prevent multiple post-process triggering of upload-resumable
* switch from 409 to 503 for upload being processed
* Improve resumable upload check
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-25 17:42:20 +02:00
Chocobozzz
b2ad0090c1
Don't write youtube-dl stdout in log
...
It's too big
2021-10-25 10:18:41 +02:00
Chocobozzz
0c691a182c
Fix sequelize order typings
2021-10-22 16:40:48 +02:00
Chocobozzz
532e6a4172
Remove aws bug workaround
...
This has been fixed in https://github.com/aws/aws-sdk-js-v3/pull/2835
2021-10-22 16:30:55 +02:00
Chocobozzz
7fb2c60bbe
Remove sync call in logger
...
Winston already does it
2021-10-22 16:25:16 +02:00
Chocobozzz
d1bfbdeb20
Random listen for mocked servers
2021-10-22 14:31:38 +02:00
Chocobozzz
5480933b7f
Add peertube short link import test
2021-10-22 14:25:32 +02:00
Chocobozzz
ab4001aade
Provide origin URL to client and fix remote share
2021-10-22 14:11:58 +02:00
Chocobozzz
7f91ecbde4
Completely remove torrent static path
2021-10-22 10:32:53 +02:00
Chocobozzz
619537426b
Constants consistency
2021-10-22 10:28:00 +02:00
Chocobozzz
62549e6c98
Rewrite youtube-dl import
...
Use python3 binary
Allows to use a custom youtube-dl release URL
Allows to use yt-dlp (youtube-dl fork)
Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY
env variables
2021-10-22 10:25:24 +02:00
Chocobozzz
97b6428af7
Breaking: fix inconsistencies in configuration
2021-10-20 16:29:41 +02:00
Chocobozzz
400043b1be
Add ability to search by URL with query params
2021-10-20 15:26:38 +02:00
Chocobozzz
64553e8809
Add ability to filter logs by tags
2021-10-20 14:33:38 +02:00
Chocobozzz
c4c0c31144
Fix my live videos filter
2021-10-20 10:04:06 +02:00
Chocobozzz
978c87e7f5
Add channel filters for my videos/followers
2021-10-20 09:25:44 +02:00
Chocobozzz
906f46d084
Split check user params tests
2021-10-20 09:25:44 +02:00
Chocobozzz
4beda9e12a
Add ability to view my followers
2021-10-20 09:25:44 +02:00
Chocobozzz
9593a78ae1
Refactor sort middlewares
2021-10-20 09:25:44 +02:00
Chocobozzz
27c3c9456d
Increase some timeouts
2021-10-18 10:23:45 +02:00
Chocobozzz
1e2fe802d1
Force live type specification in first step
2021-10-15 11:45:03 +02:00
Chocobozzz
bacb544dbb
Remove old federation compatibility
2021-10-15 09:44:21 +02:00
Chocobozzz
b3fc41a165
Fix youtube-dl update with proxy
2021-10-15 08:32:06 +02:00
Chocobozzz
1ffb5fb682
Increase test timeout
2021-10-15 08:23:02 +02:00
Chocobozzz
f0ab2aed3d
Fix lint
2021-10-14 14:14:57 +02:00
Chocobozzz
37cd44d04f
Remove deprecated torrent static route
2021-10-14 11:39:06 +02:00
Chocobozzz
cf0c8ee588
Fix admin edition disabling feature
2021-10-14 11:35:43 +02:00
Chocobozzz
e1a570abff
Fix user subscription follows count
2021-10-14 10:52:15 +02:00
Chocobozzz
179bfea5e0
Fix import tests
2021-10-14 09:36:55 +02:00
Chocobozzz
87c0f718dc
Fix benchmark test
2021-10-14 08:30:17 +02:00
Chocobozzz
1cf0df024e
Fix actor follow counts calculation
2021-10-13 16:18:42 +02:00
Chocobozzz
f87d82b93d
Fix config test cleanup
2021-10-13 11:52:42 +02:00
Chocobozzz
9db437c815
Process slow followers in unicast job queue
2021-10-13 11:47:32 +02:00
Chocobozzz
e81f6ccf98
Fix requests timeout
2021-10-13 09:57:20 +02:00
Chocobozzz
ac0725aa88
Increase videos search test before timeout
2021-10-13 09:18:48 +02:00
Chocobozzz
3b3490e41a
Increase HDR timeout import
2021-10-13 09:18:48 +02:00
Chocobozzz
d41a380550
Fix check after init script
2021-10-13 08:44:34 +02:00
Chocobozzz
87699a09ce
Add object storage test
2021-10-12 15:36:44 +02:00
Chocobozzz
577280e4c0
Upgrade server tools
2021-10-12 14:34:29 +02:00
Chocobozzz
05c0535df7
Update server dependencies
2021-10-12 14:31:59 +02:00
Chocobozzz
80dea8f4d6
Rename config key
2021-10-12 14:25:30 +02:00
kontrollanten
7399a79f73
add option to always show channel display name ( #4422 )
...
* add option to always show channel display name
closes #4040
* show avatar in video miniatures
closes #4040
* Revert "show avatar in video miniatures"
This reverts commit 79b1a84140
.
* channel display name: fix review comments
2021-10-12 14:23:44 +02:00
Chocobozzz
10ef089102
Merge branch 'release/3.4.0' into develop
2021-10-12 13:50:48 +02:00
kontrollanten
c80e458afb
extend client-overrides with default images ( #4392 )
...
* extend client-overrides with default images
Add:
* default-playlist.png
* default-avatar-account.png
* default-avatar-videochannel.png
solves #4108
* Rename to default-avatar-video-channel.png
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:50:40 +02:00
Jelle Besseling
8d8a037e3f
Allow configuration to be static/readonly ( #4315 )
...
* Allow configuration to be static/readonly
* Make all components disableable
* Improve disabled component styling
* Rename edits allowed field in configuration
* Fix CI
2021-10-12 13:33:44 +02:00
Chocobozzz
f7bb2bb5a7
Don't use min FPS, throw instead
...
Avoir creating a big output from a very low FPS input file
2021-10-12 10:37:25 +02:00
Chocobozzz
9f430a53be
Fix bitrate tests
2021-10-12 09:18:54 +02:00
Chocobozzz
badacdbb4a
Merge branch 'release/3.4.0' into develop
2021-10-11 16:00:39 +02:00
Chocobozzz
41085b1583
Fix live bitrate
2021-10-11 15:59:38 +02:00
Chocobozzz
e5d9877f06
Simpler ID match
2021-10-11 14:57:53 +02:00
Chocobozzz
40a8c0a4c4
Fix email logger typings
2021-10-11 14:55:02 +02:00
Chocobozzz
5ac6449735
Remove useless condition
2021-10-11 14:40:53 +02:00
Chocobozzz
5773128647
Improve regexp performance
2021-10-11 14:37:35 +02:00
Chocobozzz
1db57e6f96
Fix useless condition
2021-10-11 14:16:31 +02:00
Chocobozzz
4d6952361e
Fix multiple \n in md to plain text
2021-10-11 14:15:42 +02:00
Chocobozzz
ab632f438e
Fix channel handle search
2021-10-11 14:12:45 +02:00
Chocobozzz
8bd67ef6af
Remove uneeded language injection
...
It's already handled by angular build
2021-10-11 14:00:09 +02:00
Chocobozzz
d00e9c54f3
Merge branch 'next' into develop
2021-10-11 09:37:30 +02:00
Chocobozzz
37e0a1c055
Increase live tests timeout
2021-10-11 09:37:27 +02:00
Chocobozzz
9db2330e4a
Fix notification on create transcoding job
2021-10-11 09:37:27 +02:00
Chocobozzz
731a32e334
More robust youtube-dl thumbnail import
2021-10-11 09:37:26 +02:00
Chocobozzz
e93ee83825
Handle oembed with params in URL
2021-10-11 09:37:26 +02:00
Chocobozzz
ab7b4f525b
Remove unused comments
2021-10-11 09:37:26 +02:00
Chocobozzz
93a1e67f86
Fix channel search with complete handle
2021-10-11 09:37:26 +02:00
Chocobozzz
42cc1887af
Stop indexing /about/peertube
2021-10-11 09:37:26 +02:00
Chocobozzz
d8fb3a2f0d
Increase live tests timeout
2021-10-08 16:00:41 +02:00
Chocobozzz
efa3fef23e
Fix notification on create transcoding job
2021-10-08 15:40:23 +02:00
Chocobozzz
f82416cc58
More robust youtube-dl thumbnail import
2021-10-08 15:06:45 +02:00
Chocobozzz
7d786e5c16
Handle oembed with params in URL
2021-10-08 14:49:15 +02:00
Chocobozzz
9da443f374
Remove unused comments
2021-10-08 11:22:22 +02:00
Chocobozzz
b0268e27e1
Fix channel search with complete handle
2021-10-08 11:15:06 +02:00
Chocobozzz
655c957cc3
Stop indexing /about/peertube
2021-10-08 11:06:40 +02:00
Chocobozzz
89ac282e04
Fix embed api
2021-09-10 15:53:33 +02:00
Chocobozzz
624e42fdf9
Remove peertube watch and peertube repl
...
I don't have time to maintain these scripts that cause some install
issues/maintenance difficulties
2021-09-10 15:06:57 +02:00
Chocobozzz
afe501a6cd
Fix client tests
2021-09-09 09:47:59 +02:00
Chocobozzz
790c2837dd
Fix silent 500 after resumable upload
2021-09-09 09:35:30 +02:00
Chocobozzz
b4c945f3c7
Fix config injection with custom HTML/CSS
2021-09-09 09:13:45 +02:00
Chocobozzz
414f77c8d8
Don't force youtube-dl host
2021-09-08 16:55:42 +02:00
Chocobozzz
1c93ad0778
Fix object storage multipart upload
2021-09-08 16:45:02 +02:00
Chocobozzz
fb72d2e1c2
Fix infohash with object storage
2021-09-07 15:16:26 +02:00
Chocobozzz
23fdb0ff38
Add latin to languages
2021-09-07 09:05:57 +02:00
Chocobozzz
61e9908c31
Increase timeout
2021-09-07 08:33:58 +02:00
Chocobozzz
ddd677e4fd
Remove unused timeout option
2021-09-07 08:33:51 +02:00
Chocobozzz
02b286f890
More robust webtorrent redundancy download
...
Avoid issues with inconsistencies between magnet infohash and torrent
infohash, blocking webtorrent upload that will timeout
2021-09-06 16:19:49 +02:00
Chocobozzz
70430c2796
Wait mock server termination
2021-09-06 08:13:11 +02:00
Chocobozzz
f4e75a6fd0
Increase contact form tests timeout
2021-09-02 09:11:51 +02:00
Chocobozzz
3419e0e1fe
Migrate to webdriverio
2021-09-01 15:06:46 +02:00
Chocobozzz
f2e31d589c
Fix pending job table migration
2021-08-30 16:28:36 +02:00
Chocobozzz
fcf9ae8aa6
Reduce 4k transcode test time
2021-08-30 10:38:50 +02:00
Chocobozzz
e4671228c8
Fix ws import
2021-08-30 09:47:17 +02:00
Chocobozzz
e874edd9f8
forceConsistentCasingInFileNames to true
2021-08-30 09:37:18 +02:00
Chocobozzz
e3c9ea7226
Add peertube import test
2021-08-27 16:21:19 +02:00
Chocobozzz
41fb13c330
esModuleInterop to true
2021-08-27 15:12:22 +02:00
Chocobozzz
8f58172565
Allow accounts to skip account setup modal
2021-08-27 10:15:55 +02:00
Chocobozzz
e111a5a3a1
Don't throw when there is no error
2021-08-26 15:51:37 +02:00
Chocobozzz
095094872a
Remove too much log for webtorrent download
2021-08-26 15:28:51 +02:00
Chocobozzz
0bae66632a
More logs for webtorrent download
2021-08-26 15:19:11 +02:00
Chocobozzz
52b1fd15fa
Better logs for redundancy
2021-08-26 11:02:41 +02:00
Chocobozzz
7b6cf83e33
Fix redundancy remove on host redundancy update
2021-08-26 10:01:42 +02:00
Chocobozzz
5a298a5a3d
Better logs for transcoding
2021-08-26 10:01:42 +02:00
Chocobozzz
98ab5dc810
Remove useless async
2021-08-26 10:01:42 +02:00
Chocobozzz
851675c559
Rename jobs list command
2021-08-26 10:01:42 +02:00
smilekison
8729a87024
Support proxies for PeerTube ( #4346 )
...
* Updated with latest code
* Updated Support proxies for PeerTube
* Support Proxies for PeerTube (Updated with change request)
* Cleanup proxy PR
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-08-25 15:08:37 +02:00
Ms Kimsible
4e1592daa4
Alert user for low quota and video auto-block on upload page ( #4336 )
...
* Replace wording of instance contact
* Add contact-us button to no-quota alert on upload page
* Add alert for accounts with auto-blocked videos on upload page
* Add alert for accounts without enough quota + refacto on upload page
* Using ng-container and ng-template
* Add alert for daily quota
* Add hook filter for upload page alert messages
* Add instance name as subtitle in contact modal
* Fix eslint max-len on string
* Fix missing word in quota left daily message - upload page
Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
2021-08-25 11:38:10 +02:00
Chocobozzz
e5d3e0c79d
Fix object storage migration
...
It's too long on big instances
2021-08-19 09:27:14 +02:00
Chocobozzz
586a7478b6
Fix caption log
2021-08-18 11:25:08 +02:00
Chocobozzz
1d1da33661
More robust optimize transcoding job
2021-08-18 10:59:38 +02:00
Chocobozzz
cbb1d46b91
Fix hls tests
2021-08-18 10:02:48 +02:00
Chocobozzz
f645af4396
Remove useless condition
2021-08-18 09:33:48 +02:00
Chocobozzz
0d4a3c62ab
Set ACL when uploading objects
2021-08-18 09:19:09 +02:00
Chocobozzz
1f6125be8b
Optimize torrent URL update
2021-08-18 09:14:51 +02:00
Chocobozzz
c186a67f90
Support short uuid for scripts
2021-08-17 11:06:10 +02:00
Chocobozzz
66a7fc9473
Remove optimize old videos script
...
It is not compatible with HLS and I don't have time to maintain it
2021-08-17 10:33:36 +02:00
Jelle Besseling
0305db28c9
Add support for saving video files to object storage ( #4290 )
...
* 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>
2021-08-17 08:26:20 +02:00
Chocobozzz
5b075bc549
Fix search index tests
2021-08-11 11:49:01 +02:00
Chocobozzz
31aa391d13
Update server dependencies
2021-08-11 11:49:00 +02:00
Chocobozzz
18998c45c0
Correctly handle large HLS files for redundancy
2021-08-06 15:25:45 +02:00
Chocobozzz
7942e72e38
Fix cli build
2021-08-06 14:39:28 +02:00
Chocobozzz
679c12e69c
Improve target bitrate calculation
2021-08-06 14:13:26 +02:00
Chocobozzz
c826f34a45
Limit live bitrate
2021-08-06 10:39:40 +02:00
Chocobozzz
e83d06a702
Remove deprecated transcoding job names
2021-08-05 14:29:44 +02:00
Chocobozzz
45570e9397
Fix upload without files
2021-08-05 14:24:03 +02:00
Chocobozzz
27db78400c
Fix backend channel name validator consistency
2021-08-05 13:54:35 +02:00
Chocobozzz
352819ef92
Do not index remote actors
2021-08-05 13:29:55 +02:00
Chocobozzz
d26836cd95
Refactor notifier
2021-08-02 10:39:51 +02:00
Chocobozzz
9e87894973
Merge branch 'release/3.3.0' into develop
2021-07-29 17:18:28 +02:00
Chocobozzz
cd162f25d2
Fix video format utils
2021-07-29 17:18:09 +02:00
Chocobozzz
9c9a236b54
Refactor options in models
2021-07-29 14:17:03 +02:00
Chocobozzz
56d07460b5
Update search index tests
2021-07-29 13:41:27 +02:00
Chocobozzz
20c7087689
Correctly cleanup test servers
2021-07-29 13:34:51 +02:00
Chocobozzz
d0ea3e34d0
Log ffmpeg command
2021-07-29 13:34:16 +02:00
Chocobozzz
d688602710
Refactor search query options
2021-07-29 11:54:38 +02:00
Chocobozzz
b033851fb5
Search channels against handles and not names
2021-07-29 10:27:24 +02:00
Chocobozzz
fbd67e7f38
Add ability to search by uuids/actor names
2021-07-28 16:40:21 +02:00
Chocobozzz
164c8d46cf
Update search index tests
2021-07-28 13:40:26 +02:00
Chocobozzz
7bb52934b7
Increase test timeout
2021-07-28 11:13:36 +02:00
Chocobozzz
fa47956ecf
Filter host for channels and playlists search
2021-07-28 10:32:40 +02:00
Chocobozzz
a892c54a82
Fix oembed for playlists
2021-07-27 17:37:59 +02:00
Chocobozzz
29837f8885
Add ability to search by host in server
2021-07-27 17:10:52 +02:00
Chocobozzz
5d0095fde1
Fix build
2021-07-26 16:05:49 +02:00
Chocobozzz
15a7eafb89
Refactor video links builders
2021-07-26 15:04:37 +02:00
Chocobozzz
764b1a14fc
Use random names for VOD HLS playlists
2021-07-26 11:29:31 +02:00
Chocobozzz
83903cb65d
Generate random uuid for video files
2021-07-26 11:29:31 +02:00
Chocobozzz
fea11cf25c
Fix tests with node 16
2021-07-22 14:58:25 +02:00
Chocobozzz
2e980ed30d
Simplify createServer args
2021-07-22 12:08:02 +02:00
Chocobozzz
7a397c7f15
Upgrade server dependencies
2021-07-22 12:01:58 +02:00
Chocobozzz
20bafcb61b
Move apicache in peertube
...
Allow us to upgrade to node 16
2021-07-22 11:48:24 +02:00
Chocobozzz
13e1337791
Speed up plugin transcoding tests
2021-07-22 08:55:14 +02:00
Chocobozzz
d1aed10353
Add overviews filter hook tests
2021-07-21 16:13:20 +02:00
Michael Williams
64f9b91de9
Add new filter hooks to /overviews/videos
...
This change adds new filter hooks `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.params` to /overviews/videos.
The motivation is to make a plugin to [use `originallyPublishedAt` in all places where `publishedAt` is used](https://github.com/ahdinosaur/peertube-plugin-originally-published-at ).
2021-07-21 16:01:34 +02:00
Chocobozzz
a24bd1ed41
Merge branch 'next' into develop
2021-07-21 15:51:30 +02:00
Chocobozzz
5f26f13b3c
Merge branch 'constant-registry' into develop
2021-07-21 15:45:42 +02:00
Chocobozzz
2b9f672b58
Improve plugin constant tests
2021-07-21 15:44:28 +02:00
Chocobozzz
c63830f154
Rename captions commands
2021-07-21 13:58:35 +02:00
Chocobozzz
4d029ef8ec
Add ability for instances to follow any actor
2021-07-21 13:35:31 +02:00
Chocobozzz
4c7e60bc17
Reorganize imports
2021-07-20 15:27:19 +02:00
Chocobozzz
c0e8b12e7f
Refactor requests
2021-07-20 15:27:18 +02:00
Chocobozzz
08642a765e
Fix server run
2021-07-20 15:27:18 +02:00
Chocobozzz
59bbcced37
Centralize test URLs
2021-07-20 15:27:18 +02:00
Chocobozzz
254d3579f5
Use an object to represent a server
2021-07-20 15:27:18 +02:00
Chocobozzz
89d241a79c
Shorter server command names
2021-07-20 15:27:18 +02:00
Chocobozzz
d23dd9fbfc
Introduce videos command
2021-07-20 15:27:18 +02:00
Chocobozzz
7926c5f9b3
Introduce user command
2021-07-20 15:27:18 +02:00
Chocobozzz
d0a0fa429d
Adapt CLI to new commands
2021-07-20 15:27:18 +02:00
Chocobozzz
41d1d07501
Introduce login command
2021-07-20 15:27:18 +02:00
Chocobozzz
6c5065a011
Introduce server commands
2021-07-20 15:27:18 +02:00
Chocobozzz
0d8ecb7592
Fix NSFW tests
2021-07-20 15:27:18 +02:00
Chocobozzz
5e2fea3ab9
Fix search tests
2021-07-20 15:27:18 +02:00
Chocobozzz
dd0ebb7151
Introduce notifications command
2021-07-20 15:27:18 +02:00
Chocobozzz
9293139fde
Introduce sql command
2021-07-20 15:27:18 +02:00
Chocobozzz
078f17e6d9
Fix CLI tools
2021-07-20 15:27:18 +02:00
Chocobozzz
12edc1495a
Introduce comments command
2021-07-20 15:27:18 +02:00
Chocobozzz
a54618880c
Introduce channels command
2021-07-20 15:27:18 +02:00
Chocobozzz
57f879a540
Introduce streaming playlists command
2021-07-20 15:27:18 +02:00
Chocobozzz
6910f20f11
Introduce import command
2021-07-20 15:27:18 +02:00
Chocobozzz
313228e9c3
Introduce history command
2021-07-20 15:27:18 +02:00
Chocobozzz
e6346d59e6
Introduce playlist command
2021-07-20 15:27:18 +02:00
Chocobozzz
72cbfc5695
Introduce change ownership command
2021-07-20 15:27:18 +02:00
Chocobozzz
a2470c9f4b
Introduce captions command
2021-07-20 15:27:17 +02:00
Chocobozzz
e3d15a6a9a
Introduce blacklist command
2021-07-20 15:27:17 +02:00
Chocobozzz
04aed76711
Shorter live methods
2021-07-20 15:27:17 +02:00
Chocobozzz
d897210c2d
Introduce services command
2021-07-20 15:27:17 +02:00
Chocobozzz
4f2199144e
Introduce live command
2021-07-20 15:27:17 +02:00
Chocobozzz
2c27e70471
Introduce subscriptions command
2021-07-20 15:27:17 +02:00
Chocobozzz
5f8bd4cbb1
Introduce blocklist command
2021-07-20 15:27:17 +02:00
Chocobozzz
9fff08cf83
Introduce accounts command
2021-07-20 15:27:17 +02:00
Chocobozzz
87e2635a50
Introduce socket io command
2021-07-20 15:27:17 +02:00
Chocobozzz
65e6e2602c
Introduce config command
2021-07-20 15:27:17 +02:00
Chocobozzz
bc8090411d
Introduce stats command
2021-07-20 15:27:17 +02:00
Chocobozzz
dab047092b
Introduce redundancy command
2021-07-20 15:27:17 +02:00
Chocobozzz
ae2abfd3ae
Introduce plugins command
2021-07-20 15:27:17 +02:00
Chocobozzz
9c6327f803
Introduce jobs command
2021-07-20 15:27:17 +02:00
Chocobozzz
c3d29f694b
Introduce follows command
2021-07-20 15:27:17 +02:00
Chocobozzz
883a901908
Introduce debug command
2021-07-20 15:27:17 +02:00
Chocobozzz
a9c58393d3
Introduce contact form command
2021-07-20 15:27:17 +02:00
Chocobozzz
2d1ad5b960
Move AP request in requests file
2021-07-20 15:27:17 +02:00
Chocobozzz
af971e06c6
Introduce search command
2021-07-20 15:27:17 +02:00
Chocobozzz
23a3a8827c
Introduce overviews command
2021-07-20 15:27:17 +02:00
Chocobozzz
0c1a77e9cc
Introduce abuse command
2021-07-20 15:27:17 +02:00
Chocobozzz
8ef9457fde
Correctly export misc files
2021-07-20 15:27:17 +02:00
Chocobozzz
c8fc9b4718
Rename mock server files
2021-07-20 15:27:16 +02:00
Chocobozzz
a92ddacb38
Introduce logs command
2021-07-20 15:27:16 +02:00
Chocobozzz
c1bc8ee478
Introduce feed command
2021-07-20 15:27:16 +02:00
Chocobozzz
e8bd7ce7cc
Introduce CustomPage command
2021-07-20 15:27:16 +02:00
Chocobozzz
329619b345
Introduce CLI command
2021-07-20 15:27:16 +02:00
Chocobozzz
a6a79eae0d
Introduce bulk command
2021-07-20 15:27:16 +02:00
lutangar
dc3d902234
Introduce generic video constant manager for plugins
...
Allow a plugin developer to get back constants values,
and reset constants deletions or additions.
2021-07-16 17:49:40 +02:00
Chocobozzz
83482ec476
Fix youtube-dl import for peertube videos
2021-07-16 15:58:57 +02:00
kontrollanten
2a408c40a9
change audio label, 0p > Audio
...
Changes the audio label in the Download modal.
2021-07-12 15:34:32 +02:00
Chocobozzz
bd873df064
Fix overviews test timeout
2021-07-12 15:34:03 +02:00
Chocobozzz
77d873c56d
Fix subscribe hotkey
2021-07-12 10:04:48 +02:00
lambdacastix
e622db0578
add support to another wav mimetype
...
```bash
$ file --mime-type file.wav
file.wav: audio/x-wav
$ file file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
```
note: aac had a `'LEFT-TO-RIGHT MARK' (U+200E)` that I removed too
2021-07-11 22:41:44 +00:00
Chocobozzz
bbb3be686a
Use dns cache for requests
...
Prevent blocking issues in uv thread pool
2021-07-02 12:58:25 +02:00
Chocobozzz
3124b46904
Increase test timeout
2021-07-02 08:29:15 +02:00
Chocobozzz
c171d85253
Fix webfinger tls only
2021-07-01 17:04:13 +02:00
Chocobozzz
06c2759338
Fix hooks definition
2021-07-01 16:47:14 +02:00
Chocobozzz
693c6586cb
Fix missing delete cascade video -> channel
2021-07-01 14:53:37 +02:00
Chocobozzz
9c2e051c56
Handle broken plugin install
2021-06-30 11:45:20 +02:00
Chocobozzz
c17ee0903e
Don't check enum for video model
...
Licence, language and category could be extended by a remote plugin
2021-06-29 16:21:32 +02:00
Chocobozzz
d4a8e7a65f
Support short uuid for GET video/playlist
2021-06-29 14:56:35 +02:00
Chocobozzz
21b5c2982f
Fix ownership change with a live video
2021-06-28 11:54:40 +02:00
kontrollanten
e2e0b645cd
Add video-playlist-element.created hook ( #4196 )
...
* add playlists.videos.list.params/results hooks
closes #4192
* Revert "add playlists.videos.list.params/results hooks"
This reverts commit ebd822ca0b
.
* add video-playlist-element.created hook
closes #4192
* test: add playlist-element.created
* Fix tests
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-06-28 09:22:15 +02:00
Chocobozzz
12152aa09f
Update tools dependencies
2021-06-25 17:48:27 +02:00
Chocobozzz
8cc6120118
Upgrade server dependencies
2021-06-25 17:39:27 +02:00
Chocobozzz
37a44fc915
Add ability to search playlists
2021-06-25 14:44:01 +02:00
Chocobozzz
33eb19e519
It's not the week-end yet
2021-06-17 17:25:19 +02:00
Chocobozzz
e466544fb9
Fix muxing cleanup
2021-06-17 17:09:58 +02:00
Chocobozzz
52fb1d97ba
Fix prune storage tests
2021-06-17 11:09:54 +02:00
Chocobozzz
29b7426c67
Speedup CI
2021-06-17 10:43:34 +02:00
Chocobozzz
609a444202
Fix memory leak
2021-06-17 09:47:41 +02:00
Chocobozzz
c6406f4750
Don't retry UpdateVideosScheduler transactions
2021-06-17 08:51:29 +02:00
Chocobozzz
8ebf2a5d5d
Refactor live manager
2021-06-17 08:47:03 +02:00
Chocobozzz
fd6584844b
Resolve object id from actors too
2021-06-16 10:01:31 +02:00
Chocobozzz
82d19a2249
Upgrade tools dep
2021-06-15 16:15:44 +02:00
Chocobozzz
60520c7c85
Increase fetcher jobs concurrency
2021-06-15 15:31:08 +02:00
Chocobozzz
799ece6aae
Add ability to delete previously added constants
2021-06-15 15:18:11 +02:00
Chocobozzz
4c3e4c3d93
Fix lint
2021-06-15 14:19:30 +02:00
Chocobozzz
eae0365b5c
Fix missing transactions
2021-06-15 10:40:06 +02:00
Chocobozzz
e54bd458c1
Remove unnecessary await
2021-06-15 10:40:06 +02:00
Chocobozzz
c4244cfde1
Increase test timeout
2021-06-15 08:21:39 +02:00
Chocobozzz
7500d6c900
Use a global request timeout
2021-06-15 08:21:31 +02:00
Chocobozzz
3d470a530c
Faster ci using compiled ts files
2021-06-15 08:21:12 +02:00
Chocobozzz
79db409a41
More robust actor image lazy load
2021-06-14 16:14:45 +02:00
Chocobozzz
a9fbc2aaa1
Handle short video links
2021-06-14 16:05:25 +02:00
Chocobozzz
367994c521
Improve captions AP updater
2021-06-14 13:35:52 +02:00
Chocobozzz
520bf885c5
Remove unnecessary log
2021-06-11 16:44:33 +02:00
Chocobozzz
31d5d916c3
Fix redundancy row grabbing
2021-06-11 16:31:41 +02:00
Chocobozzz
9f7657b6b6
Include transaction in video hooks
2021-06-11 16:22:54 +02:00
Chocobozzz
adddb12b04
Fix video with all files query
2021-06-11 16:05:32 +02:00
Chocobozzz
668f864f5a
Fix live files include
2021-06-11 16:02:26 +02:00
Chocobozzz
b8afe6f0cd
Fix video rights fetching
2021-06-11 15:53:52 +02:00
Chocobozzz
559985b51c
Also serve AP for new account/video watch pages
2021-06-11 14:50:01 +02:00
Chocobozzz
69322042c4
Cleanup video model scopes
2021-06-11 14:45:58 +02:00
Chocobozzz
7c3a6636fd
Move get* video methods to formatter
2021-06-11 14:36:07 +02:00
Chocobozzz
fd6a74a835
Refactor schedule update
2021-06-11 14:33:34 +02:00
Chocobozzz
20a206c3d1
Refactor include checks
2021-06-11 14:26:37 +02:00
Chocobozzz
71d4af1efc
Use raw SQL for most of video queries
2021-06-11 14:09:52 +02:00
Chocobozzz
3c79c2ce86
Optimize join build
2021-06-11 11:27:45 +02:00
Chocobozzz
17bb45388e
Optimize rows parsing
2021-06-11 11:15:44 +02:00
Chocobozzz
ca4b4b2e55
Fetch directly all video attributes for get API
2021-06-11 09:57:19 +02:00
Chocobozzz
1d43c3a613
Use separate queries for video files
2021-06-11 09:31:59 +02:00
Chocobozzz
d9bf974f5d
Use raw SQL for video get request
2021-06-10 15:26:18 +02:00
Chocobozzz
e5dbd5084e
Refactor video query builder
2021-06-10 09:22:58 +02:00
Chocobozzz
ff0ea0cd8e
Transaction is optional
2021-06-09 17:06:56 +02:00
Chocobozzz
57a0a9cde4
Optimize AP video captions update
2021-06-09 16:22:01 +02:00
Chocobozzz
4ead40e776
Cache refresh actor promise
2021-06-09 13:34:40 +02:00
Chocobozzz
a6a12dae10
Fix run committed transation
2021-06-09 13:31:22 +02:00
Chocobozzz
17b064e394
Increase permanent live test timeout
2021-06-08 18:15:25 +02:00
Chocobozzz
bbfdeb3921
Fix actor image update
2021-06-08 18:12:49 +02:00
Chocobozzz
28dfb44b14
Try to speed up AP update transaction
2021-06-08 17:41:48 +02:00
Chocobozzz
75e12406e2
Increase tests timeout for plugin helpers
2021-06-08 16:52:35 +02:00
Chocobozzz
9de33c6bd9
Add logs for refresh functions
2021-06-08 16:22:23 +02:00
Chocobozzz
7ffa92d6e4
Log rate AP fetch error as info
...
It's not really a warning, we could have many invalid rates in the
federation
2021-06-08 13:57:08 +02:00
Chocobozzz
ec908b4a07
Fix nodeinfo endpoint
2021-06-08 13:49:41 +02:00
Chocobozzz
99cb53fd5a
Don't count deleted comment for replies
2021-06-08 13:48:58 +02:00
Chocobozzz
b110820dfc
Fix build
2021-06-08 13:29:59 +02:00
Chocobozzz
b7c8304cfd
Fix toEven
2021-06-08 13:14:02 +02:00
Chocobozzz
318b0bd0c2
Fix "height not divisible by 2" ffmpeg error
2021-06-08 11:28:51 +02:00
Chocobozzz
765b150245
Fix lint
2021-06-08 10:19:04 +02:00
Chocobozzz
a13df19d57
Increase max image/caption/torrent upload size
2021-06-08 10:01:50 +02:00
Chocobozzz
ea54cd04c1
Fix video upload with a capitalized ext
2021-06-08 10:01:50 +02:00
Chocobozzz
9cc4b9c61f
Fix process delete promise return
2021-06-07 13:20:08 +02:00
Rigel Kent
c756bae079
add video upload types, add doc middleware to more routes
2021-06-06 10:21:06 +02:00
Chocobozzz
91f8f8db97
createThumbnail -> updateThumbnail
2021-06-04 15:45:44 +02:00
Rigel Kent
1333ab1f2d
add operationId doc middleware to so API endpoints
2021-06-04 09:21:46 +02:00
Rigel Kent
1c627fd8d2
refactor docMiddleware to support operationId-only form
2021-06-04 09:21:46 +02:00
Chocobozzz
b96d21b744
Fix CLI build
2021-06-04 08:48:05 +02:00
Chocobozzz
868fce62f8
fetch -> load
...
avoid confusion with AP fetch functions
2021-06-03 18:10:56 +02:00
Chocobozzz
10363c74c1
Move middleware utils in middlewares
...
helpers modules should not import models
2021-06-03 18:03:36 +02:00
Chocobozzz
5e08989ede
Add tags to AP rate logger
2021-06-03 17:12:38 +02:00
Chocobozzz
908e6ead78
Refactor AP video logger tags
2021-06-03 16:56:42 +02:00
Chocobozzz
136d7efde7
Refactor AP actors
2021-06-03 16:40:32 +02:00
Chocobozzz
49af5ac8c2
Refactor AP playlists
2021-06-03 16:40:32 +02:00
Chocobozzz
63da15eb18
Use random port for mock servers in tests
2021-06-03 09:06:51 +02:00
Chocobozzz
e030bfb59d
Refactor server errors handler
2021-06-02 18:15:41 +02:00
Chocobozzz
463206948d
Add tags to logs in AP videos
2021-06-02 16:57:53 +02:00
Chocobozzz
e872632091
Refactor sync attributes
2021-06-02 16:57:53 +02:00
Chocobozzz
304a84d59c
Refactor getOrCreateAPVideo
2021-06-02 16:57:53 +02:00
Chocobozzz
c56faf0d94
Move AP video channel creation
2021-06-02 16:57:53 +02:00
Chocobozzz
08a47c75f9
Refactor AP video create/update
2021-06-02 16:57:53 +02:00
Chocobozzz
69290ab37b
Refactor AP video update
2021-06-02 16:57:53 +02:00
Rigel Kent
81628e5069
refactor error code values for URI compatibility
2021-06-02 16:57:07 +02:00
Rigel Kent
3866ea02d4
correct error codes and backward compat
2021-06-02 16:57:07 +02:00
Rigel Kent
1cfbdd30d9
refactor deprecated body-parser usage
2021-06-02 16:57:07 +02:00
Rigel Kent
76148b27f7
refactor API errors to standard error format
2021-06-02 16:57:07 +02:00
Chocobozzz
d88a3ea5e3
Process redundancy stats in series
2021-06-01 11:03:52 +02:00
Chocobozzz
a7944e89bc
Add expiresOn index
2021-06-01 11:03:52 +02:00