3d3684daeb
Remove unused animate.css package.
Eric Riggs2018-03-07 02:44:15 -04:00
d6c9ce071c
Remove the unused scrollable_content internal feature.
Eric Riggs2018-03-07 02:38:01 -04:00
accfee4c50
Add template and modal to display server side errors.
Eric Riggs2018-03-07 02:24:03 -04:00
57f03b21fc
- Update the markup of the multiple object action form into a valid markup. The checkboxes are now outside the form's tags. - Add beforeSerialization callback support to ajaxForm. - Add a callback to add the external checkboxes to the multiple object action form being submitted.
Eric Riggs2018-03-07 02:13:38 -04:00
fc8dc74de4
Don't use the previous variable when canceling a form action. Form now use only javascript's history.back().
Eric Riggs2018-03-07 02:11:46 -04:00
d83a50d36a
Use history.back instead of history.go(-1).
Eric Riggs2018-03-06 23:23:31 -04:00
53c277b420
Remove the main menu from the base template. It should only exist in the root template.
Eric Riggs2018-03-06 23:22:40 -04:00
3be28131c9
- Pass the AJAX referer for all AJAX requests. - Switch to synchronous requests. - All location changes go through the setLocation method. - Switch to using history.pushState. - AJAX middleware inserts AJAX referer as the request HTTP_REFERER.
Eric Riggs2018-03-06 23:19:34 -04:00
f3f4dcd84a
- Make Mayan behave like a Single Page App by using partials. - Add URI.js, Ajax form. - Split base.js into mayan_app.js, mayan_image.js, partial_navigation.js. - Add a HOME_VIEW setting. Use it for the default view to be loaded. - New template loading order root.html -> base.html -> any template. root.html is only loaded once. Other templates are loaded and merged with base.html via ajax load. - Fix bug in document page view. Was storing the URL and the querystring as a single url variable.
Eric Riggs2018-03-06 05:52:02 -04:00
9ca7ca5ce6
Make sure the document page image API goes via the proper queryset filtering.
Michael Price2018-03-05 05:01:33 -04:00
381dafc7b9
Update to Font Awesome 5. Add experimental Icon class. Simplify document loading icon.
Michael Price2018-03-05 04:21:13 -04:00
69adce5c02
Add ordering by 'pk' field to the AccessControlList model to silence the UnorderedObjectListWarning warning.
Michael Price2018-03-05 01:59:37 -04:00
d0c6c7e6de
Update ACLs app API tests to the latest API class interface.
Michael Price2018-03-05 01:58:56 -04:00
44320838a0
Add statistics script to produce a report of the views, APIs and test for each app.
Michael Price2018-03-05 00:38:57 -04:00
cedf5ac7d0
Update to the latest version the packages for building, development, documentation and testing.
Michael Price2018-03-04 04:43:25 -04:00
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.
Michael Price2018-03-04 04:37:27 -04:00
4378b28777
Update API vies and serializers for the latest Django REST framework version. Replace DRF Swagger with DRF-YASG.
Michael Price2018-03-04 04:29:04 -04:00
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
Michael Price2018-03-04 04:21:29 -04:00
938093db6f
Make sure to require the checkedout detail view permission for the checked out document detail API view.
Michael Price2018-03-03 04:03:46 -04:00
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
Michael Price2018-03-03 04:03:08 -04:00
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.
Michael Price2018-03-02 18:00:48 -04:00
a4a3c96228
Update workflow links according to the view name updates.
Michael Price2018-03-02 17:59:48 -04:00
471458fda3
Update workflow views' URL and names for consistency with Mayan's best practices.
Michael Price2018-03-02 17:58:44 -04:00
6525f3b854
Update project to use Django 1.11.10 and Django model utils version 3.1.1
Michael Price2018-03-02 02:40:36 -04:00
984e8a5b2c
Silence deprecation warning about default manager for child models. Reorganize model according to Mayan's best practices.
Michael Price2018-03-02 02:39:10 -04:00
a2a58e925b
Add changes from the next version to the HISTORY file.
Michael Price2018-03-02 00:02:18 -04:00
9043291b8d
Don't put the raw document queryset in the template context. It is not needed anymore.
Michael Price2018-03-01 23:54:03 -04:00
4af9dfa36d
Don't use document_list which is not paginated. Use object_list instead which is paginated.
Michael Price2018-03-01 23:53:09 -04:00
72160bf806
Make CabinetDetailView a subclass of DocumentListView to add pagination to the document list.
Michael Price2018-03-01 23:46:30 -04:00
bc85c3be59
Add inherited permission check for the DocumentPageSearch model. This and not the DocumentPage is the actual model return for page searches.
Michael Price2018-03-01 18:40:12 -04:00
e3d400c70d
Add common.utils.return_related function to support double underscore related model references.
Michael Price2018-03-01 18:30:27 -04:00
0edb028bbf
Finish updating DocumentAPITestCase tests to test for access. Start updateing DeletedDocumentAPITestCase tests to test the access.
Roberto Rosario2017-10-25 15:22:34 -04:00
cc7f69b908
Continue updating the document app API tests to work with access and permission level testing.
Roberto Rosario2017-10-24 15:57:29 -04:00
1d5a60ef9e
Update DocumentTypeAPITestCase to with test with/without access.
Roberto Rosario2017-10-23 14:23:20 -04:00
7000ba1630
Don't use gpg1 for testing against sqlite.
Michael Price2018-03-01 19:16:22 -04:00
026c7d391b
Add settings module for easy testing during development.
Michael Price2018-03-14 21:51:17 -04:00
a1876c065e
Don't use gpg1 for testing against sqlite.
Michael Price2018-03-01 19:16:22 -04:00
d991c82693
Add settings module for easy testing during development.
Michael Price2018-03-14 21:51:17 -04:00
7b68e271c8
Only pull the Database Docker image for the test that requires it.
Michael Price2018-02-23 01:38:06 -04:00
a1c8b8e5de
Update the Ubuntu package repository before trying to install anything.
Michael Price2018-02-23 01:33:54 -04:00
b616ffaf1f
Add locales package which is missing in Ubuntu 16.04.
Michael Price2018-02-23 01:30:05 -04:00
8c37bd87d6
GitLab CI testing with Ubuntu 16.10 is failing. Fallback to Ubuntu 16.04.
Michael Price2018-02-22 22:00:29 -04:00
98f31ff491
Use the get_or_create method instead of a blind create to avoid duplicated notifications for the same event when the user is subscribed to the object's event and to the global event.
Michael Price2018-02-22 21:51:52 -04:00
d201f2c31c
Show horizontal on the list item template only when there are items present.
Michael Price2018-02-22 21:30:27 -04:00
b45be228d2
Update the remaining document app API tests to test with and without permissions. Update the remaining API tests to conform to the updated API test class interface.
Michael Price2018-02-22 02:45:20 -04:00
c85035b58e
- Improve the styling of the multiple object action form by controlling the top and bottom margins. - Equalize styling of the multiple object action form in the list items and item subtemplates.
Eric Riggs2018-02-22 16:07:17 -04:00
eceb3ed877
- Make the multi object form perform an auto submit when the value is changed. - Add multiple object select checkbox that was missing in the list item subtemplate.
Eric Riggs2018-02-22 16:01:04 -04:00
0a05c87c9c
Update the Pillow and django-mptt versions required.
Michael Price2018-02-22 03:53:51 -04:00
ec51aecad6
Remove the .gitignore file from 3rd party Javascript libraries.
Michael Price2018-02-22 03:53:12 -04:00
6886b22360
Add changelog entry about requiring the document view permission to view trashed documents.
Roberto Rosario2018-04-01 01:53:42 -04:00
54e93c1ed6
Customize the empty formset message for the document type metadata type relationship view.
Michael Price2018-02-22 03:16:20 -04:00
d64f72351d
Customize the empty formset message for the document type metadata type relationship view.
Michael Price2018-02-22 03:13:49 -04:00
34fc5a5bcf
Don't error out when there are no metadata types available.
Michael Price2018-02-22 03:13:12 -04:00
93cba698e4
Instead of throwing an error, display an empty form is there are not event types to display.
Roberto Rosario2018-04-01 01:51:25 -04:00
93dbf789d0
Add support for displaying a message when a formset is empty.
Michael Price2018-02-22 03:12:49 -04:00
d59466123b
Fix the test_document_attach_tag_view_with_tag_access test assertion.
Michael Price2018-02-22 02:47:29 -04:00
1d0ef774e6
Update the remaining document app API tests to test with and without permissions. Update the remaining API tests to conform to the updated API test class interface.
Michael Price2018-02-22 02:45:20 -04:00
68c572bd6e
Require the document view permission to view the details of a trashed document. Add a get method override to document the API endpoint.
Michael Price2018-02-22 02:44:36 -04:00