Chocobozzz
63748ad005
Add files section to streaming playlists openapi doc
2020-05-13 11:57:38 +02:00
Chocobozzz
6676056a31
Add max count information in api doc
2020-05-13 11:31:42 +02:00
Chocobozzz
1151f5210c
Add ability to update embed captions
2020-05-06 11:54:33 +02:00
Chocobozzz
1a2820e6e8
Update plugin guide toc
2020-05-04 16:22:15 +02:00
Chocobozzz
5831dbcbc8
Add auth plugins guide
2020-05-04 16:21:39 +02:00
Chocobozzz
2db9c70f67
Add getSettings documentation
2020-05-04 16:21:39 +02:00
Chocobozzz
2dd530129f
Fix openapi search endpoint
2020-04-22 08:40:24 +02:00
Chocobozzz
b9e924a8d6
Fix playlist element param in api doc
2020-04-21 16:47:39 +02:00
Chocobozzz
0590bb4692
Add playlist exist api doc
2020-04-21 16:41:31 +02:00
Chocobozzz
59c794a5dc
Add videos list filters param in api doc
2020-04-21 16:03:51 +02:00
Chocobozzz
98639806c0
Fix comment body api doc
2020-04-21 15:28:17 +02:00
Chocobozzz
50e16ccf61
Improve abuse api doc
2020-04-21 15:24:19 +02:00
Chocobozzz
c18431505f
Add API doc for playlists
2020-04-21 15:04:39 +02:00
Chocobozzz
b029d58a27
Openapi consistency
2020-04-21 12:19:00 +02:00
Chocobozzz
b3af2601da
Add ability to remove privacies using plugins
2020-04-20 15:42:27 +02:00
Kim
8c7725dc3c
Add markdown support to plugins ( #2654 )
...
* Add markdown renderer to plugins
* Chore: add doc for markdown plugins
* Fix typing markdown plugin helpers
* Add lines between components in template
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 14:51:24 +02:00
Kim
437e8e06eb
Add custom modal to plugin helpers ( #2631 )
...
* Add custom modal component
* Add custom modal to app and plugins helpers
* Fixes custom modal component
* Add doc for custom modal
* Fix newline end of file html and scss files
* Move my-custom-modal component outside component for UserLoggedIn modals
* Move initializeCustomModal to ngAfterViewInit()
* Wrap events and conditionnals
* Replace ng-show with ngIf*
* Add modalRef to open only one modal + onCloseClick
* Refacto + Fix access methods of custom modal
* Fix methods names custom-modal.component
* Fix implement AfterViewInit & no default boolean
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 15:35:41 +02:00
Kim
74c2dece42
Add notifier to plugin helpers ( #2627 )
...
* Add notifier to client PeerTubeHelpers plugin
* Add doc for notifier PeerTubeHelpers
* Add getBaseClientScriptsRoute to client PeerTubeHelpers plugin
* Add doc for getBaseClientScriptsRoute PeerTubeHelpers
* Remove unused helper
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 09:08:59 +02:00
Chocobozzz
624a022157
Add pt version in embed options
2020-04-14 09:02:44 +02:00
Chocobozzz
5e2b2e2775
Add ability for plugins to add custom routes
2020-04-10 15:23:25 +02:00
Chocobozzz
6ccdf9d53e
Add duration in embed api playbackStatusUpdate
2020-04-08 14:52:28 +02:00
Chocobozzz
afd1a6ed49
Update embed api doc
2020-04-08 14:44:25 +02:00
Chocobozzz
96aae68cc4
Add "ended" embed API event
2020-04-08 14:39:31 +02:00
Chocobozzz
4fd98756e2
Correctly fix docker storage config
2020-04-02 13:59:01 +02:00
xcffl
a3188ba768
Move streaming-playlists to /data
2020-04-02 13:55:58 +02:00
dingycle
56d72521ec
Fix grammar in translation documentation
2020-03-26 10:57:14 +01:00
David Dobryakov
b2b0ce8ac8
Fix embed api docs
...
player.stop() -> player.pause()
2020-03-25 13:52:35 +01:00
Christoph Geschwind
5a390259b2
Change raw.github.com to raw.githubusercontent.com
...
```
> GET /Chocobozzz/PeerTube/master/support/docker/production/.env HTTP/1.1
> Host: raw.github.com
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location: https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env
```
2020-03-21 12:31:01 +01:00
Chocobozzz
5ab994fe8e
Fix embed api documentation
2020-03-20 15:04:02 +01:00
kimsible
cd7ec86f5c
feat: add dkim to docker-compose
2020-03-11 15:02:13 +01:00
Rigel Kent
61b20252a0
Add Nginx configuration to redirect videos to an s3 bucket
2020-03-09 09:41:29 +01:00
Rigel Kent
62df8cc1f0
Reword HSTS configuration to warn user of nginx's add_header shortcomings
2020-03-03 11:40:45 +01:00
Chocobozzz
9a207a71b2
Add missing api=1 info in embed quickstart
2020-02-28 14:01:17 +01:00
Chocobozzz
93468b0889
Bumped to version v2.1.1
2020-02-28 13:45:42 +01:00
Kim
e962e1c3c5
Chore/docker-documentation-improvements ( #2494 )
...
* unify env_var names to replace
* detail more and improve docker doc
* fix title
* move acme email and domains to traefik command
* add details about TRAEFIK_ACME_* variables
* Fix preview links from /develop to /master
2020-02-24 15:30:14 +01:00
Rigel Kent
f30736c891
Minor update to the OpenAPI: instance config recent additions
2020-02-21 21:25:55 +01:00
Average Dude
170cd639a7
Create template dirs for openapi clients and provide README templates
...
The definitions are now also in the template dirs because they will be ignored by the generator.
Generators only use overrides and don't do anything with new files.
2020-02-18 14:49:11 +01:00
Chocobozzz
8d3fe90c3f
Add missing ca-certificates in docker image
2020-02-17 10:34:09 +01:00
John Livingston
45f1bd72a0
Creating a user with an empty password will send an email to let him set his password ( #2479 )
...
* Creating a user with an empty password will send an email to let him set his password
* Consideration of Chocobozzz's comments
* Tips for optional password
* API documentation
* Fix circular imports
* Tests
2020-02-17 10:16:52 +01:00
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
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
Chocobozzz
f286060081
Add API example to list videos
2018-06-11 14:45:43 +02:00
Chocobozzz
e8d639b1d7
Fix docker config
2018-06-11 10:09:17 +02:00
Kody
fbd2ad19b6
Update sudo command for yarn during upgrade
2018-06-07 15:08:43 +02:00
Rigel Kent
a5f0521f03
(doc) adding tools documentation for job creation
2018-06-07 15:07:48 +02:00
Chocobozzz
157b62b1f4
Add dev doc about localization
2018-06-06 19:38:25 +02:00
Chocobozzz
d4d5853e65
Blank instead of null for docker env
2018-06-05 14:04:51 +02:00
Florent Poinsaut
632f9815c6
add the comment from https://github.com/Chocobozzz/PeerTube/pull/617/files#diff-5003d902a2333dfdbcd79d688f2806daL38
2018-06-05 08:47:01 +02:00
Florent Poinsaut
f83e339b82
Environment variables for Docker Compose
2018-06-05 08:47:01 +02:00
Rigel Kent
1dd59831f8
(docker) making security settings of traefik on par with nginx
2018-06-04 23:14:26 +02:00
David Libeau
50a3f3b821
Remove "/" of PEERTUBE_URL example
...
With an url ended with a "/", the script returns an error.
2018-06-01 08:36:21 +02:00
Chocobozzz
e10c7d5125
Update archlinux dependencies
2018-05-30 16:38:24 +02:00
Chocobozzz
df9e1d6978
Fix docker config custom env copy
2018-05-30 08:45:34 +02:00
Chocobozzz
18eb286e0b
Cleanup docker configuration
2018-05-30 08:39:44 +02:00
Pierre Jaury
51df0cf3d7
Do not set default transcoding resolutions
2018-05-30 08:33:19 +02:00
Pierre Jaury
a4ac1c999e
Allow to setup transcoding in the docker image
2018-05-30 08:33:19 +02:00
norrist
af5262f113
(doc): use sysrc instead of editing /etc/rc.conf on FreeBSD ( #603 )
2018-05-29 21:04:29 +02:00
Chocobozzz
6401417d6c
Add help in conf file regarding SMTP
2018-05-29 10:28:08 +02:00
Chocobozzz
0c985c5a03
Copy custom-environment-variables.yaml on docker startup
2018-05-29 10:04:04 +02:00
Chocobozzz
87529dbfdf
Improve production guide format
2018-05-29 09:36:14 +02:00
David Libeau
cfdd9eb4b0
Update production.md
2018-05-29 09:34:15 +02:00
Chocobozzz
08806798d0
Add disable_starttls configuration variable for docker
2018-05-28 19:17:32 +02:00
Chocobozzz
9007daff82
Stop docker containers before upgrading
2018-05-28 11:39:09 +02:00
Chocobozzz
b44a96300c
Improve docker doc and fix missing keys on update
2018-05-28 11:36:27 +02:00
Chocobozzz
ad9e39fb81
Only use account name in routes
2018-05-25 10:41:07 +02:00
Jan Keromnes
a14d3b6b23
Update Janitor Dockerfile
...
- Upgrade to newer janitortechnology/ubuntu-dev base image
- Fix workspace folder
- Add Theia port
- Dockerfile best practices
2018-05-17 08:18:56 +02:00
Rigel Kent
48d46d81af
SysVinit script
2018-05-13 16:30:05 +02:00
John Livingston
066fc8ba71
import-videos: prompt for password
2018-05-11 15:23:50 +02:00
Jacques Foucry
dea65ef241
Remove the /etc/pkg/FreeBSD.conf change. The latest version came with node 10 and PeerTube does not deal with it. Staying in quartely give node 9.10.1
2018-05-10 10:05:36 +02:00
Chocobozzz
fd5e57bbe2
Docker config directory as volume
2018-05-07 18:41:10 +02:00
Pierre-Alain TORET
d9c1882dd0
Switch Arch Linux dependency to NodeJS LTS
...
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-05-07 16:10:51 +02:00
Chocobozzz
af111faf77
Fix docker production configuration
2018-05-07 15:26:28 +02:00
Chocobozzz
13a6b53655
Preferably use the docker hub image
2018-05-07 10:51:44 +02:00
Florent Fayolle
4b431d519c
Adapt docker image file path in docker-compose.yml
2018-05-07 09:22:18 +02:00
Chocobozzz
cc918ac3f4
Update video-channel routes (again)
...
Use /video-channels now, it's more simple for clients
2018-04-25 16:16:21 +02:00
Chocobozzz
6b738c7a31
Video channel API routes refractor
2018-04-25 13:50:48 +02:00
Chocobozzz
48dce1c90d
Update video channel routes
2018-04-24 17:12:57 +02:00
Chocobozzz
b4d1af3dd8
Bold dependencies part in production guide
2018-04-24 15:00:30 +02:00
Chocobozzz
9d3ef9fe05
Use ISO 639 for languages
2018-04-23 14:39:52 +02:00
Pierre-Alain TORET
cff8b272b1
Support hostname binding in config
...
* Add basic support for hostname binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Make production example a bit more secure
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Make example config files compatible with hostname binding modification
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Fix typo
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Bind on 127.0.0.1 by default
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Update Docker configuration with hostname binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-04-17 11:14:32 +02:00
Chocobozzz
c0c7416a23
Add rest api quickstart
2018-04-17 11:12:37 +02:00
Rigel Kent
244e76a552
feature: initial syndication feeds support
...
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.
* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)
* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support
Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz
c36d5a6b98
Try to fix docker automatic build (again...)
2018-04-16 20:22:42 +02:00
Chocobozzz
33837e8bc2
Try to fix automatic dockerbuild
2018-04-16 19:04:04 +02:00
Chocobozzz
4aeb67a569
Improve dockerfile
2018-04-16 18:44:57 +02:00
Chocobozzz
94ff4c2335
Add auth documentation
2018-04-16 17:27:00 +02:00
Florent Poinsaut
f36fb3ecb1
Fix the execution right for docker-entrypoint.sh
2018-04-16 17:26:50 +02:00
Florent Poinsaut
399d20eae6
use gosu to fix /data permissions errors
2018-04-16 09:33:49 +02:00
Florent Poinsaut
2cfd392b58
Add .gitignore for Docker
2018-04-10 22:08:40 +02:00
Rigel Kent
8b1c694406
Adding a more specific phrasing for yarn installation ( #487 )
2018-04-09 22:28:53 +02:00
Chocobozzz
228e84aa7e
Upgrade spectacle module
2018-04-06 10:44:02 +02:00
Chocobozzz
9c758359c0
Add what now section to production guide
2018-04-06 10:36:21 +02:00
Chocobozzz
97ea24045d
Fix api doc in video update endpoint
2018-04-06 10:20:11 +02:00
Chocobozzz
61b66b361f
Upgrade api doc
2018-04-06 10:17:06 +02:00
Chocobozzz
779f000083
Update docker image name
2018-04-03 09:04:35 +02:00
victor-long
2f7ac61807
Documentation for macOS development. ( #462 )
2018-04-03 00:12:58 +02:00
luz.paz
f209b32afa
Misc. typos
...
Found via `codespell -q 3`
2018-03-30 18:51:57 +02:00
Armando Lüscher
2920281946
Fix little typo in variable.
2018-03-30 08:34:36 +02:00
Luc Didry
4246247fd6
Add precision on upgrade script ( #433 )
2018-03-29 14:27:55 +02:00
Chocobozzz
490b595a01
Prevent brute force login attack
2018-03-29 11:03:30 +02:00
Chocobozzz
45cd28b679
Remove alpine image
2018-03-28 13:45:24 +02:00
Gérald Niel
39d1bb985a
Update dependencies.md
2018-03-27 20:04:58 +02:00
Gérald Niel
6b48f04e69
Fix typo in markdown syntax
2018-03-27 20:01:51 +02:00
Gérald Niel
4c86a254a5
Mise à jour documentation pour FreeBSD
2018-03-27 19:14:31 +02:00
Okhin
193b12bf8f
Add the activation of a needed SCL for CentOS
...
There's a need to activate the devtool-6 SCL before running the yarn install command, to have node-gyp correctly compiling the needed binaries.
2018-03-24 21:17:29 +01:00
Okhin
0414ed1066
Improving the CentOS7 specific parts
...
Changing the link for ffmpeg toward a tutorial with an actual mirror of ffmpeg, and with less hassle.
Adding the deendencies to devtoolset-6 and centos-release-scl to provide a C++11 compatible G++
2018-03-24 21:17:29 +01:00
Angristan
03ae9d887a
Add permissions instructions for the data volume ( #387 )
...
* Add permissions instructions for the data volume
* Remove useless newline
2018-03-23 14:34:01 +01:00
Angristan
c7574e8661
Run the installation as the peertube user inside the Docker image ( #385 )
...
* Run the installation as the peertube user
* Run the installation as the peertube user
2018-03-23 14:33:51 +01:00
Chocobozzz
95540ed23a
Prepare building docker files on docker hub
2018-03-23 11:22:26 +01:00
Angristan
95981f6bec
Fix data volume path in docker-compose
2018-03-22 18:00:25 +01:00
Chocobozzz
bebf2d89d3
Add option to disable starttls
2018-03-22 16:12:52 +01:00
Angristan
0c49373af9
Use {postgres,redis}:alpine images with docker-compose ( #372 )
...
* Specify Redis major version
2018-03-22 14:08:55 +01:00
Chocobozzz
05e67d6206
Add logging for emails
2018-03-22 11:47:26 +01:00
Chocobozzz
30f550251d
Add information about the definitive peertube domaine name
2018-03-21 10:57:45 +01:00
Chocobozzz
051bf3f773
Revert "Selective route permission to use embeds, fixes #322 in a better way ( #364 )" ( #365 )
...
This reverts commit d40cd86bf5
.
2018-03-20 17:39:36 +01:00
Rigel Kent
d40cd86bf5
Selective route permission to use embeds, fixes #322 in a better way ( #364 )
2018-03-20 17:28:41 +01:00
Chocobozzz
164e6c8778
Prepare beta
2018-03-20 10:32:54 +01:00
Chocobozzz
07aa93a8f2
Reformat production guide
2018-03-20 08:28:20 +01:00
Gérald Niel
6d55bd21a9
Add FreeBSD startup
2018-03-19 22:48:15 +01:00
Gérald Niel
d29e239cc4
Add FreeBSD rc script
2018-03-19 17:19:39 +01:00
Chocobozzz
5d00a3d7aa
Update the api documentation
2018-03-19 14:20:04 +01:00
Benjamin Bouvier
3b2ed89181
[docker] Add short_description option in Docker configuration too; ( #342 )
2018-03-15 16:02:23 +01:00
Chocobozzz
30274d67eb
Fix spelling in dependencies
2018-03-15 14:40:06 +01:00
Millicent Billette
955f14a44a
ppa for ffmpeg in dependencies documentation ( #340 )
2018-03-15 14:39:27 +01:00
Benjamin Bouvier
ef48a0d50a
[docker] Update production guidelines and docker-compose file; ( #341 )
2018-03-15 14:39:04 +01:00
Chocobozzz
2e3a0215d0
Add short description in config
2018-03-15 14:34:47 +01:00
Andréas Livet
44a9a76e29
Update g++ needed version ( #338 )
...
In order to build properly rdf-canonize node nativ module gcc > 5 is needed. Tested on Ubuntu 14.04 with gcc 4.8, it didn't work. I had to install a newer gcc version and it was OK.
2018-03-14 12:49:58 +01:00
Chocobozzz
9940241328
Update documentations
2018-03-14 09:15:17 +01:00
Florian
93d1575311
fix first sudo command ( #337 )
2018-03-14 08:58:33 +01:00
Florian
bc2fc1a783
adding some instructions for certbot and basic utility programs needed ( #336 )
2018-03-14 08:46:55 +01:00
Chocobozzz
66c3b7744c
Add example for "small device" in production guide
2018-03-13 09:40:39 +01:00
Chocobozzz
19a3b914f1
Change video abuse API response
2018-03-12 11:44:28 +01:00
Chocobozzz
b64c950a1c
Update videos api list for account
2018-03-12 11:44:28 +01:00
Chocobozzz
fec2ffc4a2
Better docker test doc
2018-03-11 09:57:25 +01:00
Millicent Billette
7f456189b7
`docker-compose up app` need a docker-compose.yml file in current folder to work.
2018-03-11 01:37:23 +01:00
Chocobozzz
ea65a47623
Add api base path in documentation
2018-03-07 13:13:40 +01:00
Chocobozzz
ab0ee6a14f
Upgrade api doc html file
2018-03-07 08:11:38 +01:00
Chocobozzz
635a5686e3
Fix tool documentation
2018-03-06 08:27:20 +01:00
Benjamin EWFT
4a31886e32
Update dependencies for Archlinux
2018-03-05 21:13:30 +01:00
Chocobozzz
358770dbbd
Refractor tools documentation
2018-03-05 10:00:15 +01:00
Chocobozzz
ad34cfc8ac
Add documentation for upload script
2018-03-05 09:53:16 +01:00
Valvin
446f78d7b4
Remove X-Frame options in nginx config ( #322 )
...
`X-Frame-Options DENY;` doesn't permit sharing using iframe
2018-03-05 09:40:36 +01:00
Chocobozzz
4919b6304f
Fix nginx configuration that do not work with import-videos script
2018-03-01 17:14:57 +01:00
Chocobozzz
e6607b2512
Upgrade production guide for nginx
2018-03-01 16:12:00 +01:00
Stefan Schüller
245dc51de0
Fixed import-videos filename ( #311 )
2018-02-25 10:22:22 +01:00
SVNET Libre
a640b861b9
Update Production Guide ( #309 )
...
* Update Production Guide
Pull Request #308
* change the execution of the script
2018-02-21 17:05:21 +01:00
Chocobozzz
61b3e146e1
Add ability to import videos from all supported youtube-dl sites
2018-02-20 18:16:13 +01:00
Chocobozzz
07fa4c97ca
Add support to video support on client
2018-02-20 16:13:55 +01:00
Chocobozzz
35501c0fa7
Add ability to import just one video from youtube
2018-02-19 11:12:58 +01:00
LecygneNoir
2519d9fec6
add import-youtube guide inside documentation ( #298 )
...
* add import-youtube guide inside documentation
* safer to use unlink instead of rm to delete symbolic link, avoid risk of deleting entire directories in case of syntax error
* spelling mistake corrections
* anonymise URLs
* git also needed as dependencies to run yarn install
2018-02-19 09:42:43 +01:00
Dimitri Gilbert
44cb3b85f8
Apidoc ( #302 )
...
* Basic api documentation
* fix styling issue
* fix styling issue
* gitignore unecessary folders
* openApi 2.0 first draft
* solved conflicts
* solved errors in openapi file
* added missing doc on video + deleted apidoc comments
* fix last warnings and errors inopenapi definition
* openapi fix typo + improvement on video/comment endpoints
* removed misplaced openapi file
* api documentation improvement
2018-02-17 19:24:56 +01:00
Chocobozzz
0b49571268
Try to improve production guide
2018-02-16 11:04:12 +01:00
Chocobozzz
a8b5ce95f5
Better upgrade script consistency
2018-02-14 16:03:09 +01:00
Rigel Kent
e883399fa6
Precisions and security enhancements to the production guide ( #287 )
...
- added precisions and suggestions about how to generate Let's Encrypt certificates. Users have reported their installations didn't work when the problem came from missing certificates (false positives).
- security defaults of Nginx follow the basic robustness principle "be conservative in what you send, be liberal in what you accept", which isn't enough with modern security standards, so we should be picky with the cipher suites we use, among other things. Extra comments (especially for the TLS1.3 protocol support parameter) make the requirement of a recent Nginx installation obvious, and the downgrade alternative remains clear to the system administrator.
All in all, we should aknowledge users will most often copy and paste the configuration files. Making them secure by default may force a few users to read their configuration, but on the long run we are making the fediverse more secure.
Since I've come to modify a bit the Nginx config in `support/doc/production.md`, I've merged it with the template so that they stay consistent.
2018-02-14 11:11:49 +01:00
SVNET Libre
1007a0185f
Update Guide for upgrade procedure ( #281 ) ( #291 )
2018-02-14 11:03:39 +01:00
Erwan Croze
053ad3a346
Adding dependencies informations for CentOS 7 ( #288 )
2018-02-12 08:11:45 +01:00
Chocobozzz
1185c246c5
Add warning in production guide
2018-02-09 13:38:19 +01:00
Chocobozzz
f529f9835e
Fix "things went wrong" documentation
2018-02-08 09:52:57 +01:00
kaiyou
6500a90cfe
Expose SMTP and instance settings in the Docker environment variables ( #277 )
2018-02-06 08:37:36 +01:00
Valvin
09c93c2031
update yarn installation command ( #267 )
...
on ubuntu `sudo -u` doesn't set homedirectory of the targeted user althought debian does. it requires the option `-H`. I think with this option it works in both case.
2018-02-01 08:55:17 +01:00
Chocobozzz
4805cff179
Fix migrations
2018-01-29 11:58:07 +01:00
Chocobozzz
4df6a1b8e1
Move docker do in support/doc
2018-01-29 11:23:38 +01:00
kaiyou
e8395f027b
Add production Alpine and Debian Stretch Docker images ( #225 )
...
* First pass at a (swarm-compatible) docker image
Uses an existing traefik server as a https reverse proxy.
* Add example config for a Docker swarm deployment
* Point to traefik config for docker compose setup
* Clarify that traefik is needed for the example config
* Use node:8-stretch base image and don't install yarn
(The base image already contains yarn.)
* Initial commit for an Alpine Docker image
* Fix docker volume path
* Merge #213 and #225 and move files around
* Remove unnecessary dependencies from the alpine build
* Update Dockerfiles to match install path, config path, etc.
* Update the configuration in the example compose file
* Update the configuration in the example swarm file
* Remove the declared networks and volumes from the compose example, which are not strictly required
* Update attachment path in the documentation
* Display traefik as a suggestion and not a required dependency
* Update the Docker ignored files
* Fix typos reported in #225
* Move production Dockerfiles to a production directory
* Add the redis configuration settings
* Add Docker files to the dockerignore
* Make the signup limit configurable
2018-01-29 08:52:20 +01:00
Chocobozzz
7859b5800c
Add message for public registration on peertube
2018-01-26 14:14:59 +01:00
Chocobozzz
ce487e1e3b
Upgrade clearer in production guide
2018-01-26 10:50:05 +01:00
Chocobozzz
94a5ff8a4a
Move job queue to redis
...
We'll use it as cache in the future.
/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
2018-01-25 18:41:17 +01:00
Dimitri Gilbert
c360c49456
Api doc improvement ( #252 )
...
* Basic api documentation
* fix styling issue
* fix styling issue
* gitignore unecessary folders
* openApi 2.0 first draft
* solved conflicts
* solved errors in openapi file
* added missing doc on video + deleted apidoc comments
* fix last warnings and errors inopenapi definition
* openapi fix typo + improvement on video/comment endpoints
* removed misplaced openapi file
2018-01-25 18:39:51 +01:00
Jan Keromnes
897cab462b
Pre-build PeerTube again in dev Dockerfile.
...
PeerTube pre-build was removed in #207 but is still valuable.
2018-01-25 14:48:06 +01:00
Benjamin Bouvier
a585af352c
Fixes #205 : Fix Janitor configuration;
2018-01-25 11:13:07 +01:00
Thomas Citharel
15dbc134bd
typos ( #246 )
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-25 08:13:19 +01:00
luzpaz
2bb0f9d501
Misc. typos ( #245 )
...
Found via `codespell -q 3`
2018-01-25 08:12:42 +01:00
Chocobozzz
5e1c08eb94
Add api doc in html
2018-01-24 11:54:32 +01:00
Chocobozzz
9ee83eb99e
Fix tests
2018-01-24 11:03:13 +01:00
Chocobozzz
59c48d49c5
Peertube home in /var/www instead of /home
2018-01-23 09:00:23 +01:00
Thomas Citharel
e5203ffa12
Improve docs ( #232 )
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-23 08:53:15 +01:00
Chocobozzz
451ce9642c
Add commander in dependencies instead of dev dep
2018-01-22 09:42:42 +01:00
Chocobozzz
23e27dd535
Add ability to configure log level
2018-01-19 13:58:13 +01:00
Chocobozzz
c7a9f34f72
Add SQL backup/restore commands in production guide
2018-01-19 10:30:35 +01:00
Chocobozzz
2e866cc75d
Don't serve previews with nginx
...
We need to maintain a cache in the node process
2018-01-18 18:45:27 +01:00
Chocobozzz
5668bf2e51
nginx optimizations
2018-01-18 17:45:49 +01:00
taziden
9625507fec
fix 2 other typos ( #209 )
2018-01-17 11:47:45 +01:00
taziden
a5c57bf33e
fix typo in production guide ( #208 )
2018-01-17 11:34:26 +01:00
Chocobozzz
fd206f0b2d
Add ability to update some configuration keys
2018-01-17 10:41:27 +01:00
Jan Keromnes
b270ad07f1
Add Janitor configuration file for PeerTube. ( #204 )
2018-01-16 16:46:04 +01:00
Chocobozzz
e28d531fc5
Overwrite on upgrade when unziping
2018-01-16 09:32:29 +01:00
Chocobozzz
48cf691d5e
Fix upgrade command
2018-01-16 08:53:01 +01:00
Chocobozzz
2d13b29965
Remove npm run upgrade
...
Use command from production.md instead
2018-01-15 18:23:17 +01:00
Chocobozzz
d2000ca6e7
Update production guide
...
Use release that already contains build files. It requires a specific
directories tree but I think it would be fine.
2018-01-15 18:07:08 +01:00
Chocobozzz
6b2ef589ed
Prepare production workflow
2018-01-15 11:28:41 +01:00
Chocobozzz
304016c52b
Update code doc diagrams
2018-01-15 09:47:19 +01:00
Chocobozzz
afe8176799
Some markdown fixes
2018-01-12 18:55:45 +01:00
Chocobozzz
63bfad7ec9
Try to improve documentations/readme
2018-01-12 18:07:41 +01:00
Chocobozzz
339632b4a3
Fix changing video in watch page
2018-01-12 17:17:45 +01:00
Chocobozzz
85cd9bde5a
Remove unused webserver configuration
...
And update nginx configuration with a rate limit
2018-01-11 10:46:49 +01:00
Fernandez, ReK2
99eff32c00
change nginx config to fix deprecation of a old module ( #175 )
2018-01-06 18:07:52 +01:00
Jan Keromnes
492fd28167
Add a PeerTube development environment Dockerfile compatible with Janitor. ( #144 )
...
* Add a PeerTube development environment Dockerfile.
* Clone from develop instead of master in developer Dockerfile.
2017-12-04 10:58:02 +01:00
Julien Lemaire
8b99b0c1d9
Fix webpack link in client documentation ( #129 )
...
Webpack link used to lead to webpack 1 documentation.
Fixed it to reach lastest documentation instead.
2017-11-28 18:05:08 +01:00
Chocobozzz
a2431b7dcb
Refractor validators
2017-11-27 19:43:01 +01:00
Chocobozzz
fcaf1e0aa8
Update readme, architecture
2017-11-27 19:43:01 +01:00
Chocobozzz
7e9334c34d
Add ability to unfollow a server
2017-11-27 19:40:52 +01:00
Chocobozzz
b9a20e5947
Fix nginx https template
2017-10-19 17:42:39 +02:00
Chocobozzz
aa83bcce54
Increase client_max_body_size in NGinx template
2017-10-17 11:46:07 +02:00
Chocobozzz
9e58005439
Update systemd service template
2017-06-20 20:34:41 +02:00
Chocobozzz
ed5f91633d
Update readme/doc with new client port for dev
2017-06-14 21:37:49 +02:00
Chocobozzz
66dd264f7b
Better build/dev scripts
2017-06-11 11:36:05 +02:00
Chocobozzz
69f616ab3a
Use shared models
2017-06-11 11:02:35 +02:00
dada
a556b0769b
Update peertube.conf
2017-02-18 18:19:06 +01:00
Chocobozzz
7e6afafd6a
Update support documentations with postgresql
2016-12-25 09:53:50 +01:00
Chocobozzz
35a12fee2f
Add client documentation
2016-12-01 22:16:38 +01:00
Chocobozzz
c97eea23d7
Add peertube https nginx template
2016-11-25 14:21:41 +01:00
Chocobozzz
5e9acecaeb
Update NGinx template (uploads -> videos)
2016-10-26 20:28:34 +02:00
dada
9da2ec0de6
Timeout / rm diaspote ref
2016-10-26 19:15:49 +02:00
dada
2ace56f8c3
Apache configuration
2016-10-26 18:46:11 +02:00
Chocobozzz
1f0f84c27e
Update NGinx that bypass /static/webseed (better performances)
2016-10-10 21:21:19 +02:00
Chocobozzz
82e624233f
Update documentations now we use webseed instead of electron/webrtc
2016-10-07 11:01:28 +02:00
Bigard Florian
f24c4e4462
Server code documentation typo
2016-07-27 15:34:50 +02:00
Chocobozzz
f018f38e0d
Typos
2016-07-22 11:53:55 +02:00
Chocobozzz
00ffc03ece
Server: begin a server documentation
2016-07-22 11:44:46 +02:00
Chocobozzz
4688925411
Add systemd file example
2016-06-03 15:58:04 +02:00
Chocobozzz
5d4e941100
Add nginx example file
2016-06-03 15:56:40 +02:00