Commit Graph

  • 91acee7630 Add test for unicode metadata values during uploads. Add furl to the requirements. Roberto Rosario 2017-08-31 02:18:56 -04:00
  • 93e95705f8 Allow passing url path and not just view names to the test client. Roberto Rosario 2017-08-31 02:18:11 -04:00
  • c375282de0 Remove repeated import. Roberto Rosario 2017-08-31 02:17:49 -04:00
  • 104e779087 Add a metadata test mixin. Roberto Rosario 2017-08-31 02:17:22 -04:00
  • bcae72bb34 Add a test unicode metadata value. Roberto Rosario 2017-08-31 02:15:53 -04:00
  • 2e4cb03f2d Fix local setting file template indent. v2.7 Roberto Rosario 2017-08-30 02:20:07 -04:00
  • 5e025ee8ca Bump version to 2.7. Roberto Rosario 2017-08-30 01:54:39 -04:00
  • 7ddc063209 Update release notes and changelog. Roberto Rosario 2017-08-30 01:53:23 -04:00
  • da82c7fe51 Use Django's get_random_secret_key instead of own code. Roberto Rosario 2017-08-30 01:46:24 -04:00
  • ded6982a19 Improve workflow permission setup. Roberto Rosario 2017-08-30 01:12:30 -04:00
  • 861ee25c9c Add error log list view tests. Roberto Rosario 2017-08-30 01:12:15 -04:00
  • 5f1544154c Code cleanups. Roberto Rosario 2017-08-30 01:12:04 -04:00
  • 6a8236b5b3 Update tox.ini. Roberto Rosario 2017-08-29 21:52:09 -04:00
  • e0d8a1d7b3 Add a test for the createsettings command. Roberto Rosario 2017-08-29 21:51:51 -04:00
  • 1d5e793c84 Make the local setting filename created a dynamic one. Move the local setting file template into a separate module. Roberto Rosario 2017-08-29 21:51:05 -04:00
  • 2b8dd842e2 Update release notes. Roberto Rosario 2017-08-29 02:55:19 -04:00
  • 7be2c64abe Convert a UUID to string in a Python3 compatible way. Roberto Rosario 2017-08-29 02:30:48 -04:00
  • 942b7c93ef Use BytesIO. Roberto Rosario 2017-08-29 02:16:26 -04:00
  • 3ccebbe227 Use the urlparse method from django.six. Roberto Rosario 2017-08-29 02:15:27 -04:00
  • b8ac9c7553 Don't mix bytes and text literals. Roberto Rosario 2017-08-29 02:15:00 -04:00
  • 8a0c8f47a0 Import xmlrpc from django.six. Use compatible dict_types. Use compatible reduce since it has been removed from Python3. Roberto Rosario 2017-08-29 02:13:52 -04:00
  • d8b3a17a7a Update statistics imports. Roberto Rosario 2017-08-29 02:13:24 -04:00
  • 669f50c504 Import unquote_plus fro django.six. Roberto Rosario 2017-08-29 02:13:03 -04:00
  • 9dba40a1d8 Use BytesIO instead of StringIO. Use text_type instead of unicode. Roberto Rosario 2017-08-29 02:09:49 -04:00
  • 83491dd7e1 Update urllib imports to use django.six. Use items(). Update usage if sorted for Python 3. Roberto Rosario 2017-08-29 02:08:24 -04:00
  • 03c8834772 Import collapse_rfc2231_value for the compatibility module. Roberto Rosario 2017-08-29 02:05:33 -04:00
  • 93431c09ce Use items() instead of iteritems(). Roberto Rosario 2017-08-29 02:05:02 -04:00
  • eab3b660cb Update exception detection to work with Python3 format. Roberto Rosario 2017-08-29 02:04:04 -04:00
  • 2762eeb4d4 Add compatibility module. Roberto Rosario 2017-08-29 02:02:00 -04:00
  • 32feb98874 Rename statistics app to mayan_statistics to avoid library class with Python3 statistics app. Roberto Rosario 2017-08-29 01:33:10 -04:00
  • 69514767b6 Code cleanups. Roberto Rosario 2017-08-28 21:52:51 -04:00
  • 272c64d903 Create workflow action errors using the generic object error namespace and not directly to the model. Roberto Rosario 2017-08-28 17:57:42 -04:00
  • 8d76120ac7 Add support for clearing the generic object error log. Roberto Rosario 2017-08-28 17:56:39 -04:00
  • 275229cd52 Fix failing tests. Roberto Rosario 2017-08-27 19:48:30 -04:00
  • bdb8ea18a2 Update version to 2.7 beta 1. Roberto Rosario 2017-08-27 14:12:51 -04:00
  • a22aa5ba0c Update setup.py requirements. Roberto Rosario 2017-08-27 14:12:15 -04:00
  • b6fcd784c6 Update release notes for version 2.7. Roberto Rosario 2017-08-27 14:11:17 -04:00
  • 9147b34409 Fix text typos. Update translations. Merged: Remove PDFMiner from the requirments. Roberto Rosario 2017-08-27 13:38:54 -04:00
  • 31ba535dba PEP8 cleanups. Roberto Rosario 2017-08-27 12:22:06 -04:00
  • ac7f7a5a71 Add missing migrations. Roberto Rosario 2017-08-27 12:18:48 -04:00
  • 41073a45f9 Fix failing tests in the linking app. Roberto Rosario 2017-08-27 12:17:17 -04:00
  • ec223dd54d PEP8 cleanups. Roberto Rosario 2017-08-27 02:08:39 -04:00
  • c27d922b3a Add base test for actions. Add tests for actions of the tag and acls apps. Roberto Rosario 2017-08-27 01:39:02 -04:00
  • c9bd9fb474 Avoid Maximum recursion depth exceeded exception on index document list view. Roberto Rosario 2017-08-27 00:55:12 -04:00
  • 056fd9095a Rename index nodes to index levels. Roberto Rosario 2017-08-27 00:54:49 -04:00
  • 8d80ab5257 Improve GrantAccessAction and add RemoveAccessAction class. Roberto Rosario 2017-08-26 22:06:15 -04:00
  • 9af5835df5 Only execute enabled actions. Store action execution errors in the error log. Roberto Rosario 2017-08-26 22:05:28 -04:00
  • 96e143208f User resolved_object to ensure proper link resolution when navigating back from the action views. Roberto Rosario 2017-08-26 22:04:46 -04:00
  • 0337ab5d92 Implement field order for the action dynamic forms. Perform action class validation by importing the class and not relying on an instance of action model, which might not exisit when still creating the action. Roberto Rosario 2017-08-26 22:03:19 -04:00
  • f417219f61 Add custom exceptions to the document state app. Roberto Rosario 2017-08-26 22:02:47 -04:00
  • 56c4e841c5 Don't import ContentType directly but use apps.get_model instead. Roberto Rosario 2017-08-26 22:02:21 -04:00
  • 267896ce2b Update existing dynamic forms for the new schema format. Add timeout field to the HTTP POST action. Roberto Rosario 2017-08-26 22:01:47 -04:00
  • 7e7ba85a78 Add admin entry to inspect workflow state actions. Roberto Rosario 2017-08-26 22:00:58 -04:00
  • 00e69e6f7e Pass the action class path to the dynamic form to allow validation when the actions instance is not saved yet. Roberto Rosario 2017-08-26 22:00:17 -04:00
  • b0b6ce7be8 When returning all permissions, return then as proxy (volatile) by default. Same behavior as all() with default arguments. Roberto Rosario 2017-08-26 21:59:27 -04:00
  • 43665261cc Change the schema format for the dynamic form class. Roberto Rosario 2017-08-26 21:59:00 -04:00
  • abfce08baf Add access grant workflow state action. Roberto Rosario 2017-08-26 02:56:47 -04:00
  • b63723feaf Implement a .clean method for the WorkflowAction class. Pass the view request to the form so that it can be passed to the WorkflowAction clean method. Roberto Rosario 2017-08-26 02:55:36 -04:00
  • 4dcaa5f883 Add text description to the PermissionDenied exception raised by the acls managers. Roberto Rosario 2017-08-26 02:54:43 -04:00
  • 5e2d66d201 Fix typo in requriments list file. Roberto Rosario 2017-08-26 02:02:30 -04:00
  • 3b7f25478a Add support for serializing model instances in the action dynamic forms. Roberto Rosario 2017-08-26 02:01:27 -04:00
  • f20810b2ae Add support for getting the list of all permissions as a choice list. Roberto Rosario 2017-08-26 02:00:59 -04:00
  • 7fdd816a1a Pass the action dynamic form data to the class as a standard form_class argument. Roberto Rosario 2017-08-26 02:00:22 -04:00
  • 718a49437a Add get_classes method to the ModelPermission class. Roberto Rosario 2017-08-26 01:58:56 -04:00
  • 1117980894 Add events for adding and removing documents to cabinets. Roberto Rosario 2017-08-25 18:20:44 -04:00
  • 7908019499 Update changelog. Roberto Rosario 2017-08-25 04:16:08 -04:00
  • 7de4ff2740 Add error logging to the HTTP POST workflow action. Roberto Rosario 2017-08-25 04:14:58 -04:00
  • 60d157717f Sort WorkflowAction classes from the get_all() method. Roberto Rosario 2017-08-25 04:14:19 -04:00
  • a11b0eb39a Style cleanup. Roberto Rosario 2017-08-25 04:13:39 -04:00
  • eb7b189970 Add generic error log model. Roberto Rosario 2017-08-25 04:12:52 -04:00
  • a08a856533 Style cleanup. Roberto Rosario 2017-08-25 04:11:02 -04:00
  • 3669d7f3f2 Add HTTP Post workflow action. Roberto Rosario 2017-08-25 02:10:03 -04:00
  • 87e8320781 Add serialization of querysets to the dynamic state action form. Roberto Rosario 2017-08-25 02:09:11 -04:00
  • a11d274d16 Add the "content" accessor to the DocumentVersion model to return the parsed content. Roberto Rosario 2017-08-25 02:08:29 -04:00
  • 26f6152356 Add "ocr_content" accessor to the DocumentVersion class to return the ocr content. Roberto Rosario 2017-08-25 02:07:58 -04:00
  • ae60c52fe2 Add the tag remove workflow state action. Roberto Rosario 2017-08-25 00:37:29 -04:00
  • 36482cc903 Rebalance tag permissions. Change the required permission to attach and remove a tag from view to attach and remove respectively. Roberto Rosario 2017-08-25 00:36:20 -04:00
  • 6c7432fc99 Add 'Action object' column to the event list. Display the object or target type (document, tag, etc). Roberto Rosario 2017-08-25 00:35:15 -04:00
  • fd7ebff179 Add tag attach and tag remove events. Roberto Rosario 2017-08-25 00:34:43 -04:00
  • 257c5d9036 Add warning about the tech preview nature of the transition triggers and state actions. Roberto Rosario 2017-08-25 00:01:36 -04:00
  • 27443a183c Rename workflow transition event link to transition triggers. Roberto Rosario 2017-08-25 00:01:16 -04:00
  • 26c2c86edd Make error messages persistent. Roberto Rosario 2017-08-25 00:01:03 -04:00
  • 6fae3152a9 Synchronize translations. Roberto Rosario 2017-08-25 00:00:47 -04:00
  • f2cdd52024 Make the document parsing app translatable. Sync translations. Roberto Rosario 2017-08-24 21:01:26 -04:00
  • 9e40bbbcdc Remove the NoMimetype match exception. Not needed now that this is a separate app from the OCR app. Roberto Rosario 2017-08-24 20:19:43 -04:00
  • 8b9e605e0b When changing document types, don't delete the old metadata that is also found in the new document type. GitLab issue #421. Roberto Rosario 2017-08-24 19:44:08 -04:00
  • 61d064fb6d Update changelog. Roberto Rosario 2017-08-24 04:58:20 -04:00
  • 85bc613d04 Improve event trigger workflow selection. Fix duplicate transitions trigger. Roberto Rosario 2017-08-24 04:51:10 -04:00
  • 3fe0d47126 Remove the view to submit all document for OCR. Roberto Rosario 2017-08-24 04:04:31 -04:00
  • a944226814 Revert logger level used during debugging. Roberto Rosario 2017-08-24 04:04:08 -04:00
  • 15c5a36053 Don't error out when the document has no versions. Record the document version's document as the action object. Roberto Rosario 2017-08-24 03:55:47 -04:00
  • b26f0b08fb Use the literal 'System' instead of the target name when the action user in unknown. Roberto Rosario 2017-08-24 03:54:51 -04:00
  • f62406810d Allow test document to be overrided by test subclasses Roberto Rosario 2017-08-24 03:54:22 -04:00
  • a7eaf6b368 Finish the document parsing app. Roberto Rosario 2017-08-24 03:54:07 -04:00
  • e9591c92f9 Initial commit of the document parsing app. Roberto Rosario 2017-08-23 02:23:14 -04:00
  • 317d07a355 Refactor OCR app. Removes document parsing. Moves OCR processing to model manager. Add submit and finish events. Roberto Rosario 2017-08-23 02:04:57 -04:00
  • 2052caada4 Remove PreserveGetQuerySet mixin. Update SingleObjectList and MultipleObjectFormActionView views to use a new get_object_list method. Roberto Rosario 2017-08-16 22:11:22 -04:00
  • 7a492b28f3 Merge branch 'feature/decode-base64-encoded-attachment-filename' into 'development' Roberto Rosario 2017-08-15 15:58:08 +00:00
  • c43f5eb66e Merge branch 'patch-1' into 'master' Roberto Rosario 2017-08-15 15:56:34 +00:00
  • a8fef00ad4 Fix typo in django.po Alessandro Pasotti 2017-08-15 08:48:53 +00:00