2290 Commits

Author SHA1 Message Date
Trenton H
de98d748a9 If override_date is provided, coerce it into a datetime 2022-11-22 10:11:27 -08:00
Trenton H
f015556562 Adds a test to cover this edge case 2022-11-22 07:22:41 -08:00
Trenton H
b897d6de2e Don't use the sidecar file when redoing the OCR, it only contains new text 2022-11-22 07:22:41 -08:00
phail
4aa318598f add test comments 2022-11-20 23:26:20 +01:00
phail
00f39d8b58 add test comments 2022-11-20 22:49:42 +01:00
phail
d9796e5003 change order of elements in parsed Texts 2022-11-20 20:24:36 +01:00
phail
3599bb52c0 minor test improvements 2022-11-20 20:12:41 +01:00
phail
af8a6c3764 fix filenames 2022-11-20 19:53:57 +01:00
Trenton Holmes
6d37ebf79e Fixes one more place which used manual size formatting 2022-11-20 09:15:06 -08:00
Trenton Holmes
f6a70b85f4 Use Django templating engine 2022-11-20 09:13:16 -08:00
Trenton Holmes
538a4219bd Fixes missing return 2022-11-20 09:10:44 -08:00
phail
df101f5e7a split handle_message function 2022-11-20 16:09:46 +01:00
phail
1fa735eb23 use imagehash instead of bitwise hashing 2022-11-20 15:44:43 +01:00
phail
ebe21a0114 eml parsing requires tika 2022-11-20 14:22:30 +01:00
phail
d132eba143 optimize regex 2022-11-20 12:48:03 +01:00
phail
073c3c8fed use html.escape instead of some self build functions 2022-11-20 12:36:49 +01:00
phail
e3c1bde793 remove log mocking, replace pytest raises, use humanfriendly 2022-11-20 12:06:35 +01:00
shamoon
27f7f0a941
Merge pull request #1998 from paperless-ngx/fix/1993-date-overflow
Bugfix: Don't allow exceptions during date parsing to fail consume
2022-11-17 14:31:46 -08:00
shamoon
9f5fd6c3ba
Merge pull request #1967 from paperless-ngx/feature-scripts-output
Feature: Capture stdout & stderr of the pre/post consume scripts
2022-11-17 14:30:23 -08:00
Trenton H
914661fdbb Don't allow an exception when trying to parse a date cause complete failure 2022-11-17 13:37:37 -08:00
Michael Shamoon
355efadf87 Inherited permissions 2022-11-15 20:54:57 -08:00
Michael Shamoon
70eb22df42 Add Django model permissions to API endpoints 2022-11-15 00:44:32 -08:00
Michael Shamoon
f461485aa0 frontend permissions dialogs 2022-11-15 00:44:32 -08:00
Michael Shamoon
10f36870e6 Merge frontend user model 2022-11-13 21:31:46 -08:00
Michael Shamoon
fdaf9e9b46 Revert "fix: update user permissions and groups, update group permissions"
This reverts commit 57b709824fa058a41c3f13066b27f83ca1281b2c.
2022-11-13 14:18:44 -08:00
Kaaybi
57b709824f fix: update user permissions and groups, update group permissions 2022-11-13 14:02:54 -08:00
phail
681eecc46e Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-11-13 22:43:55 +01:00
phail
1578e8de2d fix live tests 2022-11-13 22:33:26 +01:00
Michael Shamoon
c7b46ac861 skeleton user / group admin dialogs [WIP] 2022-11-13 09:06:56 -08:00
Kaaybi
4333bd58cf feat: add users and groups API routes 2022-11-12 13:46:50 -08:00
Paperless-ngx Translation Bot [bot]
79f5019b40
New Crowdin updates (#1971)
* New translations messages.xlf (Serbian (Latin))
[ci skip]

* New translations messages.xlf (Serbian (Latin))
[ci skip]

* New translations messages.xlf (Italian)
[ci skip]

* New translations django.po (Italian)
[ci skip]

* New translations django.po (Serbian (Latin))
[ci skip]

* New translations messages.xlf (Russian)
[ci skip]

* New translations messages.xlf (Polish)
[ci skip]

* New translations messages.xlf (Serbian (Latin))
[ci skip]

* New translations messages.xlf (Luxembourgish)
[ci skip]

* New translations messages.xlf (Croatian)
[ci skip]

* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Turkish)
[ci skip]

