Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Quinn e5b7e93eff Only require a passphrase if STORAGE_TYPE is not "unencrypted" 2018-05-28 12:58:28 +01:00
Daniel Quinn d8740ee5ca Make the consumer aware of the different storage types 2018-05-28 12:58:28 +01:00
Daniel Quinn cdc07cf153 Move the encrypt/decrypt decision out of db and into the view 2018-05-28 12:58:28 +01:00
Daniel Quinn da6dc2ad5b Attach storage_type to Documents 2018-05-28 12:58:28 +01:00
Daniel Quinn 885dbf67d5 Set STORAGE_TYPE instead of ENABLE_ENCRYPTION boolean
This allows for future decisions around the types of encryption used (if any).  Ideally, I want to replace GPG one day with something elegant out of the cryptography module.
2018-05-28 12:58:28 +01:00
Daniel Quinn 02b40a54e0 Try to be more pep8 in the settings file 2018-05-28 12:58:28 +01:00
Daniel Quinn 4585308e7f Fix redirect for subpaths (hopefully) 2018-05-28 12:56:20 +01:00
Daniel Quinn 4386b09eb1 Code clean up 2018-05-28 12:56:06 +01:00
Daniel Quinn 05b7bcd199 Minor dependency updates 2018-05-20 18:07:53 +01:00
Daniel Quinn 3a2a180607 Update for project status 2018-05-20 17:52:46 +01:00
Daniel Quinn 9690a00761 Add notes for #352 and #354 2018-05-20 17:28:10 +01:00
Daniel Quinn 3532745579 Allow the searching of documents by tag #354 2018-05-20 17:28:00 +01:00
Daniel QuinnandGitHub 24bdc07e14 Merge pull request #352 from Strubbl/fix-unwanted-exit-in-docker-entrypoint.sh
fix bug where docker-entrypoint.sh exits w/o notice
2018-05-20 17:16:01 +01:00
Daniel Quinn 528b572855 Add hack to allow for logentries to show for all users. 2018-05-20 16:29:00 +01:00
Daniel Quinn 91ddfaa065 Include changelog notes for better clickable area. 2018-05-20 16:28:42 +01:00
Daniel QuinnandGitHub ac0cda861e Merge pull request #344 from erikarvstedt/increase_link_area
[Help needed] Increase link area in documents listing
2018-05-20 14:58:08 +01:00
Daniel Quinn 82f9dde055 Account for KeyError problem in #345 2018-04-28 12:20:43 +01:00
Daniel Quinn c983e73d0f Account for KeyError problem in #345 2018-04-28 12:19:53 +01:00
Daniel Quinn 20a4a66a57 Clean up test formatting a bit 2018-04-22 16:28:21 +01:00
Daniel Quinn 4ed1fff518 Remove old Python style 2018-04-22 16:28:03 +01:00
Daniel Quinn 7223ea3c3f Don't explode on invalid dates 2018-04-22 16:27:43 +01:00
Daniel Quinn 676c8f9fa7 Patch up thanks.md references 2018-04-22 16:11:58 +01:00
Daniel QuinnandGitHub 00fd2268c5 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
Daniel Quinn b733b32c1d Update lockfile 2018-04-16 09:53:39 +01:00
Daniel Quinn 4ba9514007 Revert root redirection 2018-04-16 09:53:31 +01:00
Daniel Quinn 4505711e4f Put this file where it's supposed to be 2018-04-15 13:41:08 +01:00
Daniel Quinn 63c394fa31 Document update for subdir support 2018-04-13 20:19:05 +01:00
Daniel Quinn 27c72a7bc6 Remove the hard-coding of the thumbnail URL 2018-04-13 20:18:16 +01:00
Daniel Quinn 72af13e4e4 Allow STATIC_URL and MEDIA_URL to be configurable via env 2018-04-13 20:18:00 +01:00
Daniel Quinn 6c8ef8f044 Use a named URL for the LOGIN_URL value 2018-04-13 20:17:31 +01:00
Daniel Quinn 9d4bebd569 Dependencies update 2018-04-13 19:52:11 +01:00
Daniel Quinn 101b7bb9bf Use a URL name for the redirect instead of a hard-coding 2018-04-13 19:45:14 +01:00
Daniel Quinn 52d6cf085d Fix links and grammar 2018-04-13 19:43:56 +01:00
Daniel QuinnandGitHub 39ead59e45 Merge pull request #338 from Belonias/master
Greek Translation
2018-04-10 19:40:38 +01:00
Daniel Quinn 015c49030b Ignore .pytest_cache 2018-04-10 19:37:55 +01:00
Daniel Quinn 985b9428fe Add THANKS.md 2018-04-10 19:37:42 +01:00
Daniel QuinnandGitHub ea90bd3f84 Merge pull request #333 from erikarvstedt/fix-warnings
Fix runtime warning when adding log entries
2018-04-03 15:38:22 +01:00
Daniel Quinn 68251b8be6 Add notes for #328 2018-03-23 11:20:20 +00:00
Daniel QuinnandGitHub 8e63388833 Merge pull request #328 from erikarvstedt/master
Use --noreload for permanent server start commands
2018-03-23 19:17:47 +08:00
Daniel QuinnandGitHub f61fa06993 Add new consumption logging feature 2018-03-19 12:59:10 +00:00
Daniel QuinnandGitHub da1d3820ec Merge pull request #326 from CkuT/new_document_list
New imported documents list
2018-03-19 12:50:18 +00:00
Daniel Quinn f778d3a6e3 Remove last remnants of PAPERLESS_SHARED_SECRET 2018-03-18 14:08:41 +00:00
Daniel Quinn 96a94c4ee9 Remove superfluous import 2018-03-18 14:08:29 +00:00
Daniel QuinnandGitHub 93bed91937 Merge pull request #325 from jakewins/patch-1
Add curl as dependency in docker container
2018-03-07 10:32:29 +01:00
Daniel Quinn 79bdd829ea Update changelog to reflect #322 2018-03-05 15:44:29 +00:00
Daniel QuinnandGitHub 1c4226d27c 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 QuinnandGitHub b437803321 Merge pull request #321 from RidaAyed/patch-1
Update setup.rst
2018-03-05 12:35:45 +01:00
Daniel QuinnandGitHub b6a266a4f7 Merge pull request #322 from Arendtsen/master
Added support for paperless.conf in /usr/local/etc
2018-03-05 12:34:40 +01:00
Daniel Quinn 41f816a29b Add changelog data for the new consumer options 2018-03-03 18:49:33 +00:00
Daniel Quinn 4a25e9655c Merge branch 'ovv-consumer-cli-args' 2018-03-03 18:43:41 +00:00
Daniel Quinn d0252e8e44 Run a --oneshot loop twice
This was necessary since the first loop only ever collects file
statistics so that the second run can be sure about "readiness".
2018-03-03 18:43:20 +00:00
Daniel Quinn 73e62600c2 Clean up docstring to be properly rst 2018-03-03 18:43:20 +00:00
Daniel Quinn 3adccc0bdb Add affiliated projects 2018-03-02 16:27:53 +00:00
Daniel QuinnandGitHub 6058630360 Create CODE_OF_CONDUCT.md 2018-02-28 01:48:02 +00:00
Daniel QuinnandGitHub 81d92fb4ad Merge pull request #316 from ovv/tox
Add back tox
2018-02-27 17:51:20 +01:00
Daniel QuinnandGitHub ed36070e92 Merge pull request #315 from ovv/readme-links
Add links in readme badge (doc & travis)
2018-02-26 19:48:58 +01:00
Daniel QuinnandGitHub 5bb90cb63d Merge pull request #314 from danielquinn/add-coveralls
Add Coveralls
2018-02-26 12:01:55 +01:00
Daniel Quinn c4bbb71a3b Have pytest generate the coverage files 2018-02-25 16:42:15 +00:00
Daniel Quinn 7d6cae96f3 Change directory in [script] 2018-02-25 16:08:47 +00:00
Daniel Quinn b1e616055e Add Pipfile 2018-02-25 15:57:32 +00:00
Daniel Quinn eec8f09d6f Add CI changes to changelog 2018-02-25 15:56:53 +00:00
Daniel Quinn c68a6d78eb Add coveralls badge to README 2018-02-25 15:54:55 +00:00
Daniel Quinn acd3cc5062 Start generating requirements.txt from Pipfile 2018-02-25 15:52:32 +00:00
Daniel Quinn a55a915439 Consolidate CI tools into setup.cfg and drop tox 2018-02-25 15:51:59 +00:00
Daniel Quinn 1f68223752 Sort new features to the top 2018-02-25 11:57:19 +00:00
Daniel Quinn d6b626ec50 Update changelog for #308 fix 2018-02-25 11:56:11 +00:00
Daniel QuinnandGitHub 926016f1d8 Merge pull request #309 from danielquinn/mysql-hack
Add another db_index hack for MySQL.

