Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							e65e27d11f 
							
						 
					 
					
						
						
							
							Consider mtime of ignored files, garbage-collect ignore list  
						
						... 
						
						
						
						1. Store the mtime of ignored files so that we can reconsider them if
they have changed.
2. Regularly reset the ignore list to files that still exist in the
consumption dir. Previously, the list could grow indefinitely. 
						
						
					 
					
						2018-05-11 14:05:30 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							12488c9634 
							
						 
					 
					
						
						
							
							Simplify ignoring docs  
						
						
						
						
					 
					
						2018-05-11 14:05:29 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							61cd050e24 
							
						 
					 
					
						
						
							
							Ensure docs have been unmodified for some time before consuming  
						
						... 
						
						
						
						Previously, the second mtime check for new files usually happened right
after the first one, which could have caused consumption of docs that
were still being modified.
We're now waiting for at least FILES_MIN_UNMODIFIED_DURATION (0.5s).
This also cleans up the logic by eliminating the consumer.stats attribute
and the weird double call to consumer.run().
Additionally, this a fixes memory leak in consumer.stats where paths could be
added but never removed if the corresponding files disappeared from
the consumer dir before being considered ready. 
						
						
					 
					
						2018-05-11 14:05:29 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							f018e8e54f 
							
						 
					 
					
						
						
							
							Refactor: extract fn try_consume_file  
						
						... 
						
						
						
						The main purpose of this change is to make the following commits more
readable. 
						
						
					 
					
						2018-05-11 14:05:28 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							a56a3eb86d 
							
						 
					 
					
						
						
							
							Use os.scandir instead of os.listdir  
						
						... 
						
						
						
						It's simpler and better suited for use cases introduced in later commits. 
						
						
					 
					
						2018-05-11 14:05:25 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							2fe7df8ca0 
							
						 
					 
					
						
						
							
							Consume documents in order of increasing mtime  
						
						... 
						
						
						
						This increases overall usability, especially for multi-page scans.
Previously, the consumption order was undefined (see os.listdir()) 
						
						
					 
					
						2018-05-11 14:04:37 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							873c98dddb 
							
						 
					 
					
						
						
							
							Refactor: extract fn 'make_dirs'  
						
						
						
						
					 
					
						2018-05-11 14:04:36 +02:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							ea287e0db2 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							4babfa1a5b 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							aa2fc84d7f 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							8d5ae64aff 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Ovv 
							
						 
					 
					
						
						
						
						
							
						
						
							6fd9995aa1 
							
						 
					 
					
						
						
							
							Installation documentation setup  
						
						... 
						
						
						
						Issue #329  
						
						
					 
					
						2018-04-25 19:51:21 +02: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 Quinn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								CkuT 
							
						 
					 
					
						
						
						
						
							
						
						
							3aafabba26 
							
						 
					 
					
						
						
							
							Fix LogEntry user when PAPERLESS_DISABLE_LOGIN is set to true  
						
						
						
						
					 
					
						2018-04-17 21:03:18 +02: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 Quinn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 Quinn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea90bd3f84 
							
						 
					 
					
						
						
							
							Merge pull request  #333  from erikarvstedt/fix-warnings  
						
						... 
						
						
						
						Fix runtime warning when adding log entries 
						
						
					 
					
						2018-04-03 15:38:22 +01:00 
						 
				 
			
				
					
						
							
							
								Belonias 
							
						 
					 
					
						
						
						
						
							
						
						
							fccc95254b 
							
						 
					 
					
						
						
							
							final(minor changes)  
						
						
						
						
					 
					
						2018-04-01 22:39:40 +03:00 
						 
				 
			
				
					
						
							
							
								Belonias 
							
						 
					 
					
						
						
						
						
							
						
						
							e266e114a9 
							
						 
					 
					
						
						
							
							final  
						
						
						
						
					 
					
						2018-04-01 22:34:16 +03:00 
						 
				 
			
				
					
						
							
							
								Belonias 
							
						 
					 
					
						
						
						
						
							
						
						
							19faed3634 
							
						 
					 
					
						
						
							
							update  
						
						
						
						
					 
					
						2018-03-31 21:10:45 +03:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							fcdcf62c2c 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							68251b8be6 
							
						 
					 
					
						
						
							
							Add notes for  #328  
						
						
						
						
					 
					
						2018-03-23 11:20:20 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Quinn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8e63388833 
							
						 
					 
					
						
						
							
							Merge pull request  #328  from erikarvstedt/master  
						
						... 
						
						
						
						Use --noreload for permanent server start commands 
						
						
					 
					
						2018-03-23 19:17:47 +08:00 
						 
				 
			
				
					
						
							
							
								Erik Arvstedt 
							
						 
					 
					
						
						
						
						
							
						
						
							1f2079f65a 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f61fa06993 
							
						 
					 
					
						
						
							
							Add new consumption logging feature  
						
						
						
						
					 
					
						2018-03-19 12:59:10 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Quinn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Belonias 
							
						 
					 
					
						
						
						
						
							
						
						
							b126c6b0ff 
							
						 
					 
					
						
						
							
							...  
						
						
						
						
					 
					
						2018-03-13 20:31:44 +02:00 
						 
				 
			
				
					
						
							
							
								CkuT 
							
						 
					 
					
						
						
						
						
							
						
						
							1d162dc769 
							
						 
					 
					
						
						
							
							Add test case  
						
						
						
						
					 
					
						2018-03-13 19:27:59 +01:00 
						 
				 
			
				
					
						
							
							
								CkuT 
							
						 
					 
					
						
						
						
						
							
						
						
							a1f257369d 
							
						 
					 
					
						
						
							
							Use datetime.now() instead of document.created for LogEntry action_time  
						
						
						
						
					 
					
						2018-03-13 19:09:48 +01:00 
						 
				 
			
				
					
						
							
							
								CkuT 
							
						 
					 
					
						
						
						
						
							
						
						
							45e18d7094 
							
						 
					 
					
						
						
							
							Add LogEntry after document consumption  
						
						... 
						
						
						
						See #319  
						
						
					 
					
						2018-03-11 17:09:43 +01:00 
						 
				 
			
				
					
						
							
							
								Belonias 
							
						 
					 
					
						
						
						
						
							
						
						
							d6fe17f4c6 
							
						 
					 
					
						
						
							
							2nd commit  
						
						
						
						
					 
					
						2018-03-10 11:19:49 +02:00