6212 Commits

Author SHA1 Message Date
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
Quinn Casey
39f2ccf318 Merge pull request #1415 from derlucas/main
Update scanners.rst
2022-08-15 06:47:21 -07:00
Quinn Casey
a01b480831 Fix incorrect double quote on string 2022-08-15 06:27:08 -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
Lucas Pleß
e7bf6e3457 Update scanners.rst
added Brother ADS-4300N. I tested it and can recommend the Device. It scans fast and reliable.
2022-08-13 22:52:17 +02:00
shamoon
b545e06857 Merge pull request #1397 from paperless-ngx/chore/remove-dependabot-from-projects
Chore: Exclude dependabot PRs from Project, set status to "Needs Review"
2022-08-13 07:27:50 -07:00
Quinn Casey
d225bd4a82 Set status of new PRs to "Needs Review" 2022-08-11 10:10:08 -07:00
Quinn Casey
8e2b5138d7 Exclude dependabot PRs from project 2022-08-11 10:03:37 -07:00
Quinn Casey
4c17ac4b73 Use fork of release-drafter to exclude prereleases 2022-08-11 09:49:04 -07:00
Quinn Casey
0f42540b3e Merge pull request #1396 from paperless-ngx/chore/add-autolabeler
Chore: Add `autolabeler` to label PRs based on `ref` and title
2022-08-11 09:46:24 -07:00
Quinn Casey
2847645040 Draft more comprehensive changelog 2022-08-10 17:48:56 -07:00
Quinn Casey
75b8cfa193 Add documentation as included label 2022-08-10 17:48:56 -07:00
Quinn Casey
4d7b3194bf CI: Add autolabeler 2022-08-10 17:19:13 -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