Commit Graph
7049 Commits
Author SHA1 Message Date
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
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