Commit Graph

1552 Commits

Author SHA1 Message Date
Roberto Rosario
8c19caa37a Initial translation for the acls app 2012-01-02 05:58:49 -04:00
Roberto Rosario
6fd2f02e6a Fix translation related acl app name typo 2012-01-02 05:46:29 -04:00
Roberto Rosario
655e1aa760 Add the acl app to the translation helper scripts 2012-01-02 05:45:00 -04:00
Roberto Rosario
0389b1af14 Add the acl app to the transifex resource file 2012-01-02 05:44:44 -04:00
Roberto Rosario
2cd91baa33 Initial translation files for the acl app 2012-01-02 05:43:33 -04:00
Roberto Rosario
e3f01cba81 Fix the folder document remove view 2012-01-02 05:41:55 -04:00
Roberto Rosario
7a14cd1854 Add the remove_document method to the Folder class 2012-01-02 05:41:30 -04:00
Roberto Rosario
14ac963fca Update import type to use () instead of newline char 2012-01-02 05:40:58 -04:00
Roberto Rosario
46c40ea7ba Update acls app view module to use absolute importers, improve text formating so that ugettext doesn't complain 2012-01-02 05:40:15 -04:00
Roberto Rosario
b82aa2ccfc Update the acl app to use absolute imports, rename the acl_detail link text from edit to details, fix class default acl links permissions 2012-01-02 05:39:11 -04:00
Roberto Rosario
83551c9b90 Move django_gpg permissions to a separate file 2012-01-02 03:49:19 -04:00
Roberto Rosario
34311fb17e Cleanups, permissions separation into explicit module, absolute import update 2012-01-02 03:48:26 -04:00
Roberto Rosario
2781a211ec Language translation updates 2012-01-02 01:47:14 -04:00
Roberto Rosario
1c0a52c931 Update document signatures app to use the new class based permissions 2012-01-01 20:50:46 -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
d54ec02b83 Add schema and data migrations for the new document signatures app 2012-01-01 20:39:41 -04:00
Roberto Rosario
a70b12b488 Removed remarked code 2012-01-01 20:26:31 -04:00
Roberto Rosario
6864f14269 PEP8 Cleanups 2012-01-01 20:26:16 -04:00
Roberto Rosario
722f70029b Add document signatures app to the transifex resource file 2012-01-01 20:16:55 -04:00
Roberto Rosario
8c49bf1aa1 Add the document signatures app to the translation helper scripts 2012-01-01 20:16:35 -04:00
Roberto Rosario
992f470039 Add translation file for the new document_signatures app 2012-01-01 20:14:58 -04:00
Roberto Rosario
796475dfd9 Update file access to be smarter and accept either file like objects of file names, use less code to do so too 2012-01-01 20:12:13 -04:00
Roberto Rosario
6cafb394e9 Move manager code to a new managers.py file 2012-01-01 20:11:40 -04:00
Roberto Rosario
3de53dccfa Added document_post_save signal to detect is a document has a signature, improve the pre_open_hook, and added logging 2012-01-01 20:10:52 -04:00
Roberto Rosario
9e71b0bbc5 Don't mask upload errors when the DEBUG flas is True 2011-12-31 03:27:29 -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
c0fbec0f8e Add and enable new document singatures app 2011-12-25 16:08:28 -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
d9621dfb1f Add new document signature app 2011-12-25 16:07:45 -04:00
Roberto Rosario
0f12364e0c Add ACLS_EDIT_ACL and ACLS_VIEW_ACL pero object access check 2011-12-25 03:23:44 -04:00
Roberto Rosario
7e9fbf4f47 Add ACL support to the linking app, convert import to absolute 2011-12-25 03:22:05 -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
53bf3d940d Added logging to the acls tag 2011-12-25 03:20:16 -04:00
Roberto Rosario
8ab692ddc8 Use self.content_type.model instead of name, rename holder to actor, add get_class_permission to the AccessEntry manager, Encapsulation class decapsulation for AccessEntry manager methods, add exception_on_empty to raise PermissionDenied when the result of a filtered list is empty 2011-12-25 03:19:34 -04:00
Roberto Rosario
b39a5bc903 Fix folder app ACL navigation 2011-12-25 03:16:54 -04:00
Roberto Rosario
a9c5caa994 Add the __str__ method and stored_permission proxy property to the Permission class 2011-12-25 03:15:41 -04:00
Roberto Rosario
de49d4a588 Pass a copy of the entire context to the navigation subtemplate when calling it from sublist template 2011-12-25 03:14:19 -04:00
Roberto Rosario
80fab8b70d Add and enable the new PERMISSION_DOCUMENT_NEW_VERSION permission 2011-12-25 03:13:17 -04:00
Roberto Rosario
3b884e8c8a Update get_allowed_class_objects to return a generator instead of a list, filter_objects_by_access to try return to return a queryset and failing that return a filtered list 2011-12-24 01:16:53 -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
c4508f486b Update folder_view view to use document_list view, fix all absolute related import problems 2011-12-20 02:32:43 -04:00
Roberto Rosario
f82a5091ed Update navigation tag to enable ACLs to work with list's items 2011-12-20 02:31:18 -04:00
Roberto Rosario
0fa3a07a73 Improve acl tag logic 2011-12-20 02:31:01 -04:00
Roberto Rosario
fed62fb3c3 Rever to absolute import until circular import error is found 2011-12-19 23:54:29 -04:00
Roberto Rosario
2afeabf03e Update folders app to use relative import, move permission to a separate file, import acl usage 2011-12-19 23:49:33 -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