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 |
|
Michael Price
|
2b77da369d
|
render_subtemplate's Context contructor needs a dictionary as the argument as per Django's release notes: https://docs.djangoproject.com/en/2.0/releases/1.11/#django-template-backends-django-template-render-prohibits-non-dict-context
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:24:43 -04:00 |
|
Michael Price
|
8f3e1a3eb0
|
Don't use include for the admin urls as per Django's tutorial documentation at: https://docs.djangoproject.com/en/1.11/intro/tutorial01/
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:24:12 -04:00 |
|
Michael Price
|
a2a58e925b
|
Add changes from the next version to the HISTORY file.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 18:23:49 -04:00 |
|
Michael Price
|
9043291b8d
|
Don't put the raw document queryset in the template context. It is not needed anymore.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:23:00 -04:00 |
|
Michael Price
|
4af9dfa36d
|
Don't use document_list which is not paginated. Use object_list instead which is paginated.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:22:39 -04:00 |
|
Michael Price
|
72160bf806
|
Make CabinetDetailView a subclass of DocumentListView to add pagination to the document list.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:22:22 -04:00 |
|
Michael Price
|
bc85c3be59
|
Add inherited permission check for the DocumentPageSearch model.
This and not the DocumentPage is the actual model return for page searches.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:21:54 -04:00 |
|
Michael Price
|
e3d400c70d
|
Add common.utils.return_related function to support double underscore related model references.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 18:21:26 -04:00 |
|
Roberto Rosario
|
0edb028bbf
|
Finish updating DocumentAPITestCase tests to test for access.
Start updateing DeletedDocumentAPITestCase tests to test the access.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 18:19:11 -04:00 |
|
Roberto Rosario
|
cc7f69b908
|
Continue updating the document app API tests to work with access and permission
level testing.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 18:16:03 -04:00 |
|
Roberto Rosario
|
1d5a60ef9e
|
Update DocumentTypeAPITestCase to with test with/without access.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 18:10:02 -04:00 |
|
Michael Price
|
7000ba1630
|
Don't use gpg1 for testing against sqlite.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:53:18 -04:00 |
|
Michael Price
|
026c7d391b
|
Add settings module for easy testing during development.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:53:16 -04:00 |
|
Roberto Rosario
|
1ed9f9819a
|
Fix document state migration dependency.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 02:43:41 -04:00 |
|
Michael Price
|
7db6bd3fc4
|
Use already available .get_for_class class method and avoid code repetition.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:41:33 -04:00 |
|
Michael Price
|
47dfdfbffe
|
Fix MERC type.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:40:27 -04:00 |
|
Michael Price
|
17a75d3b2a
|
Fix alphine release and alpine test release Makefile targets.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:40:13 -04:00 |
|
Michael Price
|
381dd305c1
|
Add support forum MERC.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:39:52 -04:00 |
|
Michael Price
|
a0980b0fbd
|
Update HISTORY file and Release notes.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 02:39:36 -04:00 |
|
Michael Price
|
ad293a8f40
|
Add Role and Group merging draft MERC.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:37:40 -04:00 |
|
Michael Price
|
0b77c5c319
|
Add Ubuntu package gnupg.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:37:27 -04:00 |
|
Michael Price
|
48834eb8b4
|
Add Ubuntu package gpgv. Sort packages alphabetically.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:37:16 -04:00 |
|
Michael Price
|
7b68e271c8
|
Only pull the Database Docker image for the test that requires it.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:36:55 -04:00 |
|
Michael Price
|
a1c8b8e5de
|
Update the Ubuntu package repository before trying to install anything.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:36:42 -04:00 |
|
Michael Price
|
b616ffaf1f
|
Add locales package which is missing in Ubuntu 16.04.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:36:23 -04:00 |
|
Michael Price
|
8c37bd87d6
|
GitLab CI testing with Ubuntu 16.10 is failing. Fallback to Ubuntu 16.04.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:36:08 -04:00 |
|
Michael Price
|
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.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:35:39 -04:00 |
|
Michael Price
|
d201f2c31c
|
Show horizontal on the list item template only when there are items present.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 02:35:12 -04:00 |
|
Michael Price
|
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.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 02:30:37 -04:00 |
|
Eric Riggs
|
99a9a87a56
|
Update HISTORY file.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 02:01:34 -04:00 |
|
Eric Riggs
|
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.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-01 02:00:27 -04:00 |
|
Roberto Rosario
|
f923904a0e
|
Update changelog.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 01:59:43 -04:00 |
|
Eric Riggs
|
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.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-01 01:57:47 -04:00 |
|
Michael Price
|
0a05c87c9c
|
Update the Pillow and django-mptt versions required.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 01:56:42 -04:00 |
|
Michael Price
|
ec51aecad6
|
Remove the .gitignore file from 3rd party Javascript libraries.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 01:56:09 -04:00 |
|
Michael Price
|
c21fec9e1d
|
Add draft test writing MERC.
Signed-off-by: Michael Price <loneviking72@gmail.com>
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 01:55:24 -04:00 |
|
Roberto Rosario
|
6886b22360
|
Add changelog entry about requiring the document view permission to view trashed documents.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-01 01:53:42 -04:00 |
|
Michael Price
|
54e93c1ed6
|
Customize the empty formset message for the document type metadata type relationship view.
Signed-off-by: Michael Price <loneviking72@gmail.com>
|
2018-04-01 01:53:08 -04:00 |
|