Philipp
bb15b744c8
Add "Created" as additional (optional) parameter for post_documents ( #965 )
...
* Added "created" as optional parameter for post_documents.
* Fixed Conflict
* After Black Reformatting
* Run "add-trailing-comma"
* The right order between black and trailing comma is important....
* Added required=False
* Adds unit test for optional created in document api POST
* Fixes adding of settings override
* And a mis-added print, sigh
Co-authored-by: Philipp <philipp@invalid.invalid>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
2022-05-18 02:56:32 -07:00
Trenton Holmes
9ae20a6bec
Merge pull request #953 from paperless-ngx/bugfix-intoify-debounce
...
Bugfix: Adds configurable intoify debounce time
2022-05-17 09:25:29 -07:00
shamoon
347d7c07ef
Merge pull request #942 from paperless-ngx/bugfix-date-format
...
Bugfix: Fixes document filename date off by 1 issue
2022-05-16 21:47:56 -07:00
Florian Brandes
f8adfa9873
fixes #949 : change to MIME detection for files
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-05-16 17:29:29 +02:00
Trenton Holmes
f07cfd4f51
Adds configuration variable to the inotify debounce timing
2022-05-15 11:48:12 -07:00
Trenton Holmes
1d1f3bde96
Moves the asserts to be closer together
2022-05-14 08:20:55 -07:00
Trenton Holmes
f3dced3199
Fixes Document public filename so it will use the local date instead of UTC date
2022-05-13 09:10:36 -07:00
Trenton Holmes
2b8a03e93c
Adds unit testing for remote version getting
2022-05-11 12:59:38 -07:00
shamoon
b325233b2d
Merge pull request #883 from paperless-ngx/feature-version-export-import
...
Fix: Include version in export for better error messages
2022-05-10 19:49:46 -07:00
Quinn Casey
3baf29a6b7
Use currently... importing... instead of "vs"
2022-05-10 17:41:09 -07:00
Quinn Casey
e4d7ae9718
Merge pull request #905 from paperless-ngx/qol-changes
...
Chore: Minor improvements for quality of life
2022-05-10 17:01:01 -07:00
shamoon
169cb9424f
Merge pull request #903 from paperless-ngx/bugfix-superuser-command
...
Bugfix: Superuser Management Won't Reset Password
2022-05-10 16:46:14 -07:00
shamoon
536576518e
Merge pull request #721 from paperless-ngx/bug-fix-date-ignore
...
Fix Ignore Date Parsing
2022-05-10 16:45:58 -07:00
Trenton Holmes
7cbb73be7a
Minor improvements for quality of life
2022-05-09 12:05:29 -07:00
Trenton Holmes
cc54368658
Removes unused imports from test case
2022-05-09 09:49:11 -07:00
Trenton Holmes
4fd075aafa
Updates the superuser management command to better handle existing super users
2022-05-09 09:38:17 -07:00
Trenton Holmes
1817d014ef
Fixes missing f on an f-string
2022-05-08 16:57:35 -07:00
Trenton Holmes
5b96944940
Updates the ignore date parsing to utilize the settings defined date order, instead of guessing a bit
2022-05-08 16:57:35 -07:00
Trenton Holmes
8a6aaf4e2d
Adds additional testing for both date parsing and consumed document created date
2022-05-08 16:57:35 -07:00
Trenton Holmes
3003bdd507
Runs pyupgrade to Python 3.8+ and adds a hook for it
2022-05-06 09:04:08 -07:00
Quinn Casey
7909b30b4b
Merge pull request #853 from lippoliv/bugfix-document_exporter-document-dates-are-off-by-one-day-#267
...
Bugfix document exporter document dates are off by one day #267
2022-05-05 09:59:11 -07:00
Trenton Holmes
c907d690b7
Improves the output to the user
2022-05-05 09:17:51 -07:00
Trenton Holmes
dd4d903f69
Uses the correct styling for output messages
2022-05-05 07:30:02 -07:00
Trenton Holmes
a823b8f70c
Includes a version.json file with the current version in export. On import, catch certain errors and check the version if possible
2022-05-05 07:30:02 -07:00
Trenton Holmes
7432ef9e19
Accounts for Python 3.8 backported zoneinfo
2022-05-04 15:13:17 -07:00
Oliver Lippert
c3b5b47b22
use zoneinfo instead of pytz
...
Signed-off-by: Oliver Lippert <info@trusty.codes>
#267
2022-05-03 08:08:28 +02:00
Trenton Holmes
dce4166bc8
First changes for using semver everywhere
2022-05-01 13:21:10 -07:00
Oliver Lippert
182cea3385
always use datetime.date.isoformat to generate filename
...
fixes #267
Signed-off-by: Oliver Lippert <info@trusty.codes>
2022-05-01 08:54:41 +02:00
Oliver Lippert
0ba1ba55bd
add test for filename expectation with modified timezone
...
Signed-off-by: Oliver Lippert <info@trusty.codes>
#267
2022-05-01 08:41:38 +02:00
Florian Brandes
a7b1658ee1
code review changes
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-20 00:55:45 +02:00
Florian Brandes
bf57b6e4a2
more improvements to tiff support
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-19 13:08:40 +02:00
Florian Brandes
6d0fdc7510
add tests
...
fix indention
add more documentation
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-17 16:10:53 +02:00
Florian Brandes
ad5188a280
add TIFF barcode support
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-16 21:59:03 +02:00
shamoon
83f10167e5
Merge pull request #483 from stumpylog/check-if-file-busy
...
Adds wait for file before consuming
2022-04-11 11:56:05 -07:00
Florian
4dedff00b8
Merge pull request #532 from paperless-ngx/feature-barcode-splitter
...
Feature barcode splitter
2022-04-11 08:51:48 +02:00
Trenton Holmes
2414dad656
Adds additional checking for both inotify and polling around document still being busy before consuming it
2022-04-10 12:21:34 -07:00
Trenton Holmes
471ac63a3a
Increases SavedViewFilterRule value to the maximum length
2022-04-08 08:55:58 -07:00
Florian Brandes
5fae5a9ee0
fix conditional in separate_pages
...
add additional test for separate_pages
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-08 08:09:48 +02:00
Florian Brandes
e214f719c9
add more tests
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
08fbcf5158
use imported List
...
fail test if non-existing dir exists
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
10ca515ac5
addes tests:
...
- barcode-39
- barcode-128
- qr barcodes
- test for consumption
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
e59a14852b
code formatting
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
553153ba92
put code under CONSUMER_ENABLE_BARCODES
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
9d2bcf807e
add more type hinting
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
422ac9befe
decode bytecode in string
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
793f641af6
make list checks consistent
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
0ea5f5d584
use append method for lists
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
florian on nixos (Florian Brandes)
c024b846c3
add config options and documentation
...
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
florian on nixos (Florian Brandes)
37b3fde4e1
pre-commit hooks
...
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
florian on nixos (Florian Brandes)
e89ef5de25
renaming of documents to align with front end
...
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00