3208 Commits

Author SHA1 Message Date
shamoon
693ce6553d Refactor pages_count --> page_count 2024-09-25 00:35:14 -07:00
shamoon
9b13c607db Use pathlib in migration 2024-09-25 00:28:31 -07:00
shamoon
e7de2a3d79 Use pikepdf as context manager 2024-09-25 00:25:25 -07:00
shamoon
e5836118b6 Fix test comment 2024-09-25 00:24:13 -07:00
s0llvan
acec8e35fa Update pages_count to Optional[int] in consumer 2024-09-24 20:23:51 +00:00
s0llvan
a87db2b070 Add comments to test_get_pages_count 2024-09-24 20:10:05 +00:00
s0llvan
a85d6cdc38 Refactor file copy to use Path instead of os.path.join 2024-09-24 16:38:17 +00:00
s0llvan
a9f6e054c1
Merge branch 'paperless-ngx:dev' into dev 2024-09-24 18:26:59 +02:00
s0llvan
f855f5c29e
Removal of the unnecessary method remove_number_of_pages_to_pages_count in the migration 2024-09-24 18:15:38 +02:00
shamoon
d7ba6d98d3 Feature: Enhanced backend custom field search API (#7589)
commit 910dae8413028f647e6295f30207cb5d4fc6605d
Author: Yichi Yang <yiy067@ucsd.edu>
Date:   Wed Sep 4 12:47:19 2024 -0700

    Fix: correctly handle the case where custom_field_lookup refers to multiple fields

commit e43f70d708b7d6b445f3ca8c8bf9dbdf5ee26085
Author: Yichi Yang <yiy067@ucsd.edu>
Date:   Sat Aug 31 14:06:45 2024 -0700

Co-Authored-By: Yichi Yang <yichiyan@usc.edu>
2024-09-23 23:33:49 -07:00
shamoon
c22c6e6dfe Another leftover error in suggestion, my bad 2024-09-23 08:14:48 -07:00
shamoon
835e4c24c5 Fix outdated variable in suggestion 2024-09-23 08:04:36 -07:00
s0llvan
2aa9f90dec
Fixed: handle exception when retrieving PDF page count
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-09-23 11:56:33 +02:00
s0llvan
08af50e919 Refactor: tests coverage added for delete pages 2024-09-22 13:06:50 +00:00
s0llvan
be6a42b0e5 Refactor: removal of the unused GPG code and tests coverage added for migration 2024-09-22 12:18:34 +00:00
s0llvan
27cf302db4 Fixed: add check for pages_count before subtracting page count 2024-09-22 10:49:25 +00:00
s0llvan
af3b898814 Refactor: removal of the unused method 2024-09-21 23:25:51 +00:00
s0llvan
215f8c3f9d Fixed: pages_count updated when pages was deleted 2024-09-21 22:53:58 +00:00
s0llvan
66c0b80e79 Fixed: get_pages_count return 0 instead of None 2024-09-21 22:53:32 +00:00
s0llvan
5a890db3da
Update src/documents/views.py : Issue text in logger to Error
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-09-21 21:37:41 +02:00
s0llvan
865856b06d Feature: number of pages of document in documents list 2024-09-21 18:18:19 +00:00
shamoon
609fa9a212
Enhancement: set Django SESSION_EXPIRE_AT_BROWSER_CLOSE from PAPERLESS_ACCOUNT_SESSION_REMEMBER (#7748) 2024-09-20 10:36:40 -07:00
shamoon
a440c88b81
Enhancement: allow setting session cookie age (#7743) 2024-09-19 18:58:40 -07:00
shamoon
3b7fdb2f37 Bump version to 2.12.1 2024-09-15 20:08:24 -07:00
github-actions[bot]
eeeec498d4
New Crowdin translations by GitHub Action (#7668)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-15 19:40:35 -07:00
shamoon
0af2b967e4
Fix: wait to apply tag changes until other changes saved with multiple workflows (#7711) 2024-09-16 01:26:24 +00:00
shamoon
4193401be7
Fix: delete_pages should require ownership (#7714) 2024-09-15 16:24:40 -07:00
shamoon
9a7f95865f Chore: mark some more tests as flaky 2024-09-10 16:41:11 -07:00
shamoon
f1559b7108
Fix: add permissions to OPTIONS requests for notes (#7661) 2024-09-09 08:34:21 -07:00
shamoon
aeb49898e5 Bump version to 2.12.0 2024-09-08 17:47:20 -07:00
github-actions[bot]
357ae92d88
New Crowdin translations by GitHub Action (#7658)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-08 16:53:13 -07:00
github-actions[bot]
74330623b3
New Crowdin translations by GitHub Action (#7528)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-08 16:51:37 -07:00
Trenton H
3df8be0bc7
Fix: Rework system check so it won't crash if tesseract is not found (#7640) 2024-09-08 12:17:32 -07:00
Lukas Metzger
cc25cbc026
Refactor: performance and storage optimization of barcode scanning (#7646)
---------

Co-authored-by: Lukas Metzger <1814751+loewexy@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-09-07 16:11:36 -07:00
shamoon
e98d52830f
Fix: use JSON for note audit log entries (#7650) 2024-09-07 16:09:11 -07:00
shamoon
4903e4290d
Enhancement: re-work mail rule dialog, support multiple include patterns (#7635) 2024-09-05 15:32:03 -07:00
shamoon
dad3a1ff28
Feature: add Korean language (#7573) 2024-08-28 20:10:23 -07:00
Daniel Bankmann
ce663398e6
Enhancement: mail message preprocessor for gpg encrypted mails (#7456)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-08-29 00:22:44 +00:00
Dennis Melzer
eaaaa575b8
Enhancement: allow multiple filename attachment exclusion patterns for a mail rule (#5524)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-08-27 09:31:46 -07:00
Yichi Yang
a0c227fe55
Refactor: Use django-filter logic for filtering full text search queries (#7507) 2024-08-24 21:20:43 -07:00
Yichi Yang
057ce29676
Refactor: Reduce number of SQL queries when serializing List[Document] (#7505) 2024-08-24 21:20:24 -07:00
shamoon
dfa25343a3 Bump version to 2.11.6 2024-08-22 20:40:13 -07:00
shamoon
8e34756e6b Bump version to 2.11.5 2024-08-22 16:20:53 -07:00
github-actions[bot]
76951ea482
New Crowdin translations by GitHub Action (#7446)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-08-22 16:19:35 -07:00
shamoon
b5e4aaa778 Revert "Chore: add line to log indexing"
This reverts commit b34f9c3b2083069fdb82eb504de00c222a04ba34.
2024-08-20 22:11:20 -07:00
shamoon
39998cb34f Update backend translation strings 2024-08-19 23:30:59 -07:00
shamoon
a771d2afd9
Fix: use JSON for update archive file auditlog entries (#7503) 2024-08-19 23:29:24 -07:00
dependabot[bot]
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
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