79c5a103a2
Fix GitLab issue #243, "System allows a user to skip entering values for a required metadata field while uploading a new document".
Roberto Rosario
2016-01-12 02:40:47 -04:00
6c0ce71086
Add production install script.
Roberto Rosario
2016-01-11 22:24:41 -04:00
24da09b360
Add wheel to the development requirements.
Roberto Rosario
2015-11-04 17:54:04 -04:00
6f0805c8dd
Bump version to 2.0.0 release candidate 1.
Roberto Rosario
2015-11-04 17:15:38 -04:00
1867c589f5
Remove admin user tests for the documents app views. SPlit all view test into priviledged and unpriviledged tests.
Roberto Rosario
2015-11-04 01:43:44 -04:00
750127eb92
Raise PermissionDenied on single document access, show 'Selected at least 1 document' when the multidocument view is used. GL issue #240.
Roberto Rosario
2015-11-01 03:06:40 -04:00
81568d051f
Add test method to request the test view using the GET HTTP verb.
Roberto Rosario
2015-10-28 01:32:28 -04:00
f517057dba
Add permission inheritance to document pages and documents version with 'document' as the parent object.
Roberto Rosario
2015-10-28 01:07:24 -04:00
7b2eae4b5c
ACL access check now check the object for permission inheritance too. IE: page navigation links.
Roberto Rosario
2015-10-28 01:06:18 -04:00
124c6dab5e
Implement repeatable way to add test views.
Roberto Rosario
2015-10-27 15:23:26 -04:00
f4a461e5a5
Don't error out link resolution if user doesn't has permission for the object argument. This issue manifests during the forcefull check in attempt of issue GL #237. Solved and test added.
Roberto Rosario
2015-10-26 02:15:53 -04:00
31846a739d
Change the document OCR tab label and view title from 'Content' to 'OCR', to eliminate confusion of OCR text vs. original document content.
Roberto Rosario
2015-10-25 01:59:07 -04:00
ce07077f3e
Test links ACL against the view's resolved_object or fallback to test against the {{ object }} context variable. Solves GL issue #230.
Roberto Rosario
2015-10-25 01:54:18 -04:00
9bbd148497
Remove NewDocumentVersionBlockViewTestCase, it belongs in the sources app only.
Roberto Rosario
2015-10-25 01:53:32 -04:00
b0f5e8741b
Raise PermissionDenied instead of redirecting with a message if user doesn't have the tag attach permission. GL issue #235.
Roberto Rosario
2015-10-24 00:45:48 -04:00
dfda765d34
Make sure to test that the user can't attach a tag with the proper permission. GL issue #235.
Roberto Rosario
2015-10-23 14:45:43 -04:00
da4c41c5b2
Change the way new document version are blocked, moving the logic to the documents app from the checkouts app signal handler. Disable the upload new document version button and have the new version upload view redirect to the document version list with a message. GitLab issue #231.
Roberto Rosario
2015-10-23 06:05:43 -04:00
414c55f824
Update the metadata_add and metadata_remove views to use the new ACL filter_by_access code. Update and improve tests.
Roberto Rosario
2015-10-23 02:52:27 -04:00
02171755f0
Update the document_multiple_clear_transformations, document_clear_transformations_view, document_multiple_update_page_count, and document_update_page_count views to use the new filter by access ACL code. Add some and improve other document views tests.
Roberto Rosario
2015-10-22 21:59:35 -04:00
8d266693c8
Add sample configuration from the deploying chapter.
Roberto Rosario
2015-10-22 15:49:59 -04:00
10f2bd6226
Improve multi user delete view. Add view tests for the user management app.
Roberto Rosario
2015-10-22 04:23:16 -04:00
11d6b100b4
Update tag views to use updated ACL filter_by_access. Add better tag app views tests.
Roberto Rosario
2015-10-22 04:22:22 -04:00
1eb2190f86
Update tags app views tag_delete, single_document_multiple_tag_remove, and multiple_documents_selection_tag_remove to work with the new way filter_by_access works. Add tags app views tests.
Roberto Rosario
2015-10-22 03:09:44 -04:00
b02cee1759
Update the folder_document_multiple_remove, folder_add_document, folder_add_multiple_documents views to use queryset instead of list of objects. Improve folder app views tests.
Roberto Rosario
2015-10-22 00:17:39 -04:00
475ceb054f
OCR errors are deleted at the next successfull retry, remove redundant option to delete OCR log entries.
Roberto Rosario
2015-10-21 04:07:20 -04:00
71ac2cbf79
With full document OCR queue and per document type OCR queuing, re_queueing OCR errors is redundant, removing.
Roberto Rosario
2015-10-21 03:58:09 -04:00
da0134a7fb
Fix label of the left box in group members views. GL issue #233.
Roberto Rosario
2015-10-21 03:45:28 -04:00
6f82ee8cb5
Make MultipleInstanceActionMixin operate on a queryset and not on a list of objects. Get the id_list from GET or POST requests, not just GET requests.
Roberto Rosario
2015-10-21 03:41:12 -04:00
6d80b40ed4
Remove unused related parameter for the ACL filter method.
Roberto Rosario
2015-10-21 03:40:13 -04:00
f739dd54ac
Fix document download views. Fixes GL issue #229. Thanks to @ammaranjith for the find and fix idea.
Roberto Rosario
2015-10-21 03:38:56 -04:00
58f73f0b1e
Use Django's six library for Py3 compatibility.
Roberto Rosario
2015-10-21 03:33:10 -04:00