From 87e386afc455830d0426c5e10542bf1bb7428f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Fri, 16 Dec 2016 22:11:51 +0100 Subject: [PATCH] Updated deps. --- README.rst | 33 +++++++++++++++++-------- gulpfile.js | 48 ++++++++++++++++++++++--------------- requirements_production.txt | 14 +++++------ 3 files changed, 59 insertions(+), 36 deletions(-) diff --git a/README.rst b/README.rst index 6e8eac64c..3087fb373 100644 --- a/README.rst +++ b/README.rst @@ -132,9 +132,9 @@ The configuration values that have to be altered are: Please see: * http://channels.readthedocs.io/en/latest/deploying.html -* https://docs.djangoproject.com/en/1.9/topics/cache/ +* https://docs.djangoproject.com/en/1.10/topics/cache/ * https://github.com/sebleier/django-redis-cache -* https://docs.djangoproject.com/en/1.9/ref/settings/#databases +* https://docs.djangoproject.com/en/1.10/ref/settings/#databases You should use a webserver like Apache HTTP Server or nginx to serve the static and media files as proxy server in front of OpenSlides server. You also @@ -147,30 +147,43 @@ Used software OpenSlides uses the following projects or parts of them: -* `backports-abc `_, - License: Python Software Foundation License +* `asgiref `_, License: BSD + +* `Autobahn `_, License: MIT + +* `Constantly `_, License: MIT + +* `daphne `_, License: BSD * `Django `_, License: BSD +* `Django Channels `_, License: BSD + +* `django-jsonfield `_, + License: MIT + * `Django REST framework `_, License: BSD -* `Django Channels `_, License: MIT - -* `django-jsonfield `_, - License: MIT +* `Incremental `_, License: MIT * `PyPDF2 `_, License: BSD * `roman `_, License: Python 2.1.1 -* `setuptools `_, - License: Python Software Foundation License +* `setuptools `_, License: MIT * `Six `_, License: MIT +* `Twisted `_, License: MIT + +* `txaio `_, License: MIT + * `Whoosh `_, License: BSD +* `zope.interface `, + License: ZPL 2.1 + * Several JavaScript packages (see ``bower.json``) * `angular `_, License: MIT diff --git a/gulpfile.js b/gulpfile.js index 45a376831..7780b9220 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -119,30 +119,40 @@ gulp.task('ckeditor-defaults', function () { // CKEditor skins gulp.task('ckeditor-skins', function () { - return gulp.src([ - path.join('bower_components', 'ckeditor', 'skins', 'moono-lisa', '**', '*'), - ],{ base: path.join('bower_components', 'ckeditor', 'skins') }) + return gulp.src( + [ + path.join('bower_components', 'ckeditor', 'skins', 'moono-lisa', '**', '*'), + ], + { + base: path.join('bower_components', 'ckeditor', 'skins') + } + ) .pipe(gulp.dest(path.join(output_directory, 'ckeditor', 'skins'))); }); // CKEditor plugins gulp.task('ckeditor-plugins', function () { - return gulp.src([ - path.join('bower_components', 'ckeditor', 'plugins', 'clipboard', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'colorbutton', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'dialog', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'find', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'image', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'justify', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'liststyle', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'magicline', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'pastefromword', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'panelbutton', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'showblocks', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'sourcedialog', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'table', '**', '*'), - path.join('bower_components', 'ckeditor', 'plugins', 'tabeltools', '**', '*'), - ],{ base: path.join('bower_components', 'ckeditor', 'plugins') }) + return gulp.src( + [ + path.join('bower_components', 'ckeditor', 'plugins', 'clipboard', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'colorbutton', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'dialog', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'find', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'image', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'justify', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'liststyle', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'magicline', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'pastefromword', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'panelbutton', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'showblocks', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'sourcedialog', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'table', '**', '*'), + path.join('bower_components', 'ckeditor', 'plugins', 'tabeltools', '**', '*'), + ], + { + base: path.join('bower_components', 'ckeditor', 'plugins') + } + ) .pipe(gulp.dest(path.join(output_directory, 'ckeditor', 'plugins'))); }); diff --git a/requirements_production.txt b/requirements_production.txt index 06c105bfd..843486d7b 100644 --- a/requirements_production.txt +++ b/requirements_production.txt @@ -1,10 +1,10 @@ # Requirements for OpenSlides in production in alphabetical order -Django>=1.10.1,<1.11 -channels>=0.15,<1.0 +channels>=0.17,<1.0 +Django>=1.10.4,<1.11 djangorestframework>=3.4,<3.5 -jsonfield>=0.9.19,<1.1 -PyPDF2>=1.25.0,<1.27 +jsonfield>=1.0,<1.1 +PyPDF2>=1.26,<1.27 roman>=2.0,<2.1 -setuptools>=18.5,<28.0 -twisted>=16.2,<16.4 -Whoosh>=2.7.0,<2.8 +setuptools>=18.5,<33.0 +Twisted>=16.6,<16.7 +Whoosh>=2.7,<2.8