Commit Graph

836 Commits

Author SHA1 Message Date
Rigel Kent b5fdfcbd89
fix FAQ link in production guide 2021-05-01 15:43:28 +02:00
Chocobozzz 6d8e1f28e3
Set permissions in production.md 2021-04-27 09:37:49 +02:00
Chocobozzz 248875d243
Fix plugins doc 2021-04-27 09:28:05 +02:00
Chocobozzz 0f31933406
Add ability to hide plugin form fields 2021-04-22 14:35:49 +02:00
Chocobozzz 87e0b71d36
Add go-live example for plugin form fields 2021-04-22 12:00:23 +02:00
Chocobozzz 096231d00e
Add auth header in plugins guide 2021-04-22 11:43:03 +02:00
Chocobozzz 302eba0d89
Add data directory for plugins and some helpers 2021-04-22 10:55:28 +02:00
Chocobozzz 67baf6478a
Allow plugins to set short translation locale 2021-04-20 16:14:09 +02:00
Thomas e81af3000f Update VideoFile structure in the API doc
Explain the difference between the 4 URL fields in the VideoFile structure.
2021-04-13 23:31:51 +02:00
Chocobozzz cb6a78c291
Improve docker tools doc 2021-04-13 08:29:03 +02:00
Chocobozzz b044cb188d
Fix plugins example color 2021-04-12 11:24:01 +02:00
Chocobozzz 62bc0352d9
Add plugin placeholder elements support 2021-04-12 11:19:15 +02:00
Chocobozzz a60696ab18 Add scale filter to documentation 2021-04-09 15:53:18 +02:00
Chocobozzz 3e03b961b8 Add ability for plugins to specify scale filter 2021-04-09 15:53:18 +02:00
Théo Le Calvar d5fc35c24d improve documentation plugin-transcode
- add example of videoFilters
- add warning about videoFilters and inputOptions in live profile
2021-04-09 15:53:18 +02:00
Théo Le Calvar 5fb7cfbac5 add support for inputOptions in trancode plugins 2021-04-09 15:53:18 +02:00
Chocobozzz d2466f0ac9
Update plugins doc 2021-04-09 15:21:06 +02:00
Chocobozzz dc48fdbe68
Merge branch 'release/3.1.0' into develop 2021-04-08 15:16:01 +02:00
Chocobozzz 8004469c0a
Fix video channel list api 2021-04-08 14:53:03 +02:00
Chocobozzz 75cba40de7 Update avatar/banner API doc 2021-04-08 10:07:53 +02:00
Arthur Lutz 5328532adf [support/docker] expose webtorrent setting in os variable settings 2021-03-29 17:01:17 +02:00
Axel Viala 02d6226abc
update dependencies.md for macOSX (#3899)
add instructions regarding postgresql and bash user/version required for a proper MacOSX install of PeerTube

Co-authored-by: Rozen10 <58482276+Rozen10@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2021-03-29 15:49:59 +02:00
Chocobozzz a786d8a08b
Merge branch 'release/3.1.0' into develop 2021-03-25 16:25:28 +01:00
Chocobozzz f6160062f8
Fix postgresql version 2021-03-25 16:25:14 +01:00
Chocobozzz ec99e8486a
Add server config helper in plugin guide 2021-03-24 18:18:41 +01:00
Chocobozzz ec9bd7f0ae
Directly use node in systemd service 2021-03-24 18:18:41 +01:00
Chocobozzz c2bd7a6fcf
Add regenrate thumbnails scripts 2021-03-24 18:18:41 +01:00
Chocobozzz 7992c9e1cb
Update yarn lock 2021-03-24 18:18:41 +01:00
Chocobozzz d007175238
Bumped to version v3.1.0 2021-03-24 18:18:40 +01:00
Chocobozzz 29553847dc
Bumped to version v3.1.0 2021-03-24 17:47:59 +01:00
Chocobozzz ada9762f81
Add build-essentials if architecture not supported
bcrypt needs to be built on arm64 for example
2021-03-05 10:18:19 +01:00
Chocobozzz 8726cd4941
Fix REST API doc 2021-03-04 16:16:37 +01:00
Chocobozzz 2c5eab14ba
Doc reword 2021-03-04 12:24:23 +01:00
philippe lhardy c11fc2d9de postgres creatuser password comment
user experience, usualy way is to hit enter whern no indication is given, so make it explicit.
2021-03-04 12:22:29 +01:00
Chocobozzz 4468e1e4f7
Bumped to version v3.1.0-rc.1 2021-03-04 10:54:29 +01:00
Chocobozzz 919b16ba30
Update changelog 2021-03-04 10:05:07 +01:00
Chocobozzz 7aca6b249a
Fix plugin api guide transcoding section 2021-03-03 17:21:40 +01:00
Pedro hates github.com c201278db0 unzip silently on production guide 2021-03-03 14:58:28 +01:00
Chocobozzz 8281cf00c0
Remove link to nginx tuning
It's not the purpose of this guide, try to not disperse
2021-02-23 08:38:47 +01:00
Janey Muñoz 3f8ae0e4e4 Add missing dependency to Debian / Ubuntu section
The "Production guide" states to use `wget` to download the latest version of the Peertube client, and it was not included in the `apt install` list
2021-02-19 09:14:18 +01:00
Chocobozzz 18ffaf2430
Remove traefik doc: we don't use it anymore 2021-02-12 10:18:24 +01:00
Chocobozzz 9817060fb7
Use new doc website links 2021-02-12 10:12:19 +01:00
Chocobozzz 6c7317a0a3
Fix nginx for small uploads 2021-02-12 10:04:18 +01:00
Chocobozzz c83af8f94a
Update tools doc 2021-02-11 15:56:54 +01:00
Gopherslol b9c9fefe82 Remove vips dependency from FreeBSD instructions 2021-02-09 23:50:15 +01:00
Gopherslol 80428d16a0 Add OpenBSD instructions to dependencies.md
First time making a pull request. Please let me know if I am doing this wrong
2021-02-09 08:48:38 +01:00
Chocobozzz f6446c948d
Add cron to debian dependencies
Just in case, needed by certbot
2021-02-08 15:44:18 +01:00
G4dter 08a9ee19e1 Update production.md 2021-02-08 15:43:20 +01:00
G4dter f35f23d87a Update production.md 2021-02-08 15:42:15 +01:00
Chocobozzz 9162476fe9
Support NodeJS 14 and 15, deprecate Node 10 2021-02-04 14:31:18 +01:00
Rigel Kent c9b369096d
exclude support for non-release external dependencies 2021-02-01 17:47:10 +01:00
Chocobozzz 6d989edc66
Add ability to update plugin auth 2021-02-01 15:39:13 +01:00
Rigel Kent e01146559a
fix nginx units 2021-01-31 22:17:37 +01:00
Chocobozzz 789951460b
Try to support other codecs 2021-01-29 14:05:41 +01:00
Chocobozzz 2498aaead1
Add plugin transcoding profile guide 2021-01-29 14:05:41 +01:00
Rigel Kent a59db27090
take into account mime-encoding in nginx client_max_body_size
fixes #3656
2021-01-28 16:15:45 +01:00
Rigel Kent 923d3d5ad5 add test and openapi for hot sort parameter 2021-01-28 15:55:34 +01:00
Rigel Kent df7b786f09 add `proxy_ignore_client_abort` flag to Nginx conf
The `proxy_ignore_client_abort` flag specifies whether nginx will
monitor possible connection close while waiting for an upstream
server response. If an error occurs while sending a response, the
connection will be closed regardless of the flag, much like if
there were no nginx at all.

fixes #3484
2021-01-25 17:15:04 +01:00
Rigel Kent 111e6c1807
add routes to 2MB cap in nginx config
fixes #3611
2021-01-17 17:00:12 +01:00
Rigel Kent dbe3040e36 merge optional modules within standard ones in support/nginx/peertube 2021-01-13 09:17:13 +01:00
Timo Gurr d168661db3 Mention additional nginx modules required since (#3313)
5f59cf077f introduced requirements on additional nginx modules:

nginx: [emerg] "aio threads" is unsupported on this platform in /etc/nginx/sites-enabled/peertube:247
https://nginx.org/en/docs/http/ngx_http_core_module.html#aio

nginx: [emerg] unknown directive "deny" in /etc/nginx/sites-enabled/peertube:83
https://nginx.org/en/docs/http/ngx_http_access_module.html
2021-01-13 09:17:13 +01:00
Rigel Kent d8b34ee55b
Allow user to search through their watch history (#3576)
* allow user to search through their watch history

* add tests for search in watch history

* Update client/src/app/shared/shared-main/users/user-history.service.ts
2021-01-13 09:16:15 +01:00
Johan Fleury 12c1e38df2 feat: allow administrator to disable logging of ping requests 2021-01-13 09:14:43 +01:00
Rigel Kent b7085c7132 add support for 1440p (Quad HD/QHD/WQHD) videos 2021-01-13 09:14:09 +01:00
Chocobozzz feaf98d528 Remove docker images I can't maintain 2021-01-13 09:05:22 +01:00
Chocobozzz f930450a82
Clearer docker doc hierarchy 2021-01-12 09:40:05 +01:00
Chocobozzz 69e0e678be
Bumped to version v3.0.1 2021-01-12 08:25:29 +01:00
Chocobozzz d8658f0f81
Try to improve install doc 2021-01-11 10:09:24 +01:00
Chocobozzz 14d3bb9c53
Doc typo 2021-01-08 11:54:33 +01:00
Chocobozzz b826b33983
Fix docker upgrade doc 2021-01-08 11:51:55 +01:00
Chocobozzz a461418320
Support live port in docker compose 2021-01-07 11:18:47 +01:00
Chocobozzz c0605e6e08
Auto upgrade not only for minor versions 2021-01-07 11:15:16 +01:00
Chocobozzz feb0f99820
Use 127.0.0.1 for nginx proxy in prod doc
Because localhost could also target ipv6
2021-01-07 11:11:57 +01:00
Chocobozzz 94f2bbe90b
Fix docker webserver build 2021-01-07 09:06:21 +01:00
Chocobozzz e33f385dd5
Bumped to version v3.0.0 2021-01-07 08:26:11 +01:00
Chocobozzz 7cf88d098a
Use new doc links 2021-01-05 11:01:12 +01:00
Chocobozzz 0a0e0d082f
Fix docker nginx container if peertube restarts 2021-01-05 09:52:14 +01:00
Chocobozzz 4948dcdbeb
Add config.yaml copy info in doc 2021-01-04 10:29:08 +01:00
Chocobozzz afd4ee86dd
Remove traefik docker support 2020-12-30 17:06:21 +01:00
Chocobozzz 83d4aba676
Use develop doc for docker 2020-12-30 14:39:52 +01:00
Chocobozzz 505816fa10
Bumped to version v3.0.0-rc.1 2020-12-16 09:46:27 +01:00
Chocobozzz 8043befa38
Remove references to peertube-admin mailing list 2020-12-15 16:29:24 +01:00
Rigel Kent 040d6896a3
add display of logs matching any state 2020-12-13 19:27:25 +01:00
kontrollanten fffc7c0864
add info about hostname change (#3434)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-12-11 23:48:48 +01:00
Rigel Kent f2eb23cd87
emit more specific status codes on video upload (#3423)
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz c977fd3ec9
Try to improve tools doc 2020-12-08 12:00:58 +01:00
Agron 59bc5f7dc0
update install documentation toc to include Centos 8 (#3411) 2020-12-07 01:27:21 +01:00
Jan Keromnes ef62d58674 Fix PostreSQL initialization for Gitpod 2020-12-06 13:58:00 +01:00
Chocobozzz bb4ba6d94c
Add permanent live support 2020-12-03 15:21:16 +01:00
Rigel Kent d4132d3f56 more explicit error messages for file uploads 2020-12-03 10:15:49 +01:00
Jan Keromnes 387d041b7a
Trigger a Gitpod dev image rebuild (in order to get upstream's Node.js 12 upgrade) (#3388)
* Trigger a Gitpod dev image rebuild (in order to get upstream's Node.js 12 upgrade)

* Update Dockerfile
2020-12-02 11:03:03 +01:00
madmath03 972de8f111 Add input-password #3375 2020-11-30 14:49:44 +01:00
Arman 3520d38515
add My History API to openapi (#3363)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-11-26 00:27:59 +01:00
Rigel Kent b2aecc1ecb
factorize nginx websocket and per route limits 2020-11-23 10:03:48 +01:00
Rigel Kent 08d70fe606
export rtmp port in dockerfiles
follows #3341
2020-11-21 17:32:56 +01:00
Rigel Kent 64b5c2476a
remove outdated badges, add authorization to caption routes 2020-11-20 11:29:37 +01:00
Chocobozzz 0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Rigel Kent 11c449eb1e
remove nginx fd caching, add module requirements 2020-11-18 08:15:55 +01:00
Rigel Kent 901c36d5f4
fix internal redirection cycle whithin nginx client-override optimization 2020-11-17 11:40:14 +01:00
Rigel Kent 5f59cf077f
refresh nginx config and optimize delivery (#3313)
refactors the Nginx configuration for the following points:
- update tls version to include 1.3 by default. so far it was not included by default to make room for previous versions of Nginx, but since 2018 Debian stable has included Nginx in version 1.14.1, and tls 1.3 is available since Nginx 1.13.0.
- clearly indicate that new minimum required version.
- update outdated ssl_ciphers to remove cipher required to support android 4.4, since that version is unsupported since March 2020.
- reordered configuration in sections for easier maintenance: performance optimizations are separated from the vital application/websocket parts.
- move parts that always require manual configuration at the top: peertube host and server name, use server_name 
- move peertube host to a more flexible upstream block: it allows to configure it in one place instead of 3, and is future-proof regarding load-balancing.
- simplified port 80 block: Let’s Encrypt supports 301 redirects.
- group certificate-related config together.
- remove reslover config: it defaults to /etc/resolv.conf which is more than enough.
- align values with their neighbors for easier reading
- always specify units
- always specify default values when they differ from the values set
- use ’m’ for minutes, ’M’ for megabytes
- add consensual optimizations wrt file serving:
  - add timeout optimizations
  - add file descriptor cache optimizations
  - enable sendfile with chunk size > rate limit
  - enable threading
  - tcp optimizations
  - point to further, more system-specific optimizations in the section description
- CDN configuration reduced to one line change
2020-11-16 19:16:49 +01:00
Kimsible 8872828d59
add client overrides to nginx configuration (#3297)
Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-16 10:34:05 +01:00
Rigel Kent a30995fc27
consistent documentation and configuration in compose file 2020-11-11 16:45:46 +01:00
Rigel Kent b8f3e6b00b
move traefik to its own override file 2020-11-11 16:45:46 +01:00
Rigel Kent e604efcb71
Do not expose containers by default in traefik 2020-11-11 16:45:46 +01:00
Rigel Kent 1a9b141d83
Add nginx behind traefik in docker-compose + image updates
- support/docker/production/docker-compose.yml: addition of a nginx
image reusing support/nginx/peertube nginx conf to improve performance,
and lessen setup differences between the docker-compose install and the
typical production install.
- support/docker/production/docker-compose.yml: postgres 10 -> postgres
12, redis 4 -> redis 5. Postgres major updates implies manual upgrade.
- support/nginx/peertube: HTTP -> HTTPS redirection is now commented
by default, to allow its reuse in support/docker/production/docker-compose.yml.
2020-11-11 16:45:46 +01:00
Frank Sträter 8e98e6124d
fix link in dependencies version guide (#3288)
also fix rights elevation when automatically checking them
2020-11-11 15:40:40 +01:00
Rigel Kent 867ed6514d
move dependencies versions list to engines in package.json 2020-11-10 15:02:26 +01:00
Chocobozzz 4e239e3554 Add open api doc for live 2020-11-09 15:33:04 +01:00
Rigel Kent a4879b5375
add github PR template and late crowdfunding link 2020-11-07 21:14:42 +01:00
Arman cd372e840b Fix boolean types, add missing downloadEnabled 2020-09-22 08:19:37 +02:00
Steffen Möller 4d582cec7f
production.md - typo (#3169)
* production.md - typo

* production.md: URL update to https://instances.joinpeertube.org

In reaction to comment in pull request.
2020-09-21 14:13:12 +02:00
Chocobozzz 23cbb0f318
Fix docker guide 2020-09-10 09:19:24 +02:00
Chocobozzz b43d19cf44
Bumped to version v2.4.0 2020-09-08 11:12:05 +02:00
Chocobozzz 5520f6658e
Bumped to version v2.4.0-rc.1 2020-08-27 08:46:36 +02:00
Chocobozzz 20dcfd7498
Deprecate old static routes 2020-08-26 15:03:00 +02:00
Chocobozzz 000ca2a898
Update openapi documentation
Regarding "files" property of the video object
2020-08-26 14:45:39 +02:00
Chocobozzz 96df6ca606
Clearer install guide for service 2020-08-26 08:31:20 +02:00
Chocobozzz b0ce7c39dc
Add ssl support to postgresql 2020-08-24 11:38:57 +02:00
Chocobozzz 49a56c7203
Use update i18n command instead of generate 2020-08-24 09:35:27 +02:00
Chocobozzz 8546fe878d
Update plugin guides toc 2020-08-21 16:05:11 +02:00
Chocobozzz e08a26e23d
Add doc for custom video fields 2020-08-21 16:00:48 +02:00
Chocobozzz 365783532e Add client build instructions to plugins 2020-08-21 15:39:51 +02:00
Sumit Khanna 1c5c31a1ce Add type information for create-transcoding-job's -r 2020-08-19 17:28:32 +02:00
Chocobozzz 2c92b0634f
Fix certbot section 2020-08-14 14:59:15 +02:00
Chocobozzz f309a156a6
Update ffmpeg min version 2020-08-11 16:22:57 +02:00
Chocobozzz 9054a8b6e5 Handle playlist methods in embed api 2020-08-07 08:58:29 +02:00
Chocobozzz c00f96cef9
Fix openapi schema variable interpolation 2020-08-03 09:12:51 +02:00
Chocobozzz fcc4466e7c
Fix openapi schema 2020-08-03 08:59:41 +02:00
Chocobozzz 668b7f096e Add openapi doc 2020-07-31 11:35:19 +02:00
Jinn Koriech 0579dee3b2
Switch examples to curl since httpie has a 512MB limit (#3012)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-07-28 13:48:55 +02:00
Chocobozzz 2291a412d2
Merge branch 'release/2.3.0' into develop 2020-07-21 11:16:28 +02:00
Chocobozzz 97aaeadad5
Bumped to version v2.3.0 2020-07-21 10:03:58 +02:00
Chocobozzz e3489df98e Update openapi 2020-07-10 14:02:41 +02:00
Chocobozzz 17b07dc5a2 Update contributing guide 2020-07-10 14:02:41 +02:00
Chocobozzz 310b5219b3 Add new abuses tests 2020-07-10 14:02:41 +02:00
Chocobozzz 4f32032fed Add migrations 2020-07-10 14:02:41 +02:00
Kim caf2aaf4f9
Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description (#2897)
* Add client-overrides storage to config

* Add static-serve for client overrides

* Move backgroun-image logo from bundle to css tag for runtime content hash

* Add dynamic JSON manifest

* Add content hash for manifest, favicon and logo

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-10 10:20:11 +02:00
Chocobozzz 27647da17f
Bumped to version v2.3.0-rc.1 2020-07-06 11:09:12 +02:00
Rigel Kent 8491293b02
add blocked filter in users list to filter banned users
fixes #2914
2020-07-02 22:50:33 +02:00
Rigel Kent 6957f698d0
deprecate video abuse route, soon to be superseeded 2020-07-02 16:30:52 +02:00
Chocobozzz 1e904cde34
Fix users tests 2020-07-02 14:23:50 +02:00
Rigel Kent 4dcaa2d797
fix go client library generation 2020-06-29 14:49:00 +02:00
Clifford Garwood II a075cd00f3 Update CentOS insutructions in dependencies.md
Created section for CentOS 8 instructions as it deviates from CentOS 7

- There is no python binary that can be installed with a package so it must be symlinked
- Removed packages not needed from step 4
- Removed step concerning g++ as the version in CentOS 8 is usable
- Improved wording for Steps summary in both CentOS 8 and 7
2020-06-29 08:41:12 +02:00
Rigel Kent 00494d6e2a
allow limiting video-comments rss feeds to an account or video channel 2020-06-27 13:20:59 +02:00
Rigel Kent 2c31866430
update openapi spec with links and callback for search 2020-06-27 13:12:34 +02:00
Rigel Kent 84f6e32c7b
add examples and descriptions, missing filters for abuses in openapi spec 2020-06-26 13:43:32 +02:00
Rigel Kent 64ffd1deb2
switch plugins public settings to unauthenticated in the openapi spec 2020-06-26 13:43:32 +02:00
Rigel Kent 7461d440c2
add plugins to the openapi spec 2020-06-25 12:16:08 +02:00
Rigel Kent 04b703f6fc
add redundancy to the openapi spec 2020-06-25 11:14:51 +02:00
Rigel Kent f4d5998127
add notifications to the openapi spec 2020-06-25 11:14:51 +02:00
Girish Ramakrishnan 6ee7221117 Add database.name config option
If database.name is set, we use it as the complete database name.
If unset, we use the "peertube"+database.suffix as the complete database
name.

Fixes #1620
2020-06-25 08:48:44 +02:00
Rigel Kent d73810bede
fix openapi path for feeds examples 2020-06-24 15:13:24 +02:00
Rigel Kent 06746a8b25
add feeds to the openapi spec 2020-06-24 14:16:25 +02:00
Rigel Kent 1ebddadd07
predefined report reasons & improved reporter UI (#2842)
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Kim 0283fe98b8
fix opendkim permissions in docker-compose setup (#2868)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-06-12 13:55:40 +02:00
Chocobozzz ad031145a9
Add rest api doc for index search 2020-06-10 15:18:15 +02:00
Chocobozzz 0bd558a0f9
Add kab and vi locales 2020-06-04 14:45:19 +02:00
Chocobozzz 35b30b643c
Merge branch 'release/2.2.0' into develop 2020-06-02 11:18:29 +02:00
Chocobozzz a55c98031b
Bumped to version v2.2.0 2020-06-02 10:04:05 +02:00
Kim 148ab2f0f0
Fixes docker-compose .env (#2538)
* chore: remove unused var

* fix database name as peertube + update comments

* chore: comment vars indentic to production.yrml

* add smtp comment

* clarify and detail comments

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-05-18 17:50:58 +02:00
Chocobozzz d9cb522780
Bumped to version v2.2.0-rc.1 2020-05-18 08:13:34 +02:00
Chocobozzz 2f398c19fd
Update FAQ 2020-05-14 13:47:03 +02:00
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