From 0ca5373f6dd7843c1bb75b81297acc2228f23bd6 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sun, 1 Jan 2017 18:41:23 +0000 Subject: [PATCH] Version 0.3.0! --- docs/changelog.rst | 11 +++++++++++ src/paperless/settings.py | 35 ----------------------------------- src/paperless/version.py | 2 +- 3 files changed, 12 insertions(+), 36 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 25683aeaf..5d6ce7158 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,17 @@ Changelog ######### +* 0.3.0 + * Updated to using django-filter 1.x + * Added some system checks so new users aren't confused by misconfigurations. + * Consumer loop time is now configurable for systems with slow writes. Just + set ``PAPERLESS_CONSUMER_LOOP_TIME`` to a number of seconds. The default + is 10. + * As per `#44`_, we've removed support for ``PAPERLESS_CONVERT``, + ``PAPERLESS_CONSUME``, and ``PAPERLESS_SECRET``. Please use + ``PAPERLESS_CONVERT_BINARY``, ``PAPERLESS_CONSUMPTION_DIR``, and + ``PAPERLESS_SHARED_SECRET`` respectively instead. + * 0.2.0 * `#150`_: The media root is now a variable you can set in diff --git a/src/paperless/settings.py b/src/paperless/settings.py index bc6674e88..a7ebb2ba5 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -245,38 +245,3 @@ SHARED_SECRET = os.getenv("PAPERLESS_SHARED_SECRET", "") # Trigger a script after every successful document consumption? PRE_CONSUME_SCRIPT = os.getenv("PAPERLESS_PRE_CONSUME_SCRIPT") POST_CONSUME_SCRIPT = os.getenv("PAPERLESS_POST_CONSUME_SCRIPT") - -# -# TODO: Remove after 0.2 -# -# This logic is here to address issue #44, wherein we were using inconsistent -# constant names vs. environment variables. If you're using Paperless for the -# first time, you can safely ignore everything from here on, so long as you're -# correctly defining the variables as per the documentation. -# - - -def deprecated(before, after): - print( - "\n\n" - "WARNING: {before} has been renamed to {after}.\n" - "WARNING: Use of {before} will not work as of version 1.2." - "\n\n".format( - before=before, - after=after - ) - ) - -if not CONVERT_BINARY: - CONVERT_BINARY = "convert" - if os.getenv("PAPERLESS_CONVERT"): - deprecated("PAPERLESS_CONVERT", "PAPERLESS_CONVERT_BINARY") - CONVERT_BINARY = os.getenv("PAPERLESS_CONVERT", CONVERT_BINARY) - -if not CONSUMPTION_DIR and os.getenv("PAPERLESS_CONSUME"): - deprecated("PAPERLESS_CONSUME", "PAPERLESS_CONSUMPTION_DIR") - CONSUMPTION_DIR = os.getenv("PAPERLESS_CONSUME") - -if not SHARED_SECRET and os.getenv("PAPERLESS_SECRET"): - deprecated("PAPERLESS_SECRET", "PAPERLESS_SHARED_SECRET") - SHARED_SECRET = os.getenv("PAPERLESS_SECRET", "") diff --git a/src/paperless/version.py b/src/paperless/version.py index d61abb655..286c2e5a8 100644 --- a/src/paperless/version.py +++ b/src/paperless/version.py @@ -1 +1 @@ -__version__ = (0, 1, 1) +__version__ = (0, 3, 0)