958ce912a0
AccessControlList.objects.check_access was updated to do a Permission.check_permissions too. Remove duplicity.
Roberto Rosario2017-02-22 16:47:42 -04:00
2544b569f0
Add new read only endpoints for the ACL app API.
Roberto Rosario2017-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 Rosario2017-02-19 02:34:17 -04:00
05e5363bfc
Add the url of a permission in the permission serializer.
Roberto Rosario2017-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 Rosario2017-02-17 18:50:36 -04:00
0078600e62
Add custom tests runner that replaces the custom "runtests" management command.
Roberto Rosario2017-02-17 18:12:48 -04:00
5ff3ea9317
Don't override the DEBUG variable value of local.py
Roberto Rosario2017-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 Rosario2017-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 Rosario2017-02-16 21:12:55 -04:00
9942da601e
Add links to the contributing document and the roadmap wiki.
Roberto Rosario2017-02-16 02:05:24 -04:00
fa38b5b135
Add version 2.1.10 changelog and release notes.
Roberto Rosario2017-02-13 02:45:28 -04:00
4469f020a6
Update Makefile to use twine for releases. Add target to make test releases.
Roberto Rosario2017-02-13 02:42:01 -04:00
1f230c843a
Call the wheel target instead of executing setup.py
Roberto Rosario2017-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 Rosario2017-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 Rosario2017-02-12 22:34:12 -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 Rosario2017-02-03 16:18:58 -04:00
92ac4dc2f7
Add writable versions of the Document and Document Type serializers (GitLab issues #348 and #349).
Roberto Rosario2017-02-12 03:11:24 -04:00
a3959aaf79
Add resolved smart link API views. Add Smart link manager method .get_for(document).
Roberto Rosario2017-02-12 01:16:58 -04:00
5de3a60725
Rename the document type serializer link to its documents to documents_url according to the new guidelines.
Roberto Rosario2017-02-08 17:03:57 -04:00
651e370191
Add key serializer, API endpoints and API tests to the django_gpg app.
Roberto Rosario2017-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 Rosario2017-02-08 00:53:33 -04:00
66fb3a4530
Keep the django-mptt version mayan-cabinets may have installed.
Roberto Rosario2017-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 Rosario2017-02-07 22:06:03 -04:00
7340989dc5
Fix trashed document list API view. Add addition trashed document API tests.
Roberto Rosario2017-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 Rosario2017-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 Rosario2017-02-03 16:18:58 -04:00
1030db134b
Add metadata type list, patch and detail API view tests.
Roberto Rosario2017-02-02 01:08:07 -04:00
be39120e3f
Enable the parser and validation fields of the metadata type serializer.
Roberto Rosario2017-02-02 01:06:28 -04:00
73a4b685f0
Merge branch 'feature/hotfixes' of gitlab.com:mayan-edms/mayan-edms into feature/hotfixes
Roberto Rosario2017-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 Rosario2017-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 Rosario2017-01-30 00:46:56 -04:00
3a13027be0
Add content type list API view to the common app.
Roberto Rosario2017-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 Rosario2017-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 Rosario2017-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 Rosario2017-01-28 18:13:27 -04:00
b55b6dc117
Add API test for document version comment editing via PUT and PATCH. GitLab issue #348.
Roberto Rosario2017-01-28 11:20:24 -04:00
059237e4b9
Backport user creation and update API endpoints improvements.
Roberto Rosario2017-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 Rosario2017-01-16 01:50:14 -04:00
617df3bedb
Default the runserver target to use the development settings.
Roberto Rosario2017-01-16 01:06:54 -04:00
9f837aaade
Add view to clone a document page transformations to other pages.
Roberto Rosario2017-01-16 01:05:34 -04:00