5956 Commits

Author SHA1 Message Date
Stefan
fe9e818aa8 Ignore tagged emails from gmail to avoid duplicated documents. 2022-08-20 13:15:38 -07:00
Stefan
e19021dc11 add test for gmail account tag handling 2022-08-20 13:15:38 -07:00
Stefan
82751e5136 fix mail tests 2022-08-20 13:15:38 -07:00
Stefan
4eede1381c fix formatting 2022-08-20 13:15:38 -07:00
Stefan
e01452d02f Handle tags for gmail email accounts
like mentioned here: https://github.com/ikvk/imap_tools/issues/174
2022-08-20 13:15:38 -07:00
Quinn Casey
5534338aa4 Merge pull request #1436 from tribut/redis-image
Update redis image
2022-08-18 08:03:19 -07:00
Felix Eckhofer
16ff500f0d Use redis image tag :7 2022-08-18 11:47:47 +02:00
Dennis Gaida
64747a145a remove redis URL from log 2022-08-16 12:41:52 -07:00
Dennis Gaida
9d200e6102 Hide credentials from log 2022-08-16 12:41:52 -07:00
Dennis Gaida
cd83c8e7bf PAPERLESS_REDIS may be set via docker secrets
Best practice is for redis to be at least password protected: https://redis.io/docs/getting-started/.

Paperless uses `Redis.from_url` (5fe435048b/docker/wait-for-redis.py (L24)) to establish a connection to redis which already enables us to use username/password, e.g. `redis://username:password@redis:6379`.

