958ce912a0
AccessControlList.objects.check_access was updated to do a Permission.check_permissions too. Remove duplicity.
Roberto Rosario
2017-02-22 16:47:42 -04:00
2544b569f0
Add new read only endpoints for the ACL app API.
Roberto Rosario
2017-02-19 02:35:19 -04:00
e3f9dd9d20
Add a generic relation to any model that registers itself for ACLs. This helps reference the ACLs of the model with using ContentType.
Roberto Rosario
2017-02-19 02:34:17 -04:00
05e5363bfc
Add the url of a permission in the permission serializer.
Roberto Rosario
2017-02-19 02:33:29 -04:00
e090628d72
Make testing for orphaned file handles and temporary files optional. Allows for running tests in parallel.
Roberto Rosario
2017-02-17 18:50:36 -04:00
0078600e62
Add custom tests runner that replaces the custom "runtests" management command.
Roberto Rosario
2017-02-17 18:12:48 -04:00
5ff3ea9317
Don't override the DEBUG variable value of local.py
Roberto Rosario
2017-02-16 21:47:43 -04:00
cd32c5bda5
Return the corresponing keyword arguments to the view of the document thumbnail widget depending on the view type: template or API.
Roberto Rosario
2017-02-16 21:46:40 -04:00
80f64d7fcf
Add BaseAPITestCase class that invalidates the permission and smart settings caches. Use BaseAPITestCase for all API test cases.
Roberto Rosario
2017-02-16 21:12:55 -04:00
9942da601e
Add links to the contributing document and the roadmap wiki.
Roberto Rosario
2017-02-16 02:05:24 -04:00
cd910e8ae9
Bump version to 2.1.10
v2.1.10
Roberto Rosario
2017-02-13 02:46:08 -04:00
fa38b5b135
Add version 2.1.10 changelog and release notes.
Roberto Rosario
2017-02-13 02:45:28 -04:00
4469f020a6
Update Makefile to use twine for releases. Add target to make test releases.
Roberto Rosario
2017-02-13 02:42:01 -04:00
1f230c843a
Call the wheel target instead of executing setup.py
Roberto Rosario
2017-02-13 02:04:49 -04:00
e65b453bc1
Bump version to v.2.1.9. Add changelog and release notes. This is a micro version release to due to the Python Package Index not allowing re-uploads.
Roberto Rosario
2017-02-12 23:18:00 -04:00
9c7ba66d1f
Update MANIFEST to include the markdown version of the README. Convert the markdown README to .rst for PyPI. Add pypandoc to the development requirements.
Roberto Rosario
2017-02-12 22:34:12 -04:00
55a905236b
Update README file. Switch format to markdown.
Roberto Rosario
2017-02-12 15:27:49 -04:00
00a2fce71d
Add changelog. Bump version to 2.1.8.
v2.1.8
Roberto Rosario
2017-02-12 13:03:01 -04:00
36db1f4e06
Return metadata type lookup values as list of unicode not list of strings. Fixed GitLab issue #310, thank for @fordguo for the find and fix suggestion.
Roberto Rosario
2017-02-03 16:18:58 -04:00
92ac4dc2f7
Add writable versions of the Document and Document Type serializers (GitLab issues #348 and #349).
Roberto Rosario
2017-02-12 03:11:24 -04:00
a3959aaf79
Add resolved smart link API views. Add Smart link manager method .get_for(document).
Roberto Rosario
2017-02-12 01:16:58 -04:00
c218819728
Add API endpoints for the message of the day app.
Roberto Rosario
2017-02-10 18:16:46 -04:00
7a1b3e2ee2
Unify tag API test names and methodology.
Roberto Rosario
2017-02-10 17:46:03 -04:00
75b77d6059
Add workflow instance API endpoints and tests.
Roberto Rosario
2017-02-10 03:13:26 -04:00
280f0e74be
Passing self.request.data to serializer not self.request.POST
Jesaja Everling
2017-02-09 20:13:14 +02:00
448400dc21
Raise ValidationError when IntegrityError occurs for metadata_type_pk
Jesaja Everling
2017-02-09 01:21:41 +02:00
0ff0841826
Add workflow transition API endpoints and tests.
Roberto Rosario
2017-02-09 05:16:06 -04:00
ab68723cf6
Commit working workflow state serializer, API views and tests.
Roberto Rosario
2017-02-09 04:04:58 -04:00
d12d2d9865
Initial commit to support workflow states API endpoints.
Roberto Rosario
2017-02-09 00:19:42 -04:00
e4da3eb786
Finish base document states API views.
Roberto Rosario
2017-02-08 20:46:34 -04:00
3b7a241c02
Tag API tests cleanups.
Roberto Rosario
2017-02-08 17:04:40 -04:00
5de3a60725
Rename the document type serializer link to its documents to documents_url according to the new guidelines.
Roberto Rosario
2017-02-08 17:03:57 -04:00
146459d5bc
Inital work on the document states API
Roberto Rosario
2017-02-08 17:03:36 -04:00
651e370191
Add key serializer, API endpoints and API tests to the django_gpg app.
Roberto Rosario
2017-02-08 01:28:30 -04:00
f885d886bd
Improve the document tag serializer. Add document tag detail view. Add more API tests. Tweak URLs to conform with API design best practices.
Roberto Rosario
2017-02-08 00:53:33 -04:00
66fb3a4530
Keep the django-mptt version mayan-cabinets may have installed.
Roberto Rosario
2017-02-07 23:53:35 -04:00
10e106ba83
Improve tag serializer adding bulk document tagging on creation and editing. Improve and add additiona tag API tests.
Roberto Rosario
2017-02-07 22:06:03 -04:00
7340989dc5
Fix trashed document list API view. Add addition trashed document API tests.
Roberto Rosario
2017-02-07 20:46:30 -04:00
091bac591d
Add source and adf-mode fields to the sane scanner source. Make all fields optional. Improve error handling.
Roberto Rosario
2017-02-06 04:44:04 -04:00
b58fa7e241
Return metadata type lookup values as list of unicode not list of strings. Fixed GitLab issue #310, thank for @fordguo for the find and fix suggestion.
Roberto Rosario
2017-02-03 16:18:58 -04:00
8c3a19cf56
Bump version to 2.1.7. Add release note and changelog.
v2.1.7
Roberto Rosario
2017-02-02 01:42:27 -04:00
1030db134b
Add metadata type list, patch and detail API view tests.
Roberto Rosario
2017-02-02 01:08:07 -04:00
be39120e3f
Enable the parser and validation fields of the metadata type serializer.
Roberto Rosario
2017-02-02 01:06:28 -04:00
73a4b685f0
Merge branch 'feature/hotfixes' of gitlab.com:mayan-edms/mayan-edms into feature/hotfixes
Roberto Rosario
2017-02-02 00:44:11 -04:00
e2c8f7b3fc
Add complete role API endpoints (role create, patch, put, delete, add/update role groups, add/update role permissions).
Roberto Rosario
2017-01-30 18:33:06 -04:00
3634284c5c
Set the document type in the document serializer to read only. This change improves PUT requests and changing the document type via the API is not supported anyways.
Roberto Rosario
2017-01-30 00:46:56 -04:00
c81a15f4f0
Add permission list API endpoint.
Roberto Rosario
2017-01-30 00:21:57 -04:00
8a1f426715
Add object event list API view.
Roberto Rosario
2017-01-29 02:41:51 -04:00
6fbd166f3c
Add event list API view
Roberto Rosario
2017-01-29 01:25:59 -04:00
562a9dea70
Add event type list api view.
Roberto Rosario
2017-01-28 22:56:22 -04:00
3a13027be0
Add content type list API view to the common app.
Roberto Rosario
2017-01-28 22:55:48 -04:00
7edb08a7cd
This is an issue of the DRF browseable interface. The exception is shown in the Swagger interface or via CURL. Revert "Model.save() errors are being silently ignored by Django REST Framework."
Roberto Rosario
2017-01-28 20:50:42 -04:00
2f67f0cffa
Improve document version comment API tests. Add document description update API tests. GitLab issues #348 and #349.
Roberto Rosario
2017-01-28 18:15:25 -04:00
288de26d2b
Model.save() errors are being silently ignored by Django REST Framework. Force raising a ValidationError on Model.save() errors. GitLab issue #348 and #349.
Roberto Rosario
2017-01-28 18:13:27 -04:00
b55b6dc117
Add API test for document version comment editing via PUT and PATCH. GitLab issue #348.
Roberto Rosario
2017-01-28 11:20:24 -04:00
059237e4b9
Backport user creation and update API endpoints improvements.
Roberto Rosario
2017-01-27 02:06:09 -04:00
a3c1b0873d
Add links to the documentation, support page, forum and source in the about menu. Make the about menu a nested menu.
Roberto Rosario
2017-01-16 01:50:14 -04:00
617df3bedb
Default the runserver target to use the development settings.
Roberto Rosario
2017-01-16 01:06:54 -04:00
9f837aaade
Add view to clone a document page transformations to other pages.
Roberto Rosario
2017-01-16 01:05:34 -04:00