8123 Commits

Author SHA1 Message Date
shamoon
3a0c11a216 Merge branch 'dev' 2023-06-03 09:27:18 -07:00
Paperless-ngx Bot [bot]
895c1f1b56 New Crowdin updates (#3405)
* New translations messages.xlf (German)
[ci skip]

* New translations django.po (Hungarian)
[ci skip]
2023-06-03 09:25:53 -07:00
shamoon
d9f5843ae7 Merge pull request #3516 from ajgon/fix/http-remote-user-api
Fix: KeyError error on unauthenticated API calls
2023-06-03 09:05:50 -07:00
shamoon
e9e1483685 Adds testing for unauthenticated API calls, simplify logging logic 2023-06-03 08:50:54 -07:00
Igor Rzegocki
aaf2ba2ba0 fix broken "failed login" signal 2023-06-03 17:48:17 +02:00
shamoon
7fa778753f Merge pull request #3513 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/eslint-8.41.0
Bump eslint from 8.39.0 to 8.41.0 in /src-ui
2023-06-01 15:41:20 -07:00
dependabot[bot]
4a10659dda Bump eslint from 8.39.0 to 8.41.0 in /src-ui
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.41.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 22:30:39 +00:00
dependabot[bot]
2609f4c838 Merge pull request #3510 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/concurrently-8.1.0 2023-06-01 22:29:48 +00:00
shamoon
20fc708e79 Merge pull request #3507 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/ng-bootstrap/ng-bootstrap-14.2.0
Bump @ng-bootstrap/ng-bootstrap from 14.1.0 to 14.2.0 in /src-ui
2023-06-01 15:20:57 -07:00
dependabot[bot]
a3c7c9799e Merge pull request #3508 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/popperjs/core-2.11.8 2023-06-01 22:20:35 +00:00
dependabot[bot]
a3a6f71464 Bump concurrently from 8.0.1 to 8.1.0 in /src-ui
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.0.1...v8.1.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 22:13:11 +00:00
dependabot[bot]
2b3f2023cd Bump @popperjs/core from 2.11.7 to 2.11.8 in /src-ui
Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.11.7 to 2.11.8.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/commits)

---
updated-dependencies:
- dependency-name: "@popperjs/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 22:10:34 +00:00
dependabot[bot]
644b8b4e22 Bump @ng-bootstrap/ng-bootstrap from 14.1.0 to 14.2.0 in /src-ui
Bumps [@ng-bootstrap/ng-bootstrap](https://github.com/ng-bootstrap/ng-bootstrap) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/ng-bootstrap/ng-bootstrap/releases)
- [Changelog](https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ng-bootstrap/ng-bootstrap/compare/14.1.0...14.2.0)

---
updated-dependencies:
- dependency-name: "@ng-bootstrap/ng-bootstrap"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 22:09:38 +00:00
dependabot[bot]
abba7df64e Merge pull request #3505 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/typescript-eslint/parser-5.59.8 2023-06-01 22:05:14 +00:00
dependabot[bot]
3d51e75242 Merge pull request #3497 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/bootstrap-5.3.0 2023-06-01 21:51:57 +00:00
dependabot[bot]
c1224589d8 Bump @typescript-eslint/parser from 5.59.2 to 5.59.8 in /src-ui
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.2 to 5.59.8.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.8/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 21:48:04 +00:00
dependabot[bot]
dac4865535 Merge pull request #3500 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/typescript-eslint/eslint-plugin-5.59.8 2023-06-01 21:46:24 +00:00
dependabot[bot]
b8a722b8c9 Bump bootstrap from 5.2.3 to 5.3.0 in /src-ui
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.2.3...v5.3.0)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 21:43:26 +00:00
dependabot[bot]
887430ff31 Merge pull request #3501 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/tslib-2.5.2 2023-06-01 21:42:22 +00:00
dependabot[bot]
2e25ebe4ef Bump tslib from 2.5.0 to 2.5.2 in /src-ui
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.5.0...2.5.2)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 21:28:17 +00:00
dependabot[bot]
45238da991 Bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.8 in /src-ui
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.2 to 5.59.8.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.8/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 21:28:15 +00:00
dependabot[bot]
9d1254b5fc Merge pull request #3498 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/types/node-20.2.5 2023-06-01 21:27:19 +00:00
dependabot[bot]
6abbadf248 Bump @types/node from 18.16.3 to 20.2.5 in /src-ui
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.3 to 20.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 21:12:16 +00:00
shamoon
e29087b17c Merge pull request #3499 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/playwright/test-1.34.3
Bump @playwright/test from 1.33.0 to 1.34.3 in /src-ui
2023-06-01 14:10:52 -07:00
dependabot[bot]
d01fa79378 Bump @playwright/test from 1.33.0 to 1.34.3 in /src-ui
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.33.0 to 1.34.3.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.33.0...v1.34.3)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 20:58:17 +00:00
shamoon
64ffe09e5d Merge pull request #3476 from paperless-ngx/feature-detail-quick-filters
Feature: quick filters from document detail
2023-06-01 13:52:25 -07:00
shamoon
42c632293e Merge pull request #3487 from paperless-ngx/fix/issue-3484
Fix: exclude consumer & AnonymousUser users from export manifest
2023-06-01 11:15:58 -07:00
shamoon
2b9d30cb68 Exclude consumer & AnonymousUser users from export manifest 2023-05-30 20:51:25 -07:00
shamoon
42a45075db Adds quick filters from document detail 2023-05-30 08:38:33 -07:00
shamoon
f425fe9d62 Merge pull request #3472 from paperless-ngx/fix-disable-date-suggestions
Fix: prevent date suggestion search if disabled
2023-05-30 07:48:03 -07:00
shamoon
2a775aa04a Merge pull request #3471 from paperless-ngx/fix/issue-773
Feature: Add explanations to relative dates
2023-05-30 07:47:28 -07:00
Michael Manganiello
58f4484fbf Sync Pipfile.lock based on latest Pipfile
When running `pipenv install` locally, `pipenv` triggers a warning that the
lockfile is out of sync, and starts regenerating the `Pipfile.lock` file.

