Roberto Rosario
390e552c1f
Update test according to new layout
...
Separate method making request from TestCase
and into separate TestMixins classes.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-09-30 09:35:52 -04:00
Roberto Rosario
734ca02a95
Warning cleanup
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-28 17:29:56 -04:00
Roberto Rosario
cb7dbaf609
Backport individual index rebuild support
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-08-24 20:07:59 -04:00
Roberto Rosario
6d0b7b1fc0
Speed up document indexing view tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-10 01:59:23 -04:00
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
dda0f0d2af
Update index document types view to AddRemoveView
...
Add index create and edit events.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 23:01:46 -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
cdb55ab5dd
Use FilteredSelectionForm for IndexListForm
...
Rename IndexListForm to IndexTemplateFilteredForm.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 01:49: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
e109068b29
Indexing: Add document base property reindex
...
Add support for reindexing documents when their base properties like
the label and description are edited.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 17:08:56 -04:00
Roberto Rosario
5880a650b3
document_indexing: Test for an empty node list instead of a non existing root node.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-14 00:18:02 -04:00
Roberto Rosario
4b2226cf04
Add tests for the index rebuild view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 04:32:57 -04:00
Roberto Rosario
dfd2d3dc78
Add new document indexing permission. This permission allows user to view an index instance as opposed to the current permission which allows viewing an index definiton on the setup menu. Modernize the document index view tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 01:04:36 -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
Roberto Rosario
5225d8d068
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 03:21:56 -04:00
Roberto Rosario
88151df2bc
Rewrite the document indexer to allow single index rebuilds,
...
less locks and improve performance.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-28 15:22:13 -04:00
Roberto Rosario
a179a19749
Improve document indexing tests and add test for GitLab issue #268 @bat79a
2016-05-04 00:07:19 -04:00
Roberto Rosario
145161cef4
PEP8 cleanups.
2016-03-19 03:00:03 -04:00
Roberto Rosario
7cde1fe78f
Add ACLs to document indexes. Convert all document indexing views to CBV. Remove the document index setup permission. Add view tests to the document indexing app. Use MPTT methods and stop relying on undocumented API.
2016-03-19 02:51:45 -04:00