Commit Graph

4000 Commits

Author SHA1 Message Date
Roberto Rosario
c6ec9fbc33 Rebalance permissions. 2015-07-01 20:58:16 -04:00
Roberto Rosario
fd11a15bf3 Conver folder list and document folder list views to CBV. 2015-07-01 20:57:55 -04:00
Roberto Rosario
e0d38d316a Change tag list, tag documents and document's tags list views to CBV. Link tag_view permission to documents, used to allow showing a document's tags in addition to allowing general tags in the tag list view. 2015-07-01 20:33:23 -04:00
Roberto Rosario
ea0d724ede Don't display number of documents in a tag, causes extra query, give information even if user is not allowed to see which documents are tagged can now if there are documents tagged. 2015-07-01 17:24:39 -04:00
Roberto Rosario
b5d2ebc781 Replace user list and group list views with CBVs. 2015-07-01 17:11:18 -04:00
Roberto Rosario
23fda5561e Propery filter documents queryset on CBV that return a list of documents. 2015-07-01 17:01:41 -04:00
Roberto Rosario
f0cfe314f0 PEP8 cleanups 2015-07-01 16:45:33 -04:00
Roberto Rosario
ace76fc69c Update apps for new ACLs refactor. 2015-07-01 16:36:20 -04:00
Roberto Rosario
8a501c2c27 Reduce smart link code by using a proxy model. 2015-07-01 16:35:38 -04:00
Roberto Rosario
49f86cd331 Finish refactoring access control list's queryset filtering by access level code. 2015-07-01 16:33:07 -04:00
Roberto Rosario
9105fdf0fa Update release notes 2015-07-01 02:53:26 -04:00
Roberto Rosario
f65fb2cd6c Remove anonymous user support 2015-07-01 02:45:58 -04:00
Roberto Rosario
48a4e95cf0 Serve more fonts locally 2015-07-01 02:33:29 -04:00
Roberto Rosario
5229635026 Serve the fonts locally 2015-07-01 02:28:16 -04:00
Roberto Rosario
8969bb6591 Update jquery version 2015-07-01 02:08:45 -04:00
Roberto Rosario
96d05cf12f Update link text for clarity 2015-06-30 22:00:37 -04:00
Roberto Rosario
ee1b05fb57 Refactor code to associate a model with a set of permissions. Update related apps. 2015-06-30 22:00:14 -04:00
Roberto Rosario
6ceb71d0b3 Rename metadata parsers to metadata validators. Fix validators calling method, import and instance, instead previous key based lookup. 2015-06-30 17:35:35 -04:00
Roberto Rosario
c7953a1cfb Improve document upload wizard title messages 2015-06-30 17:35:16 -04:00
Roberto Rosario
e9ea2dc35a Modernize usage of the AssignRemove CBV 2015-06-30 17:19:56 -04:00
Roberto Rosario
0bb8fa2ba9 Add exception, check and message when an invalid permission namespace is requested. 2015-06-30 16:48:27 -04:00
Roberto Rosario
060033b41c Fix typo 2015-06-30 02:46:56 -04:00
Roberto Rosario
8cff91ab5f Remove unused forms 2015-06-30 02:46:27 -04:00
Roberto Rosario
0e24f8d821 Simplify and remove unused code 2015-06-30 02:43:58 -04:00
Roberto Rosario
eddce6611a Remove permission field from list display columns 2015-06-30 02:43:15 -04:00
Roberto Rosario
d45cf5d02e Update apps to new ACL app changes 2015-06-30 02:42:46 -04:00
Roberto Rosario
c6cdafb12a Update namespace label for clarity 2015-06-30 02:39:20 -04:00
Roberto Rosario
576463535f Add view permission and object permission mixins to the AssignRemove CBV 2015-06-30 02:38:50 -04:00
Roberto Rosario
070c3b648c Refactor acls app 2015-06-30 02:38:22 -04:00
Roberto Rosario
29447f16f4 Add management command to purge obsolete permissions from the database 2015-06-29 17:12:18 -04:00
Roberto Rosario
a68be31e52 Remove unused permissions check code 2015-06-29 16:58:46 -04:00
Roberto Rosario
750c86e41c Remove obsolete 403 template 2015-06-29 16:58:04 -04:00
Roberto Rosario
cbfc840466 Remove specialized middleware to show custom 403 error, not needed with recent Django versions. 2015-06-29 16:57:20 -04:00
Roberto Rosario
5be41af1cf Remove DefaultAccessControlList support 2015-06-29 14:51:37 -04:00
Roberto Rosario
3d1b030f95 Remove obsolete class Member 2015-06-29 14:30:03 -04:00
Roberto Rosario
220e142eb2 Remove obsolete module 2015-06-29 14:29:43 -04:00
Roberto Rosario
5d3f8e19ea Remove unused module 2015-06-29 14:26:29 -04:00
Roberto Rosario
88ddb1b1d6 Use repeatable id to cache stored permissions 2015-06-29 14:26:06 -04:00
Roberto Rosario
12c47027a6 Remove unused CSS class 2015-06-29 14:21:42 -04:00
Roberto Rosario
f326007f40 Update links labels to uppercase 2015-06-29 14:19:06 -04:00
Roberto Rosario
3754f45001 Reduce checked out document column label string size. Refactor roles: roles can only have groups as members, only roles can hold permissions. 2015-06-29 14:07:02 -04:00
Roberto Rosario
560e469e8c Reduce horizontal ruler margins. 2015-06-29 14:03:48 -04:00
Roberto Rosario
7122a38807 Force implementation methods when subclassing. Hide labels, they don't add any important information. 2015-06-29 14:02:46 -04:00
Roberto Rosario
02761cda25 Remove link to Django's admin site. User are discouraged to change entries directly in the database. 2015-06-29 14:01:52 -04:00
Roberto Rosario
1c084aa07b Split Permission and StoredPermission class and model into different modules. Simplified the Permission class. 2015-06-28 01:03:29 -04:00
Roberto Rosario
d26402974a Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals). 2015-06-28 00:19:49 -04:00
Roberto Rosario
956ca08cbd Fix converter backend 2015-06-27 23:32:52 -04:00
Roberto Rosario
48df3dcafa PEP8 cleanups 2015-06-24 17:11:24 -04:00
Roberto Rosario
dd9b196110 Update release notes 2015-06-24 15:20:07 -04:00
Roberto Rosario
e9282132e5 Split search field registration to their respective apps 2015-06-24 15:19:51 -04:00