Commit Graph

236 Commits (ad76628b17ff8f25d3402d6d669b274116bbf76c)

Author SHA1 Message Date
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
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
Chocobozzz 40e87e9ecc Implement captions/subtitles 2018-07-16 11:50:08 +02:00
Rigel Kent d4557fd3ec
Correcting documentation to be more precise about CentOS 7 2018-07-16 11:10:48 +02:00
Haelwenn (lanodan) Monnier 396f224b5c support/doc/dependencies.md: Add Gentoo documentation
Related to: https://github.com/Chocobozzz/PeerTube/issues/778
2018-07-11 14:16:31 +02:00
William Lahti 999417328b Ability to programmatically control embeds (#776)
* first stab at jschannel based player api

* semicolon purge

* more method-level docs; consolidate definitions

* missing definitions

* better match peertube's class conventions

* styling for embed tester

* basic docs

* add `getVolume`

* document the test-embed feature
2018-07-10 17:47:56 +02:00
Chocobozzz 34b1919290
Increase upload limit to 8GB (test) 2018-06-29 17:10:53 +02:00
Chocobozzz 6454845e2f
Add warning regarding the domain name for docker install 2018-06-28 15:53:13 +02:00
Josh Morel 52be30763f fix docker-compose extension typo
was `yaml` changed to `yml`
2018-06-28 14:23:49 +02:00
PhieF 61b909b9bf Filter by category (#720)
* get videos with specific category (api)

* update api doc with category

* add url parameter to filter by category

* fix lint issues
2018-06-27 14:24:49 +02:00
Chocobozzz 0892f756aa
Add PEERTUBE_SMTP_DISABLE_STARTTLS config docker env 2018-06-27 08:54:36 +02:00
Chocobozzz 7b034aeda8
Add tips in translation doc 2018-06-27 08:28:43 +02:00
Chocobozzz 23687332e6
Improve update host script and add warning if AP urls are invalid 2018-06-21 18:36:08 +02:00
Luc Didry 2336a0e7fb Small fixes on translation guide 2018-06-21 15:22:53 +02:00
Chocobozzz 6a1787c127
Add translation guide 2018-06-21 14:07:53 +02:00
Chocobozzz 6387f320bf
Fix docker compose with admin email 2018-06-21 08:17:42 +02:00