Michael Price
|
eb5bd252db
|
Move the page count display to the top of the image.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:28:29 -04:00 |
|
Michael Price
|
bd5fe1af10
|
Update HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:28:08 -04:00 |
|
Michael Price
|
79c1b761d4
|
Add the path to the defaul open api path. Display models closed by default.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:28:01 -04:00 |
|
Michael Price
|
26fe832bd9
|
Move openapi_info definition to the rest_api app.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:27:54 -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
|
f44fbe5687
|
Update drf-yasg to version 1.5.0.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 20:27:37 -04:00 |
|
Michael Price
|
75542ebcc3
|
Update required Django version to 1.11.11.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 20:26:43 -04:00 |
|
Michael Price
|
6c4ec805dc
|
Move generate_setup back to the root directory. Doesn't work in a subfolder.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:26:02 -04:00 |
|
Michael Price
|
6c738793fd
|
Add more pending tasks.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:25:55 -04:00 |
|
Michael Price
|
5fadeadce2
|
Add missing migrations.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:25:48 -04:00 |
|
Michael Price
|
942dd7f710
|
Update HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:25:12 -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
|
6ecd12d250
|
Update code statistics.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 20:24:55 -04:00 |
|
Michael Price
|
c69147bdc5
|
Checking for access also checks for permission. Remove reduntant check.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:24:11 -04:00 |
|
Michael Price
|
0c4a52558b
|
Sort comment view method as per Mayan's best practices.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:24:04 -04:00 |
|
Michael Price
|
3fc9a14015
|
Add document comment API tests to check with and without access. Update tests to latest API test class interface.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:23:57 -04:00 |
|
Michael Price
|
5d2d821c6e
|
Permission checking is done implicitly when checking for access. Remove the redundant check.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:23:51 -04:00 |
|
Michael Price
|
ee3683f6ac
|
Update pending tasks.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:23:20 -04:00 |
|
Michael Price
|
ed8cdb9da4
|
Fix failing document parsing tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:23:13 -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
|
af85d37307
|
Remove documents model TODOs
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:22:51 -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
|
ff9e291cd7
|
Re-enable the API root path and exclude it from schema introspection.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:22:26 -04:00 |
|
Michael Price
|
17acb444bd
|
Add link to API documentation generated by ReDoc.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:22:21 -04:00 |
|
Michael Price
|
d173f9f863
|
Disable the root API path as this confuses Swagger which then groups all endpoints into a single dropdown.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:22:13 -04:00 |
|
Michael Price
|
764a80fab2
|
Rename the internal name of the document type permissions namespace.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:22:04 -04:00 |
|
Michael Price
|
4e908db62b
|
Move RETRY_DELAY constant to the literals.py module.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:21:55 -04:00 |
|
Michael Price
|
b9f7326f6f
|
Remove redundant get_serializer_context as this is already passed to the serializer by default.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:21:47 -04:00 |
|
Michael Price
|
28aa0b913c
|
Reorganize and sort models and managers according to Mayan's best practices.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:21:37 -04:00 |
|
Michael Price
|
a172538dfc
|
Sort smartlinks by label.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:21:31 -04:00 |
|
Michael Price
|
f3c5391d54
|
Silence the UnorderedObjectListWarning warning for the workflow app.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:20:45 -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
|
4f5cf81212
|
Remove completed tasks.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 20:20:04 -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
|
77777deec5
|
Fix transformation imports.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:19:01 -04:00 |
|
Michael Price
|
ee58303fbb
|
Move transformations to the their own module.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:18:54 -04:00 |
|
Michael Price
|
82000bfe39
|
Bump version to 3.0
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 20:18:46 -04:00 |
|
Michael Price
|
cbd8ed52c7
|
Move the generate_setup.py script to contribs/scripts.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:17:45 -04:00 |
|
Michael Price
|
8e7b288c00
|
Fix checkout API tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:15:19 -04:00 |
|
Michael Price
|
395be18151
|
Fix widget test.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:15:10 -04:00 |
|
Michael Price
|
2802ee233c
|
Close fancybox when clicking on the caption of a preview to move to the document view.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 20:13:59 -04:00 |
|
Michael Price
|
d03c6b4646
|
Update to Fancybox 3. Update to jQuery 3.3.1. Update and simplify MayanImage class.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:13:03 -04:00 |
|
Michael Price
|
ce782a37f7
|
Move pending task chapter to its own topic file. Add release blockers and new features.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:04:18 -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
|
8590bff6e4
|
Convert document thumbnails, preview, image preview and staging files to template base widgets. Unify all updated widgets. Display resolution settings are now specified as width and height and not a single resolution value.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:04:05 -04:00 |
|
Michael Price
|
d29d4ba110
|
Remove unused staging file method.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:03:51 -04:00 |
|
Michael Price
|
f978eb49f4
|
make sure the printed pages are full width.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:03:44 -04:00 |
|
Michael Price
|
3e13d5ae1f
|
Move the invalid document markup to a separate HTML template.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:03:27 -04:00 |
|
Michael Price
|
cffc63a29e
|
Don't navigate on links meant to execute javascript on click.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:03:10 -04:00 |
|
Michael Price
|
43955d680a
|
Fix indentation error.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:03:01 -04:00 |
|
Michael Price
|
baa1307870
|
Resize elements with the class .full-height after loading via AJAX.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:02:54 -04:00 |
|
Michael Price
|
fb565aeb2a
|
Update HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:02:39 -04:00 |
|
Michael Price
|
27286fce24
|
Discard the page content since it is not going to be used. Prevent's javascript error in the console.log.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:02:14 -04:00 |
|
Michael Price
|
9b10f59162
|
Set the document's title dynamically from the loaded AJAX content.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:01:43 -04:00 |
|
Michael Price
|
ad3438b859
|
Don't remove newlines on error message pages.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:01:35 -04:00 |
|
Michael Price
|
61cb9ac524
|
Silence UnorderedObjectListWarning warnings.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:01:27 -04:00 |
|
Michael Price
|
55a4798ac3
|
Silence the UnorderedObjectListWarning warning for the checkouts app.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:01:21 -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 |
|
Michael Price
|
abf0ecebaf
|
Fix failing documents app tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:01:08 -04:00 |
|
Michael Price
|
49bb7c879e
|
Add root API showing the new endpoints.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:00:38 -04:00 |
|
Michael Price
|
afd4748426
|
Don't try to return a serializer if there is no request object. Used when the API view is being introspected.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:00:27 -04:00 |
|
Michael Price
|
f8cb63b11a
|
Use a SHA256 hex digest of the secret key at the name of the lockfile.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:00:19 -04:00 |
|
Michael Price
|
8a3f9c7e4e
|
Don't scan documents without at least a version for duplicates.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 20:00:12 -04:00 |
|
Michael Price
|
e4f61b3ad8
|
Fix document search tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 19:53:40 -04:00 |
|
Michael Price
|
9ca7ca5ce6
|
Make sure the document page image API goes via the proper queryset filtering.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 19:53:23 -04:00 |
|
Michael Price
|
381dafc7b9
|
Update to Font Awesome 5. Add experimental Icon class. Simplify document loading icon.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 19:53:03 -04:00 |
|
Michael Price
|
69adce5c02
|
Add ordering by 'pk' field to the AccessControlList model to silence the UnorderedObjectListWarning warning.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:39:34 -04:00 |
|
Michael Price
|
d0c6c7e6de
|
Update ACLs app API tests to the latest API class interface.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:39:21 -04:00 |
|
Michael Price
|
e2cc939260
|
Fix indentation.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:39:04 -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
|
f93521395c
|
Django's 1.11 urlencode doesn't work in the same as in version 1.10. Update to fix.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:38:14 -04:00 |
|
Michael Price
|
9977759f85
|
Update HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:38:01 -04:00 |
|
Michael Price
|
4b36c27e33
|
Add API test for the document checkout API.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:37:14 -04:00 |
|
Michael Price
|
55ba6786b3
|
Fix and modernize the document checkout API view. Move API logic to serializer.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:36:56 -04:00 |
|
Michael Price
|
3165912837
|
Format line according to best practices.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:36:30 -04:00 |
|
Michael Price
|
44320838a0
|
Add statistics script to produce a report of the views, APIs and test for each app.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 18:36:15 -04:00 |
|
Michael Price
|
cedf5ac7d0
|
Update to the latest version the packages for building, development, documentation and testing.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:31:51 -04:00 |
|
Michael Price
|
1946250cea
|
Update to the latest version of Pillow, django-activity-stream, django-compressor, django-cors-headers, django-formtools, django-qsstats-magic, django-stronghold, django-suit, furl, graphviz, pyocr, python-dateutil, python-magic, pytz, sh.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:31:33 -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
|
77a3c103d1
|
Tweak app API urls.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:31:11 -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
|
36d19ea284
|
Add API test for the checkout list view.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:30:39 -04:00 |
|
Michael Price
|
744976e8a1
|
Fix flake8 warnings.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:30:27 -04:00 |
|
Michael Price
|
d8d6dada5e
|
Add document parsing app API tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:30:14 -04:00 |
|
Michael Price
|
58c762d9e8
|
Update HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:30:02 -04:00 |
|
Michael Price
|
3c4f9ced11
|
Add checkouts app API tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:29:49 -04:00 |
|
Michael Price
|
938093db6f
|
Make sure to require the checkedout detail view permission for the checked out document detail API view.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:29:35 -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
|
f3427c7470
|
Update HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:28:19 -04:00 |
|
Michael Price
|
3919e6404c
|
Improve and add workflow app tests.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:28:07 -04:00 |
|
Michael Price
|
775894ee0d
|
Improve permission having in the workflow app views. Most were made more granular and operate now on an object access basis instead of working per view permission.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:27:23 -04:00 |
|
Michael Price
|
a4a3c96228
|
Update workflow links according to the view name updates.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:26:55 -04:00 |
|
Michael Price
|
471458fda3
|
Update workflow views' URL and names for consistency with Mayan's best practices.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:26:42 -04:00 |
|
Michael Price
|
b8e97164c8
|
Remove unused line.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:26:13 -04:00 |
|
Michael Price
|
974fa8e210
|
Fix super class name.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:26:02 -04:00 |
|
Michael Price
|
6525f3b854
|
Update project to use Django 1.11.10 and Django model utils version 3.1.1
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:25:47 -04:00 |
|
Michael Price
|
984e8a5b2c
|
Silence deprecation warning about default manager for child models. Reorganize model according to Mayan's best practices.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:25:32 -04:00 |
|
Michael Price
|
fd9a7217e9
|
Reduce repeated code in test.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:25:18 -04:00 |
|
Michael Price
|
b1080e5fe5
|
Convert the TextAreaDiv widget to use template-based rendering as per Django's release notes: https://docs.djangoproject.com/en/2.0/releases/1.11/#template-based-widget-rendering
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:25:03 -04:00 |
|