Commit Graph

1203 Commits

Author SHA1 Message Date
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
Roberto Rosario
d073685680 Delete language processing backends 2015-06-09 03:24:17 -04:00
Roberto Rosario
e9be14f2af Fix clearing document's transformations 2015-06-09 01:35:11 -04:00
Roberto Rosario
31985e7160 Use highest quality interpolation and expand image so as not to crop borders 2015-06-08 23:45:55 -04:00
Roberto Rosario
87d8504cfb Don't overwrite self.kwargs cause links resolved kwargs to get cached and produce wrong resolved URLs 2015-06-08 23:41:38 -04:00
Roberto Rosario
f7d69931cf Fix target_dict generation 2015-06-08 23:41:07 -04:00
Roberto Rosario
0f0edddcd9 Disable OCR code until fixed and updated for new converter code 2015-06-08 22:30:34 -04:00
Roberto Rosario
719476a8e4 Add transformation copy support and update sources models to use it 2015-06-08 22:29:51 -04:00
Roberto Rosario
296d218c01 Remove remainig document page transformation code 2015-06-08 22:29:29 -04:00
Roberto Rosario
d1f76b29e7 Use unicode representation of transformation 2015-06-08 22:28:55 -04:00
Roberto Rosario
285d08aae2 Add help texts, fix __str__ method return value 2015-06-08 22:28:27 -04:00
Roberto Rosario
9135a7d470 Add missing migration after upload_to change 2015-06-08 15:58:01 -04:00
Roberto Rosario
2915ecfdd9 Add missing common app migration 2015-06-08 15:57:47 -04:00
Roberto Rosario
dcd062f122 Update Link class to accept callables for a link's kwargs 2015-06-08 15:57:12 -04:00
Roberto Rosario
9db47a843f Convert documents app to new transformation system 2015-06-08 15:56:57 -04:00
Roberto Rosario
506d53c58a Convert sources app to use new transformation system 2015-06-08 15:56:16 -04:00
Roberto Rosario
33b56ac5e6 Add unicode_literal import 2015-06-08 15:55:38 -04:00
Roberto Rosario
32fe03aaa7 PEP8 clean up and trivial typo fixes 2015-06-08 15:54:54 -04:00
Roberto Rosario
d678431c97 Move transformation storage to the converter app via content types 2015-06-08 15:53:25 -04:00
Roberto Rosario
86bfd76141 Don't raise warning about unused imports 2015-06-08 15:49:48 -04:00
Roberto Rosario
68aedcf0cf Fix passing named arguments to link's views 2015-06-08 03:05:12 -04:00
Roberto Rosario
30e8baccb8 Remove the document page text and content edit views, with the change to zone OCR these features are not necesary. 2015-06-08 01:31:27 -04:00
Roberto Rosario
670f6f1884 Remove unused mimetype extension icons 2015-06-08 01:20:43 -04:00
Roberto Rosario
bf049d07fe Move the document display error to the appearance app 2015-06-08 01:19:55 -04:00
Roberto Rosario
3fc7147f93 Use base64 as the default document image representation 2015-06-08 01:16:01 -04:00
Roberto Rosario
b256758db2 Implement class based converter transformations 2015-06-07 05:29:31 -04:00
Roberto Rosario
f4752a3f3f Further converter refactor and initial move from document-centric to page-centric image generation. Issue #93. 2015-06-06 06:26:44 -04:00
Roberto Rosario
de6182aea0 Initial commit of the converter refactor 2015-06-05 03:35:07 -04:00
Roberto Rosario
97f68ea158 Cleanup document version argument handling by making sure it is by document version and not by document instance 2015-06-05 00:58:55 -04:00
Roberto Rosario
1e02b4dadf Don't check for embedded signature on save. 2015-06-05 00:58:08 -04:00
Roberto Rosario
678782154b Improve conditional logic of detached signature links 2015-06-05 00:57:28 -04:00
Roberto Rosario
a9a4c15d77 Add admin interface to the document signatures app 2015-06-05 00:56:57 -04:00
Roberto Rosario
f4e3c0e084 Don't display revert button link for current version of a document. Mark the revert button as "dangerous". 2015-06-05 00:56:24 -04:00
Roberto Rosario
b49617d3e7 Add "dangerous" tag to the document comment delete link 2015-06-04 21:05:02 -04:00
Roberto Rosario
091a14845a Add document print permission. First half of issue #176. 2015-06-04 21:04:37 -04:00
Roberto Rosario
68375a4969 Don't try to capture swaggers template, it's too complex 2015-06-04 20:42:18 -04:00
Roberto Rosario
b929194905 Add the "dangerous" tag to the links whose actions result in permanent data erasure 2015-06-04 20:37:46 -04:00
Roberto Rosario
b0fee28e1d Remove unused function parameter 2015-06-04 20:37:20 -04:00
Roberto Rosario
7a6831589e Give the btn-danger CSS class to all links with the "dangerous" tag 2015-06-04 19:00:17 -04:00
Roberto Rosario
f16957c206 Add support for link tags 2015-06-04 18:55:19 -04:00
Roberto Rosario
e6ee4198be Use space instead of a vertical bar to separate object links 2015-06-04 18:53:36 -04:00
Roberto Rosario
c21bb90d90 Add missing import 2015-06-04 18:51:14 -04:00
Roberto Rosario
0136b73fd2 Shorten GPG key id's when showing a query result 2015-06-04 18:50:03 -04:00
Roberto Rosario
ed4d72c709 Show the word "None" when dropdowns are empty 2015-06-04 18:40:45 -04:00
Roberto Rosario
0fd86c6191 Remove old migration and add Django 1.7.x migration to increase lock name field size 2015-06-04 18:20:09 -04:00
Roberto Rosario
6d5d5229d6 Sort common.utils functions 2015-06-04 18:18:02 -04:00
Roberto Rosario
0bd6bd7930 Add missing task instance to task_do_ocr task 2015-06-02 19:36:19 -04:00