PeerTube/client
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
..
e2e Better typings 2018-10-18 14:35:31 +02:00
src Remove hard-coded 8GB upload limit in client (#1293) 2018-12-07 14:58:17 +01:00
webpack Fix videos list user NSFW policy 2018-09-24 13:38:38 +02:00
.gitignore Update translations 2018-09-07 17:40:45 +02:00
.sass-lint.yml move .sass-lint.yml to client/ 2018-09-07 10:51:42 +02:00
angular.json add protractor profile for local tests 2018-10-01 13:40:28 +02:00
package.json Upgrade client dependencies 2018-12-04 10:29:28 +01:00
tsconfig.json add noImplicitThis flag (#1324) 2018-10-24 21:50:18 +02:00
tslint.json update tslint config and fix member ordering (#1279) 2018-10-16 01:04:50 +02:00
yarn.lock Upgrade client dependencies 2018-12-04 10:29:28 +01:00