381 Commits

Author SHA1 Message Date
shamoon
78d012dce9 Merge pull request #483 from stumpylog/check-if-file-busy
Adds wait for file before consuming
2022-04-11 11:56:05 -07:00
Trenton Holmes
dcc2e018ff Adds additional checking for both inotify and polling around document still being busy before consuming it 2022-04-10 12:21:34 -07:00
Florian Brandes
2f3ce6a6e3 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
b58d10a2d7 add more tests
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
d0e39edfbe 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
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 Brandes
3d51fbe641 decode bytecode in string
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Florian Brandes
d630dd854d make list checks consistent
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
florian on nixos (Florian Brandes)
e34bd748fc 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)
7577ac0d10 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
florian on nixos (Florian Brandes)
866aa55b92 run black
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)
11c34e496a add trailing commas
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)
0c1e8edeca reorder imports
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)
f0f4a103f0 skip test if dir exists
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)
7736934e43 more work on barcode
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)
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
Quinn Casey
c26aa56e55 Merge pull request #576 from fantasticle/dev
Update regex date match patterns
2022-04-05 09:52:27 -07:00
Daniel Breitlauch
8eb65b070e adding case-sensitive tests 2022-04-01 21:15:30 +02:00
Fantasticle
d48b835876 remove unnecessary import 2022-03-31 21:25:58 +02:00
Fantasticle
e82b7517ff add more tests for regex date parser, remove duplicate name 2022-03-31 21:24:57 +02:00
fantasticle
19b370dece add test for new regex 2022-03-30 23:18:03 +02:00
Trenton Holmes
5a4741dcab Bumps django to 4.0 and fixes associated issues 2022-03-24 07:39:11 -07:00
Trenton Holmes
e3f8531c2d Un-pickle and re-pickle the test models to resolve the version difference warning 2022-03-22 09:37:17 +01:00
Johann Bauer
5efa551946 Fix model test 2022-03-21 18:53:53 +01:00
Simon Siebert
58fbfb2e17 Fixing Test 2022-03-14 19:03:09 +01:00
Simon Siebert
4bdbf98c64 Fixing code formating 2022-03-14 19:03:09 +01:00
Simon Siebert
5aea4da8b2 Update parsers.py and test_consumer.py 2022-03-14 19:03:09 +01:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
Trenton Holmes
55486ac151 Reduces number of warnings from testing from 165 to 128. In doing so, fixes a few minor things in the decrypt and export commands 2022-03-10 18:12:48 -08:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
shamoon
96b6c94e42 Merge pull request #24 from tribut/feature-trash
Add temporary "delete to trash" functionality
2022-02-21 11:19:57 -08:00
Felix Eckhofer
985c169d4b Remove stray newline 2022-02-20 14:17:06 +01:00
Florian
f03c6f6b88 tests: fix management_consumer test (#66)
this test failed due to a strict polling delay,
which caused the test to be interrupted by an async call,
which stated "Incomplete File READ FAILED"

see also https://github.com/NixOS/nixpkgs/pull/158118

Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-02-17 23:30:16 +01:00
Felix Eckhofer
feed3ddfcf Add PAPERLESS_TRASH_DIR
When set, original files are moved here instead of being permanently
removed when a document is deleted.
2021-08-24 12:50:13 +02:00
Daniel Albers
bc685e8edb Make ignores configurable
Adds config file setting PAPERLESS_CONSUMER_IGNORE_PATTERNS.
2021-08-18 22:23:18 +02:00
Stéphane Brunner
b1c48bc20f Add suggest 2021-05-30 14:50:29 +02:00
jonaswinkler
56bbe644b8 codestyle 2021-05-19 20:26:12 +02:00
jonaswinkler
5d5afb210a delete macOS specific files 2021-05-19 20:02:47 +02:00
jonaswinkler
3e42ceef38 ignore macOS specific files 2021-05-19 19:56:01 +02:00
jonaswinkler
7da4d39bb9 sorting for full text queries 2021-05-15 13:58:11 +02:00
jonaswinkler
670bc0331d add test case, update password if changed 2021-04-17 14:33:07 +02:00
jonaswinkler
19a7aa8fb6 Merge branch 'dev' into feature-unified-search 2021-04-04 20:41:29 +02:00
jonaswinkler
e14ce435de add migration to fix null characters in document contents 2021-04-04 20:41:08 +02:00
jonaswinkler
f36b1c2b9d more testing 2021-04-04 01:19:07 +02:00
jonaswinkler
8c147f8b62 fixed the test cases 2021-04-04 00:29:40 +02:00
jonaswinkler
c55675e49c Merge branch 'dev' into feature-unified-search 2021-04-03 20:31:16 +02:00
jonaswinkler
94046c67bb fix test case 2021-03-17 23:08:19 +01:00
jonaswinkler
5b49524d51 lots of changes for the new unified search 2021-03-17 22:25:22 +01:00
jonaswinkler
d747170cbc fix a failing test case 2021-03-06 22:41:35 +01:00