Commit Graph

364 Commits

Author SHA1 Message Date
Roberto Rosario
d855280a18 Made AVAILABLE_INDEXING_FUNCTION setting a setting of the documents app instead of the filesystem_serving app 2011-04-11 10:19:10 -04:00
Roberto Rosario
40fd8c9398 Optimized document metadata query and display 2011-04-08 16:58:04 -04:00
Roberto Rosario
6b67cff5d7 Changed the way document page count is parsed from the graphics backend, fixing issue #7 2011-04-08 03:29:48 -04:00
Roberto Rosario
71a3c218f4 PEP8, pylint and django-lint cleanups 2011-04-08 02:09:39 -04:00
Roberto Rosario
1b6806f7d1 PEP8 cleanups 2011-04-08 01:31:39 -04:00
Roberto Rosario
61fb876a81 PEP8 and Pylint cleanups 2011-04-07 17:21:15 -04:00
Roberto Rosario
d54fd98ec5 Finished adding language specific ocr cleanup code 2011-04-07 12:23:26 -04:00
Roberto Rosario
d86c521858 Merge branch 'master' into ocr_cleanup 2011-04-07 11:28:27 -04:00
Roberto Rosario
72fffb99f2 Redirect user to the website entry point if already logged and lands in the login template 2011-04-07 11:27:16 -04:00
Roberto Rosario
d1ff305a3f Initial commit for the ocr_cleanup branch 2011-04-07 04:07:59 -04:00
Roberto Rosario
cea79ea240 When deleting staging file, it's cached preview is also deleted 2011-04-06 16:54:33 -04:00
Roberto Rosario
b1062c4586 Moved staging file preview creation logic from documents.views to staging.py 2011-04-06 16:15:52 -04:00
Roberto Rosario
d1eb09713d Fixed staging file filename regression 2011-04-06 15:51:33 -04:00
Roberto Rosario
5284f273d7 Updated staging files previews to use sendfile instead of serve_file 2011-04-06 15:23:17 -04:00
Roberto Rosario
7e36064909 Changed from using SimpleUploadedFile class to stream file to the simpler File class wrapper 2011-04-06 15:13:37 -04:00
Roberto Rosario
2ab38522fd PEP8 fixes 2011-04-06 15:04:29 -04:00
Roberto Rosario
f66c8ec6e2 Fixed error and some warning returned by pylint 2011-04-05 00:04:11 -04:00
Roberto Rosario
283df926d1 Made automatic OCR a function of the OCR app and not of Documents app (via signals)
Renamed setup option DOCUMENT_AUTOMATIC_OCR to OCR_AUTOMATIC_OCR
2011-04-04 15:36:00 -04:00
Roberto Rosario
664ece7a60 Added a new setup option: FILESYSTEM_INDEXING_AVAILABLE_FUNCTIONS - a dictionary to allow users to add custom functions 2011-04-04 14:58:36 -04:00
Roberto Rosario
1d48325a92 Clear node name when requeueing a document for OCR 2011-04-04 09:24:25 -04:00
Roberto Rosario
c2ba7eaf1d Spanish translation updates 2011-04-01 02:45:27 -04:00
Roberto Rosario
b00335ec36 Spanish translation updates 2011-04-01 02:38:53 -04:00
Roberto Rosario
2cb6de79ea Added support for editing the metadata of multiple documents at the same time 2011-04-01 02:24:45 -04:00
Roberto Rosario
ff9173ac29 Raise ImportError and notify user when specifying a non existant converter graphics backend 2011-03-31 23:57:24 -04:00
Roberto Rosario
18b9964786 Added Graphics magick support by means of user selectable graphic convertion backends 2011-03-31 12:23:58 -04:00
Roberto Rosario
c1bb3a90bb Add a user to a default role only when the user is created 2011-03-29 11:17:04 -04:00
Roberto Rosario
043f8f3502 Fixed issue #4, avoid circular import in permissions/__init__.py 2011-03-29 11:04:30 -04:00
Roberto Rosario
7cac524dfb If only one document is deleted, return to document_list view 2011-03-28 23:05:20 -04:00
Roberto Rosario
38bd6276be Added total page count to statistics view 2011-03-28 13:16:17 -04:00
Roberto Rosario
604cd60255 Clear last ocr results when requeueing a document 2011-03-25 16:37:30 -04:00
Roberto Rosario
daa22f1f36 Added support to disable the default scrolling JS code included in web_theme app 2011-03-25 16:22:09 -04:00
Roberto Rosario
3ecbd0bb74 Updated the get_document_image view to use the new sendfile app 2011-03-24 16:42:48 -04:00
Roberto Rosario
8f82c82825 Added small optimizations 2011-03-24 14:19:17 -04:00
Roberto Rosario
69f2cb1fa4 Removed the 'exists' column in document list view, this diagnostics superceded this 2011-03-24 13:19:16 -04:00
Roberto Rosario
f417344758 Introduce a random delay to each node to further reduce the chance of a race condition, until row locking can be implemented or is implemented by Django 2011-03-23 17:03:00 -04:00
Roberto Rosario
9765a7f607 Added an additional check to lower the chance of OCR race conditions between nodes 2011-03-23 16:45:49 -04:00
Roberto Rosario
a3fbe7f896 Allow OCR requeue of pending documents 2011-03-23 15:45:50 -04:00
Roberto Rosario
0f1526f3d8 Allow deletion of non existing documents from OCR queue 2011-03-23 09:51:54 -04:00
Roberto Rosario
e11a92888c Removed custom IE9 html tag 2011-03-23 05:32:56 -04:00
Roberto Rosario
1ff7c60ecd Fixed the issue of the strip spaces middleware with downloads 2011-03-23 05:30:37 -04:00
Roberto Rosario
3cb0f37b5b Made the concurrent ocr code more granular, per node, every node can handle different amounts of concurrent ocr tasks 2011-03-22 04:17:48 -04:00
Roberto Rosario
d0942a203b Reimplemented OCR delay code, only delay new document 2011-03-22 03:46:34 -04:00
Roberto Rosario
f9ab61647e Reduced default delay time 2011-03-22 03:43:18 -04:00
Roberto Rosario
800dc28938 Small optimization 2011-03-22 03:42:21 -04:00
Roberto Rosario
8f6fac0bae Removed old disabled code 2011-03-22 03:38:58 -04:00
Roberto Rosario
70e5e4c470 Moved navigation code to its own app 2011-03-22 00:54:43 -04:00
Roberto Rosario
75dc4c84b3 Removed old code 2011-03-21 18:49:34 -04:00
Roberto Rosario
545adac2e5 Removed debug code 2011-03-21 18:48:51 -04:00
Roberto Rosario
75324ce581 Disabled single OCR document action as multple actions are now enabled by default 2011-03-21 16:32:01 -04:00
Roberto Rosario
5d9302e583 Added multi ocr queued document delete support 2011-03-21 16:29:04 -04:00