Commit Graph

529 Commits (439d68e53766d48e7316aab6b6f78cd555247f6e)

Author SHA1 Message Date
Chocobozzz 8dd2d05058
Improve plugin management documentation 2019-08-22 09:17:41 +02:00
Chocobozzz 13126d9961
Add plugin in CLI tools table of contents 2019-08-22 09:10:00 +02:00
Frank Sträter 0ad45af705 Improved description of all file uploads (#2053)
* Add format:binary for file uploads

* Fix wrongly named field for encoding

* Fix typo in field name

* Add contentType for torrentfile and captionfile

* Add contentType for videofile
2019-08-21 08:32:15 +02:00
Frank Sträter 37db4176f2 Add originallyPublishedAt to PUT videos + change HTTP response to 204 2019-08-14 11:10:17 +02:00
Chocobozzz 54beb819f0
Bumped to version v1.4.0-rc.1 2019-08-13 15:34:39 +02:00
Wirebrass 67ac918df9 Add/update OpenRC service script (#2012)
* Update APP_DIR and CONFIG_DIR

APP_DIR is now in /var/www/peertube/peertube-latest (symbolic link).
CONFIG_DIR is now in /var/www/peertube/config

* Add OpenRC service script

Tested on Gentoo Linux.
2019-08-13 09:22:54 +02:00
Frank Sträter 07d02f6de8 Specify the restrictions on tags array and it's string items (#2016)
* Fixed 2 typos

* Specify tags array restrictions
2019-08-12 10:19:45 +02:00
Chocobozzz fd2ddcae8f
Fix nginx template on dual stack server
See https://framacolibri.org/t/listen-to-unix-socket-instead-of-localhost-9000/5348
2019-08-07 15:13:01 +02:00
Chocobozzz 51c3544718
Deprecate Node 8
The support ends on December 2019: https://github.com/nodejs/Release#release-schedule
2019-08-07 12:07:59 +02:00
Frank Sträter b3d1054e86 Fixed 2 typos 2019-08-07 10:36:22 +02:00
Frank Sträter f9f8909298 Add originallyPublishedAt in /videos/upload to the OpenAPI document 2019-08-05 14:18:03 +02:00
Wirebrass f60e85ce87 Update CentOS 7 dependencies install (#2004)
* Update CentOS 7 dependencies install

Add initialization for postgresql database (else there is an error when starting postresql service).
Enable Redis and PostreSQL services.
Replace "service" by "systemctl" (systemd).

Tested in local on a fresh CentOS 7 install.

* Add wget package to install

Add wget package to install
2019-08-05 09:07:58 +02:00
Florent F 1f8ac02436 Document how to synchronize YT channel to PeerTube 2019-08-01 11:27:00 +02:00
Chocobozzz bfbd912886 Fix broken playlist api 2019-08-01 09:11:04 +02:00
Chocobozzz c928e1364f
Improve nginx client images cache 2019-07-29 14:58:41 +02:00
Chocobozzz 1f82e3e885
Add video import in open api 2019-07-29 14:33:16 +02:00
Chocobozzz 094ff8e692
Fix mocha commands 2019-07-29 14:16:03 +02:00
Chocobozzz 2284f20207
Add gitlab ci support 2019-07-29 13:40:39 +02:00
Chocobozzz 112be80ebd
Improve translation plugin guide 2019-07-26 15:29:28 +02:00
Chocobozzz 7545a0941c
Add translations and constants manager plugins doc 2019-07-26 15:18:31 +02:00
Chocobozzz 195474f932
Fix guide typo 2019-07-25 13:54:47 +02:00
Chocobozzz 523990dbe6
Upgrade server dependencies 2019-07-25 11:00:41 +02:00
Chocobozzz bfa1a32b34
Add client hook/register typings 2019-07-24 11:55:08 +02:00
Chocobozzz 5f189c9c85 Add hooks documentation 2019-07-24 10:58:16 +02:00
Chocobozzz 51326912d6 Fix optimize old videos script 2019-07-24 10:58:16 +02:00
Chocobozzz d8e9a42c4b Update plugin guide 2019-07-24 10:58:16 +02:00
Chocobozzz 9b474844e8 Add CLI plugins tests 2019-07-24 10:58:16 +02:00
Chocobozzz 9fa6ca160a Some plugins fixes and doc enhancements 2019-07-24 10:58:16 +02:00
Chocobozzz 662e5d4fe4 Add plugin quickstart documentation 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 297067399d
yarn -> npm in dockerfile 2019-07-08 16:09:13 +02:00
Jacen 7593d9f872 replace npm and apt-get by yarn and apt in dockerfile.stretch (#1952)
* replace npm and apt-get by yarn and apt in dockerfile.stretch

* keep consistancy
2019-07-08 16:07:58 +02:00
Dirk Kelly 512a575971 Updated openapi.html ExternalDocs url 2019-07-08 16:06:55 +02:00
Chocobozzz cb9d028a6b
Fix openapi schema 2019-07-03 17:28:09 +02:00
Wirebrass bfc6bb947d For Gentoo : set testing keyword for yarn
Gentoo has not "stable" keyword for yarn (cf source, next line), you need to add "testing" keyword for yarn.
Source : https://packages.gentoo.org/packages/sys-apps/yarn
2019-07-02 11:42:17 +02:00
Wirebrass 2cf2142bc5 For Gentoo : update @peertube set (delete vips)
The media-libs/vips package does not exist on Gentoo (and all works fine on my PeerTube POC without vips).
2019-07-02 11:41:53 +02:00
Wirebrass c1109b45f6 Update postgresql version for Gentoo (#1935)
Update postgresql version for Gentoo example
2019-06-22 14:46:46 +02:00
Chocobozzz b6a1dd4d1b
Merge branch 'release/v1.3.0' into develop 2019-06-17 09:48:41 +02:00
Chocobozzz 0109c4921c
Bumped to version v1.3.1 2019-06-17 08:38:32 +02:00
Chocobozzz 5dce26d202
Improve video REST documentation 2019-06-11 10:01:22 +02:00
Chocobozzz 4c3dbb7acd
PeerTube only supports nodejs 8 2019-06-11 09:12:42 +02:00
Chocobozzz 1f20622f2b
Improve registration
* Add ability to set the user display name
 * Use display name to guess the username/channel name
 * Add explanations about what is the purpose of a username/channel name
 * Add a loader at the "done" step
2019-06-07 17:05:42 +02:00
Chocobozzz ad3405d087
Improve 4K video quality after transcoding 2019-06-06 14:45:57 +02:00
Chocobozzz a41b9da1a9
Merge branch 'release/v1.3.0' into develop 2019-06-03 09:32:33 +02:00
Chocobozzz 88ebb43310
Bumped to version v1.3.0 2019-06-03 08:47:25 +02:00
Chocobozzz 7d14d4d2ca
Server: Bulk update videos support field 2019-05-31 16:44:46 +02:00
Chocobozzz 7e9d3f259d Move CLI dependencies in their own package.json 2019-05-27 14:56:06 +02:00
Raphael 089caedc6f refactor(docs): typo in Open API reference 2019-05-24 13:53:43 +02:00
Chocobozzz 048b694661
Fix videos list response in rest api doc 2019-05-24 10:17:54 +02:00
Chocobozzz ee89e8fd1a
Fix video privacy in rest api documentation 2019-05-24 10:09:27 +02:00
Chocobozzz 67ae04a5e7
Add video caption rest api doc 2019-05-24 10:01:08 +02:00
Chocobozzz 63d17405d0
Fix role documentation in rest api 2019-05-24 09:25:30 +02:00
Chocobozzz 46e9407c60
Update URLs to point to new documentation site 2019-05-23 14:58:34 +02:00
Chocobozzz faebb42355
Bumped to version v1.3.0-rc.2 2019-05-22 09:37:13 +02:00
Chocobozzz ea0877b405
Bumped to version v1.3.0-rc.2 2019-05-22 08:22:14 +02:00
Felix Ableitner 1bab2bbc11 Fix docker-compose setup so Peertube sees correct IP 2019-05-21 16:59:42 +02:00
Axel Viala 3daaa19274 Add way to set root password by environment.
Add a condition test to pass by environment a predetermined
root password for setting up.
2019-05-16 09:17:10 +02:00
Chocobozzz 3fbbadabea
Bumped to version v1.3.0-rc.1 2019-05-14 14:00:03 +02:00
Chocobozzz ac043122ae
Fix e2e tests 2019-05-14 13:59:10 +02:00
Chocobozzz 39e6a5cbec
Document how I do releases 2019-05-14 10:58:28 +02:00
Chocobozzz 2888c12b3b
Add doc on how to add a new language to peertube 2019-05-14 10:21:33 +02:00
Chocobozzz 26aef7c3fe
Add singular/plural tip for translation 2019-05-13 17:45:00 +02:00
Yohan Boniface c342726ad4 Allow to control RATES_LIMIT from configuration (#1787)
* Allow to control RATES_LIMIT from configuration

* @Chocobozzz review (squash me)
2019-04-26 13:48:55 +02:00
Chocobozzz ff40a4ebab
dailyVideoQuota -> videoQuotaDaily in doc 2019-04-24 17:35:59 +02:00
Chocobozzz 9ce3d3027e
Fix video channel API route param in doc 2019-04-24 16:57:34 +02:00
Chocobozzz fbe1bc2afa
Add videoQuotaDaily in documentation 2019-04-24 16:54:17 +02:00
Chocobozzz e8a739e880
Fix video import CLI script
Password is an optional argument
2019-04-24 16:51:25 +02:00
Chocobozzz f2e0cca90b
Add host network mode for reverse proxy 2019-04-24 16:28:56 +02:00
Antoine Millet 9c85ee2ed0 Add argument to dockerfile to pass options to npm run build 2019-04-24 16:20:41 +02:00
Chocobozzz 31b48aad47
Add change user password from CLI documentation 2019-04-15 09:57:24 +02:00
Jan Keromnes 0cfcbae818 Add automated dev setup using Gitpod 2019-04-12 09:25:43 +02:00
Chocobozzz 31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +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
Mathieu Agopian 12fed49eba Add the video tags restrictions to the API docs
Fixes #1744
2019-03-29 16:58:05 +01:00
Quentin Dupont ccd3182a0d (doc) rephrase yarn version to latest (#1719) 2019-03-28 14:14:59 +01:00
Felix Ableitner b427febb4d Fix problem with SMTP in default docker-compose setup 2019-03-11 09:38:20 +01:00
Chocobozzz 539d3f4faa
BREAKING: update CSP configuration
Disable it by default and add ability to specify a custom report uri
2019-02-21 16:28:53 +01:00
Chocobozzz e359e88b08
Add warning regarding config upgrade in docker.md 2019-02-21 15:05:44 +01:00
Chocobozzz d06caf3e67
Add CLI tools doc link in production.md 2019-02-21 15:02:35 +01:00
Chocobozzz 28c8e63e55
Add video import enpoint in openapi 2019-02-19 17:56:50 +01:00
Yann Sionneau a18e87559b Add missing python-dev dependency for Debian/Ubuntu systems 2019-02-19 08:20:39 +01:00
Chocobozzz 301fc49c17
Bumped to version v1.2.1 2019-02-15 09:43:39 +01:00
Benjamin Bouvier 7eeb6a0ba4 Nginx config file: remove text/html from gzip_types
As stated by https://nginx.org/en/docs/http/ngx_http_gzip_module.html, text/html is always part of the gzip_types. This removes a warning when checking the Nginx configuration files.
2019-02-11 04:29:51 +01:00
Chocobozzz f5305c04aa
Bumped to version v1.2.0 2019-02-06 11:57:57 +01:00
Chocobozzz 4a57b65cc5
Support socket.io in nginx template 2019-01-29 09:10:24 +01:00
Chocobozzz cfeae291c0
Bumped to version v1.2.0-rc.1 2019-01-17 16:15:20 +01:00
Chocobozzz bb8f7872f5
Fix peertube CLI documentation 2019-01-14 11:01:40 +01:00
victor héry e902e03f0f Patch docker entrypoint to speed up the chown at startup 2019-01-14 09:04:52 +01:00
Chocobozzz a4101923e6
Implement contact form on server side 2019-01-10 11:32:37 +01:00
Chocobozzz 1fd12c7cfa
Fix video tags update/upload in openapi 2019-01-09 14:10:25 +01:00
Rigel Kent e76d578414
(doc) update API spec to include user subscription routes 2019-01-03 18:00:29 +01:00
Michael Koppmann a46934c825 more systemd service hardening (#1488) 2018-12-15 17:04:23 +01:00
Gérald Niel 7f3d712d5e (fix) FreeBSD startup script (#1484)
This PR fixes #1477 introduced by #1474
2018-12-13 20:53:36 +01:00
Rigel Kent 5e755fff9d add Content Security Policy (#1252)
* add Content Security Policy

* remove reflect-metadata on production builds to get rid of unsafe-eval

* fix baseCSP usage

* add SRI to CSP

* add blob: to media-src

* remove SRI

* CSP set to reportOnly

* adding data: to connect-src CSP

* remove block-all-mixed-content

* add report-uri support
2018-12-13 09:49:45 +01:00
Gérald Niel 2cf9a4626f Update FreeBSD startup script (#1474) 2018-12-10 10:51:28 +01:00
Rigel Kent f50ab1c289
(doc) fix syntax in openapi spec for watching progress 2018-12-08 18:56:12 +01:00
Micah Elizabeth Scott 4b49385892 Remove hard-coded 8GB upload limit in client (#1293)
* Remove hard-coded 8GB upload limit in client

Ideally we'd know what the specific server's configured upload limit
is before starting, but this 8GB limit is not useful if an administrator
has changed the nginx post limit on the server.

* Better docs for admins about client_max_body_size

Seems like some admins already tweak this value up or down to allow
for different maximum video upload sizes. The current codebase has no
other server-side limits that I'm aware of, and I've been routinely
uploading quite large videos to my instance.

This patch replaces the somewhat incorrect (or outdated?) 'hard limit'
comment with some advice about allocating enough space for nginx and
communicating the limit with your users.

Of course it would be better if this configuration could be unified with
PeerTube's config somehow. I'm not sure whether the best option there is
to turn off nginx's buffering here and let PeerTube handle the entire upload
(can we do this only for the video upload API endpoint?) or whether we want
PeerTube to generate nginx configs in a more automated way layer. In any case,
this patch is intended as an incremental improvement.
2018-12-07 14:58:17 +01:00
Rigel Kent 3114c2c2cc hardening systemd unit 2018-12-07 14:14:24 +01:00
Chocobozzz 14d1b7b95a
Merge branch 'hotfix/docker' into develop 2018-12-06 13:48:46 +01:00
Chocobozzz 73a48728ee
Fix docker build and gosu 2018-12-06 13:48:33 +01:00
Chocobozzz 7089e7b4e5
Improve information regarding prune storage script 2018-12-05 17:44:36 +01:00
Chocobozzz 5b036b8ef2
Better tools.md doc 2018-12-04 17:19:44 +01:00
Nathanaël J 9024bece9a Use `'` instead of `'` for passwords in the documentation (see #1453) 2018-12-04 17:16:59 +01:00
Chocobozzz b9fffa297f
Create redundancy endpoint 2018-12-04 17:08:55 +01:00
Chocobozzz 6040f87d14
Add tmp and redundancy directories 2018-12-04 16:04:15 +01:00
Rigel Kent 2beb98952a
change type of languageOneOf query parameter 2018-12-04 13:51:10 +01:00
Chocobozzz d639c3bf14
Improve tools doc 2018-12-04 10:08:45 +01:00
Chocobozzz b6ff69719d
Bumped to version v1.1.0 2018-12-04 08:29:12 +01:00
Rigel Kent fd5af7a269
add parameters to GET /videos route spec 2018-11-24 18:18:56 +01:00
Rigel Kent 3f82804c6c
add donate link, move redundancy doc and images to docs.joinpeertube.org 2018-11-23 18:02:08 +01:00
Chocobozzz 6cc98dfff3
Add open api bump version in release script 2018-11-22 15:04:14 +01:00
Felix Ableitner fef13f1480 Various improvements for docker-compose 2018-11-21 16:21:42 +01:00
Rigel Kent 0f49023061
make POST /users have integer role enum 2018-11-21 11:52:30 +01:00
Mateusz Piotrowski 31d45e0e0b Improve FreeBSD setup instructions
Use install(1) instead of cp(1) and chmod(1) to install
the service file. Also, use sysrc(8) to enable the PeerTube
service in rc.conf(5).
2018-11-21 10:46:56 +01:00
Rigel Kent d216b5387f
add job state in path in openapi spec 2018-11-19 22:10:35 +01:00
Rigel Kent 65f0267930
fix rest api quickstart and specify values in openapi spec 2018-11-19 22:07:38 +01:00
Rigel Kent 9d0b856e93
(quickfix) typo in openapi spec groups 2018-11-17 15:17:33 +01:00
Rigel Kent 9ab81fc4a9
grouping moderation endpoints in the REST API spec 2018-11-17 15:16:01 +01:00
Rigel Kent 5776f78e3b
grouping tags by main category in the spec 2018-11-16 14:33:49 +01:00
Rigel Kent 6441981bc6
adding ownership and watching video APIs to the spec 2018-11-16 13:31:24 +01:00
Rigel Kent cfd140abd6
remove superfluous privacy field for upload 2018-11-16 13:31:23 +01:00
Rigel Kent 8f9e8be1fc
fix API spec on POST /videos/upload and provide Shell example 2018-11-15 17:09:25 +01:00
Rigel Kent 3e9e6f2f14
migrate Swagger 2.0 spec to OpenAPI 3.0.0 2018-11-15 14:10:16 +01:00
Rigel Kent 2963c3432f
updated REST API documentation 2018-11-13 23:32:55 +01:00
Rigel Kent 1d859b5afa
sync API version with PeerTube version and auto-update it via git hooks 2018-11-13 14:31:48 +01:00
LecygneNoir eff7cdd7b7 Configure docker image to accept trust_proxy as an env variable in json array (#1338) 2018-10-22 19:11:01 +02:00
Kyâne Pichou 4293e362af Improve dev Dockerfile (#1333)
* Improve dev Dockerfile

Use Docker best-practices for the development Dockerfile. Save 3Mo.

* Update support/docker/dev/Dockerfile

Co-Authored-By: pichouk <kyane@kyane.fr>
2018-10-22 14:37:40 +02:00
Rigel Kent 402b634b03
(doc) fix path to peertube-repl 2018-10-19 15:47:31 +02:00
Rigel Kent c141f68be1
add repl to the cli wrapper, remove extraneous TOC in tools.md 2018-10-19 14:24:35 +02:00
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
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
Pierre-Alain TORET 80d7cf3a15 Update doc for CentOS 7 devtoolset-7
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-18 10:02:11 +02:00
Florent F 05623b9030 Add resolution to create-transcoding-job script (#654)
* Add resolution to create-transcoding-job script

* Requested changes
2018-06-15 18:27:35 +02:00
Chocobozzz bbe0f0645c
Add ability to schedule video publication 2018-06-15 18:20:56 +02:00
Chocobozzz b314f983f0
Add note in upgrade guide for nginx/systemd 2018-06-14 09:42:03 +02:00
Chocobozzz 850c1bf7cc
Move iso639 strings in its own translation file 2018-06-13 15:55:13 +02:00
Chocobozzz 2186386cca
Add concept of video state, and add ability to wait transcoding before
publishing a video
2018-06-12 20:37:51 +02:00
Chocobozzz 54a3a12ed2
Improve tools documentation 2018-06-11 15:47:32 +02:00