Commit Graph

529 Commits

Author SHA1 Message Date
Roberto Rosario
34311fb17e Cleanups, permissions separation into explicit module, absolute import update 2012-01-02 03:48:26 -04:00
Roberto Rosario
600ba153af Merge branch 'feature/document_signature_app' into feature/ACL_support_w_permission_refactor
Conflicts:
	apps/django_gpg/__init__.py
	apps/django_gpg/views.py
	apps/tags/__init__.py
2012-01-01 20:50:28 -04:00
Roberto Rosario
51464c910b Move more signature functionality to the document signature app 2011-12-31 03:26:25 -04:00
Roberto Rosario
3705007330 Move comments and tags manager statements to their respective apps 2011-12-31 00:22:20 -04:00
Roberto Rosario
c2419e63df Move document signature handling to the new document signature app 2011-12-25 16:08:03 -04:00
Roberto Rosario
eb9fb7141d Simplify multi document views access checking logic 2011-12-25 03:21:22 -04:00
Roberto Rosario
5c74313948 Removed remarked code 2011-12-25 03:21:01 -04:00
Roberto Rosario
e7c7ec0636 Remove remarked code 2011-12-24 01:16:32 -04:00
Roberto Rosario
c187e77acc Fix document_clear_transformations and document_delete multi document ACL calculation 2011-12-24 01:10:10 -04:00
Roberto Rosario
54cb1d29e3 Remove the requirement for global permission for the document view and document recent view
User may not have the global permission, but still have permission to view certain documents via ACL
2011-12-24 01:08:57 -04:00
Roberto Rosario
4c17910e8c Conver object_list view to use AccessEntry.objects.filter_objects_by_access for simplicity 2011-12-19 23:48:46 -04:00
Roberto Rosario
5a6414e044 Add document creation, versioning and signature test w/ sample document, signed document and detached signature 2011-12-18 01:21:09 -04:00
Roberto Rosario
c7d1f9aae1 Enable document type permissions 2011-12-17 19:47:17 -04:00
Roberto Rosario
367180a3ec Add document type permissions 2011-12-17 19:45:54 -04:00
Roberto Rosario
405eedfeb2 Add document level access control 2011-12-17 19:45:41 -04:00
Roberto Rosario
b1c495e22a Merge branch 'development' into feature/ACL_support_Default_class_ACL 2011-12-13 15:02:43 -04:00
Roberto Rosario
4c86a9823a Remove db_index from TextField class fields, this closes issue #12 2011-12-13 13:00:19 -04:00
Roberto Rosario
4c57c788f5 Add documents app class_permissions for Document class 2011-12-13 11:49:21 -04:00
Roberto Rosario
c5518c222a Update the documents app to use the new class based permissions 2011-12-08 16:49:11 -04:00
Roberto Rosario
cf3e07d728 Initial Italian language sync 2011-12-07 15:53:04 -04:00
Roberto Rosario
30f668b876 Fix statistics 2011-12-07 04:51:50 -04:00
Roberto Rosario
5f3656c43f Call the correct gpg method 2011-12-07 04:23:02 -04:00
Roberto Rosario
6bf8a3df10 Fix document delete regresion 2011-12-07 04:22:34 -04:00
Roberto Rosario
6b87c8fab1 Remove the filename re use checkbox from the document edit form 2011-12-06 02:05:05 -04:00
Roberto Rosario
11edaaf4e7 Added signature file to the document model and the related method to add, verify and open the signature file 2011-12-06 01:49:45 -04:00
Roberto Rosario
2b6530d9d3 Use cStringIO whenever possible 2011-12-05 22:49:24 -04:00
Roberto Rosario
3b943af6d8 Update translation files 2011-12-05 13:55:33 -04:00
Roberto Rosario
f5211313b7 Dont fetch public keys when creating document version 2011-12-05 13:35:15 -04:00
Roberto Rosario
292d3ffc3d Dont import deprecated 'get_encoding', simplify decrypted data encapsulation 2011-12-05 07:28:02 -04:00
Roberto Rosario
a32b92b5fc Add signature state field to the Document model, update it whenever a new version is added, use it to return the raw or the decrypted content when calling the open method 2011-12-05 06:54:41 -04:00
Roberto Rosario
7ed3b329dc Fix document main menu highlighting 2011-12-05 06:54:03 -04:00
Roberto Rosario
ba5b54e1aa Add migration to add the signature state field to the Document model 2011-12-05 06:51:26 -04:00
Roberto Rosario
24f443fe1a Improve document version views navigation and active menu feedback 2011-12-04 06:16:37 -04:00
Roberto Rosario
071139c5bf Add document signature verification app 2011-12-04 05:52:09 -04:00
Roberto Rosario
071fed8996 Add new version upload option to use new file filename as the document filename 2011-12-04 03:21:34 -04:00
Roberto Rosario
f5c3fa21d7 Add a size property to the DocumentVersion model 2011-12-04 02:44:08 -04:00
Roberto Rosario
fafadfaca2 Fix document print view 2011-12-04 02:37:11 -04:00
Roberto Rosario
64e73a9c9d Update the 'invalidate_cached_image' to supply a version pk as now required by the version aware 'get_cached_image_name' method 2011-12-04 02:20:44 -04:00
Roberto Rosario
03620f5331 Update the 'find duplicates' view to work with document versions 2011-12-04 02:15:57 -04:00
Roberto Rosario
73950ef750 Disable the revert link for the current version of a document 2011-12-04 02:01:48 -04:00
Roberto Rosario
2d119b853f Update the 'get_document_image' view to be version aware 2011-12-04 02:01:24 -04:00
Roberto Rosario
255cb8eaf2 Updated the smart document widget to be version aware 2011-12-04 02:00:28 -04:00
Roberto Rosario
7de09aae0f Add version support to the document image generation code 2011-12-04 02:00:04 -04:00
Roberto Rosario
2ec134e172 Add document version revert support 2011-12-04 01:11:12 -04:00
Roberto Rosario
c3eaacb6c6 Make document date_added not editable, fix document version delete method, add revert method to document version 2011-12-04 01:10:10 -04:00
Roberto Rosario
aa66085165 Update the document list view, the page update view and the remaining references of 'file_filename' to 'filename' 2011-12-04 00:01:21 -04:00
Roberto Rosario
43b17456d1 Remove the auto_add_now property from the date_added document field 2011-12-03 23:42:29 -04:00
Roberto Rosario
986b7e39e4 Fix the new version fields in the upload form 2011-12-03 23:37:00 -04:00
Roberto Rosario
e81a02b18d Improve document multi version migrations 2011-12-03 23:29:52 -04:00
Roberto Rosario
699f7e7caa Update document page navigation views to use the new 'siblings' DocumentPage method 2011-12-03 20:44:04 -04:00