Chocobozzz
2aaa1a3fdc
Use typescript paths in cli scripts too
2019-10-21 17:13:22 +02:00
Chocobozzz
d5d9b6d7bf
Update server dependencies
2019-10-21 15:03:28 +02:00
Chocobozzz
f6e0de3f48
Don't quick transcode with the wrong pixel format
2019-10-21 14:08:34 +02:00
Chocobozzz
687c6180bc
Fix federation issue with some actor descriptions
2019-10-21 09:52:51 +02:00
LoveIsGrief
6aa5414813
Autoplay next recommended video ( #2137 )
...
* Start working on autoplay of next video
* Ignore changes made by gitpod
* Apply changes from PR#1370
* Correct the spelling of recommendations
* Fix linting errors
* Move boolean check to existing onEnded handler
* Pick a random video until the recommendations are improved
* Add simple tests for autoPlayNextVideo
* Fix lint
...again
2019-09-24 08:48:01 +02:00
Chocobozzz
9157d5981f
Improve plugin package.json error message
2019-09-11 10:19:03 +02:00
Chocobozzz
43d0ea7f4b
Add welcome modal
2019-09-05 10:17:02 +02:00
Chocobozzz
0b5c385b45
Handle reports from mastodon
2019-08-30 09:40:32 +02:00
Chocobozzz
ad513607a3
Remove old JSON LD signature implementation
...
Only PeerTube was compatible with it, and the library has moved on
RsaSignature2018 and removed RsaSignature2017 support. We had to create
a dirty fork of the RsaSignature2017 branch, which is not ideal.
Now we use the Mastodon implementation, that most other AP
implementations that support JSONLD signatures use.
2019-08-29 16:15:41 +02:00
Chocobozzz
5c5e587307
Merge branch 'feature/strong-model-types' into develop
2019-08-22 10:43:11 +02:00
Chocobozzz
485b2fb2cc
Relax plugin package.json validation
2019-08-22 10:33:56 +02:00
Chocobozzz
b5fecbf441
Type toActivityPubObject functions
2019-08-21 15:23:04 +02:00
Chocobozzz
1ca9f7c3f7
Type toFormattedJSON
2019-08-20 19:23:10 +02:00
Chocobozzz
0283eaac2a
Cleanup model types
2019-08-20 14:53:42 +02:00
Chocobozzz
453e83ea5d
Stronger model typings
2019-08-19 17:26:35 +02:00
Chocobozzz
2284f20207
Add gitlab ci support
2019-07-29 13:40:39 +02:00
Chocobozzz
d75db01f14
Add plugin translation system
2019-07-26 15:18:30 +02:00
Chocobozzz
2b65c4e535
Fix scheduled privacy and verify email validations
2019-07-25 17:28:45 +02:00
Chocobozzz
c8861d5dc0
Fix express validator
2019-07-25 16:23:44 +02:00
Chocobozzz
5b77537ce5
Correctly notify on auto blacklist
2019-07-24 10:58:16 +02:00
Chocobozzz
3e753302d8
Refactor middleware helpers
2019-07-24 10:58:16 +02:00
Chocobozzz
a8b666e9f1
Add plugin static files cache
2019-07-24 10:58:16 +02:00
Chocobozzz
9b474844e8
Add CLI plugins tests
2019-07-24 10:58:16 +02:00
Chocobozzz
b4055e1c23
Add server hooks
2019-07-24 10:58:16 +02:00
Chocobozzz
66170ca8c6
Use process.env.npm_package_version
2019-07-24 10:58:16 +02:00
Chocobozzz
e0ce715a1d
Check latest plugins version
2019-07-24 10:58:16 +02:00
Chocobozzz
503c6f440a
Add peertube plugin index website models
2019-07-24 10:58:16 +02:00
Chocobozzz
30ff39e7f0
Move createTorrent in webtorrent utils
2019-07-24 10:58:16 +02:00
Chocobozzz
8d2be0ed7b
WIP plugins: move plugin CLI in peertube script
...
Install/uninstall/list plugins remotely
2019-07-24 10:58:16 +02:00
Chocobozzz
dba85a1e9e
WIP plugins: add plugin settings/uninstall in client
2019-07-24 10:58:16 +02:00
Chocobozzz
ad91e7006e
WIP plugins: plugin settings on server side
2019-07-24 10:58:16 +02:00
Chocobozzz
7cd4d2ba10
WIP plugins: add theme support
2019-07-24 10:58:16 +02:00
Chocobozzz
f023a19c3e
WIP plugins: install/uninstall
2019-07-24 10:58:16 +02:00
Chocobozzz
345da516fa
WIP plugins: add ability to register plugins
2019-07-24 10:58:16 +02:00
Chocobozzz
3caf77d3b1
Add language filters in user preferences
2019-06-19 15:05:36 +02:00
Chocobozzz
1a12f66d63
Add more CLI tests
2019-06-13 11:09:38 +02:00
Nassim Bounouas
fcf4569f2d
Feature/logrotation ( #1881 )
...
* #1775 Configure the activation or deactivation of winston log rotation
* Winston log rotation enabled by default #1775
* #1775 tslint correction
* #1775 FileTransportOptions typed and configuration files
* #1775 tslint correction
* #1775 log.rotation.enabled configuration binding
2019-06-11 14:30:44 +02:00
Chocobozzz
ad3405d087
Improve 4K video quality after transcoding
2019-06-06 14:45:57 +02:00
Chocobozzz
ee79b60e4e
More robust federation
...
In particular when fetching pleroma outbox
2019-05-31 15:17:04 +02:00
Chocobozzz
57cfff7885
Remove unused actor uuid field
2019-05-31 14:49:31 +02:00
Chocobozzz
cce1b3dfd3
Fix search with bad webfinger handles
2019-05-28 10:16:59 +02:00
Chocobozzz
73b3aa6429
Merge branch 'feature/audio-upload' into develop
2019-05-21 10:05:12 +02:00
Chocobozzz
820d79c8ac
Fix OGG bug with firefox
2019-05-21 09:53:03 +02:00
Chocobozzz
fd822c1c69
Merge branch 'release/v1.3.0' into develop
2019-05-21 09:34:02 +02:00
Chocobozzz
4550872bcc
Relax activity validation
2019-05-21 09:31:53 +02:00
Chocobozzz
536598cfaf
Add audio support in upload
2019-05-16 17:16:47 +02:00
Chocobozzz
1600235a2f
Merge remote-tracking branch 'origin/pr/1785' into develop
2019-05-16 08:58:39 +02:00
Chocobozzz
3db9fadca7
Relax activity validation
2019-05-13 14:51:43 +02:00
Felix Ableitner
7ed2c1a46f
fixed formatting, added test case
2019-05-04 13:06:43 +02:00
Felix Ableitner
5ba49f268d
Dont transcode videos when it is not required ( fixes #1780 )
2019-05-04 03:19:49 +02:00
Chocobozzz
2b4dd7e26d
Fix optional privacy in upload endpoint
2019-04-25 13:55:28 +02:00
Chocobozzz
2fb5b3a55a
Relax videos list thumbnail api join
2019-04-24 16:26:22 +02:00
Chocobozzz
1735c82572
Update sequelize
2019-04-24 16:26:20 +02:00
Chocobozzz
e8bafea35b
Create a dedicated table to track video thumbnails
2019-04-24 16:25:52 +02:00
Chocobozzz
4ee7a4c9ac
Remove tmp file on image processing error
2019-04-24 16:25:51 +02:00
Chocobozzz
1eddc9a74f
Add user adminFlags
2019-04-15 14:39:52 +02:00
Chocobozzz
8f0bc73d7d
Add ability to limit videos history size
2019-04-11 15:38:53 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/
2019-04-11 14:26:41 +02:00
Chocobozzz
6dd9de95df
Move config in its own file
2019-04-11 13:45:39 +02:00
Chocobozzz
fd8710b897
Add logs endpoint
2019-04-10 16:38:32 +02:00
Yohan Boniface
c100a6142e
Add /accounts/:username/ratings endpoint ( #1756 )
...
* Add /users/me/videos/ratings endpoint
* Move ratings endpoint from users to accounts
* /accounts/:name/ratings: add support for rating= and sort=
* Restrict ratings list to owner
* Wording and better way to ensure current account
2019-04-09 11:02:02 +02:00
Chocobozzz
ae9bbed46d
Update P2P media loader peer version
2019-04-08 11:16:14 +02:00
Chocobozzz
14aed608f5
Copy video/audio codec for HLS
2019-04-08 10:03:23 +02:00
Chocobozzz
4e10f4b2f1
Fix context types
2019-04-08 09:55:25 +02:00
Chocobozzz
ae3171b660
Fix jsonld context
2019-04-08 09:24:04 +02:00
Chocobozzz
5322589d16
Use custom ffmpeg path in youtube dl
2019-04-03 10:16:18 +02:00
Josh Morel
7ccddd7b52
add quarantine videos feature ( #1637 )
...
* add quarantine videos feature
* increase Notification settings test timeout
to 20000ms. was completing 7000 locally but timing out
after 10000 on travis
* fix quarantine video test issues
-propagate misspelling
-remove skip from server/tests/client.ts
* WIP use blacklist for moderator video approval
instead of video.quarantine boolean
* finish auto-blacklist feature
2019-04-02 11:26:47 +02:00
Chocobozzz
2ba9287131
Cleanup invalid rates/comments/shares
2019-03-19 16:23:02 +01:00
Chocobozzz
dae86118ed
Cleanup express locals typings
2019-03-19 10:35:15 +01:00
Chocobozzz
0f6acda116
Does exist
2019-03-19 09:26:50 +01:00
Chocobozzz
f0a3988066
Add to playlist dropdown
2019-03-18 11:17:59 +01:00
Chocobozzz
09979f8959
Refactor video playlist middlewares
2019-03-18 11:17:59 +01:00
Chocobozzz
df0b219d36
Add playlist rest tests
2019-03-18 11:17:59 +01:00
Chocobozzz
07b1a18aa6
Add playlist check param tests
2019-03-18 11:17:59 +01:00
Chocobozzz
418d092afa
Playlist server API
2019-03-18 11:17:59 +01:00
Chocobozzz
bfe2ef6bfa
Add request body limit
2019-02-21 17:19:16 +01:00
Chocobozzz
92bf2f6299
Improve channel and account SEO
2019-02-21 14:06:10 +01:00
Chocobozzz
c74c9be934
Refractor published date on video import
2019-02-12 11:47:23 +01:00
Andrés Maldonado
84929846e7
Import original publication date (CLI)
...
* Import original publication date when importing a video from YouTube using the CLI
* Fix lint issues
2019-02-12 11:19:19 +01:00
Andrés Maldonado
4e553a41fd
Import original publication date (web UI)
...
Import original publication date when importing a video from YouTube in the web UI
2019-02-12 11:19:19 +01:00
Chocobozzz
7f8f8bdb4a
HLS is only supported by ffmpeg 4
...
Because of c8f625f529
2019-02-12 11:14:36 +01:00
Chocobozzz
7519127b5c
Add originallyPublishedAt unit tests
2019-02-11 15:16:39 +01:00
Chocobozzz
b718fd2237
Merge branch 'develop' into pr/1285
2019-02-11 14:09:23 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217
2019-02-11 11:52:34 +01:00
Chocobozzz
4c280004ce
Use a single file instead of segments for HLS
2019-02-11 09:13:02 +01:00
Chocobozzz
0920929696
Add hls support on server
2019-02-11 09:13:02 +01:00
Chocobozzz
307902e2b3
Try to fix Mac video upload
2019-01-24 15:23:06 +01:00
Chocobozzz
ef04ae20fe
Prefer avg_frame_rate to fetch video FPS
2019-01-17 14:03:32 +01:00
Chocobozzz
848f499def
Prepare Dislike/Flag/View fixes
...
For now we Create these activities, but we should just send them
directly.
This fix handles correctly direct Dislikes/Flags/Views, we'll implement
the sending correctly these activities in the next peertube version
2019-01-15 14:45:09 +01:00
clementbrizard
1e74f19a21
Enable video upload and edit
2019-01-12 13:45:23 +00:00
Chocobozzz
a4101923e6
Implement contact form on server side
2019-01-10 11:32:37 +01:00
Chocobozzz
2f1548fda3
Add notifications in the client
2019-01-09 11:15:15 +01:00
Chocobozzz
f7cc67b455
Add new follow, mention and user registered notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
cef534ed53
Add user notification base code
2019-01-09 11:15:15 +01:00
Chocobozzz
8b9a525a18
Add history on server side
...
Add ability to disable, clear and list user videos history
2018-12-18 11:35:50 +01:00
Chocobozzz
9ecac97be0
Fix crash regarding video stream issue
2018-12-12 08:55:56 +01:00
Chocobozzz
64e3e27053
Fix broken audio with transcoding
2018-12-11 17:48:14 +01:00
Chocobozzz
44848a51dc
Overwrite video caption
2018-12-11 15:56:35 +01:00
Chocobozzz
f481c4f9f3
Use move instead rename
...
To avoid EXDEV errors
2018-12-11 15:12:38 +01:00
Chocobozzz
14e2014acc
Support additional video extensions
2018-12-11 15:11:09 +01:00
Chocobozzz
2feebf3e6a
Add sitemap
2018-12-05 17:44:34 +01:00
Chocobozzz
6040f87d14
Add tmp and redundancy directories
2018-12-04 16:04:15 +01:00
Chocobozzz
745778256c
Fix thumbnail processing
2018-12-04 16:04:14 +01:00
Chocobozzz
1b5e2d7290
Optimize config endpoint
2018-11-23 11:07:00 +01:00
Chocobozzz
9fa0ea41aa
Fix youtube video import
2018-11-21 16:29:32 +01:00
Chocobozzz
d175a6f7ab
Cleanup tests imports
2018-11-19 17:08:18 +01:00
Chocobozzz
361805c48b
Fix checkbox margins
2018-11-19 14:34:36 +01:00
Chocobozzz
a8a6322778
Optimize image resizing
2018-11-19 14:34:36 +01:00
Chocobozzz
58d515e32f
Fix images size when downloading them
2018-11-16 16:48:17 +01:00
Chocobozzz
babecc3c09
Fix AP collections pagination
2018-11-16 15:49:16 +01:00
Chocobozzz
5c6d985fae
Check activities host
2018-11-14 16:32:27 +01:00
Chocobozzz
df66d81583
Add compatibility with other Linked Signature algorithms
2018-11-14 16:32:27 +01:00
Chocobozzz
be0f59b4ee
Merge branch 'master' into develop
2018-11-13 15:32:12 +01:00
Thomas Citharel
1cf8aca11d
Rename context stats to state
...
I guess it refers to the VideoState enum used here as `state` instead.
2018-11-13 14:51:36 +01:00
Rigel Kent
408f50ebc7
(ffmpeg) force pixel format yuv420p ( #1394 )
2018-11-12 15:43:51 +01:00
Chocobozzz
f7509cbec8
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:59:52 +02:00
Chocobozzz
40ed9f6aae
Update translations
2018-10-19 12:45:40 +02:00
Chocobozzz
41f2ebae4f
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:26:37 +02:00
Chocobozzz
cdf4cb9eaf
Fix transcoding
2018-10-18 10:44:16 +02:00
Chocobozzz
e27ff5da6e
AP mimeType -> mediaType
2018-10-18 10:44:15 +02:00
Chocobozzz
28e51e831b
Oup's
2018-10-17 17:58:21 +02:00
Chocobozzz
0229b014e0
Fix tests
2018-10-17 13:10:58 +02:00
Chocobozzz
bb5d90e62f
Merge branch 'feature/webtorrent-disabling' into develop
2018-10-17 10:48:56 +02:00
Felix Ableitner
bcf21a376f
Set keyframe interval for transcoding ( fixes #1147 ) ( #1231 )
...
* Set keyframe interval for transcoding (fixes #1147 )
* remove -maxrate and old bitrate setter
* pass fps as parameter
* set type for ffmpeg param
* assign ffmpeg object
2018-10-17 10:15:38 +02:00
Chocobozzz
7ad9b9846c
Add ability for users to block an account/instance on server side
2018-10-16 16:41:36 +02:00
Rigel Kent
ed638e5325
move to boolean switch
2018-10-13 11:53:48 +02:00
Rigel Kent
64cc5e8575
add webtorrent opt-out settings
...
- add a key in localstorage to remember the opt-out
- add a user setting
2018-10-13 11:53:42 +02:00
BRAINS YUM
0e5ff97f6f
add parseBytes utility function and tests ( #1239 )
...
* add parseBytes utility function and tests
make it parse TB MB
fix parseBytes; * 1024
test bytes too, and make parseByte to parse quotas
add test in travis.sh in misc
* fix parseBytes and test to pass linting
2018-10-13 08:43:55 +02:00
Chocobozzz
71e318b4fe
Merge branch 'release/v1.0.0' into develop
2018-10-11 09:52:16 +02:00
Chocobozzz
1cd3facc3d
Add ability to list all local videos
...
Including private/unlisted for moderators/admins
2018-10-10 11:46:50 +02:00
Chocobozzz
729bb18481
Add more headers to broadcast/unicast
2018-10-10 08:51:58 +02:00
Rigel Kent
e1d7b98bc7
fix automatic bitrate adjustment
...
The regression was introduced in
edb4ffc7e0
and forced a fixed bitrate per
resolution
2018-10-08 21:14:21 +02:00
Felix Ableitner
edb4ffc7e0
Set bitrate limits for transcoding ( fixes #638 ) ( #1135 )
...
* Set bitrate limits for transcoding (fixes #638 )
* added optimization script and test, changed stuff
* fix test, improve docs
* re-add optimize-old-videos script
* added documentation
* Don't optimize videos without valid UUID, or redundancy videos
* move getUUIDFromFilename
* fix tests?
* update torrent and file size, some more fixes/improvements
* use higher bitrate for high fps video, adjust bitrates
* add test video
* don't throw error if resolution is undefined
* generate test fixture on the fly
* use random noise video for bitrate test, add promise
* shorten test video to avoid timeout
* use existing function to optimize video
* various fixes
* increase test timeout
* limit test fixture size, add link
* test fixes
* add await
* more test fixes, add -b:v parameter
* replace ffmpeg wiki link
* fix ffmpeg params
* fix unit test
* add test fixture to .gitgnore
* add video transcoding fps model
* add missing file
2018-10-08 16:26:04 +02:00
Lucas Declercq
7f2cfe3a79
Rename downloadingEnabled property to downloadEnabled
2018-10-08 14:45:22 +02:00
Lucas Declercq
4ffdcfc63b
Fix some defaults values + indentation
2018-10-08 14:42:55 +02:00
Lucas Declercq
156c50af30
Add downloadingEnabled property to video model
2018-10-06 19:17:39 +02:00
Chocobozzz
6e46de095d
Add user history and resume videos
2018-10-05 11:22:38 +02:00
Chocobozzz
499d901595
Fix config endpoint
2018-10-03 14:36:00 +02:00
Chocobozzz
c049d791f9
Check the comment is defined when validating body
2018-10-01 19:07:25 +02:00
Chocobozzz
a3737cbf2b
Fix video fps validator
2018-10-01 16:27:47 +02:00
Chocobozzz
7361c401b1
Decrease log file max size
2018-10-01 15:20:13 +02:00
Rigel Kent
abb2c7927c
show last commit hash alongside server version in footer
2018-10-01 14:31:01 +02:00
Chocobozzz
cf9166cf2f
Add timeout on youtube dl to cleaup files
2018-10-01 12:00:05 +02:00
Chocobozzz
e37c85e933
Delete each file on failed import
2018-10-01 10:52:58 +02:00
Chocobozzz
d0b52b5285
Correctly delete directories on import
2018-09-28 09:08:12 +02:00
Chocobozzz
cc68049424
Fix video import of some youtube videos
2018-09-26 15:55:45 +02:00
Chocobozzz
a71de50bbc
Correctly fix the webtorrent redundancy bug
2018-09-26 08:50:21 +02:00
Chocobozzz
69fa54a0b2
Dirty webtorrent fix to wait FS sync
2018-09-25 19:42:05 +02:00
Chocobozzz
c922d14220
Fix redundancy bug with old peertube torrent
2018-09-25 17:49:50 +02:00
lsde
7e7ab7a15d
Add dot into allowed actor username
...
One should have an oportunity to include a dot into the username.
Currently, it breaks the flow if one has an SSO in front of PeeTube which creates users with "name.surname".
2018-09-25 11:41:15 +02:00