* New translations messages.xlf (Swedish)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations messages.xlf (Portuguese)
[ci skip]

* New translations messages.xlf (Norwegian)
[ci skip]

* New translations messages.xlf (German)
[ci skip]

* New translations messages.xlf (Dutch)
[ci skip]

* New translations messages.xlf (Italian)
[ci skip]

* New translations messages.xlf (Hebrew)
[ci skip]

* New translations messages.xlf (Finnish)
[ci skip]

* New translations messages.xlf (Danish)
[ci skip]

* New translations messages.xlf (Czech)
[ci skip]

* New translations messages.xlf (Belarusian)
[ci skip]

* New translations messages.xlf (Spanish)
[ci skip]

* New translations messages.xlf (French)
[ci skip]

* New translations messages.xlf (Romanian)
[ci skip]

* New translations messages.xlf (Arabic)
[ci skip]

* Remove ar-SA

* remote ar other than ar-ar

Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
2022-11-12 08:53:52 -08:00
phail
b01cbc9aa0 add conditions to unittests 2022-11-12 15:48:30 +01:00
Kaaybi
4603813896 feat: reflect django permissions on UI 2022-11-11 18:33:04 +00:00
Trenton H
3dfeee9332 Don't do decoding work if not needed 2022-11-11 10:09:56 -08:00
Trenton H
057f6016cc Adds further testing to cover scripts with non-zero exit codes 2022-11-11 08:58:49 -08:00
Trenton H
c4965580de Fixes stderr appearing to have content when it doesn't 2022-11-10 19:01:54 -08:00
Trenton Holmes
9a47963fd5 Captures the stdout and stderr of the pre/post scripts into the log 2022-11-10 17:26:47 -08:00
shamoon
5f278d7fbb
Merge pull request #1956 from paperless-ngx/l10n_dev
New Crowdin updates
2022-11-09 21:37:29 -08:00
Paperless-ngx Translation Bot [bot]
a17d251913 New translations django.po (Serbian (Latin))
[ci skip]
2022-11-09 15:12:37 -08:00
Paperless-ngx Translation Bot [bot]
752d4f4249 New translations django.po (German)
[ci skip]
2022-11-09 15:12:23 -08:00
Paperless-ngx Translation Bot [bot]
06d7845eca New translations django.po (Dutch)
[ci skip]
2022-11-09 15:12:04 -08:00
Paperless-ngx Translation Bot [bot]
ae8682c7a5 New translations django.po (Romanian)
[ci skip]
2022-11-09 15:12:03 -08:00
Paperless-ngx Translation Bot [bot]
c9c0b3d430 New translations django.po (Luxembourgish)
[ci skip]
2022-11-09 15:12:02 -08:00
Paperless-ngx Translation Bot [bot]
cc46fc7e4b New translations django.po (Croatian)
[ci skip]
2022-11-09 15:12:01 -08:00
Paperless-ngx Translation Bot [bot]
d1b1ba21cd New translations django.po (Portuguese, Brazilian)
[ci skip]
2022-11-09 15:12:00 -08:00
Paperless-ngx Translation Bot [bot]
a009417a99 New translations django.po (Chinese Simplified)
[ci skip]
2022-11-09 15:11:59 -08:00
Paperless-ngx Translation Bot [bot]
775da720ec New translations django.po (Turkish)
[ci skip]
2022-11-09 15:11:58 -08:00
Paperless-ngx Translation Bot [bot]
aeae6ea0d3 New translations django.po (Swedish)
[ci skip]
2022-11-09 15:11:57 -08:00
Paperless-ngx Translation Bot [bot]
0ae46d2269 New translations django.po (Slovenian)
[ci skip]
2022-11-09 15:11:56 -08:00
Paperless-ngx Translation Bot [bot]
0e7f1ec0de New translations django.po (Russian)
[ci skip]
2022-11-09 15:11:55 -08:00