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
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
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
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
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
27c3c9456d
Increase some timeouts
2021-10-18 10:23:45 +02:00
Chocobozzz
1ffb5fb682
Increase test timeout
2021-10-15 08:23:02 +02:00
Chocobozzz
cf0c8ee588
Fix admin edition disabling feature
2021-10-14 11:35:43 +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
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
87699a09ce
Add object storage test
2021-10-12 15:36:44 +02:00
Chocobozzz
10ef089102
Merge branch 'release/3.4.0' into develop
2021-10-12 13:50:48 +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
9f430a53be
Fix bitrate tests
2021-10-12 09:18:54 +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
e93ee83825
Handle oembed with params in URL
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
7d786e5c16
Handle oembed with params in URL
2021-10-08 14:49:15 +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
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
fb72d2e1c2
Fix infohash with object storage
2021-09-07 15:16:26 +02:00
Chocobozzz
61e9908c31
Increase timeout
2021-09-07 08:33:58 +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
fcf9ae8aa6
Reduce 4k transcode test time
2021-08-30 10:38:50 +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
7b6cf83e33
Fix redundancy remove on host redundancy update
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
cbb1d46b91
Fix hls tests
2021-08-18 10:02:48 +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
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
352819ef92
Do not index remote actors
2021-08-05 13:29:55 +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
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
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
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
Chocobozzz
a24bd1ed41
Merge branch 'next' into develop
2021-07-21 15:51:30 +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
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
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
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
Chocobozzz
3124b46904
Increase test timeout
2021-07-02 08:29:15 +02:00
Chocobozzz
06c2759338
Fix hooks definition
2021-07-01 16:47:14 +02:00
Chocobozzz
9c2e051c56
Handle broken plugin install
2021-06-30 11:45:20 +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
37a44fc915
Add ability to search playlists
2021-06-25 14:44:01 +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
8ebf2a5d5d
Refactor live manager
2021-06-17 08:47:03 +02:00
Chocobozzz
799ece6aae
Add ability to delete previously added constants
2021-06-15 15:18:11 +02:00
Chocobozzz
c4244cfde1
Increase test timeout
2021-06-15 08:21:39 +02:00
Chocobozzz
3d470a530c
Faster ci using compiled ts files
2021-06-15 08:21:12 +02:00
Chocobozzz
668f864f5a
Fix live files include
2021-06-11 16:02:26 +02:00
Chocobozzz
17b064e394
Increase permanent live test timeout
2021-06-08 18:15:25 +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
99cb53fd5a
Don't count deleted comment for replies
2021-06-08 13:48:58 +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
Rigel Kent
81628e5069
refactor error code values for URI compatibility
2021-06-02 16:57:07 +02:00