This change syncs these files, and updates dependencies based on a fresh run of
`pipenv lock --dev`.
2023-05-30 07:22:00 -07:00
shamoon
5a52957aa9 Merge pull request #3473 from jayme-github/fix_original_filename
Make DocumentSerializer return the original_filename
2023-05-27 12:50:07 -07:00
jayme-github
47c8cf2afa Make DocumentSerializer return the original_filename
Make get_original_file_name return the original filename instead of the
public filename.
2023-05-27 21:35:58 +02:00
shamoon
b294153ef5 prevent date suggestion search if disabled 2023-05-27 10:51:30 -07:00
shamoon
64acb9eb18 Add explanations to relative dates 2023-05-27 10:25:41 -07:00
chrisblech
d5db39d553 consumer.py: read create_date from original file (instead of temp copy)
In line 328, `self.path` is set to a fresh written copy of the source file. This copy has a different timestamp (=now).

When using the source file's timestamp as `create_date`, it makes much more sense to ask for the timestamp from `self.original_path`
2023-05-26 14:16:27 -07:00
shamoon
d718046487 Merge pull request #3457 from andstu/docs
fix: spelling
2023-05-25 06:56:00 -07:00
andstu
16c03c6ee3 fix: spelling 2023-05-25 00:43:31 -04:00
Trenton H
f7e6361206 Just in case, catch a sometimes nltk error and return the basic processed content instead 2023-05-24 19:34:49 -07:00
Trenton H
bad8d304cb Improves the logging mixin and allows it to be typed better 2023-05-23 17:16:39 -07:00
shamoon
5b1f7ee72e Merge pull request #3445 from paperless-ngx/feature-paginate-tasks
Enhancement: paginate frontend tasks
2023-05-22 14:41:50 -07:00
Kim Oliver Drechsel
e016aa12c1 Add SSL Support for MariaDB (#3444)
* Add ssl options for mariadb

* Add ssl mode for mariadb

Add ssl mode as documented in https://mysqlclient.readthedocs.io/user_guide.html#functions-and-attributes

* run linting over settings.py

* Add docs for SSL mode with MariaDB

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-22 11:46:29 -07:00
shamoon
f51aa8b483 Frontend paginate tasks 2023-05-22 10:49:18 -07:00
Guillaume Hullin
700c77c175 Adding doc on how to setup Fail2ban (#3414)
* Adding doc on how to setup Fail2ban

* Adding notes concerning log path variable

* Moved Fail2ban to Wiki

* Added "Enhancing security" section to link to wiki

* Update docs/setup.md

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>

* Type

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-22 06:53:09 -07:00
Trenton H
1396f25419 Updates handling of barcodes to encapsulate logic, moving it out of tasks and into barcodes 2023-05-22 06:52:31 -07:00
shamoon
f70b3a7527 Merge pull request #3437 from MarcelBochtler/docs-typo
Docs: Fix typo
2023-05-21 10:52:18 -07:00
Marcel Bochtler
106cb34251 Docs: Fix some typos 2023-05-21 18:53:15 +02:00
shamoon
932569580a Metadata error use new error toast 2023-05-20 10:28:37 -07:00
shamoon
517ce72b84 Suggestions error use new error toast 2023-05-20 10:15:53 -07:00