Commit Graph

485 Commits

Author SHA1 Message Date
Kim c5621bd23b
Fix missing python dependency in Dockerfile.buster (#2495)
* Fix missing youtube-dl dependency in buster docker image

* Fix missing python dependency in buster docker image
2020-02-17 10:01:22 +01:00
Rigel Kent c9925e2d13
Add libraries section to the REST Quickstart
Document the new OpenAPI clients in the REST Quickstart, listing supported languages and their repositories.
2020-02-17 09:33:45 +01:00
Chocobozzz 1d17d86349
Merge branch 'open-api-clients' into develop 2020-02-17 09:03:49 +01:00
Moritz Warning fa62543c31
fix markdown link (#2504)
(doc) fix markdown link in docker.md
2020-02-16 23:22:23 +01:00
Average Dude 002df3813d OpenAPI clients generation 2020-02-14 14:14:14 +01:00
Chocobozzz 7024e9120b
Merge branch 'release/2.1.0' into develop 2020-02-11 09:44:59 +01:00
Chocobozzz 6b7e246ac7
Bumped to version v2.1.0 2020-02-11 08:35:39 +01:00
Rigel Kent 06bcfbd9f7 Downsample to the closest divisor standard framerate 2020-01-29 13:42:15 +01:00
Chocobozzz 0539dba824
Force utf8 when creating the database 2020-01-29 11:48:19 +01:00
Chocobozzz e669ff5873
Add redundancy CLI doc 2020-01-28 13:57:49 +01:00
Chocobozzz 751c8f68ec
Add openssl in docker container 2020-01-27 15:07:01 +01:00
Chocobozzz 5aafc6f373
Bumped to version v2.1.0-rc.1 2020-01-27 08:44:04 +01:00
Rigel Kent 205ed5b7dc
Add video caption upload documentation and improve error message
fixes #2038
2020-01-09 14:11:39 +01:00
Chocobozzz 8b7bd16673
Update changelog, 2.1.0-rc.1 -> end of January 2020-01-07 11:44:28 +01:00
ManMade-cube42 7a3864e818 Replace `peertube.example.com` with user's Peertube domain. (#2356)
* Add Sed

* Update production.md

* Minor Fix (+ add sudo)

* Update production.md
2019-12-30 10:39:59 +01:00
Rigel Kent 5b0413ddaa
Add author indicator to the comment replies loader 2019-12-28 11:48:53 +01:00
Rigel Kent 71810d0bcb
Update OpenAPI documentation to include basic playlists and new comment sorting 2019-12-27 17:52:53 +01:00
Chocobozzz 03d641a0d7
Add embed api build 2019-12-18 10:14:25 +01:00
Chocobozzz 478924a044
Add package.json for embed api 2019-12-18 10:14:24 +01:00
Chocobozzz 1a5fd848b4
Update nginx cipher to the one we use on framatube 2019-12-17 09:46:28 +01:00
tilllt 91fa7960f4 Added pointer to the .env file 2019-12-12 14:09:57 +01:00
Markus Richter 729c0f4d41 Slightly relax Cipher Suite hardening
This enables legacy software like apps on android 4.4.2 and matches the traefik configuration, where the specific cipher suite is already allowed.
2019-12-12 10:03:56 +01:00
Chocobozzz c82bf36a3f
Docker: stretch -> buster 2019-12-12 09:49:31 +01:00
Ben Lubar 7269868682 Add support for HLS in the Docker container. (#2324)
* Add support for HLS in the Docker container.

* Remove comment from Dockerfile.stretch
2019-12-12 09:41:52 +01:00
Chocobozzz 63247475a1
Fix nginx config
CORS headers were removed. See https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
2019-12-10 16:39:22 +01:00
Chocobozzz f37db8966d
Add streaming playlists endpoint in nginx 2019-12-10 12:11:20 +01:00
Chocobozzz 7b7d4e2a6a
Add client_body_temp_path hint in nginx template 2019-12-05 11:25:00 +01:00
Felix Ableitner 244e955e4e Simplify Dockerfile and slim Docker image 2019-12-04 08:43:58 +01:00
Chocobozzz 44daca1f41
Try to fix gitpod 2019-12-03 17:22:25 +01:00
MrGiga 3062112200 Fix For GitPod 2019-11-28 09:22:48 +01:00
Dirk Kelly ab87af1155 Update dependencies.md to be consistent
The current dependencies document syntax is broken on https://docs.joinpeertube.org/#/dependencies.
This update makes the page source consistent across distributions in the hopes of avoiding rendering issues.
2019-11-27 08:50:35 +01:00
Leopere 76d5770b7a Clarify and expand on admin credentials detail
It felt unclear so I clarified and suggested a method for obtaining the credentials easier.
2019-11-18 09:43:25 +01:00
Leopere e2882b2ccb Sticking to one env-var management system (#2247)
* Sticking to one env-var management system

Starting with the Postgres container so that you only have to set overlapping environment variables in one place.

* Moving Postfix envvars pt 1

* Moving Postfix envvars pt 2 .env file

* Added missing envvars.

* Adding functioning glue

Suggest something better if you wish.

* removed IP from example

* Removed default network from update.
2019-11-18 09:38:05 +01:00
Chocobozzz a42294c5ed
Merge branch 'weblate' into develop 2019-11-13 10:05:27 +01:00
Chocobozzz 2ef1d2bb74
Update localization dev guide 2019-11-13 10:04:17 +01:00
Chocobozzz cd1d6c23da
Remove unused files 2019-11-13 10:04:16 +01:00
Chocobozzz 81ad5366f7
Forgot a mention in changelog 2019-11-13 10:04:16 +01:00
Chocobozzz f0c0c0abd8
Merge branch 'release/2.0.0' into develop 2019-11-13 09:21:32 +01:00
Chocobozzz ee9f955997
Remove use of a private tmp directory
Causes some issues when importing a file etc
2019-11-13 09:07:01 +01:00
Matthieu De Beule f6d51cfe2a Fix Ruby and Python REST API examples
The previous examples where wrong, since they used a POST request.
I used the requests library for Python, since that is what most people
would want to use.
I removed the http.verify_mode in the Ruby example since I don't think
it is good practice to tell people to not verify HTTPS requests
2019-11-12 14:46:43 +01:00
Chocobozzz e8e09e27ff
Bumped to version v2.0.0 2019-11-12 08:04:15 +01:00
Chocobozzz 8c8f00e00f
Forgot a mention in changelog 2019-11-07 16:02:23 +01:00
Chocobozzz 16fd7c4b86
Bumped to version v2.0.0-rc.1 2019-10-29 08:26:43 +01:00
Chocobozzz 747b17c7c1
Fix openapi 2019-10-29 08:26:24 +01:00
Claude 14a767eda5 fixed a typo in docker.md 2019-10-29 08:08:23 +01:00
Chocobozzz f1b3888392
Fix traefik version in docker compose 2019-10-21 11:17:49 +02:00
Leopere 5a1e48482e Link back to the source for the curl'd files.
Just for those of us who don't want to dig a lot but want to dig a little.
2019-10-18 16:54:56 +02:00
Lukas Winkler 32d7f2b754 fix a few typos (#2141)
* fix a few typos

* apply changes to original files instead

* additional correction
2019-09-23 08:17:42 +02:00
Frank Sträter a1b572ea76 Remove feeds from API documentation 2019-09-18 15:24:33 +02:00
Pablo Joubert 8a08bc1ed5 Change cli parameter from -t to good --target-url 2019-09-17 10:01:10 +02:00
Chocobozzz 8c559fad1e
Merge branch 'release/1.4.0' into develop 2019-09-11 11:09:18 +02:00
Chocobozzz 22af8aac79
Bumped to version v1.4.1 2019-09-09 08:15:24 +02:00
Chocobozzz e9bdf8b4b5
Fix plugin CLI tools doc 2019-09-02 08:25:20 +02:00
Chocobozzz 076d3ace1e
Bumped to version v1.4.0 2019-08-26 11:56:10 +02:00
Chocobozzz f01dc977ae
Bumped to version v1.4.0 2019-08-26 08:49:46 +02:00
Frank Sträter 2a8ae7595c Update API documentation for accounts and config (#2072)
* Update Actor and Account schemas

* Fix mixed up paramaters for /accounts

* Update ServerConfig schema

* Add ServerConfigAbout and ServerConfigCustom schemas
2019-08-22 13:33:07 +02:00
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