Fixes #308.
2018-02-25 12:53:38 +01:00
Daniel Quinn 8ea1cc24a7 Update for 1.3.0 2018-02-25 11:47:39 +00:00
Daniel QuinnandGitHub 08adb2f540 Merge pull request #312 from pitkley/docker-fix-groupmod
Fix modifying the GID under alpine
2018-02-25 12:43:22 +01:00
Daniel QuinnandGitHub 46db0edd5d Merge pull request #300 from TeraHz/master
Handle Django migrations at startup
2018-02-25 12:13:09 +01:00
Daniel Quinn 76a13dadb8 Add another db_index hack for MySQL 2018-02-20 11:17:11 +00:00
Daniel QuinnandGitHub 72750b9243 Merge pull request #307 from BastianPoe/bugfix/add_more_unit_test_for_date_detection
Bugfix/add more unit test for date detection
2018-02-20 12:03:41 +01:00
Daniel Quinn 6662ca3467 Fix formatting 2018-02-18 18:00:34 +00:00
Daniel Quinn 6f1ed89e26 Fix tests to use _text instead of TEXT_CACHE 2018-02-18 18:00:22 +00:00
Daniel Quinn 7e99e42924 Update changelog with #301 2018-02-18 16:26:40 +00:00
Daniel QuinnandGitHub 5d01410dc0 Merge pull request #302 from BastianPoe/bugfix/extend_regex_to_find_more_dates
Extends the regex to find dates in documents as reported by @isaacsando
2018-02-18 17:23:49 +01:00
Daniel Quinn 9a47dba494 Add notes about optional disabling of logins 2018-02-18 16:19:29 +00:00
Daniel QuinnandGitHub 6edee78145 Merge pull request #295 from matthewmoto/disable_login
Disable login with a creative hack
2018-02-18 17:15:51 +01:00
Daniel Quinn 30eac99a61 Update changelog with #303 2018-02-18 16:06:10 +00:00
Daniel Quinn ea6d040809 Monitor return codes of calls to convert and unpaper
...and handle the failures nicely.  Addresses #303.
2018-02-18 16:02:27 +00:00
Daniel Quinn 8e9d5caa37 Rename .TEXT_CACHE to .text
Properties should use snake_case, and only constants should be ALL_CAPS.
This change also makes use of the convention of "private" properties
being prefixed with `_`.
2018-02-18 16:00:43 +00:00
Daniel Quinn 122aa2b9f1 Make isort happy 2018-02-18 16:00:03 +00:00
Daniel Quinn fb1da4834c Style and removal of Python 2.7 stuff 2018-02-18 15:55:55 +00:00
Daniel Quinn 9cef689106 Merge branch 'rhaamo-add_retagger_correspondents' 2018-02-08 20:03:51 +00:00
Daniel Quinn 11a9c756b3 Updated for style and to add a --use-first option 2018-02-08 20:03:29 +00:00
Daniel Quinn c85b6b425d Fix docs to better reflect reality of extensions 2018-02-04 13:33:08 +00:00
Daniel Quinn 273916973c Remove superfluous code 2018-02-04 13:27:26 +00:00
Daniel Quinn 5009bd022f Add section for extending 2018-02-03 15:31:20 +00:00
Daniel Quinn 73163d893f No need to extend object 2018-02-03 15:26:28 +00:00
Daniel Quinn 506af7c9c2 Conform to an 80-character limit 2018-02-03 15:26:09 +00:00
Daniel Quinn c90ed2da1d Rework tests to write to /tmp
Originally the test wrote scratch data inside the repo dir, which meant
manual cleanup.  Now it writes to `/tmp/paperless-tests-<random-string>`
and cleans up after itself.
2018-02-03 14:49:48 +00:00
Daniel Quinn cebb8b9fa2 Use paperless- instead of paperless for tempdir name
This is purely aesthetic.
2018-02-03 14:49:17 +00:00
Daniel Quinn 46aca10a72 No need to explicitly extend object 2018-02-03 14:49:01 +00:00
Daniel Quinn 6384c698ad Fix DeprecationWarning as-per ishirav's advice 2018-02-03 14:48:14 +00:00
Daniel Quinn abf01be889 Move the Docker method up 2018-02-03 14:22:10 +00:00
Daniel Quinn 1e4928d2a0 Update the release notes for 1.2.0 2018-02-03 14:21:55 +00:00
Daniel Quinn 503be90932 Reorganise the sections. 2018-02-03 14:11:43 +00:00
Daniel Quinn b5d6a82cc3 Reformat README to be Docker Hub-friendly
For some reason, Docker Hub doesn't follow the Markdown spec correctly, and inserts `<br />` tags on single newlines, meaning that this file can't use hard wraps.
2018-02-03 14:06:11 +00:00
Daniel Quinn c073ba5272 Try to get Docker Hub liking the README 2018-02-03 14:02:21 +00:00
Daniel Quinn d1e317ce21 Switch from README.rst to README.md
This is to work around a shortcoming in Docker Hub that requires that we
use markdown.
2018-02-03 13:40:27 +00:00