Roberto Rosario
43665261cc
Change the schema format for the dynamic form class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 21:59:00 -04:00
Roberto Rosario
abfce08baf
Add access grant workflow state action.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:56:47 -04:00
Roberto Rosario
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.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:55:36 -04:00
Roberto Rosario
4dcaa5f883
Add text description to the PermissionDenied exception raised by
...
the acls managers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:54:43 -04:00
Roberto Rosario
5e2d66d201
Fix typo in requriments list file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:02:30 -04:00
Roberto Rosario
3b7f25478a
Add support for serializing model instances in the action
...
dynamic forms.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:01:27 -04:00
Roberto Rosario
f20810b2ae
Add support for getting the list of all permissions as a choice
...
list.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:00:59 -04:00
Roberto Rosario
7fdd816a1a
Pass the action dynamic form data to the class as a standard form_class
...
argument.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:00:22 -04:00
Roberto Rosario
718a49437a
Add get_classes method to the ModelPermission class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 01:58:56 -04:00
Roberto Rosario
1117980894
Add events for adding and removing documents to cabinets.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 18:20:44 -04:00
Roberto Rosario
7908019499
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:16:08 -04:00
Roberto Rosario
7de4ff2740
Add error logging to the HTTP POST workflow action.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:14:58 -04:00
Roberto Rosario
60d157717f
Sort WorkflowAction classes from the get_all() method.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:14:19 -04:00
Roberto Rosario
a11b0eb39a
Style cleanup.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:13:39 -04:00
Roberto Rosario
eb7b189970
Add generic error log model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:12:52 -04:00
Roberto Rosario
a08a856533
Style cleanup.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:11:02 -04:00
Roberto Rosario
3669d7f3f2
Add HTTP Post workflow action.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:10:29 -04:00
Roberto Rosario
87e8320781
Add serialization of querysets to the dynamic state action form.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:09:11 -04:00
Roberto Rosario
a11d274d16
Add the "content" accessor to the DocumentVersion model to
...
return the parsed content.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:08:29 -04:00
Roberto Rosario
26f6152356
Add "ocr_content" accessor to the DocumentVersion class to return
...
the ocr content.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:07:58 -04:00
Roberto Rosario
ae60c52fe2
Add the tag remove workflow state action.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:37:41 -04:00
Roberto Rosario
36482cc903
Rebalance tag permissions. Change the required permission to attach
...
and remove a tag from view to attach and remove respectively.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:37:12 -04:00
Roberto Rosario
6c7432fc99
Add 'Action object' column to the event list. Display the
...
object or target type (document, tag, etc).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:35:15 -04:00
Roberto Rosario
fd7ebff179
Add tag attach and tag remove events.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:34:43 -04:00
Roberto Rosario
257c5d9036
Add warning about the tech preview nature of the transition triggers
...
and state actions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:01:36 -04:00
Roberto Rosario
27443a183c
Rename workflow transition event link to transition triggers.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:01:16 -04:00
Roberto Rosario
26c2c86edd
Make error messages persistent.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:01:03 -04:00
Roberto Rosario
6fae3152a9
Synchronize translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 00:00:47 -04:00
Roberto Rosario
f2cdd52024
Make the document parsing app translatable. Sync translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 21:01:42 -04:00
Roberto Rosario
9e40bbbcdc
Remove the NoMimetype match exception. Not needed now that this is
...
a separate app from the OCR app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 20:19:43 -04:00
Roberto Rosario
8b9e605e0b
When changing document types, don't delete the old metadata that is
...
also found in the new document type. GitLab issue #421 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 19:44:08 -04:00
Roberto Rosario
61d064fb6d
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 04:58:20 -04:00
Roberto Rosario
85bc613d04
Improve event trigger workflow selection. Fix duplicate transitions trigger.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 04:51:48 -04:00
Roberto Rosario
3fe0d47126
Remove the view to submit all document for OCR.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 04:04:31 -04:00
Roberto Rosario
a944226814
Revert logger level used during debugging.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 04:04:08 -04:00
Roberto Rosario
15c5a36053
Don't error out when the document has no versions. Record
...
the document version's document as the action object.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 03:56:23 -04:00
Roberto Rosario
b26f0b08fb
Use the literal 'System' instead of the target name when
...
the action user in unknown.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 03:55:27 -04:00
Roberto Rosario
f62406810d
Allow test document to be overrided by test subclasses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 03:54:22 -04:00
Roberto Rosario
a7eaf6b368
Finish the document parsing app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-24 03:54:07 -04:00
Roberto Rosario
e9591c92f9
Initial commit of the document parsing app.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-23 02:23:14 -04:00
Roberto Rosario
317d07a355
Refactor OCR app. Removes document parsing. Moves OCR processing to
...
model manager. Add submit and finish events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-23 02:04:57 -04:00
Roberto Rosario
2052caada4
Remove PreserveGetQuerySet mixin. Update SingleObjectList and
...
MultipleObjectFormActionView views to use a new get_object_list method.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-16 22:12:24 -04:00
Roberto Rosario
c43f5eb66e
Merge branch 'patch-1' into 'master'
...
Fix typo in django.po
See merge request !18
2017-08-15 15:56:34 +00:00
Alessandro Pasotti
a8fef00ad4
Fix typo in django.po
2017-08-15 08:48:53 +00:00
Roberto Rosario
6aa47a26ae
Remove the folders app. Reset English translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-15 02:57:54 -04:00
Roberto Rosario
0ffd0f340d
Remove the folders app from the language processing script.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-15 02:38:27 -04:00
Roberto Rosario
9147e30804
Remove the folders app from the transifex client config file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-15 02:37:01 -04:00
Roberto Rosario
eb1414e24a
Update GenericViewTestCase to work with normal views's and
...
template widget views.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-15 00:19:21 -04:00
Roberto Rosario
1faa63f56c
Move extension preservetation code to the model. Improve document,
...
version and API views to include proper mimetype and encoding.
Update respective tests. GitLab issue #415 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-15 00:18:34 -04:00
Roberto Rosario
1aa985051e
Update release notes.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-14 17:02:47 -04:00