From 89842f51ece4e58a572bfe4a8fd3ffd633f10442 Mon Sep 17 00:00:00 2001 From: Trong-Nghia Nguyen Date: Wed, 13 Dec 2017 16:23:21 +0700 Subject: [PATCH] Release of R/0.0.4 --- HISTORY.rst | 6 ++++++ README.rst | 4 ++++ imagebutler/__init__.py | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 0a4785d..f36f7f7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,12 @@ History ======= +0.0.4 (Dec 13th, 2017) +---------------------- + +- Hot fix #26 and #28 +- Added option to config max image file size + 0.0.3 (Dec 10th, 2017) ---------------------- diff --git a/README.rst b/README.rst index 7d42b4d..3dbb89a 100644 --- a/README.rst +++ b/README.rst @@ -29,6 +29,10 @@ Create *image_butler.conf* referring following example: REDISLITE_PATH = '/ImageButler.rdb' REDISLITE_WORKER_PID = '/workers.pid' + IMAGEBUTLER_MAX_THUMBNAIL = 150, 150 + IMAGEBUTLER_API_IMAGES_LIMIT = 5 + IMAGEBUTLER_MAX_IMAGE_SIZE = '1M' + Export environment variables: .. code-block:: bash diff --git a/imagebutler/__init__.py b/imagebutler/__init__.py index 1807a57..972a323 100644 --- a/imagebutler/__init__.py +++ b/imagebutler/__init__.py @@ -5,6 +5,6 @@ from . import apis, commands, views -__version__ = '0.0.4rc0' +__version__ = '0.0.4' app.register_blueprint(api_bp)