Roberto Rosario
58bcf20a46
Remove tests * imports
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-08-29 23:10:28 -04:00
Roberto Rosario
ec2dde7483
Add internal_name field to workflow serializer
...
Fixes workflow API creation view.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-21 19:30:08 -04:00
Roberto Rosario
c7e9a4dc99
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:09:26 -04:00
Roberto Rosario
7a4a4818fe
Add workflow event tests
...
Modernize tests. Move test HTTP requests to the test mixin
module.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 23:39:49 -04:00
Roberto Rosario
0267c79b07
Backport test improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:39:57 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
9fc7c4fc09
Add explicit argument name of 'mode' to the open statement.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 16:53:48 -04:00
Roberto Rosario
4eab4670be
Unify tests that use upload documents. Add explicit mode when opening a file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 03:38:17 -04:00
Michael Price
80d7410c15
Update the workflow app API tests to test with and without permissions. Update the API test to conform to the latest API test class interface.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 01:30:51 -04:00
Roberto Rosario
f09321f6ab
Fix deprecation warnings for Django 1.11 and Django 2.0.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 00:25:18 -04:00
Roberto Rosario
922492169f
Fix typos in tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-17 21:18:56 -04:00
Roberto Rosario
5798cabd7c
Add support to update the document indexes from workflow state changes.
...
Add a new workflow field called internal_name for easier workflow
reference in document index templates.
Generalize the PropertyHelper class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-06 20:07:15 -04:00
Roberto Rosario
89512be546
Fix test import typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:28:43 -04:00
Roberto Rosario
63682a2945
Merge remote-tracking branch 'origin/master' into feature/master_merge
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 15:57:38 -04:00
Roberto Rosario
206776441c
Add transition ACLs support to the API view and serializer.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-23 23:40:32 -04:00
Roberto Rosario
77996157f2
Merge remote-tracking branch 'origin/master' into merge_test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-23 02:21:41 -04:00
Roberto Rosario
0625bcf44a
Add per document type, workflow list API view. GitLab issue #357 , GitLab merge request #!9. cc @jeverling
2017-02-20 02:40:31 -04:00
Roberto Rosario
6e1cf57079
Implement document workflows transition ACLs. GitLab issue #321 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-20 02:37:42 -04:00
Roberto Rosario
80f64d7fcf
Add BaseAPITestCase class that invalidates the permission and smart settings caches.
...
Use BaseAPITestCase for all API test cases.
2017-02-16 21:12:55 -04:00
Roberto Rosario
75b77d6059
Add workflow instance API endpoints and tests.
2017-02-10 03:13:26 -04:00
Roberto Rosario
0ff0841826
Add workflow transition API endpoints and tests.
2017-02-09 05:16:06 -04:00
Roberto Rosario
ab68723cf6
Commit working workflow state serializer, API views and tests.
2017-02-09 04:04:58 -04:00
Roberto Rosario
d12d2d9865
Initial commit to support workflow states API endpoints.
2017-02-09 00:19:42 -04:00
Roberto Rosario
e4da3eb786
Finish base document states API views.
2017-02-08 20:46:34 -04:00
Roberto Rosario
146459d5bc
Inital work on the document states API
2017-02-08 17:03:36 -04:00