Erik Arvstedt
9320230100
Refactor: extract fn 'make_dirs'
2018-05-11 14:04:36 +02:00
Erik Arvstedt
8ebe52a7db
Fix list out of bounds error in mail message parsing
...
Check list length before accessing the first two elements of
'dispositions'.
The list may have only a single element ('inline') or may be empty in
mailformed emails.
2018-05-11 14:04:36 +02:00
Erik Arvstedt
260ce7d75c
Set default empty PAPERLESS_EMAIL_SECRET
...
Previously, if the user didn't set PAPERLESS_EMAIL_SECRET, Paperless
failed with an error in check_body() because self.SECRET was None.
2018-05-11 14:04:31 +02:00
Erik Arvstedt
d5e56095ac
Mail fetching: Only catch internal errors
...
Previously, all errors raised during mail fetching were silently caught
and printed without backtrace.
To increase robustness and ease debugging, we now fail with a backtrace
on unexpected errors.
2018-05-11 14:01:09 +02:00
Erik Arvstedt
8033f97ec3
Increase link area in documents listing
...
Increase the link area to include the whole visual header.
Fixes #335
2018-05-11 13:50:09 +02:00
Daniel Quinn
bce2d3dd22
Account for KeyError problem in #345
2018-04-28 12:20:43 +01:00
Daniel Quinn
f3f86242de
Account for KeyError problem in #345
2018-04-28 12:19:53 +01:00
Ovv
4818cd11da
Installation documentation setup
...
Issue #329
2018-04-25 19:51:21 +02:00
Daniel Quinn
1522af2ea5
Clean up test formatting a bit
2018-04-22 16:28:21 +01:00
Daniel Quinn
b7d321286f
Remove old Python style
2018-04-22 16:28:03 +01:00
Daniel Quinn
fe5d55d2d1
Don't explode on invalid dates
2018-04-22 16:27:43 +01:00
Daniel Quinn
f0b8463ead
Patch up thanks.md references
2018-04-22 16:11:58 +01:00
Daniel Quinn
e5466ee75c
Merge pull request #340 from CkuT/issue_334
...
Fix LogEntry user when PAPERLESS_DISABLE_LOGIN is set to true
2018-04-22 15:51:25 +01:00
CkuT
0c28a5329c
Fix LogEntry user when PAPERLESS_DISABLE_LOGIN is set to true
2018-04-17 21:03:18 +02:00
Daniel Quinn
d31c096f4a
Update lockfile
2018-04-16 09:53:39 +01:00
Daniel Quinn
56e3bcefb2
Revert root redirection
2018-04-16 09:53:31 +01:00
Daniel Quinn
ce19c62a1b
Put this file where it's supposed to be
2018-04-15 13:41:08 +01:00
Daniel Quinn
04625ab0e0
Document update for subdir support
2018-04-13 20:19:05 +01:00
Daniel Quinn
85fa861ce7
Remove the hard-coding of the thumbnail URL
2018-04-13 20:18:16 +01:00
Daniel Quinn
199ff5866a
Allow STATIC_URL and MEDIA_URL to be configurable via env
2018-04-13 20:18:00 +01:00
Daniel Quinn
e12636f7d2
Use a named URL for the LOGIN_URL value
2018-04-13 20:17:31 +01:00
Daniel Quinn
b72aac7bd8
Dependencies update
2018-04-13 19:52:11 +01:00
Daniel Quinn
8f229fa98b
Use a URL name for the redirect instead of a hard-coding
2018-04-13 19:45:14 +01:00
Daniel Quinn
e6006a046c
Fix links and grammar
2018-04-13 19:43:56 +01:00
Daniel Quinn
02c162d304
Merge pull request #338 from Belonias/master
...
Greek Translation
2018-04-10 19:40:38 +01:00
Daniel Quinn
a65a1e6153
Ignore .pytest_cache
2018-04-10 19:37:55 +01:00
Daniel Quinn
f8c83d968d
Add THANKS.md
2018-04-10 19:37:42 +01:00
Daniel Quinn
c502b96e2e
Merge pull request #333 from erikarvstedt/fix-warnings
...
Fix runtime warning when adding log entries
2018-04-03 15:38:22 +01:00
Belonias
dae8188dc7
final(minor changes)
2018-04-01 22:39:40 +03:00
Belonias
807a30fbc1
final
2018-04-01 22:34:16 +03:00
Belonias
1b2761860b
update
2018-03-31 21:10:45 +03:00
Erik Arvstedt
363b8ff9aa
Fix runtime warning when adding log entries
...
LogEntry.action_time expects a Django timezone object instead of a builtin datetime.
This fixes a runtime warning of the following kind:
RuntimeWarning: DateTimeField LogEntry.action_time received a naive datetime (2018-03-28 20:53:01.714173) while time zone support is active.
2018-03-30 00:15:52 +02:00
Daniel Quinn
0fe87d1d0f
Add notes for #328
2018-03-23 11:20:20 +00:00
Daniel Quinn
50a3aa4d6e
Merge pull request #328 from erikarvstedt/master
...
Use --noreload for permanent server start commands
2018-03-23 19:17:47 +08:00
Erik Arvstedt
7157ed2bdd
Use --noreload for permanent server start commands
...
Without it, the server is highly resource-intensive even when
running idle
2018-03-23 11:13:20 +01:00
Daniel Quinn
47e52c5250
Add new consumption logging feature
2018-03-19 12:59:10 +00:00
Daniel Quinn
fd85f49397
Merge pull request #326 from CkuT/new_document_list
...
New imported documents list
2018-03-19 12:50:18 +00:00
Daniel Quinn
748128c8c3
Remove last remnants of PAPERLESS_SHARED_SECRET
2018-03-18 14:08:41 +00:00
Daniel Quinn
245027767d
Remove superfluous import
2018-03-18 14:08:29 +00:00
Belonias
0193f6b26f
...
2018-03-13 20:31:44 +02:00
CkuT
9bf3454cbf
Add test case
2018-03-13 19:27:59 +01:00
CkuT
53214b7993
Use datetime.now() instead of document.created for LogEntry action_time
2018-03-13 19:09:48 +01:00
CkuT
feab3e5dfc
Add LogEntry after document consumption
...
See #319
2018-03-11 17:09:43 +01:00
Belonias
8ce8dd0a16
2nd commit
2018-03-10 11:19:49 +02:00
Daniel Quinn
4088c43a16
Merge pull request #325 from jakewins/patch-1
...
Add curl as dependency in docker container
2018-03-07 10:32:29 +01:00
Jacob Hansson
39f35c22d2
Add curl as dependency in docker container
...
The health check in `docker-compose.yml` uses curl, but the `alpine:3.7` image this Dockerfile builds on doesn't include curl, leading to the health check failing:
{
"Start": "2018-03-06T20:48:57.293359619-06:00",
"End": "2018-03-06T20:48:57.388576132-06:00",
"ExitCode": -1,
"Output": "OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"curl\\\": executable file not found in $PATH\": unknown"
}
This should be reproducible by simply following the docker-based installation instructions; without this change my `docker-compose up` fails because the health check fails. This change made the docker installation instructions work for me.
2018-03-06 20:57:57 -06:00
Belonias
fefe3497b8
first pass
2018-03-06 17:36:06 +02:00
Daniel Quinn
c3ad15aab0
Update changelog to reflect #322
2018-03-05 15:44:29 +00:00
Daniel Quinn
00cc5c49d1
Merge pull request #320 from ovv/detected-document-date-log-iso
...
Log detected document date with isoformat
2018-03-05 12:37:28 +01:00
Daniel Quinn
5204f8b3e0
Merge pull request #321 from RidaAyed/patch-1
...
Update setup.rst
2018-03-05 12:35:45 +01:00