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
Rigel Kent
7dab0bd698
improve api param message for video names and tags
...
closes #4026
2021-05-31 20:47:59 +02:00
Rigel Kent
70330f6323
improve api param message for dates
2021-05-31 19:47:24 +02:00
Poslovitch
1f256e7d3c
Implemented configurable minimum signup age
...
Implements https://github.com/Chocobozzz/PeerTube/issues/3612
Fixed lint and removed debug
Fixed another lint error
Apply suggestions from code review
Co-authored-by: Chocobozzz <chocobozzz@cpy.re>
Add tests for min signup age config
2021-05-28 13:56:05 +02:00
Chocobozzz
9e2e51dc0b
Add tags to live logger
2021-05-28 13:05:59 +02:00
Chocobozzz
a1eda903a4
Support '/w/' and '/w/p/' for watch page
...
And use them as default in client
2021-05-28 11:38:08 +02:00
Chocobozzz
012580d98f
Cleanup
...
We must not expose private actor objects to clients
Just make 2 GET requests on channel/accounts instead
2021-05-28 10:22:50 +02:00
Chocobozzz
8f608a4cb2
Merge branch 'develop' into shorter-URLs-channels-accounts
2021-05-27 16:12:41 +02:00
Chocobozzz
2539932e16
Instance homepage support ( #4007 )
...
* Prepare homepage parsers
* Add ability to update instance hompage
* Add ability to set homepage as landing page
* Add homepage preview in admin
* Dynamically update left menu for homepage
* Inject home content in homepage
* Add videos list and channel miniature custom markup
* Remove unused elements in markup service
2021-05-27 15:59:55 +02:00
Chocobozzz
5ec3cbdf22
Merge branch 'release/3.2.0' into develop
2021-05-26 15:38:44 +02:00
Chocobozzz
6c8a99d12a
Fix lint
2021-05-26 15:38:09 +02:00
Chocobozzz
8ee37c5f38
Merge branch 'release/3.2.0' into develop
2021-05-26 13:41:15 +02:00
Chocobozzz
f49b3231d0
Fix broken lives handling
2021-05-26 12:03:44 +02:00