Commit Graph

4657 Commits

Author SHA1 Message Date
Roberto Rosario
76f09d6c60 Add docker compose file. 2015-12-03 03:12:33 -04:00
Roberto Rosario
1f8f860f2c Merge branch 'development' into feature/docker 2015-12-03 02:08:53 -04:00
Roberto Rosario
7f0b37f8b6 Show overview gif animation on docs index. 2015-12-03 02:08:01 -04:00
Roberto Rosario
acebfaedd4 Update overview GIF animation. 2015-12-03 02:07:46 -04:00
Roberto Rosario
37647ca27a Tweak the first time login panel width. 2015-12-02 04:30:25 -04:00
Roberto Rosario
d62ee8ad19 Documentation updates. Add screenshots chapter. 2015-12-02 04:09:49 -04:00
Roberto Rosario
0a9d0fc69b Rename entrypoint script. 2015-11-30 02:41:09 -04:00
Roberto Rosario
69ae1ead57 Don't demonize celery worker, send to the background instead. 2015-11-30 02:40:40 -04:00
Roberto Rosario
1cf1065f8a Delete more apt-get files to decrease docker image size. 2015-11-30 02:40:12 -04:00
Roberto Rosario
63102765cd Ignore all of the repository when building the docker image. 2015-11-30 01:06:18 -04:00
Roberto Rosario
ad439fb9ce Initial commit required to build a Docker image. 2015-11-29 19:00:21 -04:00
Roberto Rosario
6ef9b25e74 Document spell check and format cleanup. Small content fixes. 2015-11-29 18:38:19 -04:00
Roberto Rosario
1ad68a61f5 Only create the initial document type and web source if none exists. 2015-11-19 00:45:04 -04:00
Roberto Rosario
3d1d1fb44f Fix coverage badge markup. Remove wheel badge. 2015-11-04 18:15:58 -04:00
Roberto Rosario
24da09b360 Add wheel to the development requirements. 2015-11-04 17:54:04 -04:00
Roberto Rosario
6f0805c8dd Bump version to 2.0.0 release candidate 1. 2015-11-04 17:15:38 -04:00
Roberto Rosario
1867c589f5 Remove admin user tests for the documents app views. SPlit all view test into priviledged and unpriviledged tests. 2015-11-04 01:43:44 -04:00
Roberto Rosario
97c3a74331 Fix incorrect ACL check method. 2015-11-04 01:43:11 -04:00
Roberto Rosario
ec4324a3d6 Make arguments explicit. 2015-11-04 01:42:43 -04:00
Roberto Rosario
13b167abc9 Split mode documents app view tests into test with and without permissions. 2015-11-03 23:32:09 -04:00
Roberto Rosario
3a6cf48068 Return PermissionDenied when user has no sufficient permission and accessting one document. 2015-11-03 16:31:03 -04:00
Roberto Rosario
8a50721117 Expand and improve the documents app view tests. 2015-11-03 01:37:35 -04:00
Roberto Rosario
23270e948c PEP8 cleanups. 2015-11-02 17:40:27 -04:00
Roberto Rosario
750127eb92 Raise PermissionDenied on single document access, show 'Selected at least 1 document' when the multidocument view is used. GL issue #240. 2015-11-01 03:06:40 -04:00
Roberto Rosario
cbc1f12bf6 Simplify tests teatDown method. 2015-11-01 02:57:55 -04:00
Roberto Rosario
391298eea1 Improve ACLs tests. 2015-11-01 02:49:21 -04:00
Roberto Rosario
8c1d5319dd Test an object's parent for permission but also test the child object if the parent test fails. 2015-11-01 02:47:24 -04:00
Roberto Rosario
379f9d6bee Update mailer view document collection to be a queryset and not a list of instances. 2015-10-28 02:22:25 -04:00
Roberto Rosario
923ecc85d8 PEP8 Cleanups. 2015-10-28 02:22:10 -04:00
Roberto Rosario
a1a0a6da52 PEP8 Cleanups. 2015-10-28 02:14:48 -04:00
Roberto Rosario
2180ab22bd Fix typo. 2015-10-28 02:03:59 -04:00
Roberto Rosario
b9585cb4ad Multi document links should not have permissions. 2015-10-28 02:03:25 -04:00
Roberto Rosario
26250412ce Add test for the document version revert and document version download links. GL issue #230. 2015-10-28 01:33:43 -04:00
Roberto Rosario
c116a46af4 PEP8 cleanusp. 2015-10-28 01:33:26 -04:00
Roberto Rosario
81568d051f Add test method to request the test view using the GET HTTP verb. 2015-10-28 01:32:28 -04:00
Roberto Rosario
f517057dba Add permission inheritance to document pages and documents version with 'document' as the parent object. 2015-10-28 01:07:24 -04:00
Roberto Rosario
7b2eae4b5c ACL access check now check the object for permission inheritance too. IE: page navigation links. 2015-10-28 01:06:18 -04:00
Roberto Rosario
124c6dab5e Implement repeatable way to add test views. 2015-10-27 15:23:26 -04:00
Roberto Rosario
b1fa66b78c Code style update. 2015-10-27 10:34:07 -04:00
Roberto Rosario
7e365de569 Code style updates. 2015-10-26 02:24:52 -04:00
Roberto Rosario
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. 2015-10-26 02:15:53 -04:00
Roberto Rosario
31846a739d Change the document OCR tab label and view title from 'Content' to 'OCR', to eliminate confusion of OCR text vs. original document content. 2015-10-25 01:59:07 -04:00
Roberto Rosario
ce07077f3e Test links ACL against the view's resolved_object or fallback to test against the {{ object }} context variable. Solves GL issue #230. 2015-10-25 01:54:18 -04:00
Roberto Rosario
9bbd148497 Remove NewDocumentVersionBlockViewTestCase, it belongs in the sources app only. 2015-10-25 01:53:32 -04:00
Roberto Rosario
b0f5e8741b Raise PermissionDenied instead of redirecting with a message if user doesn't have the tag attach permission. GL issue #235. 2015-10-24 00:46:29 -04:00
Roberto Rosario
dfda765d34 Make sure to test that the user can't attach a tag with the proper permission. GL issue #235. 2015-10-23 14:45:43 -04:00
Roberto Rosario
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. 2015-10-23 06:06:59 -04:00
Roberto Rosario
414c55f824 Update the metadata_add and metadata_remove views to use the new ACL filter_by_access code. Update and improve tests. 2015-10-23 02:52:27 -04:00
Roberto Rosario
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. 2015-10-22 21:59:35 -04:00
Roberto Rosario
8d266693c8 Add sample configuration from the deploying chapter. 2015-10-22 15:49:59 -04:00