The redis connection string therefore is a secret and needs to be able to leverage docker secrets, hence this PR.
2022-08-16 12:41:52 -07:00
Trenton Holmes
f06cb40141 Corrects the timeout's interaction with files waiting to be consumed 2022-08-14 17:47:59 -07:00
Trenton Holmes
9e091e333d Attempts to make production consumer more event driven while still allowing unit testing 2022-08-14 17:47:59 -07:00
shamoon
24eb63d5f4 Merge pull request #1412 from paperless-ngx/fix/created-date-not-required
Fix: `created_date` should not be required
2022-08-14 16:06:48 -07:00
Trenton Holmes
f3f11bb24e Resets to a last known working pipenv version 2022-08-14 16:01:22 -07:00
Michael Shamoon
5d7ae1b3f1 created_date is not supposed to be required 2022-08-14 00:58:31 -07:00
Quinn Casey
2c7d86094a Merge pull request #1391 from paperless-ngx/chore-update-deps
Chore: Update Python deps
2022-08-10 09:31:00 -07:00
Trenton Holmes
e781372d54 Updates some deps, skipping scipy 2022-08-10 08:45:49 -07:00
shamoon
a9a401979a Merge pull request #1387 from paperless-ngx/bugfix-task-error-prevents-consume
Bugfix: Catch all exceptions during the task signals
2022-08-10 07:09:29 -07:00
Trenton Holmes
1b4e7499df Catch all exceptions during the task creation so some error here, but not with a file, will allow consumption to run 2022-08-09 15:50:03 -07:00
Quinn Casey
7f0a7350d3 Merge pull request #1376 from paperless-ngx/fix/saved-view-page-param
Fix: saved view page parameter
2022-08-08 10:06:11 -07:00
Michael Shamoon
c89cdfe904 fix navigation to /documents breaks history 2022-08-08 00:05:19 -07:00
Michael Shamoon
5bc0f39834 fix pagination, refactor 2022-08-08 00:03:15 -07:00
shamoon
869c9b61c6 Merge pull request #1369 from paperless-ngx/fix/browser-unsaved-changes
Fix: Correct browser unsaved changes warning
2022-08-07 15:43:10 -07:00
shamoon
b85cd35ca8 Merge pull request #1370 from paperless-ngx/fix/date-pasting
Fix: correct date pasting with some non-US formats
2022-08-07 15:42:00 -07:00
Quinn Casey
3c7c77420b Merge pull request #1362 from paperless-ngx/ci-file-health
Chore: use pre-commit in the Ci workflow
2022-08-07 13:33:34 -07:00
Michael Shamoon
5a98dec99e Fix some date pasting cases 2022-08-07 08:44:39 -07:00
Michael Shamoon
b9df858775 Make date suggestions timezone-unaware 2022-08-07 08:37:18 -07:00
Michael Shamoon
61fe994f90 simplify date value format 2022-08-06 21:19:06 -07:00
Michael Shamoon
ea52490f6b Fix browser unsaved changes with custom guard 2022-08-06 20:23:05 -07:00
Matthias Eck
05d97d2cf1 fix(parsers|test_api): fix failed tests 2022-08-06 19:19:10 +02:00
Matthias Eck
1cc1ee36c6 feat(date.component): adding suggestions to frontend 2022-08-06 13:03:20 +02:00
Matthias Eck
7912e9bfe7 docs(configuration.rst): add doc for NUMBER_OF_SUGGESTED_DATES 2022-08-06 13:03:20 +02:00
Matthias Eck
f9dd29c5d3 test(test-date-parsing): test parsing of multiple dates 2022-08-06 13:03:20 +02:00
Matthias Eck
b5eab663eb feat(settings): add setting to set number of suggested dates 2022-08-06 13:03:20 +02:00
Matthias Eck
96fbb549ce test(test-date-parsing): test parsing of multiple dates 2022-08-06 13:03:20 +02:00
Matthias Eck
bae65a184a test(test-api): update existing tests for suggestions 2022-08-06 13:03:20 +02:00
Matthias Eck
1195fb9afe feat(parsers): add generator for date parsing 2022-08-06 13:03:20 +02:00
Michael Shamoon
b82a18721d Handle page parameter on saved views 2022-08-05 23:35:13 -07:00
Quinn Casey
cdc7a5842e Merge pull request #1358 from paperless-ngx/bugfix-ip-bind-addr
Bugfix: Allow webserver bind address to be configured
2022-08-04 12:35:28 -07:00
Trenton Holmes
8cd9ab28f8 Removes no longer needed files 2022-08-04 11:11:49 -07:00
Trenton Holmes
98a33e697b Allows the webserver binding address to be configured via the environment 2022-08-04 07:43:23 -07:00
Trenton Holmes
c6f380d01e Fixes minor linting 2022-08-03 13:26:04 -07:00
Trenton Holmes
a5a5057f14 Test pre-commit action 2022-08-03 13:20:02 -07:00
Trenton Holmes
21007e593c Adds a pull of all images for the main image after the pruning 2022-08-03 10:19:15 -07:00
Trenton Holmes
a5ad8b0800 Fixes the untagged image deletion so it will not remove images which are referred to by a multi-arch manifest image 2022-08-03 10:19:15 -07:00
Trenton Holmes
8f6d66efc6 Changes the cleanup images workflow so it uses a OAuth token with the correct scope (GITHUB_TOKEN is not enough). Also prevents running if the token is not defined and generally does commenting/cleanups" 2022-08-03 10:19:15 -07:00
Quinn Casey
3b5872eaca Merge pull request #1354 from paperless-ngx/bugfix-exception-chains
Bugfix: Chain exceptions during exception handling
2022-08-03 09:59:26 -07:00
Trenton Holmes
024fd8bc9b When raising an exception during exception handling, chain them together for slightly cleaner logs 2022-08-03 09:00:56 -07:00
shamoon
9a83e9eee9 Update dev version string
[ci skip]
2022-08-02 13:28:29 -07:00
Trenton Holmes
a102ca406a Revert "Bump watchfiles from 0.15.0 to 0.16.1"
This reverts commit b596502f74b093bf4e4be1216ac837afb14702e1.
2022-08-02 11:25:01 -07:00