343 Commits

Author SHA1 Message Date
dependabot[bot]
f6437ffc83 Bump the development group with 6 updates (#4838)
Bumps the development group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [ruff](https://github.com/astral-sh/ruff) | `0.1.5` | `0.1.7` |
| [pytest-httpx](https://github.com/Colin-b/pytest_httpx) | `0.26.0` | `0.27.0` |
| [pytest-env](https://github.com/pytest-dev/pytest-env) | `1.1.1` | `1.1.3` |
| [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) | `3.4.0` | `3.5.0` |
| [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures) | `12.0` | `13.0` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.4.8` | `9.4.14` |


Updates `ruff` from 0.1.5 to 0.1.7
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.5...v0.1.7)

Updates `pytest-httpx` from 0.26.0 to 0.27.0
- [Release notes](https://github.com/Colin-b/pytest_httpx/releases)
- [Changelog](https://github.com/Colin-b/pytest_httpx/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/Colin-b/pytest_httpx/compare/v0.26.0...v0.27.0)

Updates `pytest-env` from 1.1.1 to 1.1.3
- [Release notes](https://github.com/pytest-dev/pytest-env/releases)
- [Commits](https://github.com/pytest-dev/pytest-env/compare/1.1.1...1.1.3)

Updates `pytest-xdist` from 3.4.0 to 3.5.0
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.4.0...v3.5.0)

Updates `pytest-rerunfailures` from 12.0 to 13.0
- [Changelog](https://github.com/pytest-dev/pytest-rerunfailures/blob/master/CHANGES.rst)
- [Commits](https://github.com/pytest-dev/pytest-rerunfailures/compare/12.0...13.0)

Updates `mkdocs-material` from 9.4.8 to 9.4.14
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.8...9.4.14)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: pytest-httpx
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: pytest-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: pytest-xdist
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: pytest-rerunfailures
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 15:51:37 +00:00
Trenton H
f100cb8c83 Chore: Raise Gotenberg container version (#4815)
* Updates the Gotenberg version to use 7.10 and gotenberg-client to match
* Fixes a long standing bug in this test where a whole page was missing from the expected
2023-12-05 15:36:25 +00:00
Trenton H
5f2345b01a Targeted update of some Python dependencies (#4688) 2023-11-28 19:10:27 -08:00
Trenton H
ab9e561317 Chore: Backend bulk updates (#4509) 2023-11-13 17:09:56 +00:00
shamoon
82d28bdb64 Documentation: update docs, screenshots ahead of Paperless-ngx v2.0 (#4542)
* Reformat internal links

* Update screenshots, docs & readme

* Use image lightbox

* Fix nested list on docs index

* Add some visual interest to screenshots layout

* Compress images
2023-11-13 14:56:34 +00:00
shamoon
a792bf1ca1 Feature: Implement custom fields for documents (#4502)
Adds custom fields of certain data types, attachable to documents and searchable

Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-11-05 17:27:23 -08:00
shamoon
d9b79f5eb4 Chore: upgrade python-ipware dependency (#4446) 2023-10-30 10:16:49 -07:00
nanokatz
b5613754d2 Feature: Audit Trail (#4425)
Adds new feature for optionally enabling change tracking for possible audit purposes
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2023-10-30 09:23:22 -07:00
Trenton H
61d0459e3c Feature: Switches to a new client to handle communication with Gotenberg (#4391)
Switches to a new client to handle communication with Gotenberg for merging and generating PDFs
2023-10-20 00:27:29 +00:00
Trenton H
6e9da685c6 Updates to latest imap_tools which includes fix for the meta charset tag in HTML content of emails (#4355) 2023-10-11 06:32:22 -07:00
Trenton H
d5dfe8400b Upgrades all backend libraries and development tools/hooks to latest versions (#4305) 2023-10-02 17:01:16 -07:00
Trenton H
288ed3d787 Updates Django to 4.2.5 (#4278) 2023-09-27 10:45:51 -07:00
shamoon
54783f706f Feature: consumption templates (#4196)
* Initial implementation of consumption templates

* Frontend implementation of consumption templates

Testing

* Support consumption template source

* order templates, automatically add permissions

* Support title assignment in consumption templates

* Refactoring, filters to and, show sources on list

Show sources on template list, update some translation strings

Make filters and

minor testing

* Update strings

* Only update django-multiselectfield

* Basic docs, document some methods

* Improve testing coverage, template multi-assignment merges
2023-09-22 16:53:13 -07:00
Trenton Holmes
34b80a4d8e Removes support for Python 3.8 and lower from the code base 2023-09-10 11:42:59 -07:00
Trenton H
ac8f5eaa7d Unlocks all things which were locked due to ARMv7, etc 2023-09-08 11:21:43 -07:00
Trenton H
9344e80804 Loosen restriction and update a couple of packages which were out of date 2023-08-10 17:23:16 -07:00
Trenton H
73e829b721 Reduces the 2 mail tests flakiness 2023-08-07 15:32:33 -07:00
Trenton H
f2e9581dd7 Locks and upgrades all dependencies 2023-07-27 12:30:41 -07:00
Trenton H
dbcf040dde Updates some Python dependencies and the hooks 2023-07-20 18:30:11 -07:00
Trenton H
a9936a677b Updates to latest tika-client 2023-07-20 07:01:38 -07:00
Trenton H
97d9edda96 Updates tika client library and handle the changes to it 2023-06-26 10:41:05 -06:00
Trenton Holmes
48ab961c68 Adds better error handling/checking around getting content of a document via Tika
Signed-off-by: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2023-06-18 08:39:17 -07:00
Trenton H
f8f1730299 Updates to celery 5.3.0 in particular, other minor updates 2023-06-13 20:15:18 -07:00
Trenton H
1b3492a01f Rewrites the email parsing to be more clear and concise.
Adds testing to use httpx mocked responses to stand in as a server even offline
2023-06-06 09:05:26 -07:00
Trenton H
36f09c4974 Swapping out the tika and replaces requests with httpx 2023-06-06 09:05:26 -07:00
Michael Manganiello
58f4484fbf Sync Pipfile.lock based on latest Pipfile
When running `pipenv install` locally, `pipenv` triggers a warning that the
lockfile is out of sync, and starts regenerating the `Pipfile.lock` file.

This change syncs these files, and updates dependencies based on a fresh run of
`pipenv lock --dev`.
2023-05-30 07:22:00 -07:00
Trenton H
18f36bb080 Adds back the extras from uvicorn 2023-05-12 06:43:32 -07:00
Trenton H
29a1c7a74e Removes even more remanents from the lock file 2023-05-12 06:43:32 -07:00
Trenton H
4ff078e2bc Fixes testing requirements, removes further leftover libraries 2023-05-12 06:43:32 -07:00
Trenton H
b78d862aed Upgrades to the latest django channels 2023-05-12 06:43:32 -07:00
Trenton H
ee99c30d49 Transition to new library for finding IPs from the Django request 2023-05-11 13:51:04 -07:00
Trenton H
58b7230979 Upgrades dependencies to their latest allowed versions 2023-05-10 06:59:44 -07:00
Ross Brown
2c4e2e352a Bump django from 4.1.7 to 4.1.9 2023-05-07 18:22:52 -07:00
Trenton H
08c21c3db4 CI cleanup and improvements.
Removes the building of installers from the repo, they can now be built elsewhere,
on demand, as their building is no longer tied to the Dockerfile
2023-05-05 11:47:43 -07:00
Ross Brown
d2ae1c8727 Bump filelock from 3.10.2 to 3.12.0 to fix permissions bug 2023-05-02 07:32:41 -07:00
Trenton H
aabcc9a1c4 Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
Trenton H
13f9bc581b Selectivly upgrade redis-py to resolve issues with socket connections 2023-04-25 10:03:41 -07:00
Trenton H
d2c02b9102 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
Trenton H
899f3ba9fc Merge remote-tracking branch 'origin/dev' into feature-multiple-barcode-scanners 2023-03-29 09:40:10 -07:00
Trenton H
d12a5b36af Unlock channels_redis and implement the workaround from the issue to use pub/sub instead 2023-03-23 19:54:19 -07:00
Marvin Gaube
c66a0ec82e feature: Add support for zxing as barcode scanning lib 2023-03-19 13:48:35 +01:00
Trenton H
60fefad7cf Unlock cryptography version now that PiWheels built the most recent version. Update in bulk. 2023-03-15 06:35:05 -07:00
Trenton H
9ca7f0c616 Add new packages catagory for mypy typing stubs and configure some mypy settings in setup.cfg 2023-02-27 15:59:55 -08:00
Trenton Holmes
d0773874e5 Bulk update of all Python libraries 2023-02-20 07:15:48 -08:00
Michael Shamoon
fcba4fba5a Log failed login attempts 2023-02-17 08:12:27 -08:00
shamoon
e46cb85965 Merge branch 'dev' into feature-permissions 2023-02-14 11:35:48 -08:00
Trenton H
e6681ad450 Adds option to enable compression of webserver responses 2023-02-12 14:45:51 -08:00
shamoon
ee9ea396a4 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
Trenton H
968daa24ac Locks everything with 3.8 2023-01-10 17:57:21 -08:00
Michael Shamoon
69c64a9491 Update Pipfile.lock 2023-01-06 18:09:42 -08:00