Commit Graph

9875 Commits

Author SHA1 Message Date
shamoon
3435ffd00c Chore: update to Angular v18 (#7106) 2024-06-26 20:57:39 -07:00
Fabien Dubuy
4f1185c65d Enhancement: improve date parsing with accented characters (#7100) 2024-06-26 20:47:37 -07:00
shamoon
2b1498cc6d Chore: display docker tag in UI for ci test builds (#7083) 2024-06-27 03:02:52 +00:00
shamoon
0643db4347 Feature: improve history display of object names etc (#7102) 2024-06-27 02:52:08 +00:00
Trenton H
29e6371cd1 Feature: Upgrade Gotenberg to v8 (#7094) 2024-06-27 02:37:50 +00:00
shamoon
80c2d90e74 Fix: dont include documents in trash in counts (#7111) 2024-06-26 19:30:12 -07:00
shamoon
f3cf608caa Fix: use temp dir for split / merge (#7105) 2024-06-26 10:46:59 -07:00
shamoon
c6d0557a3b Update configuration.md 2024-06-24 13:37:01 -07:00
github-actions[bot]
f3b7ae93f0 Changelog v2.10.2 - GHA (#7082)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-23 22:31:52 -07:00
shamoon
e4265d0594 Bump version to 2.10.2 v2.10.2 2024-06-23 22:13:33 -07:00
shamoon
deda49c204 Merge branch 'dev' 2024-06-23 22:13:01 -07:00
github-actions[bot]
276abc1404 New Crowdin translations by GitHub Action (#7034)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-06-23 21:57:48 -07:00
shamoon
6defe24ae7 Fix: always update document modified property on bulk edit operations (#7079) 2024-06-23 12:11:24 -07:00
shamoon
6ed5d11758 Fix: correct frontend retrieval of trash delay setting (#7067) 2024-06-22 12:57:33 -07:00
Trenton H
9d34327a6d Resolves the casing warning in newer Docker versions 2024-06-22 11:30:06 -07:00
shamoon
63f164d099 Documentation: fix PAPERLESS_EMPTY_TRASH_DELAY name 2024-06-22 06:46:47 -07:00
shamoon
0f9710dc8f Fix: index fresh document data after update archive file (#7057) 2024-06-21 18:33:01 +00:00
shamoon
cccba47bd7 Fix: remove type attribute from object for Safari (#7056) 2024-06-21 11:22:18 -07:00
Trenton H
91585a1fa6 Prefer the metadata JSON file over the version JSON file (#7048) 2024-06-20 12:49:54 -07:00
shamoon
3bb6a32ab9 Update bug report note 2024-06-19 00:54:40 -07:00
shamoon
31f592453e Reset -dev version string 2024-06-18 21:23:34 -07:00
github-actions[bot]
56f5f93c48 Documentation: Add v2.10.1 changelog (#7029)
* Changelog v2.10.1 - GHA

* Update changelog.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-06-18 21:22:59 -07:00
shamoon
e6aefd1063 Bump version to 2.10.1 v2.10.1 2024-06-18 21:00:22 -07:00
github-actions[bot]
6187ee82af New Crowdin translations by GitHub Action (#7027)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-06-18 20:59:28 -07:00
shamoon
a066ccff4f Fix: dont require admin to view trash on frontend (#7028) 2024-06-18 20:17:36 -07:00
shamoon
f73be01897 Reset -dev version string 2024-06-18 16:01:37 -07:00
github-actions[bot]
07ee25be06 Changelog v2.10.0 - GHA (#7020)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 15:12:59 -07:00
shamoon
4347c87e92 Bump version to 2.10.0 v2.10.0 2024-06-18 10:19:49 -07:00
shamoon
807f0f1345 Merge branch 'dev' 2024-06-18 10:18:08 -07:00
github-actions[bot]
12857890cc New Crowdin translations by GitHub Action (#6896)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-06-18 09:52:40 -07:00
Trenton H
2ad0f8325c Upgrades to pipenv 2024.0.1 (#7019) 2024-06-18 08:37:11 -07:00
dependabot[bot]
6aae8bf440 Chore(deps): Bump the small-changes group with 2 updates (#7013)
* Chore(deps): Bump the small-changes group with 3 updates

Bumps the small-changes group with 3 updates: [filelock](https://github.com/tox-dev/py-filelock), [gotenberg-client](https://github.com/stumpylog/gotenberg-client) and [redis](https://github.com/redis/redis-py).


Updates `filelock` from 3.14.0 to 3.15.1
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.14.0...3.15.1)

Updates `gotenberg-client` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/stumpylog/gotenberg-client/releases)
- [Changelog](https://github.com/stumpylog/gotenberg-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stumpylog/gotenberg-client/compare/0.5.0...0.6.0)

Updates `redis` from 5.0.4 to 5.0.6
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v5.0.4...v5.0.6)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: small-changes
- dependency-name: gotenberg-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: small-changes
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: small-changes
...

Signed-off-by: dependabot[bot] <support@github.com>

* Downgrades gotenberg-client to 0.5.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2024-06-18 15:03:14 +00:00
dependabot[bot]
5c7522b423 Chore(deps-dev): Bump the development group with 2 updates (#7012)
* Chore(deps-dev): Bump the development group with 2 updates

Bumps the development group with 2 updates: [ruff](https://github.com/astral-sh/ruff) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material).


Updates `ruff` from 0.4.8 to 0.4.9
- [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.4.8...v0.4.9)

Updates `mkdocs-material` from 9.5.26 to 9.5.27
- [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.5.26...9.5.27)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  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>

* Updates ruff to match

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2024-06-18 14:41:34 +00:00
dependabot[bot]
37e607abb9 Chore(deps-dev): Bump ws from 8.15.1 to 8.17.1 in /src-ui (#7015)
Bumps [ws](https://github.com/websockets/ws) from 8.15.1 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.15.1...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 16:42:38 -07:00
dependabot[bot]
8045f3d58c Chore(deps): Bump urllib3 from 2.2.1 to 2.2.2 (#7014)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 23:07:59 +00:00
shamoon
a796e58a94 Feature: documents trash aka soft delete (#6944) 2024-06-17 08:07:08 -07:00
shamoon
9d4e2d4652 Enhancement: better boolean custom field display (#7001) 2024-06-15 09:00:18 -07:00
Trenton H
28db7e84e6 Documentation: Corrections and clarifications for Python support (#6995)
* Clarifies Python version support and a rough policy of what versions are supported
2024-06-13 11:53:34 -07:00
martin f. krafft
22a6360edf Fix: default order of documents gets lost in QuerySet pipeline (#6982)
* Send ordered document list to Django REST pagination

Currently, when pages of documents are requested from the API, the
webserver logs a warning:

```
gunicorn[1550]: /home/madduck/code/paperless-ngx/.direnv/python-3.11.2/lib/python3.11/site-packages/rest_framework/pagination.py:200: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'documents.models.Document'> QuerySet.
```

This can yield unexpected and problematic results, including duplicate
and missing IDs in the enumeration, as demonstrated in
https://github.com/paperless-ngx/paperless-ngx/discussions/6859

The patch is simple: turn the unordered Documents QuerySet into
one that's ordered by reverse creation date, which is the default
ordering for `Document`.

Note that the default ordering for `Document` means that
`QuerySet.ordered` is actually `True` following the call to
`distinct()`, but after `annotate()`, the flag changes to `False`,
unless `order_by()` is used explicitly, as per this patch.

Closes: https://github.com/paperless-ngx/paperless-ngx/discussions/6859

Signed-off-by: martin f. krafft <madduck@madduck.net>

* Ensure order of documents in permissions test

The patch for #6982 changes the ordering of documents returned by the
API, which was previously implicit, and is now explicit. Therefore,
this patch masssages the API result to ensure the previous order.

Signed-off-by: martin f. krafft <madduck@madduck.net>

---------

Signed-off-by: martin f. krafft <madduck@madduck.net>
2024-06-13 14:46:18 +00:00
Trenton H
61485b0f1d Fix: Document history could include extra fields (#6989)
* Fixes creation of a custom field being included in a document's history even if not attached

* Show custom field creation in UI

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-06-12 16:23:47 -07:00
shamoon
fa7a5451db Fix: use local pdf worker js (#6990) 2024-06-12 21:37:42 +00:00
shamoon
70069cd502 Add type attribute to object tag 2024-06-12 14:09:48 -07:00
Felix Eckhofer
9e8b96cd34 Fix: Revert masking the content field in auditlog (#6981) 2024-06-12 06:34:49 -07:00
shamoon
d03058e539 Chore: update packages used by mail html template (#6970) 2024-06-11 20:25:57 -07:00
dependabot[bot]
c929a18da2 Chore(deps): Bump stumpylog/image-cleaner-action in the actions group (#6968)
Bumps the actions group with 1 update: [stumpylog/image-cleaner-action](https://github.com/stumpylog/image-cleaner-action).


Updates `stumpylog/image-cleaner-action` from 0.6.0 to 0.7.0
- [Release notes](https://github.com/stumpylog/image-cleaner-action/releases)
- [Changelog](https://github.com/stumpylog/image-cleaner-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stumpylog/image-cleaner-action/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: stumpylog/image-cleaner-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 14:57:10 -07:00
Trenton H
5bd248578a Configures dependabot to ignore djangorestframework specific versions (#6967) 2024-06-11 21:36:43 +00:00
dependabot[bot]
ebfb72a691 Chore(deps-dev): Bump the development group with 3 updates (#6953)
* Chore(deps-dev): Bump the development group with 3 updates

Bumps the development group with 3 updates: [ruff](https://github.com/astral-sh/ruff), [pytest](https://github.com/pytest-dev/pytest) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material).


Updates `ruff` from 0.4.7 to 0.4.8
- [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.4.7...v0.4.8)

Updates `pytest` from 8.2.1 to 8.2.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.1...8.2.2)

Updates `mkdocs-material` from 9.5.25 to 9.5.26
- [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.5.25...9.5.26)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  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>

* Updates ruff in .pre-commit-config.yaml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2024-06-11 21:26:20 +00:00
Trenton H
fc440d8317 Updates to latest Trixie version of Ghostscript 10.03.1 (#6956) 2024-06-11 15:38:07 +00:00
shamoon
b6f6d524d6 Fix: respect model permissions for ui_settings API endpoint 2024-06-11 01:00:25 -07:00
shamoon
f225f72145 Fix: respect model permissions for tasks API endpoint (#6958) 2024-06-11 00:51:18 -07:00