oweals/peertube.git
5 years agothrow error if MailDev doesn't run
Josh Morel [Sat, 15 Dec 2018 13:51:51 +0000 (08:51 -0500)]
throw error if MailDev doesn't run

also allow calling in multiple file

5 years agoFix CSP on dev mode
Chocobozzz [Mon, 17 Dec 2018 08:42:28 +0000 (09:42 +0100)]
Fix CSP on dev mode

5 years agoAdd video title/description when rendering html
Chocobozzz [Fri, 14 Dec 2018 14:49:36 +0000 (15:49 +0100)]
Add video title/description when rendering html

5 years agomore systemd service hardening (#1488)
Michael Koppmann [Sat, 15 Dec 2018 16:04:23 +0000 (16:04 +0000)]
more systemd service hardening (#1488)

5 years agoRemove the eventual trailing '/' at the end of urls (see #1453) (#1480)
HesioZ [Sat, 15 Dec 2018 00:43:04 +0000 (01:43 +0100)]
Remove the eventual trailing '/' at the end of urls (see #1453) (#1480)

remove eventual trailing '/' at the end of urls in import script (see #1453)

5 years ago(fix) FreeBSD startup script (#1484)
Gérald Niel [Thu, 13 Dec 2018 19:53:36 +0000 (20:53 +0100)]
(fix) FreeBSD startup script (#1484)

This PR fixes #1477 introduced by #1474

5 years agoUpdate README.md
Chocobozzz [Thu, 13 Dec 2018 16:12:39 +0000 (17:12 +0100)]
Update README.md

5 years agoKeep old channel/user name constraints
Chocobozzz [Thu, 13 Dec 2018 15:25:15 +0000 (16:25 +0100)]
Keep old channel/user name constraints

In order to avoid compatibility issues

5 years agoFix followers search
Chocobozzz [Thu, 13 Dec 2018 14:00:10 +0000 (15:00 +0100)]
Fix followers search

5 years agoadd Content Security Policy (#1252)
Rigel Kent [Thu, 13 Dec 2018 08:49:45 +0000 (09:49 +0100)]
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

5 years agoFix crash regarding video stream issue
Chocobozzz [Wed, 12 Dec 2018 07:55:56 +0000 (08:55 +0100)]
Fix crash regarding video stream issue

5 years agoFix broken audio with transcoding
Chocobozzz [Tue, 11 Dec 2018 16:48:14 +0000 (17:48 +0100)]
Fix broken audio with transcoding

5 years agoOverwrite video caption
Chocobozzz [Tue, 11 Dec 2018 14:56:35 +0000 (15:56 +0100)]
Overwrite video caption

5 years agoRedirect to the last url on login
Chocobozzz [Tue, 11 Dec 2018 14:27:46 +0000 (15:27 +0100)]
Redirect to the last url on login

5 years agoUse move instead rename
Chocobozzz [Tue, 11 Dec 2018 14:12:38 +0000 (15:12 +0100)]
Use move instead rename

To avoid EXDEV errors

5 years agoSupport additional video extensions
Chocobozzz [Tue, 11 Dec 2018 13:52:50 +0000 (14:52 +0100)]
Support additional video extensions

5 years agoAdd test regarding tmp directory
Chocobozzz [Tue, 11 Dec 2018 08:16:41 +0000 (09:16 +0100)]
Add test regarding tmp directory

5 years agoDon't quit on queue error
Chocobozzz [Mon, 10 Dec 2018 09:54:49 +0000 (10:54 +0100)]
Don't quit on queue error

5 years agoUpdate FreeBSD startup script (#1474)
Gérald Niel [Mon, 10 Dec 2018 09:51:28 +0000 (10:51 +0100)]
Update FreeBSD startup script (#1474)

5 years agoFix default homepage in web application
Chocobozzz [Mon, 10 Dec 2018 09:47:29 +0000 (10:47 +0100)]
Fix default homepage in web application

5 years agodots are allowed in actor names
Chocobozzz [Mon, 10 Dec 2018 09:25:35 +0000 (10:25 +0100)]
dots are allowed in actor names

5 years ago(doc) fix syntax in openapi spec for watching progress
Rigel Kent [Sat, 8 Dec 2018 17:48:00 +0000 (18:48 +0100)]
(doc) fix syntax in openapi spec for watching progress

5 years agorename ask-email link to ask-send-email
Josh Morel [Sat, 8 Dec 2018 12:58:38 +0000 (07:58 -0500)]
rename ask-email link to ask-send-email

5 years agoMerge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into...
Chocobozzz [Fri, 7 Dec 2018 15:09:57 +0000 (16:09 +0100)]
Merge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared

5 years agoRemove hard-coded 8GB upload limit in client (#1293)
Micah Elizabeth Scott [Fri, 7 Dec 2018 13:58:17 +0000 (05:58 -0800)]
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.

5 years agoRemove dashes from actor names
Chocobozzz [Fri, 7 Dec 2018 13:56:56 +0000 (14:56 +0100)]
Remove dashes from actor names

5 years agousername/display_name/video_channel_name min length 1 and max length 50 (#1265)
BRAINS YUM [Fri, 7 Dec 2018 13:54:33 +0000 (07:54 -0600)]
username/display_name/video_channel_name min length 1 and max length 50 (#1265)

* make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263);
    ! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine;
allow for usernames to start with a number;
fix test, since username can be 1 char now make test check empty;
fix test, Should fail with a too long username;
fix test, Should fail with a too small username;
fix regular expression for username and videoChannel;
change username, videoChannel to be lowercase and fix message;

* change 1 characters to 1 character

5 years agoFix AP tests
Chocobozzz [Fri, 7 Dec 2018 13:23:05 +0000 (14:23 +0100)]
Fix AP tests

5 years agohardening systemd unit
Rigel Kent [Wed, 5 Dec 2018 18:39:48 +0000 (19:39 +0100)]
hardening systemd unit

5 years ago(well-known url) add change-password
Rigel Kent [Fri, 7 Dec 2018 00:42:00 +0000 (01:42 +0100)]
(well-known url) add change-password

5 years agoMerge branch 'hotfix/docker' into develop
Chocobozzz [Thu, 6 Dec 2018 12:48:46 +0000 (13:48 +0100)]
Merge branch 'hotfix/docker' into develop

5 years agoFix docker build and gosu
Chocobozzz [Thu, 6 Dec 2018 12:48:33 +0000 (13:48 +0100)]
Fix docker build and gosu

5 years agoRemove unused dependencies
Chocobozzz [Thu, 6 Dec 2018 10:50:40 +0000 (11:50 +0100)]
Remove unused dependencies

5 years agoAdd base dir to prune storage script
Chocobozzz [Thu, 6 Dec 2018 08:46:22 +0000 (09:46 +0100)]
Add base dir to prune storage script

5 years agoAdd tmp and redundancy directories to prune script
Chocobozzz [Thu, 6 Dec 2018 08:42:45 +0000 (09:42 +0100)]
Add tmp and redundancy directories to prune script

5 years agoFix thumbnail sitemap location
Chocobozzz [Thu, 6 Dec 2018 08:29:00 +0000 (09:29 +0100)]
Fix thumbnail sitemap location

5 years agoImprove information regarding prune storage script
Chocobozzz [Wed, 5 Dec 2018 16:44:36 +0000 (17:44 +0100)]
Improve information regarding prune storage script

5 years agoAdd sitemap
Chocobozzz [Wed, 5 Dec 2018 16:27:24 +0000 (17:27 +0100)]
Add sitemap

5 years agoAdd error when email system is not configured and using the forgot
Chocobozzz [Wed, 5 Dec 2018 14:10:45 +0000 (15:10 +0100)]
Add error when email system is not configured and using the forgot
password system

5 years agoPut features table in about page
Chocobozzz [Wed, 5 Dec 2018 13:53:13 +0000 (14:53 +0100)]
Put features table in about page

5 years agoRemove inferred type
Chocobozzz [Wed, 5 Dec 2018 13:36:05 +0000 (14:36 +0100)]
Remove inferred type

5 years agoMy account menu -> open entries on hover
Chocobozzz [Wed, 5 Dec 2018 13:21:10 +0000 (14:21 +0100)]
My account menu -> open entries on hover

5 years agoAdd information in report modal
Chocobozzz [Wed, 5 Dec 2018 10:05:54 +0000 (11:05 +0100)]
Add information in report modal

5 years agoAdd button to help to translate peertube
Chocobozzz [Wed, 5 Dec 2018 09:53:14 +0000 (10:53 +0100)]
Add button to help to translate peertube

5 years agoAdd ru pl and it translations
Chocobozzz [Tue, 4 Dec 2018 16:43:24 +0000 (17:43 +0100)]
Add ru pl and it translations

5 years agoBetter tools.md doc
Chocobozzz [Tue, 4 Dec 2018 16:19:44 +0000 (17:19 +0100)]
Better tools.md doc

5 years agoUse `'` instead of `'` for passwords in the documentation (see #1453)
Nathanaël J [Tue, 4 Dec 2018 13:23:28 +0000 (14:23 +0100)]
Use `'` instead of `'` for passwords in the documentation (see #1453)

5 years agoCreate redundancy endpoint
Chocobozzz [Tue, 4 Dec 2018 16:08:55 +0000 (17:08 +0100)]
Create redundancy endpoint

5 years agoAdd tmp and redundancy directories
Chocobozzz [Tue, 4 Dec 2018 15:02:49 +0000 (16:02 +0100)]
Add tmp and redundancy directories

5 years agoFix thumbnail processing
Chocobozzz [Tue, 4 Dec 2018 14:12:54 +0000 (15:12 +0100)]
Fix thumbnail processing

5 years agochange type of languageOneOf query parameter
Rigel Kent [Tue, 4 Dec 2018 12:50:50 +0000 (13:50 +0100)]
change type of languageOneOf query parameter

5 years agoUpgrade client dependencies
Chocobozzz [Tue, 4 Dec 2018 09:29:28 +0000 (10:29 +0100)]
Upgrade client dependencies

5 years agoImprove tools doc
Chocobozzz [Tue, 4 Dec 2018 09:07:43 +0000 (10:07 +0100)]
Improve tools doc

5 years agoUpdate dependencies
Chocobozzz [Tue, 4 Dec 2018 08:34:29 +0000 (09:34 +0100)]
Update dependencies

5 years agoCheck if awk and sed are executable
Felix Ableitner [Sat, 1 Dec 2018 13:00:07 +0000 (14:00 +0100)]
Check if awk and sed are executable

5 years agoCheck free storage before upgrading
Felix Ableitner [Thu, 22 Nov 2018 14:40:49 +0000 (15:40 +0100)]
Check free storage before upgrading

5 years agoBumped to version v1.1.0 v1.1.0
Chocobozzz [Tue, 4 Dec 2018 07:29:12 +0000 (08:29 +0100)]
Bumped to version v1.1.0

5 years agoFix release script
Chocobozzz [Mon, 3 Dec 2018 09:35:50 +0000 (10:35 +0100)]
Fix release script

5 years agoUpdate CHANGELOG.md
Chocobozzz [Mon, 3 Dec 2018 08:58:59 +0000 (09:58 +0100)]
Update CHANGELOG.md

5 years agoUpdate changelog
Chocobozzz [Mon, 3 Dec 2018 08:54:34 +0000 (09:54 +0100)]
Update changelog

5 years agoFix trending page
Chocobozzz [Mon, 3 Dec 2018 08:14:56 +0000 (09:14 +0100)]
Fix trending page

5 years agoFix AP redirection
Chocobozzz [Fri, 30 Nov 2018 14:06:06 +0000 (15:06 +0100)]
Fix AP redirection

5 years agoquickfix back to recent nodemon that fixes event-stream vulnerability
Rigel Kent [Mon, 26 Nov 2018 20:23:10 +0000 (21:23 +0100)]
quickfix back to recent nodemon that fixes event-stream vulnerability

5 years agoquickfix back to older nodemon
Rigel Kent [Mon, 26 Nov 2018 17:43:47 +0000 (18:43 +0100)]
quickfix back to older nodemon

5 years agoquickfix back to safe nodemon
Rigel Kent [Mon, 26 Nov 2018 17:31:03 +0000 (18:31 +0100)]
quickfix back to safe nodemon

6 years agoadd parameters to GET /videos route spec
Rigel Kent [Sat, 24 Nov 2018 17:18:56 +0000 (18:18 +0100)]
add parameters to GET /videos route spec

6 years agoadd donate link, move redundancy doc and images to docs.joinpeertube.org
Rigel Kent [Fri, 23 Nov 2018 17:02:08 +0000 (18:02 +0100)]
add donate link, move redundancy doc and images to docs.joinpeertube.org

6 years agoOptimize config endpoint
Chocobozzz [Fri, 23 Nov 2018 10:06:10 +0000 (11:06 +0100)]
Optimize config endpoint

6 years ago(doc) less technical headline, more compact introduction
Rigel Kent [Thu, 22 Nov 2018 15:27:27 +0000 (16:27 +0100)]
(doc) less technical headline, more compact introduction

* FAQ: moving motivation from README.
* README: headline is more appealing to a non-technical public. Introduction now presents WebTorrent and ActivityPub.

6 years agoAdd Introduction to README
Thomas Kuntz [Wed, 31 Oct 2018 12:23:18 +0000 (13:23 +0100)]
Add Introduction to README

Provide small explanation of what is PeerTube and point to resources to learn more (combined with 'Want to see in action?' links)

6 years agoDon't import test tools in core
Chocobozzz [Thu, 22 Nov 2018 14:30:41 +0000 (15:30 +0100)]
Don't import test tools in core

6 years agoAdd open api bump version in release script
Chocobozzz [Thu, 22 Nov 2018 14:04:14 +0000 (15:04 +0100)]
Add open api bump version in release script

6 years agoBumped to version v1.1.0-rc.1 v1.1.0-rc.1
Chocobozzz [Thu, 22 Nov 2018 13:27:46 +0000 (14:27 +0100)]
Bumped to version v1.1.0-rc.1

6 years agoFix some zanata translations
Chocobozzz [Thu, 22 Nov 2018 13:06:11 +0000 (14:06 +0100)]
Fix some zanata translations

6 years agoadd federation doc to Changelog
Rigel Kent [Thu, 22 Nov 2018 10:38:06 +0000 (11:38 +0100)]
add federation doc to Changelog

6 years agoFix changelog bullet points
Chocobozzz [Thu, 22 Nov 2018 10:34:51 +0000 (11:34 +0100)]
Fix changelog bullet points

6 years agoUpdate translations
Chocobozzz [Thu, 22 Nov 2018 10:34:02 +0000 (11:34 +0100)]
Update translations

6 years agoUpdate credits
Chocobozzz [Thu, 22 Nov 2018 10:29:51 +0000 (11:29 +0100)]
Update credits

6 years agoUpdate changelog
Chocobozzz [Thu, 22 Nov 2018 10:29:13 +0000 (11:29 +0100)]
Update changelog

6 years agoReload user table when setting an email to verified
Chocobozzz [Wed, 21 Nov 2018 16:11:56 +0000 (17:11 +0100)]
Reload user table when setting an email to verified

6 years agoAdd separators in user moderation dropdown
Chocobozzz [Wed, 21 Nov 2018 16:05:31 +0000 (17:05 +0100)]
Add separators in user moderation dropdown

6 years agoFix youtube video import
Chocobozzz [Wed, 21 Nov 2018 15:29:09 +0000 (16:29 +0100)]
Fix youtube video import

6 years agoVarious improvements for docker-compose
Felix Ableitner [Wed, 21 Nov 2018 14:35:26 +0000 (15:35 +0100)]
Various improvements for docker-compose

6 years agomake POST /users have integer role enum
Rigel Kent [Wed, 21 Nov 2018 00:02:47 +0000 (01:02 +0100)]
make POST /users have integer role enum

6 years agoImprove FreeBSD setup instructions
Mateusz Piotrowski [Wed, 21 Nov 2018 09:18:44 +0000 (10:18 +0100)]
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).

6 years agoenable email verification by admin (#1348)
Josh Morel [Wed, 21 Nov 2018 07:48:29 +0000 (02:48 -0500)]
enable email verification by admin (#1348)

* enable email verification by admin

* rename/label to set email as verified

to be more explicit that admin is not sending
another email to confirm

* add update user emailVerified check-params test

* make user.model emailVerified property required

6 years agoDelete invalid or deleted remote videos
Chocobozzz [Tue, 20 Nov 2018 09:05:51 +0000 (10:05 +0100)]
Delete invalid or deleted remote videos

6 years agoFix search title
Chocobozzz [Mon, 19 Nov 2018 16:36:20 +0000 (17:36 +0100)]
Fix search title

6 years agoFix dependency issues 1357/head
buoyantair [Tue, 20 Nov 2018 07:03:52 +0000 (12:33 +0530)]
Fix dependency issues

6 years agoMerge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils...
buoyantair [Tue, 20 Nov 2018 06:58:13 +0000 (12:28 +0530)]
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared

6 years agoadd job state in path in openapi spec
Rigel Kent [Mon, 19 Nov 2018 21:10:35 +0000 (22:10 +0100)]
add job state in path in openapi spec

6 years agofix rest api quickstart and specify values in openapi spec
Rigel Kent [Mon, 19 Nov 2018 21:07:29 +0000 (22:07 +0100)]
fix rest api quickstart and specify values in openapi spec

6 years agoCleanup tests imports
Chocobozzz [Mon, 19 Nov 2018 16:08:18 +0000 (17:08 +0100)]
Cleanup tests imports

6 years agoSpeedup peertube startup
Chocobozzz [Mon, 19 Nov 2018 14:21:09 +0000 (15:21 +0100)]
Speedup peertube startup

6 years agoFix checkbox margins
Chocobozzz [Mon, 19 Nov 2018 13:34:01 +0000 (14:34 +0100)]
Fix checkbox margins

6 years agoOptimize image resizing
Chocobozzz [Mon, 19 Nov 2018 10:24:31 +0000 (11:24 +0100)]
Optimize image resizing

6 years agoMerge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils...
buoyantair [Sun, 18 Nov 2018 16:25:52 +0000 (21:55 +0530)]
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared

6 years ago(quickfix) typo in openapi spec groups
Rigel Kent [Sat, 17 Nov 2018 14:17:33 +0000 (15:17 +0100)]
(quickfix) typo in openapi spec groups

6 years agogrouping moderation endpoints in the REST API spec
Rigel Kent [Sat, 17 Nov 2018 14:15:45 +0000 (15:15 +0100)]
grouping moderation endpoints in the REST API spec

6 years agoAuto login user on signup
Chocobozzz [Fri, 16 Nov 2018 16:06:19 +0000 (17:06 +0100)]
Auto login user on signup