Roberto Rosario
|
2777dc1070
|
Convert document page zoom and rotation views to CBV.
|
2016-11-02 19:01:30 -04:00 |
|
Roberto Rosario
|
6e3d99670c
|
Complete conversion of download views to CBV views using django-downloadview.
This also removes dependency on the filetransfers library.
|
2016-10-31 01:00:35 -04:00 |
|
Roberto Rosario
|
bf29846b54
|
Set the proper expected response content type in the document download views tests.
|
2016-10-21 04:27:41 -04:00 |
|
Roberto Rosario
|
97089670ee
|
Change the file descriptor check to use open files instead. Add decorator to skip open file check. GitLab issue #309.
|
2016-06-29 18:40:15 -04:00 |
|
Roberto Rosario
|
fa1450fe5a
|
PEP8 cleanups.
|
2016-03-27 03:27:56 -04:00 |
|
Roberto Rosario
|
dda0bbdba9
|
Add test for the document type quick label creation view.
|
2016-03-21 16:24:41 -04:00 |
|
Roberto Rosario
|
37d6070cab
|
Convert the document version revert view to CBV. Add document version revert view tests.
|
2016-03-21 02:37:39 -04:00 |
|
Roberto Rosario
|
8302e13d80
|
Add deleted document list filtering tests.
|
2016-03-18 18:47:32 -04:00 |
|
Roberto Rosario
|
9823202405
|
Remove typecasting of file objects into Django's File class, not needed in Django >1.8.x.
|
2016-03-14 20:20:54 -04:00 |
|
Roberto Rosario
|
e10ff8e8bd
|
Fix tests.
|
2016-03-10 03:34:50 -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
|
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
|
c116a46af4
|
PEP8 cleanusp.
|
2015-10-28 01:33:26 -04:00 |
|
Roberto Rosario
|
9bbd148497
|
Remove NewDocumentVersionBlockViewTestCase, it belongs in the sources app only.
|
2015-10-25 01:53:32 -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
|
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
|
54ae8bcda5
|
Add GenericViewTestCase and GenericDocumentViewTestCase classes.
|
2015-10-21 20:50:31 -04:00 |
|
Roberto Rosario
|
f739dd54ac
|
Fix document download views. Fixes GL issue #229. Thanks to @ammaranjith for the find and fix idea.
|
2015-10-21 03:38:56 -04:00 |
|
Roberto Rosario
|
0cf963c19f
|
Make user or admin login more explicit in the documents apps view tests.
|
2015-10-21 00:52:19 -04:00 |
|
Roberto Rosario
|
df7a5c6e1c
|
Reorganize tests literals and move then to their respective apps.
|
2015-10-20 21:14:07 -04:00 |
|
Roberto Rosario
|
9fbc8647b8
|
Fix document list generation for the document's type change views. Move type change event and recent document addition to the models. Add view tests for the document's type change views.
|
2015-10-20 20:03:54 -04:00 |
|
Roberto Rosario
|
64faa0ca15
|
Fix documents app view tests. Update code to match code style. PEP8 fixes.
|
2015-10-19 01:54:37 -04:00 |
|
Roberto Rosario
|
3e3eca4c0e
|
Update all tests to use setting value overriding.
|
2015-09-06 04:01:40 -04:00 |
|
Roberto Rosario
|
683e54fea1
|
Replace unused lists with tuples.
|
2015-08-19 13:57:38 -04:00 |
|
Roberto Rosario
|
4fb86fba14
|
Re-estructure tests to cleanup the apps' namespace.
|
2015-08-18 23:06:26 -04:00 |
|