Roberto Rosario
3484dc8f33
Update translation source and compiled files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 04:23:16 -04:00
Michael Price
4c1ae55410
Update compiled translation files.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:36:52 -04:00
Michael Price
59d746db97
Update translation source files.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:36:45 -04:00
Michael Price
de65d96fe2
Update cabinets and document_index api views docstrings. Update multi level docstrings as per Python best practices.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:27:45 -04:00
Michael Price
3159a6bf1f
Remove ununsed library. Remove unused code. Fix formatting.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:25:05 -04:00
Michael Price
53b47455d3
Add support for OR type searches. Use the "OR" string between the terms. Example: term1 OR term2.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:23:01 -04:00
Michael Price
1fc06a350b
Consolidate the docstring of the API methods into a class docstring.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:22:35 -04:00
Michael Price
0a480066df
Reorganize common's base test class.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:20:37 -04:00
Michael Price
702618b924
SearchModel no longer returns result_set. It is unfiltered and unused.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:38:53 -04:00
Michael Price
d93fafcf57
Return the result's serializer only during use not during introspection.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:38:39 -04:00
Michael Price
4378b28777
Update API vies and serializers for the latest Django REST framework version. Replace DRF Swagger with DRF-YASG.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:31:22 -04:00
Michael Price
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:59 -04:00
Michael Price
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:28:40 -04:00
Michael Price
c556e095e0
Update the dynamic_search app API tests to conform with the new BaseAPITestCase class interface.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 01:10:30 -04:00
Roberto Rosario
9147b34409
Fix text typos. Update translations.
...
Merged: Remove PDFMiner from the requirments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-27 13:50:13 -04:00
Roberto Rosario
ec223dd54d
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-27 02:08:39 -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
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
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
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
4560009927
Synchronize translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-03 02:30:08 -04:00
Roberto Rosario
4096b8b882
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-24 20:30:46 -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
8f023a03e5
Synchronize translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-15 00:38:02 -04:00
Roberto Rosario
b8c74125e8
Use the item view for the search results.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 14:09:27 -04:00
Roberto Rosario
f582484693
Update translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-09 02:33:57 -04:00
Roberto Rosario
6c6ca38374
Replace all instances of unicode only handling to use force_text.
...
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:03:24 -04:00
Roberto Rosario
e46bf51022
Do a complete pull and synchronization of the translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-30 17:46:34 -04:00
Roberto Rosario
e920ad1036
Syncronize translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-23 03:51:55 -04:00
Roberto Rosario
e9e4060f8c
Add SearchFieldSerializer to show the fields available for each
...
SearchModel.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-17 03:28:54 -04:00
Roberto Rosario
ca12bdcced
Add API endpoint to show all available search models.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-07 13:54:32 -04:00
Roberto Rosario
6d5d102984
Translations synchronization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-28 16:02:01 -04:00
Roberto Rosario
6c4af20356
Update source and compiled language files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-26 00:46:07 -04:00
Roberto Rosario
a68d7e41db
Add updates translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-21 12:30:35 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -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
f5660cd629
Update all test for 100% passed (348 tests).
2017-01-14 17:43:55 -04:00
Roberto Rosario
5ea31554bc
Update and fix failing tests.
2017-01-14 03:08:32 -04:00
Roberto Rosario
90de742deb
Merge remote-tracking branch 'origin/series/2.0' into merge
2016-12-19 21:59:00 -04:00
Roberto Rosario
3e63010338
Synchronize translations.
2016-11-23 03:09:56 -04:00
Roberto Rosario
2df6cb7985
Remove usage of url.patterns as per Django's deprecation warnings.
2016-11-04 04:02:48 -04:00
Roberto Rosario
a59c4e8fc1
Fix dynamic search tests.
2016-11-03 17:47:30 -04:00
Roberto Rosario
4d9da58890
Update search api test to work with the new url scheme.
2016-11-03 15:50:38 -04:00
Roberto Rosario
3ab4778814
Remove lazy view string loading from urls.py as per Django's deprecation plan.
2016-11-02 17:38:54 -04:00
Roberto Rosario
621c988809
Simplify filter_by_access boilerplate code
2016-11-02 03:48:16 -04:00
Roberto Rosario
24ef702e9c
Update some direct model importing to use Django's apps.get_model instead.
2016-10-30 02:46:36 -04:00
Roberto Rosario
1e50676f11
Merge branch 'master' into development
2016-10-29 16:22:12 -04:00
Roberto Rosario
6a48de5029
Update translations.
2016-10-28 04:19:15 -04:00