Trenton Holmes
a944ef1ca6
Adds additional testing for both date parsing and consumed document created date
2022-05-08 16:57:35 -07:00
Florian Brandes
40d1412e5e
add TIFF barcode support
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-16 21:59:03 +02:00
Florian Brandes
b58d10a2d7
add more tests
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
537bec2eeb
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 on nixos (Florian Brandes)
b787971421
working split pages
...
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-06 21:16:41 +02:00
florian on nixos (Florian Brandes)
aa46b06d95
add first tests for barcode reader
...
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-06 21:16:41 +02:00
jonaswinkler
d41f540a87
more testing #511
2021-02-09 00:01:11 +01:00
jonaswinkler
e1376cbf40
migration for #511
2021-02-08 20:59:14 +01:00
jonaswinkler
817bb299a9
added a test case that replicates #511
2021-02-07 18:23:54 +01:00
jonaswinkler
f1d15561f6
some bug fixes and tests
2021-01-18 14:16:32 +01:00
jonaswinkler
d60c3c1abd
new exporter that updates the export in place, fixes #376 #343 #166
2021-01-18 01:15:39 +01:00
jonaswinkler
99c7ff3123
added invalid PDF document with BOM marker
2020-12-29 21:02:45 +01:00
jonaswinkler
cb959e296a
more tests!
2020-11-29 19:22:49 +01:00
jonaswinkler
744b86bb91
fixes an issue with paperless not assigning metadata when FILENAME_FORMAT is specified and resolves an invalid warning about missing files fixes #67
2020-11-29 14:45:43 +01:00
jonaswinkler
f49bf187eb
more tests.
2020-11-26 23:56:57 +01:00
Jonas Winkler
d08e6f333a
Test cases for the API
2020-11-26 17:57:00 +01:00
Jonas Winkler
d99b4623f8
first implementation of the mail rework
2020-11-15 23:56:22 +01:00
Daniel Quinn
d2c283582b
feat: refactor for pluggable consumers
...
I've broken out the OCR-specific code from the consumers and dumped it
all into its own app, `paperless_tesseract`. This new app should serve
as a sample of how to create one's own consumer for different file
types.
Documentation for how to do this isn't ready yet, but for the impatient:
* Create a new app
* containing a `parsers.py` for your parser modelled after
`paperless_tesseract.parsers.RasterisedDocumentParser`
* containing a `signals.py` with a handler moddelled after
`paperless_tesseract.signals.ConsumerDeclaration`
* connect the signal handler to
`documents.signals.document_consumer_declaration` in
`your_app.apps`
* Install the app into Paperless by declaring
`PAPERLESS_INSTALLED_APPS=your_app`. Additional apps should be
separated with commas.
* Restart the consumer
2017-03-25 15:10:25 +00:00
Daniel Quinn
18495ce9da
Fix for #154
...
* Added a test with a faked pyocr and tesseract
* Added a catch for pyocr's *other* TesseractError
2016-11-27 15:06:45 +00:00
Florian Harr
9ff4b6c6bc
UnitTests for inline attachment email
2016-04-14 13:01:03 -04:00
Daniel Quinn
6b0a537bff
Added support for a shared secret in email
2016-02-14 03:01:24 +00:00
Daniel Quinn
c4311af263
Cleaned up the tests
2016-02-06 17:41:11 +00:00