shamoon
b5e4aaa778
Revert "Chore: add line to log indexing"
...
This reverts commit b34f9c3b20 .
2024-08-20 22:11:20 -07:00
shamoon
39998cb34f
Update backend translation strings
2024-08-19 23:30:59 -07:00
shamoon and GitHub
a771d2afd9
Fix: use JSON for update archive file auditlog entries ( #7503 )
2024-08-19 23:29:24 -07:00
dac3def6b9
Chore(deps): Bump the small-changes group across 1 directory with 6 updates ( #7502 )
...
* Chore(deps): Bump the small-changes group across 1 directory with 6 updates
Bumps the small-changes group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [django-filter](https://github.com/carltongibson/django-filter ) | `24.2` | `24.3` |
| [django-soft-delete](https://github.com/san4ezy/django_softdelete ) | `1.0.13` | `1.0.14` |
| [nltk](https://github.com/nltk/nltk ) | `3.8.1` | `3.9.1` |
| [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz ) | `3.9.5` | `3.9.6` |
| [watchdog](https://github.com/gorakhargosh/watchdog ) | `4.0.1` | `4.0.2` |
| [factory-boy](https://github.com/FactoryBoy/factory_boy ) | `3.3.0` | `3.3.1` |
Updates `django-filter` from 24.2 to 24.3
- [Release notes](https://github.com/carltongibson/django-filter/releases )
- [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst )
- [Commits](https://github.com/carltongibson/django-filter/compare/24.2...24.3 )
Updates `django-soft-delete` from 1.0.13 to 1.0.14
- [Commits](https://github.com/san4ezy/django_softdelete/commits )
Updates `nltk` from 3.8.1 to 3.9.1
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog )
- [Commits](https://github.com/nltk/nltk/compare/3.8.1...3.9.1 )
Updates `rapidfuzz` from 3.9.5 to 3.9.6
- [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases )
- [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/rapidfuzz/RapidFuzz/compare/v3.9.5...v3.9.6 )
Updates `watchdog` from 4.0.1 to 4.0.2
- [Release notes](https://github.com/gorakhargosh/watchdog/releases )
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst )
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v4.0.1...v4.0.2 )
Updates `factory-boy` from 3.3.0 to 3.3.1
- [Changelog](https://github.com/FactoryBoy/factory_boy/blob/master/docs/changelog.rst )
- [Commits](https://github.com/FactoryBoy/factory_boy/compare/3.3.0...3.3.1 )
---
updated-dependencies:
- dependency-name: django-filter
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
- dependency-name: django-soft-delete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
- dependency-name: nltk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
- dependency-name: rapidfuzz
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
- dependency-name: watchdog
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
- dependency-name: factory-boy
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: small-changes
...
Signed-off-by: dependabot[bot] <support@github.com >
* Create 1052_document_transaction_id.py
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2024-08-19 19:51:02 -07:00
shamoon and GitHub
674b4a839c
Fix: respect deskew / rotate pages from AppConfig if set ( #7501 )
2024-08-19 19:38:40 -07:00
shamoon
b34f9c3b20
Chore: add line to log indexing
2024-08-15 08:03:35 -07:00
shamoon
3c633c2015
Bump version to 2.11.4
2024-08-10 08:48:26 -07:00
dd8b51de67
New Crowdin translations by GitHub Action ( #7350 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2024-08-10 08:36:39 -07:00
shamoon
19dfaf1b94
Bump version to 2.11.3
2024-08-08 07:46:22 -07:00
shamoon and GitHub
15554322dd
Enhancement: allow specifying default currency for Monetary custom field ( #7381 )
2024-08-05 17:02:03 -07:00
shamoon and GitHub
0ee85aae21
Enhancement: log when pre-check fails for documents in trash ( #7355 )
2024-08-05 17:01:01 -07:00
shamoon
9c3bc2eb83
Bump version to 2.11.2
2024-07-28 14:11:20 -07:00
d179efbd48
New Crowdin translations by GitHub Action ( #7299 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2024-07-28 14:10:36 -07:00
shamoon
98799d9a69
Bump version to 2.11.1
2024-07-22 10:29:02 -07:00
b80070ac0b
New Crowdin translations by GitHub Action ( #7221 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2024-07-22 10:09:22 -07:00
shamoon and GitHub
6b2e5559ca
Fix: support multiple inbox tags from stats widget ( #7281 )
2024-07-22 10:07:51 -07:00
Freddy0 and GitHub
8e3ca37b05
Enhancement: include owner username in post-consumption variables ( #7270 )
2024-07-16 15:23:29 -07:00
Trenton H and GitHub
b93c970635
Chore: Squash older automatic migrations ( #7267 )
2024-07-16 09:21:41 -07:00
Trenton H and GitHub
6965165c76
Removes Turkish from the NLTK languages ( #7246 )
2024-07-14 16:35:16 -07:00
shamoon and GitHub
73d33ff25a
Fix: include trashed docs in existing doc check ( #7229 )
2024-07-12 16:45:35 -07:00
shamoon
9950ff2337
Bump version to 2.11.0
2024-07-10 21:21:29 -07:00
eaea42334b
New Crowdin translations by GitHub Action ( #7124 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2024-07-10 20:29:17 -07:00
shamoon
6dc094f760
Fix: unable to assign null select custom fields
2024-07-09 11:27:30 -07:00
shamoon
186f520819
Update backend translation strings
2024-07-09 11:06:18 -07:00
shamoon and GitHub
61811a4bec
Enhancement: support customfield filter for select type ( #7199 )
2024-07-09 10:54:34 -07:00
shamoon and GitHub
bb83c1eb0a
Chore: upgrade to DRF 3.15 ( #7134 )
2024-07-09 16:57:53 +00:00
shamoon and GitHub
4ad4862641
Feature: select custom field type ( #7167 )
2024-07-09 07:57:07 -07:00
shamoon and GitHub
c03aa03ac2
Feature: automatic sso redirect ( #7168 )
2024-07-08 22:38:23 +00:00
shamoon and GitHub
ada283441c
Fix: include documents in trash for existing asn check ( #7189 )
2024-07-08 16:28:40 +00:00
Trenton H and GitHub
3cf73a77ac
Chore: Initial conversion to pytest fixtures ( #7110 )
2024-07-08 07:46:20 -07:00
shamoon
7fe76656f2
Fix: editing of existing custom fields violates throws unique error
2024-07-06 13:05:20 -07:00
shamoon and GitHub
d35e350c79
Fix: dont exclude documents in trash from sanity check ( #7133 )
2024-07-01 13:47:05 -07:00
shamoon and GitHub
a64d457c30
Enhancement: use request user as owner of split / merge docs ( #7112 )
2024-06-27 13:46:49 -07:00
shamoon and GitHub
ac0ed0def8
Fix: handle errors for trash actions and only show documents user can restore or delete ( #7119 )
2024-06-27 20:33:39 +00:00
f01283c309
Chore(deps-dev): Bump ruff from 0.4.9 to 0.5.0 in the development group across 1 directory ( #7120 )
...
* Chore(deps-dev): Bump ruff in the development group across 1 directory
Bumps the development group with 1 update in the / directory: [ruff](https://github.com/astral-sh/ruff ).
Updates `ruff` from 0.4.9 to 0.5.0
- [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.9...0.5.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update .pre-commit-config.yaml
* Lets ruff fix this new lint
---------
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-27 19:06:37 +00:00
Fabien Dubuy and GitHub
4f1185c65d
Enhancement: improve date parsing with accented characters ( #7100 )
2024-06-26 20:47:37 -07:00
Trenton H and GitHub
29e6371cd1
Feature: Upgrade Gotenberg to v8 ( #7094 )
2024-06-27 02:37:50 +00:00
shamoon and GitHub
80c2d90e74
Fix: dont include documents in trash in counts ( #7111 )
2024-06-26 19:30:12 -07:00
shamoon and GitHub
f3cf608caa
Fix: use temp dir for split / merge ( #7105 )
2024-06-26 10:46:59 -07:00
shamoon
e4265d0594
Bump version to 2.10.2
2024-06-23 22:13:33 -07:00
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 and GitHub
6defe24ae7
Fix: always update document modified property on bulk edit operations ( #7079 )
2024-06-23 12:11:24 -07:00
shamoon and GitHub
0f9710dc8f
Fix: index fresh document data after update archive file ( #7057 )
2024-06-21 18:33:01 +00:00
Trenton H and GitHub
91585a1fa6
Prefer the metadata JSON file over the version JSON file ( #7048 )
2024-06-20 12:49:54 -07:00
shamoon
e6aefd1063
Bump version to 2.10.1
2024-06-18 21:00:22 -07:00
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
4347c87e92
Bump version to 2.10.0
2024-06-18 10:19:49 -07:00
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
shamoon and GitHub
a796e58a94
Feature: documents trash aka soft delete ( #6944 )
2024-06-17 08:07:08 -07:00
martin f. krafft and GitHub
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