Commit Graph

3912 Commits

Author SHA1 Message Date
Roberto Rosario
a7fd802436 Introspect object to be able to show table header even on empty object_list 2015-06-17 02:19:12 -04:00
Roberto Rosario
63201aa082 Remove the page_label field from the document page model. Closes gh-issue #195 2015-06-17 00:31:11 -04:00
Roberto Rosario
93e7b73433 Update document page content search registration 2015-06-17 00:27:44 -04:00
Roberto Rosario
2959539083 Add missing import 2015-06-17 00:25:51 -04:00
Roberto Rosario
9f2f10b702 Register PERMISSION_OCR_CONTENT_VIEW permission to the document model 2015-06-17 00:23:48 -04:00
Roberto Rosario
08a8ae2554 Move document page content code to the OCR app. Prep work for issue #186. 2015-06-17 00:21:35 -04:00
Roberto Rosario
36ea7c2f3d Update Pillow version to 2.8.2 2015-06-16 23:37:29 -04:00
Roberto Rosario
91150a7f51 Change the user_object of the DocumentCheckout model to be just a FK to the User model 2015-06-16 23:35:23 -04:00
Roberto Rosario
0e52609c7c Pass request.user when doing a document version revert 2015-06-16 23:16:02 -04:00
Roberto Rosario
a5636e5a94 Add new event for document version reversion 2015-06-16 23:14:29 -04:00
Roberto Rosario
ede88ddcc3 Add new event for new document version creation 2015-06-16 23:03:34 -04:00
Roberto Rosario
14e0d0a03c Add sample logging to the development settings 2015-06-16 20:42:53 -04:00
Roberto Rosario
a4cd152310 Cache compiled templates by default in production settings. Turn off Celery's eager behaviour in production by default. 2015-06-16 20:42:03 -04:00
Roberto Rosario
ac68470c89 Don't cache compiled templates by default 2015-06-16 20:41:40 -04:00
Roberto Rosario
c8268b1a5b Move new document version blocking logic to the checkouts app. Remove PERMISSION_DOCUMENT_RESTRICTIONS_OVERRIDE, overriding checkout restrictions even for admin users has the potential to confuse or corrupt data, removing it. Even admins must now checkin a document before trying to perform a restricted operation. 2015-06-16 20:38:45 -04:00
Roberto Rosario
dc35ed6948 Add TODO reminder 2015-06-16 16:20:56 -04:00
Roberto Rosario
394a90458a Improve way to cache document page images and invalidate them. Update related code. 2015-06-16 16:20:17 -04:00
Roberto Rosario
51e4b8b44c Add migration to change the way ordering was defined 2015-06-16 15:32:14 -04:00
Roberto Rosario
e47385ddfb Remove no longer used document method 2015-06-16 15:21:02 -04:00
Roberto Rosario
99c8fb8da2 Chang erole and smart settings icons 2015-06-16 15:05:43 -04:00
Roberto Rosario
6c5b23f7ee Assign new icon to the installtion app link 2015-06-16 04:49:04 -04:00
Roberto Rosario
f99db0f66b Reassign icons to indexing, workflows and metadata links 2015-06-16 04:47:21 -04:00
Roberto Rosario
ab0cb0917c Add reminders to add taks 2015-06-16 04:38:23 -04:00
Roberto Rosario
4cc1aaf162 Sort imports 2015-06-16 04:37:54 -04:00
Roberto Rosario
bb205e7cf9 Catch re-launching a workflow for a document and logging the condition 2015-06-16 04:37:34 -04:00
Roberto Rosario
dee9c3fb70 Add Confirm view 2015-06-16 04:36:26 -04:00
Roberto Rosario
8aa4452162 Allow overriding the object on which to perform the permission check 2015-06-16 04:15:46 -04:00
Roberto Rosario
fe43d53aa2 Use tuples instead of lists to represent single permission collections 2015-06-16 04:14:18 -04:00
Roberto Rosario
48c428d5cf Add workflow completion percent based on workflow state 2015-06-16 03:47:41 -04:00
Roberto Rosario
c5ca22f6d2 Use tuples instead of lists to define model ordering 2015-06-16 02:12:31 -04:00
Roberto Rosario
7dc8cee43f Normalize how all urls are defined 2015-06-16 02:07:37 -04:00
Roberto Rosario
07bc5996f5 Use the post initial setup signal to setup a default document type and a default document source 2015-06-16 01:59:16 -04:00
Roberto Rosario
890ae87e9c Emit a post initial setup signal 2015-06-16 01:58:59 -04:00
Roberto Rosario
b41be2e763 Re-add incorrectly removed widget class EmailInput 2015-06-16 01:43:46 -04:00
Roberto Rosario
d8322031c5 PEP8 cleanups 2015-06-14 03:52:18 -04:00
Roberto Rosario
37b4f42afe Remove autoadmin code and move it to the external django-autoadmin package 2015-06-14 03:51:36 -04:00
Roberto Rosario
f3beb3b5e7 Rename field to show document label as title during thumbnail preview 2015-06-09 20:24:43 -04:00
Roberto Rosario
28932b80b4 Remove remarked code 2015-06-09 20:24:31 -04:00
Roberto Rosario
a79dc22bd1 Update staging folders to use the new converter class 2015-06-09 20:24:09 -04:00
Roberto Rosario
632656b8ce Make sure an image exists before trying to transform it 2015-06-09 20:23:40 -04:00
Roberto Rosario
0d6438d01a Remove internal api usage 2015-06-09 20:23:21 -04:00
Roberto Rosario
dea882d023 Add error logging to document source models 2015-06-09 20:22:58 -04:00
Roberto Rosario
adf88b39bf Revert to serving binary images to allow fancybox galleries 2015-06-09 19:04:39 -04:00
Roberto Rosario
8532311367 Use ParentChild CBV to display a list of document pages. This allows fixing a page's transformations in case of error. 2015-06-09 18:53:35 -04:00
Roberto Rosario
afb30eab04 Add CBV to display a list of object that are the children of another object 2015-06-09 18:52:42 -04:00
Roberto Rosario
a954256378 Merge lazy-load and lazy-load-interactive, they now behave exactly the same 2015-06-09 14:55:40 -04:00
Roberto Rosario
db0b5aca13 Replace the invalid document page image with a combination of font icons 2015-06-09 14:50:53 -04:00
Roberto Rosario
74bd69b61c Remove OCR cleanup view 2015-06-09 03:29:15 -04:00
Roberto Rosario
5275061f9f Refactor OCR backend class to be file object based and use images from document page not the actual file. Use pytesseract instead of calling the CLI directly. 2015-06-09 03:28:38 -04:00
Roberto Rosario
931bdfd113 If no image is available when get_image is called, generate the first page automatically 2015-06-09 03:25:49 -04:00