Commit Graph

220 Commits (b767c4a74aa5ce44c7b6a89962cb153ecb3ace07)

Author SHA1 Message Date
BRAINS YUM 1e59ca3bac add REPL in server/tools/repl.ts (#1248) 2018-10-14 19:48:08 +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
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
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
Josh Morel ecf06378ff further enhance tools install explanation 2018-09-11 10:57:44 +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
osauzet 2987c3d78b add postgresql96-contrib to the FreeBSD dependencies (#958) 2018-08-24 16:12:41 +02:00
Chocobozzz 65fcf1e9c2
Reduce FreeBSD title size 2018-08-21 10:48:57 +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 a5d379d305 Updated components tree 2018-07-26 14:51:32 +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
Chocobozzz 330eaf1296
Fix start/count/sort params in documentation 2018-07-17 16:37:54 +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 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 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
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
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
Florent Poinsaut f83e339b82 Environment variables for Docker Compose 2018-06-05 08:47:01 +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
norrist af5262f113 (doc): use sysrc instead of editing /etc/rc.conf on FreeBSD (#603) 2018-05-29 21:04:29 +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 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
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
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
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 94ff4c2335
Add auth documentation 2018-04-16 17:27:00 +02:00
Florent Poinsaut 399d20eae6 use gosu to fix /data permissions errors 2018-04-16 09:33:49 +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
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
Luc Didry 4246247fd6 Add precision on upgrade script (#433) 2018-03-29 14:27:55 +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
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 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
Chocobozzz 5d00a3d7aa
Update the api documentation 2018-03-19 14:20:04 +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