Commit Graph

1336 Commits

Author SHA1 Message Date
Roberto Rosario
4b3a446d4a Improve metadata app navigation feedback 2012-01-17 15:15:43 -04:00
Roberto Rosario
665ec099a9 Add anonymous user support to the role member add and remove views 2012-01-09 08:33:44 -04:00
Roberto Rosario
8216953bed Add anonymous user content type support to RoleMembers class 2012-01-09 08:33:20 -04:00
Roberto Rosario
fe9db003d2 Improve navigation feedback when granting or revoking a role permission 2012-01-09 08:32:49 -04:00
Roberto Rosario
3b3b29cb99 Update the role member add and removal views to use option groups and Role class methods 2012-01-09 08:13:42 -04:00
Roberto Rosario
4da328612d Add option group support to the assign_remove view 2012-01-09 08:12:50 -04:00
Roberto Rosario
9fae7269a6 Move Role class processing from the views to the model as methods 2012-01-09 08:11:59 -04:00
Roberto Rosario
c330c422b7 Remove app specific ACL new holder links, urls and views 2012-01-09 06:42:35 -04:00
Roberto Rosario
351784a210 Add generic 'new holder' link 2012-01-09 06:41:58 -04:00
Roberto Rosario
304ea15f9e Add sidebar link support for multiple navigation objects 2012-01-09 06:41:06 -04:00
Roberto Rosario
239d59ca0c Remove decrepated context arguments 2012-01-09 04:56:32 -04:00
Roberto Rosario
5230b9ca53 Improve permission granting and revoking messages, improve navigation feedback 2012-01-09 04:51:01 -04:00
Roberto Rosario
86147c234b Add 'get_classes' to the DefaultAccessEntry class 2012-01-09 04:49:52 -04:00
Roberto Rosario
af962f5998 Add content type icon mapping for anonymous user 2012-01-09 04:49:10 -04:00
Roberto Rosario
a7f1e081c1 Refactor the EncapsulatedObject class 'encapsulate' method 2012-01-09 04:48:17 -04:00
Roberto Rosario
77400fc42f Make api module not dependant on any other 2012-01-09 04:47:41 -04:00
Roberto Rosario
4aad4efad3 Navigation feedback improvements for a few apps 2012-01-09 04:46:46 -04:00
Roberto Rosario
014ca49a7c Call the correct function to get list of registered classes for acl 2012-01-09 02:23:01 -04:00
Roberto Rosario
a2e00b7776 Use content type model name and not name when mapping content types to icons 2012-01-09 02:22:25 -04:00
Roberto Rosario
071da14330 Remove moved method and unused import 2012-01-09 02:22:04 -04:00
Roberto Rosario
78c99c7700 Add tags and smartlinks icon mappings 2012-01-09 02:21:17 -04:00
Roberto Rosario
6e24b56e0e Add missing capfirst import 2012-01-09 02:21:01 -04:00
Roberto Rosario
7aabd7a1cc Add 'get_classes' function to acls.api, add function docstrings 2012-01-09 02:20:27 -04:00
Roberto Rosario
78207be926 Updated translation source files for the common app 2012-01-08 07:40:00 -04:00
Roberto Rosario
a088590073 Process horizontal list links with the same logic as all other links 2012-01-08 07:38:12 -04:00
Roberto Rosario
ac8678b741 Add absolute importing 2012-01-08 07:37:48 -04:00
Roberto Rosario
c897fa169d Restrict file format list view to superusers and staff 2012-01-08 07:36:32 -04:00
Roberto Rosario
1039b80831 Remove commented code 2012-01-08 07:36:07 -04:00
Roberto Rosario
abd408812f Restrict statistics access to superusers and staff only 2012-01-08 07:35:40 -04:00
Roberto Rosario
7ea9033c02 Change the default return value of the acl tag to False if there is no navigation object available
* This fixes the creation views links for the anonymous users
2012-01-08 06:51:32 -04:00
Roberto Rosario
191386038c Don't update recent documents for anonymous users 2012-01-08 06:50:35 -04:00
Roberto Rosario
9e43b1bd7d Remove FOLDER VIEW permission from the folder list view link
This view is filtered by ACL
2012-01-08 06:49:50 -04:00
Roberto Rosario
14dbeb4266 Remove AnonymousUser class checking 2012-01-08 06:49:26 -04:00
Roberto Rosario
fac43006e3 Add translable return text to the anonymous user singleton __unicode__ method 2012-01-08 06:48:45 -04:00
Roberto Rosario
4db37003d9 Call the proper method when adding anonymous user singleton to the new holder list 2012-01-08 06:48:01 -04:00
Roberto Rosario
51a6abaf11 Add context variable setting helper template tag 2012-01-08 04:59:16 -04:00
Roberto Rosario
3ef44b3d32 Update logout action to not redirect on logout 2012-01-08 04:58:42 -04:00
Roberto Rosario
45031022b6 Update COMMON_ALLOW_ANONYMOUS_ACCESS description wording 2012-01-08 04:58:22 -04:00
Roberto Rosario
c3175c7ea4 Add anonymous user support to the permission app 2012-01-08 04:57:54 -04:00
Roberto Rosario
7fd83ddf0b Fix import format 2012-01-08 04:57:02 -04:00
Roberto Rosario
f2a263adb7 Move tag model column registration to the tags app 2012-01-08 04:55:54 -04:00
Roberto Rosario
c2fcbfe299 Add COMMON_ALLOW_ANONYMOUS_ACCESS configuration option to allow access to non authenticated users 2012-01-08 04:54:15 -04:00
Roberto Rosario
467be05baa Select the proper web theme display mode based on the user authentication status 2012-01-08 04:42:01 -04:00
Roberto Rosario
9d73c10b7b Invert authentication test logic from is_anonymous to not is_authenticated
From: http://gdub.wordpress.com/2006/09/23/is_authenticated-vs-is_anonymous/
2012-01-08 04:41:07 -04:00
Roberto Rosario
be1658505c Use a context variable (web_theme_view_type) to determine the web theme view mode instead of using the user login status 2012-01-08 04:40:02 -04:00
Roberto Rosario
0c02ac7d40 Add anonymous user support to the dynamic search app's Savedsearch model manager method 2012-01-07 23:36:41 -04:00
Roberto Rosario
cbc94e484f Add anonymous user support to the Permission manager models 2012-01-07 23:36:07 -04:00
Roberto Rosario
85875be859 Add further auto admin creation cleanups 2012-01-07 23:33:31 -04:00
Roberto Rosario
c7ee18af85 Add anonymous user support to the 'get_object_name' function 2012-01-07 23:33:09 -04:00
Roberto Rosario
4931d9bf49 Update recent document list view to user the 'get_for_user' RecentDocument manager method 2012-01-07 23:30:58 -04:00