Commit Graph
7021 Commits
Author SHA1 Message Date
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
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 7542a7aa9d Rever to django rest swagger 0.2.0 until Django REST framework is updated to 3.x. gh-issue #198 2015-06-08 19:13:19 -04:00
Roberto Rosario faae9994a2 Update release notes 2015-06-08 15:58: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 29aa3987f5 Update version of django rest swagger 2015-06-04 20:47:57 -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