Roberto Rosario
d41fe1b701
Fix assertEquals warning
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 23:28:58 -04:00
Roberto Rosario
95a1df8072
Backport common mixin and generics improvements
...
* Rename get_object_list to get_source_queryset.
* Add uniqueness validation to SingleObjectCreateView.
* Remove MultipleInstanceActionMixin.
* Backport MultipleObjectMixin improvements.
* Remove ObjectListPermissionFilterMixin.
* Add and improve tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:07:35 -04:00
Roberto Rosario
713e644599
Fix smart link ACL support
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 02:31:38 -04:00
Roberto Rosario
395c360784
Update smart link document type view use AddRemove
...
Add smart link created and edited events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 01:44:23 -04:00
Roberto Rosario
fa441149e4
Fix and optimize smart link tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 20:22:05 -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
Michael Price
96836065a8
Split document.tests.test_views.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:19:07 -04:00
Michael Price
7a6465303d
Update tests.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:04:11 -04:00
Michael Price
f85b30c967
Fix the failing tests from the linking app.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:01:14 -04:00
Roberto Rosario
ce6f59b9bd
Merge remote-tracking branch 'origin/master' into feature/merge_master
2017-02-13 21:00:56 -04:00
Roberto Rosario
651f659a05
Add linking app setup API views and tests.
2017-02-11 02:12:25 -04:00
Roberto Rosario
5ea31554bc
Update and fix failing tests.
2017-01-14 03:08:32 -04:00
Roberto Rosario
2a5264bc2c
Fix view context document resolution for the document smart link list view. Fixes GitLab issue #266 . Thanks to Baptiste GAILLET @bat79a for the find.
2016-05-08 01:13:54 -04:00
Roberto Rosario
23f40ac4aa
PEP8 cleanups.
2016-04-27 20:31:02 -04:00
Roberto Rosario
5079b2790e
Add Smart link view tests.
2016-03-17 00:39:04 -04:00