Commit Graph

1502 Commits (0f56c6e5ff86158f6715d8b7ebc416b1fc0eca70)

Author SHA1 Message Date
Chocobozzz c88593f72f
Fix search pagination 2018-01-29 09:30:06 +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 8dfd8fd7ca
Fix video announces processing 2018-01-26 17:48:41 +01:00
Chocobozzz 0a67e28bee
Use sensitive instead of nsfw in activitypub 2018-01-26 17:25:35 +01:00
Chocobozzz 4ba3b8ea1b
Don't rehost announced video activities 2018-01-26 15:49:57 +01:00
Chocobozzz 7859b5800c
Add message for public registration on peertube 2018-01-26 14:14:59 +01:00
Chocobozzz 0776d83f2c
Add unique index on video comment url 2018-01-26 14:14:43 +01:00
Chocobozzz ce97fe366e
Don't leak passwords in log 2018-01-26 13:55:27 +01:00
Chocobozzz 7acee6f18a
Fix announce activities 2018-01-26 13:43:34 +01:00
Chocobozzz d6e99e5322
Add context on activitypub responses 2018-01-26 11:44:08 +01:00
Chocobozzz 66ee325f57
Only accept public comments 2018-01-26 11:20:46 +01:00
Chocobozzz ce487e1e3b
Upgrade clearer in production guide 2018-01-26 10:50:05 +01:00
Chocobozzz f96d1df329
Fix package.json scripts 2018-01-26 09:50:43 +01:00
Chocobozzz 90dea7dc98
Add redis for travis 2018-01-25 19:13:08 +01:00
Chocobozzz f6a043df74
Improve video upload guard a little bit 2018-01-25 19:09:47 +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
Chocobozzz d765fafc3f
Accept actors with url objects instead of string 2018-01-25 18:41:17 +01:00
Dimitri Gilbert 529479f924 Issue #195 : When uploading, warn when the user quits the page (#222)
* issue #195

* fixing missing provider definition

* fix styling issue

* fix styling issue

* removed unecessary code

* using angular confirmService instead of window.confirm

* gitignore unecessary folders

* style fixes

* using a generic canDeactivateGuard

* fixing lint style
2018-01-25 18:40:23 +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 42f1923430 Add --disable-host-check to development watch script to support proxies.
See also https://github.com/webpack/webpack-dev-server/issues/882
2018-01-25 14:48:06 +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 d59a8da813
Add api documentation in readme 2018-01-24 12:02:38 +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
Dimitri Gilbert 1569a81894 Basic api documentation #7 (#220)
* 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
2018-01-24 10:44:52 +01:00
Chocobozzz a28f353a64
Fix lint 2018-01-24 10:33:50 +01:00
Chocobozzz 1f7ab4f310
Upgrade server dependencies 2018-01-24 10:25:56 +01:00
Chocobozzz 95d5969445
Bumped to version v0.0.15-alpha 2018-01-24 09:36:42 +01:00
Chocobozzz c7b1b92b11
Use json for schema.org instead of tags 2018-01-24 09:21:45 +01:00
Chocobozzz d0e848b77e
Move commander in production dependencies 2018-01-23 18:58:07 +01:00
Chocobozzz 47162b722a
Bumped to version v0.0.14-alpha 2018-01-23 17:19:23 +01:00
Chocobozzz 093237cf79
Add schema.org tags to videos 2018-01-23 17:09:06 +01:00
Chocobozzz 63c4b44961
Avoid to linkify truncated links 2018-01-23 16:32:49 +01:00
Chocobozzz e494f91e67
Add style to cancel button 2018-01-23 15:15:03 +01:00
Chocobozzz 531ab5b627
Don't play video if user paused it during loading 2018-01-23 15:02:48 +01:00
Dimitri Gilbert 8c4890cbfe Issue #196 : Allow to cancel an upload (#221)
* issue #196

* fixed missattribution of var

* fix styling issue

* renamed videoUpload to videoUploadObservable

* added created path to gitignore

* changed uploadCancel method name to cancelUpload
2018-01-23 15:01:38 +01:00
Chocobozzz f8b8c36b2a
Destroy user token when changing its role 2018-01-23 09:49:57 +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 2af4fa4d8b
Fix tests 2018-01-19 14:47:03 +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 adcaf1a867
Fix embed button outline 2018-01-19 09:15:42 +01:00
Chocobozzz 0edf0581a9
Add http tracker in torrent too 2018-01-19 08:49:04 +01:00
Chocobozzz 134337bd07
Bumped to version v0.0.13-alpha 2018-01-18 19:50:28 +01:00
Chocobozzz 2d9ab59061
Fix videos list sql request
Sequelize my love <3
2018-01-18 19:37:35 +01:00