5b3285c006
Add periodic AJAX workers to update the value of the notifications link.
Eric Riggs
2018-03-07 14:46:33 -04:00
5704c21d56
Support AJAX anchors with no path and just a query. Used by the pagination links.
Eric Riggs
2018-03-07 04:23:38 -04:00
c2e25e6d0d
Add page loading indicator using PACE.js.
Eric Riggs
2018-03-07 04:06:14 -04:00
05dc569a6f
Update HISTORY.rst.
Eric Riggs
2018-03-07 02:47:11 -04:00
3d3684daeb
Remove unused animate.css package.
Eric Riggs
2018-03-07 02:44:15 -04:00
d6c9ce071c
Remove the unused scrollable_content internal feature.
Eric Riggs
2018-03-07 02:38:01 -04:00
accfee4c50
Add template and modal to display server side errors.
Eric Riggs
2018-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 Riggs
2018-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 Riggs
2018-03-07 02:11:46 -04:00
d83a50d36a
Use history.back instead of history.go(-1).
Eric Riggs
2018-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 Riggs
2018-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 Riggs
2018-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 Riggs
2018-03-06 05:52:02 -04:00
e4f61b3ad8
Fix document search tests.
Michael Price
2018-03-05 05:42:52 -04:00
9ca7ca5ce6
Make sure the document page image API goes via the proper queryset filtering.
Michael Price
2018-03-05 05:01:33 -04:00
381dafc7b9
Update to Font Awesome 5. Add experimental Icon class. Simplify document loading icon.
Michael Price
2018-03-05 04:21:13 -04:00
69adce5c02
Add ordering by 'pk' field to the AccessControlList model to silence the UnorderedObjectListWarning warning.
Michael Price
2018-03-05 01:59:37 -04:00
d0c6c7e6de
Update ACLs app API tests to the latest API class interface.
Michael Price
2018-03-05 01:58:56 -04:00
e2cc939260
Fix indentation.
Michael Price
2018-03-05 01:58:44 -04:00
702618b924
SearchModel no longer returns result_set. It is unfiltered and unused.
Michael Price
2018-03-05 01:44:11 -04:00
d93fafcf57
Return the result's serializer only during use not during introspection.
Michael Price
2018-03-05 01:35:07 -04:00
f93521395c
Django's 1.11 urlencode doesn't work in the same as in version 1.10. Update to fix.
Michael Price
2018-03-05 01:20:33 -04:00
9977759f85
Update HISTORY file.
Michael Price
2018-03-05 01:06:49 -04:00
efc470ff4c
Add information on installing flake8's git hook.
Roberto Rosario
2017-09-07 01:08:01 -04:00
d7567f4b97
Test for base64 encoded e-mail attachment filename
Cornelius Ludmann
2017-08-02 14:28:14 +02:00
4b36c27e33
Add API test for the document checkout API.
Michael Price
2018-03-05 01:00:42 -04:00
55ba6786b3
Fix and modernize the document checkout API view. Move API logic to serializer.
Michael Price
2018-03-05 01:00:10 -04:00
3165912837
Format line according to best practices.
Michael Price
2018-03-05 00:42:25 -04:00
44320838a0
Add statistics script to produce a report of the views, APIs and test for each app.
Michael Price
2018-03-05 00:38:57 -04:00
cedf5ac7d0
Update to the latest version the packages for building, development, documentation and testing.
Michael Price
2018-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 Price
2018-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 Price
2018-03-04 04:29:04 -04:00
77a3c103d1
Tweak app API urls.
Michael Price
2018-03-04 04:22:46 -04:00
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
Michael Price
2018-03-04 04:21:29 -04:00
36d19ea284
Add API test for the checkout list view.
Michael Price
2018-03-04 03:52:18 -04:00
744976e8a1
Fix flake8 warnings.
Michael Price
2018-03-03 04:27:01 -04:00
d8d6dada5e
Add document parsing app API tests.
Michael Price
2018-03-03 04:10:48 -04:00
58c762d9e8
Update HISTORY file.
Michael Price
2018-03-03 04:06:45 -04:00
3c4f9ced11
Add checkouts app API tests.
Michael Price
2018-03-03 04:04:29 -04:00
938093db6f
Make sure to require the checkedout detail view permission for the checked out document detail API view.
Michael Price
2018-03-03 04:03:46 -04:00
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
Michael Price
2018-03-03 04:03:08 -04:00
f3427c7470
Update HISTORY file.
Michael Price
2018-03-02 18:07:11 -04:00
3919e6404c
Improve and add workflow app tests.
Michael Price
2018-03-02 18:01:48 -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 Price
2018-03-02 18:00:48 -04:00
a4a3c96228
Update workflow links according to the view name updates.
Michael Price
2018-03-02 17:59:48 -04:00
471458fda3
Update workflow views' URL and names for consistency with Mayan's best practices.
Michael Price
2018-03-02 17:58:44 -04:00
b8e97164c8
Remove unused line.
Michael Price
2018-03-02 17:57:45 -04:00
974fa8e210
Fix super class name.
Michael Price
2018-03-02 02:56:07 -04:00
6525f3b854
Update project to use Django 1.11.10 and Django model utils version 3.1.1
Michael Price
2018-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 Price
2018-03-02 02:39:10 -04:00
fd9a7217e9
Reduce repeated code in test.
Michael Price
2018-03-02 02:38:02 -04:00
a2a58e925b
Add changes from the next version to the HISTORY file.
Michael Price
2018-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 Price
2018-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 Price
2018-03-01 23:53:09 -04:00
72160bf806
Make CabinetDetailView a subclass of DocumentListView to add pagination to the document list.
Michael Price
2018-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 Price
2018-03-01 18:40:12 -04:00
e3d400c70d
Add common.utils.return_related function to support double underscore related model references.
Michael Price
2018-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 Rosario
2017-10-25 15:22:34 -04:00
cc7f69b908
Continue updating the document app API tests to work with access and permission level testing.
Roberto Rosario
2017-10-24 15:57:29 -04:00
1d5a60ef9e
Update DocumentTypeAPITestCase to with test with/without access.
Roberto Rosario
2017-10-23 14:23:20 -04:00
7000ba1630
Don't use gpg1 for testing against sqlite.
Michael Price
2018-03-01 19:16:22 -04:00
026c7d391b
Add settings module for easy testing during development.
Michael Price
2018-03-14 21:51:17 -04:00
a1876c065e
Don't use gpg1 for testing against sqlite.
Michael Price
2018-03-01 19:16:22 -04:00
d991c82693
Add settings module for easy testing during development.
Michael Price
2018-03-14 21:51:17 -04:00
7b68e271c8
Only pull the Database Docker image for the test that requires it.
Michael Price
2018-02-23 01:38:06 -04:00
a1c8b8e5de
Update the Ubuntu package repository before trying to install anything.
Michael Price
2018-02-23 01:33:54 -04:00
b616ffaf1f
Add locales package which is missing in Ubuntu 16.04.
Michael Price
2018-02-23 01:30:05 -04:00
8c37bd87d6
GitLab CI testing with Ubuntu 16.10 is failing. Fallback to Ubuntu 16.04.
Michael Price
2018-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 Price
2018-02-22 21:51:52 -04:00
d201f2c31c
Show horizontal on the list item template only when there are items present.
Michael Price
2018-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 Price
2018-02-22 02:45:20 -04:00
99a9a87a56
Update HISTORY file.
Eric Riggs
2018-02-22 16:09:37 -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 Riggs
2018-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 Riggs
2018-02-22 16:01:04 -04:00
0a05c87c9c
Update the Pillow and django-mptt versions required.
Michael Price
2018-02-22 03:53:51 -04:00
ec51aecad6
Remove the .gitignore file from 3rd party Javascript libraries.
Michael Price
2018-02-22 03:53:12 -04:00
c21fec9e1d
Add draft test writing MERC.
Michael Price
2018-02-22 03:39:58 -04:00
6886b22360
Add changelog entry about requiring the document view permission to view trashed documents.
Roberto Rosario
2018-04-01 01:53:42 -04:00
54e93c1ed6
Customize the empty formset message for the document type metadata type relationship view.
Michael Price
2018-02-22 03:16:20 -04:00
d64f72351d
Customize the empty formset message for the document type metadata type relationship view.
Michael Price
2018-02-22 03:13:49 -04:00
34fc5a5bcf
Don't error out when there are no metadata types available.
Michael Price
2018-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 Rosario
2018-04-01 01:51:25 -04:00
93dbf789d0
Add support for displaying a message when a formset is empty.
Michael Price
2018-02-22 03:12:49 -04:00
d59466123b
Fix the test_document_attach_tag_view_with_tag_access test assertion.
Michael Price
2018-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 Price
2018-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 Price
2018-02-22 02:44:36 -04:00