Allow an infinite number of logs to be deleted.

This commit is contained in:
Daniel Quinn 2018-11-03 10:25:51 +00:00
parent 84511f8418
commit d825667c9b
2 changed files with 22 additions and 2 deletions

View File

@ -1,6 +1,13 @@
Changelog Changelog
######### #########
2.6.0
=====
* Allow an infinite number of logs to be deleted. Thanks to `Ulli`_ for noting
the problem in `#433`_.
2.5.0 2.5.0
===== =====
@ -44,6 +51,7 @@ Changelog
* The ``get_date()`` functionality of the parsers has been consolidated onto * The ``get_date()`` functionality of the parsers has been consolidated onto
the ``DocumentParser`` class since much of that code was redundant anyway. the ``DocumentParser`` class since much of that code was redundant anyway.
2.4.0 2.4.0
===== =====
@ -55,13 +63,13 @@ Changelog
It's now in the import step that we decide the storage type. This allows you It's now in the import step that we decide the storage type. This allows you
to export from an encrypted system and import into an unencrypted one, or to export from an encrypted system and import into an unencrypted one, or
vice-versa. vice-versa.
* The migration history has been slightly modified to accomodate PostgreSQL * The migration history has been slightly modified to accommodate PostgreSQL
users. Additionally, you can now tell paperless to use PostgreSQL simply by users. Additionally, you can now tell paperless to use PostgreSQL simply by
declaring ``PAPERLESS_DBUSER`` in your environment. This will attempt to declaring ``PAPERLESS_DBUSER`` in your environment. This will attempt to
connect to your Postgres database without a password unless you also set connect to your Postgres database without a password unless you also set
``PAPERLESS_DBPASS``. ``PAPERLESS_DBPASS``.
* A bug was found in the REST API filter system that was the result of an * A bug was found in the REST API filter system that was the result of an
update of django-filter some time ago. This has now been patched `#412`_. update of django-filter some time ago. This has now been patched in `#412`_.
Thanks to `thepill`_ for spotting it! Thanks to `thepill`_ for spotting it!
@ -570,6 +578,7 @@ bulk of the work on this big change.
.. _thepill: https://github.com/thepill .. _thepill: https://github.com/thepill
.. _Andrew Peng: https://github.com/pengc99 .. _Andrew Peng: https://github.com/pengc99
.. _euri10: https://github.com/euri10 .. _euri10: https://github.com/euri10
.. _Ulli: https://github.com/Ulli2k
.. _#20: https://github.com/danielquinn/paperless/issues/20 .. _#20: https://github.com/danielquinn/paperless/issues/20
.. _#44: https://github.com/danielquinn/paperless/issues/44 .. _#44: https://github.com/danielquinn/paperless/issues/44
@ -664,6 +673,7 @@ bulk of the work on this big change.
.. _#412: https://github.com/danielquinn/paperless/issues/412 .. _#412: https://github.com/danielquinn/paperless/issues/412
.. _#413: https://github.com/danielquinn/paperless/pull/413 .. _#413: https://github.com/danielquinn/paperless/pull/413
.. _#414: https://github.com/danielquinn/paperless/issues/414 .. _#414: https://github.com/danielquinn/paperless/issues/414
.. _#433: https://github.com/danielquinn/paperless/issues/433
.. _pipenv: https://docs.pipenv.org/ .. _pipenv: https://docs.pipenv.org/
.. _a new home on Docker Hub: https://hub.docker.com/r/danielquinn/paperless/ .. _a new home on Docker Hub: https://hub.docker.com/r/danielquinn/paperless/

View File

@ -199,6 +199,16 @@ STATIC_URL = os.getenv("PAPERLESS_STATIC_URL", "/static/")
MEDIA_URL = os.getenv("PAPERLESS_MEDIA_URL", "/media/") MEDIA_URL = os.getenv("PAPERLESS_MEDIA_URL", "/media/")
# Other
# Disable Django's artificial limit on the number of form fields to submit at
# once. This is a protection against overloading the server, but since this is
# a self-hosted sort of gig, the benefits of being able to mass-delete a tonne
# of log entries outweight the benefits of such a safeguard.
DATA_UPLOAD_MAX_NUMBER_FIELDS = None
# Paperless-specific stuff # Paperless-specific stuff
# You shouldn't have to edit any of these values. Rather, you can set these # You shouldn't have to edit any of these values. Rather, you can set these
# values in /etc/paperless.conf instead. # values in /etc/paperless.conf instead.