Commit Graph

250 Commits (bcf21a376f1e26cb3e74236e4cc41909310d4c32)

Author SHA1 Message Date
Rigel Kent 12b119c05a
(doc) update architecture, tools and readme 2018-10-14 21:08:52 +02:00
BRAINS YUM 1e59ca3bac add REPL in server/tools/repl.ts (#1248) 2018-10-14 19:48:08 +02:00
am97 ee7c25c767 Create new Docker dev image (#1173)
* Move the old dev docker files to support/docker/janitor

* Create new Docker dev image
2018-10-09 17:35:02 +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
kaiyou 302e7b19da (docker) search and import settings env variables (#1210) 2018-10-07 15:04:38 +02:00
Rigel Kent 43971993e3
add features section to README.md 2018-10-03 01:35:41 +02:00
Rigel Kent d95fdb5af9
modify decentralized illustration in README 2018-10-02 11:13:07 +02:00
Rigel Kent 60b14e5e3f
add illustration to redundancy documentation 2018-10-02 11:09:35 +02:00
Chocobozzz e5565833f6
Improve redundancy: add 'min_lifetime' configuration 2018-09-24 13:38:39 +02:00
Rigel Kent 9234069903
add TOC to dependencies guide 2018-09-23 15:18:02 +02:00
am97 0a314a9987 add dependencies for Fedora (#1111) 2018-09-23 15:14:15 +02:00
Rigel Kent 81cdf382ff
specify to run services before running PeerTube 2018-09-22 15:48:27 +02:00
Chocobozzz 0491173a61
Merge branch 'develop' into cli-wrapper 2018-09-20 16:24:31 +02:00
Chocobozzz 415acc63cf
Add comments in nginx regarding blocks that can be safely removed 2018-09-17 17:45:54 +02:00
victor héry ff587059b9 Add possibility to manage trust_proxy list in docker image 2018-09-16 18:50:13 +02:00
Rigel Kent 8704acf49e
one cli to unite them all
Ash nazg thrakatulûk agh burzum-ishi krimpatul

- refactor import-videos to use the youtubeDL helper
- add very basic tests for the cli
2018-09-14 11:08:55 +02:00
Felix Ableitner 5284d4028c Don't include `preload` flag in sample HSTS header
This goes against the recommendations (preloading should be opt-in). Putting it in the example makes it likely that people enable it without knowing what it means.

https://hstspreload.org/?domain=peertube.social#opt-in
2018-09-11 20:10:57 +02:00
Josh Morel ecf06378ff further enhance tools install explanation 2018-09-11 10:57:44 +02:00
Rigel Kent 6328da8c01
make HSTS opt-in and leave it to the reverse-proxy 2018-09-09 22:10:38 +02:00
Chocobozzz 0292eb8c88
Try to improve remote tools explanation 2018-09-04 17:31:29 +02:00
Jorropo b8e4ee8ded optimize size of the README schemas (#1002)
```
/support/doc/user/watch-p2p.png -- 21.87kb -> 16.44kb (24.8%)
/support/doc/user/watch-video.png -- 27.89kb -> 21.04kb (24.56%)
/support/doc/user/decentralized.png -- 21.88kb -> 17.75kb (18.87%)
```
2018-09-02 11:28:09 +02:00
Edouard SCHWEISGUTH 649fa07756 Changes the README schemas (#984)
* Change readme schema & add their sources

* Add titles
2018-08-30 08:33:05 +02:00
Micah Elizabeth Scott f74c294a0d Suggest TCP/IP tuning to prevent buffer bloat + latency (#976)
* Suggest TCP/IP CoDel and BBR congestion control in production guide

This seems to be helping lots on my server, where the default
(Debian 9) was to use FIFO queueing which would cause buffer bloat
and huge latency for clients on slower network links.
2018-08-28 09:29:29 +02:00
Chocobozzz 11b8762f9c
Add start at checkbox in share modal 2018-08-27 16:04:06 +02:00
Chocobozzz 0ee027347a
Add parse-log doc 2018-08-27 15:33:22 +02:00
kaiyou 6bd9f2f11d (docker) add quota to the docker configuration values (#964) 2018-08-26 11:16:16 +02:00
osauzet 2987c3d78b add postgresql96-contrib to the FreeBSD dependencies (#958) 2018-08-24 16:12:41 +02:00
Micah Elizabeth Scott a18e02f358 Only enable gzip for HTML/CSS/JS
No compression on JSON endpoints, in order to protect
from potential compression+encryption data leak attacks (like BREACH)
2018-08-24 09:08:33 +02:00
Micah Elizabeth Scott b9ad995605 Add gzip support to the sample nginx configuration
Without gzip explicitly enabled, load times suffer from transferring
over a megabyte of plaintext javascript. With gzip enabled, the bundle
is down to about 300K, and loads much faster.

This change does not enable gzip on files that are already compressed,
so images, fonts, and videos will be sent without the CPU overhead.
2018-08-24 09:08:33 +02:00
Chocobozzz 65fcf1e9c2
Reduce FreeBSD title size 2018-08-21 10:48:57 +02:00
Chocobozzz 08c11bec43
Fix docker env file 2018-08-14 10:13:17 +02:00
Chocobozzz 904a463c77
Fix dockerfile 2018-08-10 10:37:16 +02:00
Chocobozzz e5095ca55a
Clean yarn cache after install in docker 2018-08-09 19:34:39 +02:00
Chocobozzz e6a3b266f1
Remove unnecessary env variables now we have a .env file 2018-08-08 10:10:21 +02:00
Chocobozzz d1e5922379
Try to reduce docker image size 2018-08-08 10:10:11 +02:00
Josh Morel 43c4c63937 fix pg_restore command for post-migrations
also avoid peertube db login for pg_dump command
2018-07-30 16:38:31 +02:00
David Libeau 655b549048 Correct API documentation for search (#881) 2018-07-29 22:26:05 +02:00
David Libeau fb72c19384 Correct API documentation for search (#878) 2018-07-28 20:38:49 +02:00
bsky 469b29087b Add postgresql-contrib to dependencies.md 2018-07-28 13:18:46 +02:00
Martin Trigaux 956888ac42 [FIX] doc: correct URL to PeerTube project
Instead of the French translation page
2018-07-27 09:21:24 +02:00
Jorropo 9a515f76ef Added redis-server.service to After
On very very slow monocore server, peertube can generate error if redis isn't started.
2018-07-27 09:16:02 +02:00
Jorropo a5d379d305 Updated components tree 2018-07-26 14:51:32 +02:00
Chocobozzz a8bf1d826e
404 on unknown thumbnail 2018-07-24 18:03:40 +02:00
Chocobozzz 7f8db30ccd
Add cors to static route in nginx template 2018-07-24 18:03:39 +02:00
Chocobozzz 76dd3e89ae
Improve production warning 2018-07-24 18:03:38 +02:00
Jorropo 05ae00984d [ImgBot] optimizes images
*Total -- 289.13kb -> 211.82kb
(26.74%)/support/doc/development/server/upload-video.png -- 56.19kb ->
33.83kb (39.8%)/support/doc/development/client/components-tree.png --
31.81kb -> 19.82kb
(37.68%)/client/src/assets/images/icons/icon-512x512.png -- 14.24kb ->
9.97kb (30.03%)/server/tests/fixtures/avatar-resized.png -- 1.69kb ->
1.19kb (29.24%)/server/tests/fixtures/avatar2-resized.png -- 1.68kb ->
1.21kb (28.41%)/client/src/assets/images/default-avatar.png -- 1.63kb ->
1.24kb (23.89%)/server/tests/fixtures/avatar.png -- 1.63kb -> 1.24kb
(23.89%)/server/tests/fixtures/avatar-big.png -- 143.15kb -> 111.56kb
(22.06%)/client/src/assets/images/icons/icon-192x192.png -- 3.58kb ->
2.86kb (20.21%)/server/tests/fixtures/video_short1.webm.jpg -- 2.83kb ->
2.36kb (16.75%)/client/src/assets/images/icons/icon-144x144.png --
2.34kb -> 1.95kb (16.53%)/client/src/assets/images/icons/icon-96x96.png
-- 1.91kb -> 1.62kb
(11.93%)/client/src/assets/images/icons/icon-72x72.png -- 1.72kb ->
1.53kb (11.1%)/client/src/assets/images/icons/icon-48x48.png -- 1.18kb
-> 1.17kb (1%)
2018-07-24 18:03:27 +02:00
Chocobozzz 57c36b277e Begin advanced search 2018-07-24 14:04:05 +02:00
Rigel Kent 828fdd08b7
(nginx) remove headers now dealt with helmet 2018-07-18 10:21:59 +02:00
Chocobozzz 57a81ff649
Fix static avatars/thumbnails cache 2018-07-17 19:04:41 +02:00
Chocobozzz 330eaf1296
Fix start/count/sort params in documentation 2018-07-17 16:37:54 +02:00