260 Commits

Author SHA1 Message Date
jonaswinkler
3a6f17ad42 add ru-ru locale 2021-03-07 10:07:42 +01:00
jonaswinkler
e2f2b8e2d6 fix up language file locations 2021-03-06 22:20:06 +01:00
Simon Taddiken
7ab5dbdee8 Add the possibility to customize the remote user header name
Inspired by the discussion here https://github.com/jonaswinkler/paperless-ng/discussions/639#discussion-3242017 it is worthwhile to be able to customize the header name that is used for authentication as its name is not really standardized.
2021-03-02 09:07:42 +01:00
jonaswinkler
d819334662 add Romanian locale configuration 2021-02-28 12:40:25 +01:00
jonaswinkler
0f1d8d82e3 add Italian locale 2021-02-26 12:55:39 +01:00
jonaswinkler
a952916c06 added versioning headers to the API 2021-02-26 11:13:28 +01:00
jonaswinkler
e47f577c76 fix default api version 2021-02-25 16:04:45 +01:00
jonaswinkler
ccd3b1a75c add versioning support to the API 2021-02-24 22:27:43 +01:00
jonaswinkler
ad8a2555b2 add configuration for pt-br 2021-02-24 16:39:41 +01:00
jonaswinkler
ca397c5678 enable deskewing and rotation by default 2021-02-21 23:40:26 +01:00
jonaswinkler
b957531100 run the polling file change checks on individual threads to speed up queueing of new files 2021-02-21 12:43:55 +01:00
jonaswinkler
692557a364 increased default delay when waiting for file changes with polling 2021-02-21 12:14:54 +01:00
jonaswinkler
e3dd1863a9 completely reworked the OCRmyPDF parser. 2021-02-21 00:16:57 +01:00
jonaswinkler
cd3d5e8d63 added en-GB language 2021-02-16 14:54:18 +01:00
jonaswinkler
7f8988ad85 only load channels app if DEBUG is enabled; its only purpose is to monkey-patch the runserver command. 2021-02-14 12:50:30 +01:00
jonaswinkler
3649fcaffd release worker memory after tasks are done. 2021-02-14 12:29:55 +01:00
jonaswinkler
3c5bf9c3d3 revert django-q configuration 2021-02-13 20:25:52 +01:00
jonaswinkler
c946263f31 revert a faulty change that caused memory usage to explode #537 2021-02-13 19:51:04 +01:00
jonaswinkler
a6f53e6dc3 caching 2021-02-06 20:51:04 +01:00
jonaswinkler
6a6b20e5fb default settings 2021-02-06 17:21:40 +01:00
jonaswinkler
9537218701 update logging config 2021-02-06 17:05:07 +01:00
jonaswinkler
a5726ae005 fix lost messages when queuing many files 2021-02-04 23:32:11 +01:00
jonaswinkler
d08a530701 don't load sklearn libraries unless needed 2021-02-04 15:15:11 +01:00
jonaswinkler
fce76d0671 Merge branch 'dev' into feature-websockets-status 2021-01-30 16:08:50 +01:00
jonaswinkler
d6d749fa54 fix redis configuration 2021-01-27 20:08:09 +01:00
jonaswinkler
f36115ee37 alter defaults for workers and threads to allow more parallel tasks #446 2021-01-26 22:10:43 +01:00
jonaswinkler
044aa55d74 Merge branch 'dev' into feature-websockets-status 2021-01-23 22:22:17 +01:00
jonaswinkler
af58998e44 configuration option for type of PDF viewer fixes #337 2021-01-14 13:35:43 +01:00
jonaswinkler
0db42def0a DEBUG logging 2021-01-13 13:35:05 +01:00
jonaswinkler
291983600b adjusted the default configuration so that at least one cpu core remains free (except on single core machines) #332 2021-01-13 00:02:20 +01:00
jonaswinkler
c710db7aab add sslmode configuration option fixes #298 2021-01-10 01:35:56 +01:00
jonaswinkler
e3e5138df4 fixes #290 2021-01-08 13:27:57 +01:00
jonaswinkler
a9419e07bc move settings 2021-01-06 16:53:58 +01:00
Jonas Winkler
499baf6694 Merge pull request #260 from shamoon/feature/remote-user
Feature: authentication via HTTP_REMOTE_USER
2021-01-06 14:27:14 +01:00
Jonas Winkler
22f45ac619 Merge pull request #251 from jayme-github/ignore-date
Add option to ignore certain dates in parse_date
2021-01-05 00:19:13 +01:00
jonaswinkler
179b53d373 Merge branch 'dev' into feature-websockets-status 2021-01-04 22:45:56 +01:00
jonaswinkler
a4161f9b97 add french to paperless 2021-01-04 14:15:34 +01:00
Michael Shamoon
0286abd92a Refactor to extend RemoteUserMiddleware & add authentication for Django 2021-01-03 21:21:39 -08:00
jonaswinkler
10afd644c3 add dutch language 2021-01-03 22:25:12 +01:00
Michael Shamoon
8caa61bd9d Merge remote-tracking branch 'upstream/dev' into feature/remote-user 2021-01-03 00:38:10 -08:00
Michael Shamoon
009de5184f Allow authentication via HTTP_REMOTE_USER 2021-01-03 00:37:19 -08:00
jayme-github
cd15490e91 Add option to ignore certain dates in parse_date
PAPERLESS_IGNORE_DATES allows to specify a comma separated list of dates
to ignore during date parsing (from filename and content). This can be
used so specify dates that do appear often in documents but are usually
not the documents creation date (like your date of birth).
2021-01-02 15:20:49 +01:00
jonaswinkler
4eb3962b8d Merge branch 'dev' into feature-localization 2021-01-02 00:15:03 +01:00
Jo Vandeginste
aa88f25267 Refactor after feedback:
- rename PAPERLESS_TIKA to PAPERLESS_TIKA_ENABLED
- all other env params now start with PAPERLESS_TIKA
- convert_to_pdf as class instance method
- smaller details

Signed-off-by: Jo Vandeginste <Jo.Vandeginste@kuleuven.be>
2020-12-31 14:41:47 +01:00
jonaswinkler
29730a9c13 add translation support to the backend #215 2020-12-30 01:39:06 +01:00
jonaswinkler
05d4ca06fe add initial localization support for the front end #215 2020-12-30 00:26:06 +01:00
Jo Vandeginste
bf8739864d Add the new paperless_tika parser
This parser will use an external Tika and Gotenberg server to parse
"Office" documents (.doc, .xls, .odt, etc.)

Signed-off-by: Jo Vandeginste <Jo.Vandeginste@kuleuven.be>
2020-12-29 21:51:21 +01:00
jonaswinkler
fe73f42495 added configuration option for the font #197 #207 2020-12-29 12:26:41 +01:00
Jo Vandeginste
3f4db5cd32 Update settings.py 2020-12-28 22:37:53 +01:00
Jo Vandeginste
c3b4f40447 Allow extending INSTALLED_APPS via environment
This allows a user to add "apps" (aka parsers) through the environment.

Especially useful when using Docker, and adding a test-parser.

Usage:

```yaml
services:
  webserver:
    environment:
      PAPERLESS_APPS: paperless_tika.apps.PaperlessTikaConfig
```

You can add more by separating them with a `,`:

```yaml
PAPERLESS_APPS: app1,app2
```
2020-12-28 22:19:30 +01:00