Fri, 13 Feb 2009 22:36:45 +0000 Update the copyright notice for 2009.
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 22:36:45 +0000] rev 1307
Update the copyright notice for 2009. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:54:35 +0000 Fix ToS link
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:54:35 +0000] rev 1306
Fix ToS link s/Terms/Google App Engine Terms/ Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:54:10 +0000 Do access checks on the pick url for documents
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:54:10 +0000] rev 1305
Do access checks on the pick url for documents Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:53:42 +0000 Convert the QueryDict to a regular dictionary
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:53:42 +0000] rev 1304
Convert the QueryDict to a regular dictionary This way we support a query with multiple args specified. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:53:15 +0000 Add prefix filtering and refactored program field generation
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:53:15 +0000] rev 1303
Add prefix filtering and refactored program field generation Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:52:38 +0000 We generate the select url ourselves, so it's safe
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:52:38 +0000] rev 1302
We generate the select url ourselves, so it's safe This prevented urls with an & in it to be correctly generated. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:52:10 +0000 Added a filter_fields parameter to the ReferenceField widget
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:52:10 +0000] rev 1301
Added a filter_fields parameter to the ReferenceField widget This paramater makes it possible to do 'hard coded' filtering. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:51:41 +0000 Factor out the hasMembership method from checkMembership
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:51:41 +0000] rev 1300
Factor out the hasMembership method from checkMembership This makes it possible for the document picker to reuse it. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 21:51:16 +0000 Add a getMemberships method to logic/rights.py
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:51:16 +0000] rev 1299
Add a getMemberships method to logic/rights.py This will be used by the document picker ACL checks. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 19:22:34 +0000 Fixes as requested by Leslie on behalf of the Legal team
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 19:22:34 +0000] rev 1298
Fixes as requested by Leslie on behalf of the Legal team Upped the copyright statement from 2008 to 2009, and link to the GAE Terms of Service instead of any custom ToS. Patch by: Sverre Rabbelier
Fri, 13 Feb 2009 17:34:29 +0000 Added number of applications and their type to the bulkaccept JSON object.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 17:34:29 +0000] rev 1297
Added number of applications and their type to the bulkaccept JSON object. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 13 Feb 2009 16:40:02 +0000 Implemented the 2nd part of bulk acceptance.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 16:40:02 +0000] rev 1296
Implemented the 2nd part of bulk acceptance. The context of the _list call can now be set by using the kwarg context. This will be merged with the universalcontext. Added a TODO to create the organziation accepted email template. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 13 Feb 2009 13:35:31 +0000 Document prefix in params now defaults to url_name.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 13:35:31 +0000] rev 1295
Document prefix in params now defaults to url_name. This is because the short name does not have to be url friendly. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 13 Feb 2009 13:33:31 +0000 Added bulk_accept view which returns a JSON object.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 13:33:31 +0000] rev 1294
Added bulk_accept view which returns a JSON object. This is going to be used to bulk accept org applications. Also added a new unfinished template so Merio can test his JS. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 13 Feb 2009 11:46:06 +0000 Only a club admin should see resign as club admin in the sidebar.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 11:46:06 +0000] rev 1293
Only a club admin should see resign as club admin in the sidebar. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 23:35:44 +0000 Fixed a bug in club and org logic.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:35:44 +0000] rev 1292
Fixed a bug in club and org logic. This bug would give an error when no backup was set. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 23:26:23 +0000 Fixed a bug in group_app templates.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:26:23 +0000] rev 1291
Fixed a bug in group_app templates. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 23:14:07 +0000 Brown Paper Bag Fix: L2R Appspot error logs.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:14:07 +0000] rev 1290
Brown Paper Bag Fix: L2R Appspot error logs. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 23:12:09 +0000 Fixed a bug in group_app view.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:12:09 +0000] rev 1289
Fixed a bug in group_app view. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 23:06:14 +0000 Returning None instead of the empty to fix a bug on melange-demo instance.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:06:14 +0000] rev 1288
Returning None instead of the empty to fix a bug on melange-demo instance. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 22:52:16 +0000 Added check_field_is_empty decorator to cleaning.py.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 22:52:16 +0000] rev 1287
Added check_field_is_empty decorator to cleaning.py. This makes sure the cleaning checks are skipped when a field is empty. Note that Djanog will raise it's own ValidationError when a required field is empty before attempting to clean it. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed.
Thu, 12 Feb 2009 22:20:13 +0000 Org App review page now shows accept and pre-accept button.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 22:20:13 +0000] rev 1286
Org App review page now shows accept and pre-accept button. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 21:25:00 +0000 Fixed comment and typo in cleaning.py.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 21:25:00 +0000] rev 1285
Fixed comment and typo in cleaning.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 12 Feb 2009 20:15:20 +0000 Add ToS agreement to mentor application related forms.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:15:20 +0000] rev 1284
Add ToS agreement to mentor application related forms. Patch by: Sverre Rabbelier
Thu, 12 Feb 2009 20:14:51 +0000 Add ToS agreement to org_admin application related forms.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:14:51 +0000] rev 1283
Add ToS agreement to org_admin application related forms. Patch by: Sverre Rabbelier
Thu, 12 Feb 2009 20:14:17 +0000 Do not attempt to render a field if it is disabled
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:14:17 +0000] rev 1282
Do not attempt to render a field if it is disabled This is required to make it possible to disable fields dynamically. Patch by: Sverre Rabbelier
Thu, 12 Feb 2009 20:13:51 +0000 Program requires the filter to be set to __scoped__
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:13:51 +0000] rev 1281
Program requires the filter to be set to __scoped__ Patch by: Sverre Rabbelier
Thu, 12 Feb 2009 20:13:27 +0000 Disable clubs for now
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:13:27 +0000] rev 1280
Disable clubs for now Disabling the clubs in this way is a lot easier than adding a switch for it in Site Settings, and probably safer too (as the urls are no longer valid). Patch by: Sverre Rabbelier
Thu, 12 Feb 2009 12:58:26 +0000 App Engine 1.1.9 update breaks django 1.0. Monkey patch django to only check for SVN revision number when not running using dev_appserver. On deployed version this doesn't apply since we use django from zipped file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 12 Feb 2009 12:58:26 +0000] rev 1279
App Engine 1.1.9 update breaks django 1.0. Monkey patch django to only check for SVN revision number when not running using dev_appserver. On deployed version this doesn't apply since we use django from zipped file. This issue was discussed here: http://groups.google.com/group/codereview-discuss/browse_thread/thread/a7ab6ceb39c09ce6 http://groups.google.com/group/google-appengine/browse_thread/thread/bbdebf8617b57512 Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 12 Feb 2009 12:30:36 +0000 Load /Users/solydzajs/Downloads/google_appengine into
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 12 Feb 2009 12:30:36 +0000] rev 1278
Load /Users/solydzajs/Downloads/google_appengine into trunk/thirdparty/google_appengine.
Thu, 12 Feb 2009 10:24:37 +0000 Removed unused argument in program.py
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 10:24:37 +0000] rev 1277
Removed unused argument in program.py Patch by: Sverre Rabbelier
Thu, 12 Feb 2009 00:04:32 +0000 Initial implementation of a ToS requirement in org_app
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 00:04:32 +0000] rev 1276
Initial implementation of a ToS requirement in org_app If the _editContext method can be made generic enough, it should be easy to add ToSes to other forms. This solution should also be applied to user_self, as the current implementation is not very clean to say the least. Patch By: Sverre Rabbelier
Thu, 12 Feb 2009 00:02:06 +0000 Added an AgreementField widget
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 00:02:06 +0000] rev 1275
Added an AgreementField widget Displays an Agreement Document in a scrolling text field. The text of the document can be set by modifying the 'text' property. Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:59:41 +0000 Rename TinyMCE to FullTinyMCE and add TinyMCE widget
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:59:41 +0000] rev 1274
Rename TinyMCE to FullTinyMCE and add TinyMCE widget The FullTinyMCE (irony intended) is the full-fledged editor, usefull in editing documents etc. The regular TinyMCE widget can be used for smaller tasks that allow HTML input (such as the description field). Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:57:08 +0000 Use the newly added __scoped__ and references for program's ToSes
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:57:08 +0000] rev 1273
Use the newly added __scoped__ and references for program's ToSes This fixes the ToSes autocompletion and 'enables' them. Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:54:41 +0000 Added an agreed_to_admin_agreement property
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:54:41 +0000] rev 1272
Added an agreed_to_admin_agreement property Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:52:11 +0000 Add '__scoped__' as a special filter
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:52:11 +0000] rev 1271
Add '__scoped__' as a special filter It sets the scope_path to the entity's key().value(). Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:49:44 +0000 Fields are always safe, as we generate them ourselves
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:49:44 +0000] rev 1270
Fields are always safe, as we generate them ourselves This will be used by a future widget. Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:47:13 +0000 Add an _editContext hook
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:47:13 +0000] rev 1269
Add an _editContext hook Usefull when one wants to have a hook that will always be called. Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:44:38 +0000 Resolve references if they are specified
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:44:38 +0000] rev 1268
Resolve references if they are specified All views sould make use of this instead of doing it manually in _editGet and _editPost. Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 23:42:03 +0000 Make it possible to put fields at the end of the form
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:42:03 +0000] rev 1267
Make it possible to put fields at the end of the form This is usefull for Terms of Service etc. Patch by: Sverre Rabbelier
Wed, 11 Feb 2009 20:55:17 +0000 Changed the access checks for organization.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:55:17 +0000] rev 1266
Changed the access checks for organization. This should allow normal users to use organizations as well. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 11 Feb 2009 20:10:53 +0000 Added allowsidebar to checkIsDocumentReadable.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:10:53 +0000] rev 1265
Added allowsidebar to checkIsDocumentReadable. Note that this means that documents you can't actually read might show up in the sidebar. A todo has been added to fix this. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 11 Feb 2009 20:05:33 +0000 Added organization entity sidebar entries.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:05:33 +0000] rev 1264
Added organization entity sidebar entries. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 11 Feb 2009 20:04:29 +0000 Fixed a bug in access.py that made it impossible to show featured documents in the sidebar.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:04:29 +0000] rev 1263
Fixed a bug in access.py that made it impossible to show featured documents in the sidebar. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 11 Feb 2009 20:02:46 +0000 Changed document to also filter on the prefix when getting the documents for a scope.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:02:46 +0000] rev 1262
Changed document to also filter on the prefix when getting the documents for a scope. For this to work the organization prefix is now org. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 11 Feb 2009 19:59:27 +0000 Fixed a typo in org_admin model.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 19:59:27 +0000] rev 1261
Fixed a typo in org_admin model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 10 Feb 2009 23:13:06 +0000 Added Agreement properties to Program Model.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Feb 2009 23:13:06 +0000] rev 1260
Added Agreement properties to Program Model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 09 Feb 2009 16:17:25 +0000 Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090209 release candidate branch has been created.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Feb 2009 16:17:25 +0000] rev 1259
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090209 release candidate branch has been created. Patch by: Pawel Solyga
Mon, 09 Feb 2009 15:58:17 +0000 Set RELEASE_TAG to 0.2-20090209rc for release candidate.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Feb 2009 15:58:17 +0000] rev 1258
Set RELEASE_TAG to 0.2-20090209rc for release candidate. Patch by: Pawel Solyga
Mon, 09 Feb 2009 00:02:07 +0000 Added a button to list all your org applications to a speficic program menu.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 09 Feb 2009 00:02:07 +0000] rev 1257
Added a button to list all your org applications to a speficic program menu. The entry only shows up when orgs can apply. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 08 Feb 2009 23:56:56 +0000 Put the tos extra_dynaexclude in presence_with_tos.py where it belongs.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:56:56 +0000] rev 1256
Put the tos extra_dynaexclude in presence_with_tos.py where it belongs. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 08 Feb 2009 23:55:44 +0000 Redone the listing in group_app.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:55:44 +0000] rev 1255
Redone the listing in group_app.py. There is now a list_self that only shows the group application of the current user in the given a scope. The redirects point to edit or applicant when necessary. Review_overview will show all the group applications that can be reviewed in the given scope, the redirect points to review for all statusses. And list will just show all the group applications and redirect you to edit. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 08 Feb 2009 23:49:29 +0000 Added new redirect for the new list views for group_app's.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:49:29 +0000] rev 1254
Added new redirect for the new list views for group_app's. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 08 Feb 2009 22:57:23 +0000 Fix bug in group_app
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Feb 2009 22:57:23 +0000] rev 1253
Fix bug in group_app Patch by: Sverre Rabbelier
Sun, 08 Feb 2009 11:58:43 +0000 Temp bug fix
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Feb 2009 11:58:43 +0000] rev 1252
Temp bug fix This should be fixed properly at some point. Patch by: Sverre Rabbelier
Sun, 08 Feb 2009 03:36:05 +0000 Add myself to authors since I was missing.
Augie Fackler <durin42@gmail.com> [Sun, 08 Feb 2009 03:36:05 +0000] rev 1251
Add myself to authors since I was missing. (Also, a test commit for buildbot) Patch By: Augie Fackler <durin42@gmail.com> Review By: TBR
Sat, 07 Feb 2009 23:26:38 +0000 Fixed access checkers for orgs
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 23:26:38 +0000] rev 1250
Fixed access checkers for orgs Patch by: Sverre Rabbelier, Lennard de Rijk
Sat, 07 Feb 2009 22:56:15 +0000 Remove unneeded stylesheet and js and fix notification area
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:56:15 +0000] rev 1249
Remove unneeded stylesheet and js and fix notification area Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 22:49:51 +0000 Rename checkHasActiveRole to checkHasActiveRoleForScope
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:49:51 +0000] rev 1248
Rename checkHasActiveRole to checkHasActiveRoleForScope This is to prepare for a checker that checks if the user has any such role, regardless of scope. Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 22:47:51 +0000 If there is no user account, don't show New Document link under Site
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:47:51 +0000] rev 1247
If there is no user account, don't show New Document link under Site Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 22:10:19 +0000 Fixing r1855 that was bugged by Tortoise ^_^.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 22:10:19 +0000] rev 1246
Fixing r1855 that was bugged by Tortoise ^_^. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 07 Feb 2009 21:48:02 +0000 Fixed broken autocomplete due to wrongly named file
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 21:48:02 +0000] rev 1245
Fixed broken autocomplete due to wrongly named file This should have been in r1852. Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 21:43:27 +0000 Should be part of r1855.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 21:43:27 +0000] rev 1244
Should be part of r1855. FOSDEM got the best of me :). Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 07 Feb 2009 20:44:05 +0000 Use short_name for the header title in a presence's home page
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:44:05 +0000] rev 1243
Use short_name for the header title in a presence's home page Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 20:42:28 +0000 Handle GAE account normalization
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:42:28 +0000] rev 1242
Handle GAE account normalization Also forbid users from going back to a former account. Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 20:40:48 +0000 Pimp TinyMCE widget.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:40:48 +0000] rev 1241
Pimp TinyMCE widget. Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 20:39:08 +0000 Always return a site singleton and fix Edit Site Settings
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:39:08 +0000] rev 1240
Always return a site singleton and fix Edit Site Settings Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 20:37:28 +0000 Stylefixes in access.py and removal of self.deny calls
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:37:28 +0000] rev 1239
Stylefixes in access.py and removal of self.deny calls The result of self.deny() is not very helpfull to the user, as such we should not use it if we can provide a more sensible message. Also made the document access checks use getForKeyFieldsOr404 to prevent an error page when the specified document doesn't exist. Patch by: Sverre Rabbelier
Sat, 07 Feb 2009 13:40:20 +0000 Added scoped group_app listing.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 13:40:20 +0000] rev 1238
Added scoped group_app listing. Also moved the review program applications menuentry to the specific program menu. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 07 Feb 2009 13:36:50 +0000 Added missing comment in access.py and removed excessive whitespace.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 13:36:50 +0000] rev 1237
Added missing comment in access.py and removed excessive whitespace. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 07 Feb 2009 00:50:49 +0000 Hide all *.pyc files in trunk/.
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:50:49 +0000] rev 1236
Hide all *.pyc files in trunk/. r1850 was supposed to be a recursive property change, but was not. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 07 Feb 2009 00:37:28 +0000 Name .js and .css files more consistently with those previously present.
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:37:28 +0000] rev 1235
Name .js and .css files more consistently with those previously present. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 07 Feb 2009 00:34:12 +0000 Add image that appears to be missing from the original thickbox patches.
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:34:12 +0000] rev 1234
Add image that appears to be missing from the original thickbox patches. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 07 Feb 2009 00:21:23 +0000 Hide *.pyc files in trunk/ from 'svn status' output.
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:21:23 +0000] rev 1233
Hide *.pyc files in trunk/ from 'svn status' output. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 06 Feb 2009 10:24:45 +0000 Added pre-accpeted status to group_app.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Feb 2009 10:24:45 +0000] rev 1232
Added pre-accpeted status to group_app. This can be used when we want to accept all org's at once. Instead of one by one. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 06 Feb 2009 10:21:18 +0000 Added some help_text and clarifications to org_app model fields.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Feb 2009 10:21:18 +0000] rev 1231
Added some help_text and clarifications to org_app model fields. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 23:52:27 +0000 Cleanup in org_app and replace ReferenceProperty with LinkProperty
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:52:27 +0000] rev 1230
Cleanup in org_app and replace ReferenceProperty with LinkProperty Using LinkProperty allows the org to host their idea's list on Melange through the Document system, and then specify the URL of that document. This also makes it possible for the orgs to specify a document that is not hosted on Melange. Patch by: Sverre Rabbelier
Thu, 05 Feb 2009 23:49:46 +0000 Refactored the picker so that it is more generic
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:49:46 +0000] rev 1229
Refactored the picker so that it is more generic The picker now also works in the case the scope_path of the entity should not be filtered on. Also, it is now easier to add new functionality due to the fact that there is a seperate Field type to handle it now. Patch by: Sverre Rabbelier
Thu, 05 Feb 2009 23:46:39 +0000 Added a ReferenceField widget
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:46:39 +0000] rev 1228
Added a ReferenceField widget Also removed the unused ReadOnlyBool widget (as we now have a properlyworking ReadOnly widget). Patch by: Sverre Rabbelier
Thu, 05 Feb 2009 23:43:52 +0000 Make picker work generically
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:43:52 +0000] rev 1227
Make picker work generically Also removed some unused params from the JSON object. Deleted the now unused checkHasPickGetArgs method. Patch by: Sverre Rabbelier
Thu, 05 Feb 2009 23:41:02 +0000 Fix broken document access checks
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:41:02 +0000] rev 1226
Fix broken document access checks The 'normalized checker' syntax was used to specify the access checkers, but the normalization never happened. Patch by: Sverre Rabbelier
Thu, 05 Feb 2009 22:15:38 +0000 Org applications can now only be made by a user when a program allows it.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:15:38 +0000] rev 1225
Org applications can now only be made by a user when a program allows it. To do this a new access_type has been added called apply. This ensures that users can only used the seeded version of create. Also the review_overview now has his own access type to ensure the separability of hosts for different sponsors in case of org app reviews. Note that the access checks for hosts are broken and only give access to developers at the moment. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 22:13:49 +0000 Added a new redirect for apply accesstype.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:13:49 +0000] rev 1224
Added a new redirect for apply accesstype. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 22:13:12 +0000 Added new access checks to deal with timeline for programs.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:13:12 +0000] rev 1223
Added new access checks to deal with timeline for programs. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 21:29:55 +0000 Updated docstrings and used keyfields where necessary in soc/logic/models/base.py
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 21:29:55 +0000] rev 1222
Updated docstrings and used keyfields where necessary in soc/logic/models/base.py Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 20:33:47 +0000 Remove extra whitespaces in soc.views.models.organization module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:33:47 +0000] rev 1221
Remove extra whitespaces in soc.views.models.organization module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 20:33:12 +0000 Add missing blank line to soc.logic.helper.timeline module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:33:12 +0000] rev 1220
Add missing blank line to soc.logic.helper.timeline module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 20:32:45 +0000 Fix import sorting in soc.views.models.sponsor module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:32:45 +0000] rev 1219
Fix import sorting in soc.views.models.sponsor module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 20:19:17 +0000 Cleaned up getKeyNameFromFields in Logic base.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 20:19:17 +0000] rev 1218
Cleaned up getKeyNameFromFields in Logic base. You can now pass it a dictionary that can contain other fields next to the keyfields. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 05 Feb 2009 19:30:43 +0000 Reverted r1819 and making an application will now reserve the link_id indefinitely.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 19:30:43 +0000] rev 1217
Reverted r1819 and making an application will now reserve the link_id indefinitely. This is to make sure our statistics dont get messed up. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 04 Feb 2009 23:09:28 +0000 Make the ToS text in-line and hook up thick-box in the help-text.
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:09:28 +0000] rev 1216
Make the ToS text in-line and hook up thick-box in the help-text. This way the user can see the ToS in scrollable form between the link_id and the 'agree to tos' checkbox. Also, when clicking on the link to the 'side-wide terms of service' a thickbox will pop up and display the Terms of Service in an overlay. Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Wed, 04 Feb 2009 23:06:48 +0000 Hook up the new jquery plugins in base.html and _as_table_row.html
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:06:48 +0000] rev 1215
Hook up the new jquery plugins in base.html and _as_table_row.html A very important todo here is to make loading these plugins only when needed, as to not waste bandwith. This should be trivial to do later on though, so leaving as-is now. Patch by: "Mario Ferraro" <fadinlight@gmail.com> Reviewed by: Sverre Rabbelier
Wed, 04 Feb 2009 23:04:10 +0000 Include the field_id in the context of _as_table_helper
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:04:10 +0000] rev 1214
Include the field_id in the context of _as_table_helper This makes it possible to refer to the field that is being edited by it's ID (in for example Javascript). Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Wed, 04 Feb 2009 23:01:36 +0000 Make toDict "dereference" the 'name' property if it is present
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:01:36 +0000] rev 1213
Make toDict "dereference" the 'name' property if it is present This makes it possible to turn 'name' into a consistent alias that can be used to represent an entity. Patch by: Sverre Rabbelier
Wed, 04 Feb 2009 22:52:33 +0000 Added jquery thickbox, ajaxQueue, autocomplete and bgiframe
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 22:52:33 +0000] rev 1212
Added jquery thickbox, ajaxQueue, autocomplete and bgiframe Also added the soc-specific stylesheets for jquery and thickbox. Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Wed, 04 Feb 2009 21:24:36 +0000 Now calling block.super in timeline/edit.html template.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:24:36 +0000] rev 1211
Now calling block.super in timeline/edit.html template. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Wed, 04 Feb 2009 21:15:26 +0000 Added timezone clarification to the timeline edit form.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:15:26 +0000] rev 1210
Added timezone clarification to the timeline edit form. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 04 Feb 2009 21:12:29 +0000 Specific program menu's now show a "Apply to become an Organization" entry when the program's timeline states that it's open.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:12:29 +0000] rev 1209
Specific program menu's now show a "Apply to become an Organization" entry when the program's timeline states that it's open. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 04 Feb 2009 21:10:34 +0000 Added new helper module for timelines.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:10:34 +0000] rev 1208
Added new helper module for timelines. This helps to determine wether a given event or period has begun/isactive/ended. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 04 Feb 2009 21:09:06 +0000 Added missing table header for org_apps.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:09:06 +0000] rev 1207
Added missing table header for org_apps. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 21:15:12 +0000 Refactored the application review template into group_app.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 21:15:12 +0000] rev 1206
Refactored the application review template into group_app. Patch by: Madhusudan C.S Reviewed by: Lennard de Rijk
Tue, 03 Feb 2009 20:30:08 +0000 Added validate_new_group to cleaning and removed clean_new_club_link_id.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 20:30:08 +0000] rev 1205
Added validate_new_group to cleaning and removed clean_new_club_link_id. This new cleaning method is a general purpose method for cleaning the form of a new group or group_app. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 20:18:15 +0000 Fixed an error in group_app view that didnt let you create a new application.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 20:18:15 +0000] rev 1204
Fixed an error in group_app view that didnt let you create a new application. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 15:18:40 +0000 Renamed checkHasRole to checkHasActiveRole.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 15:18:40 +0000] rev 1203
Renamed checkHasRole to checkHasActiveRole. We need this distinction to later allow another check to grant access upon a role that also might be inactive. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 14:19:51 +0000 Added removal of an existing group application when someone else is applying.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 14:19:51 +0000] rev 1202
Added removal of an existing group application when someone else is applying. This makes sure that the fields we do not collect via the form also get wiped when a rejected application is being redone by someone else. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 13:50:41 +0000 Added checkCanReviewGroupApp to acces.py.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:50:41 +0000] rev 1201
Added checkCanReviewGroupApp to acces.py. To make this work allowSidebar decorator was added as well. This will make sure that the Review buttons show up in the sidebar. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 13:27:52 +0000 Added checkCanEditGroupApp to access.py.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:27:52 +0000] rev 1200
Added checkCanEditGroupApp to access.py. Group Applications can now only be edited if they are either rejected or still in need of review. Also fixed a bug in checkIsMyEntity. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 13:26:34 +0000 Fixed whitespace in /soc/models/group_app.py
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:26:34 +0000] rev 1199
Fixed whitespace in /soc/models/group_app.py Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 09:20:09 +0000 Added some extra isUser checks to make sure that you have to accept the ToS before you can do anything concerning requests.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 09:20:09 +0000] rev 1198
Added some extra isUser checks to make sure that you have to accept the ToS before you can do anything concerning requests. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 08:36:05 +0000 Fixes a bug where notifications can't be deleted.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:36:05 +0000] rev 1197
Fixes a bug where notifications can't be deleted. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 08:33:46 +0000 Only do the update routine when the status changes for group_app's and role requests.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:33:46 +0000] rev 1196
Only do the update routine when the status changes for group_app's and role requests. This helps prevent spamming multiple notifications. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Tue, 03 Feb 2009 08:25:47 +0000 Fixed a bug where a GMAP error message would be displayed when the form was not valid.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:25:47 +0000] rev 1195
Fixed a bug where a GMAP error message would be displayed when the form was not valid. The wrong params were used, so the wrong template was used to display the form. This also caused the instruction_text to dissapear. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 22:58:57 +0000 The simplejson in Django is now used, so do not create a symlink in build.sh.
Todd Larsen <tlarsen@google.com> [Mon, 02 Feb 2009 22:58:57 +0000] rev 1194
The simplejson in Django is now used, so do not create a symlink in build.sh. Patch by: Todd Larsen Review by: to-be-reviewed
Mon, 02 Feb 2009 21:48:37 +0000 Fixed a typo in getForCurrentAccount comment.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 21:48:37 +0000] rev 1193
Fixed a typo in getForCurrentAccount comment. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 21:46:01 +0000 Adds the possibility to exclude the user from the website.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 21:46:01 +0000] rev 1192
Adds the possibility to exclude the user from the website. getForCurrentAccount now only returns a user entity when it is valid. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 20:56:14 +0000 Fixed default value for write_access in Document model.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 20:56:14 +0000] rev 1191
Fixed default value for write_access in Document model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 20:07:52 +0000 Probably fixed a bug on the live instance.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 20:07:52 +0000] rev 1190
Probably fixed a bug on the live instance. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 17:02:31 +0000 More access related fixes
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 17:02:31 +0000] rev 1189
More access related fixes Also make it possible to do access checks for 'create'. Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 16:57:21 +0000 Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090202 release
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 16:57:21 +0000] rev 1188
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090202 release candidate branch has been created. Patch by: Pawel Solyga
Mon, 02 Feb 2009 16:44:17 +0000 Set RELEASE_TAG to 0.2-20090202rc for release candidate 02/02/2009.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 16:44:17 +0000] rev 1187
Set RELEASE_TAG to 0.2-20090202rc for release candidate 02/02/2009. Patch by: Pawel Solyga
Mon, 02 Feb 2009 16:42:31 +0000 Fixed EOL errors.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 16:42:31 +0000] rev 1186
Fixed EOL errors. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 16:21:33 +0000 Create org_application now shows select program view.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 16:21:33 +0000] rev 1185
Create org_application now shows select program view. Also fixed the menu heading. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 16:03:21 +0000 Use .logic in checkIsAllowedToManageRole at the caller
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 16:03:21 +0000] rev 1184
Use .logic in checkIsAllowedToManageRole at the caller This is to be consistent with the rest of the module. Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 15:39:22 +0000 Make getForFields work with no filter
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:39:22 +0000] rev 1183
Make getForFields work with no filter Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 15:34:45 +0000 Fixed EOL damage in org_app and access checks
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:34:45 +0000] rev 1182
Fixed EOL damage in org_app and access checks Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 15:04:04 +0000 Calling getForCurrentAccount where necessary.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 15:04:04 +0000] rev 1181
Calling getForCurrentAccount where necessary. Also fixed whitespace error in soc/views/models/user_self.py Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 15:00:43 +0000 Fixed club_app
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:00:43 +0000] rev 1180
Fixed club_app The user could not edit their own club app due to a buggy check. Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 14:47:09 +0000 Rewrite getForFields to use GQL instead of the Query API
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 14:47:09 +0000] rev 1179
Rewrite getForFields to use GQL instead of the Query API Apparently the Query API does not support the IN statement. Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 14:19:22 +0000 Removed work flow field from the check in getExtraMenus for program.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 14:19:22 +0000] rev 1178
Removed work flow field from the check in getExtraMenus for program. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 14:09:24 +0000 More access related fixes
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 14:09:24 +0000] rev 1177
More access related fixes Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 13:59:07 +0000 Fixed access related bugs
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 13:59:07 +0000] rev 1176
Fixed access related bugs Patch by: Sverre Rabbelier
Mon, 02 Feb 2009 13:48:15 +0000 Make longitude and latitude hidden fields not required in soc.views.models.role module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 13:48:15 +0000] rev 1175
Make longitude and latitude hidden fields not required in soc.views.models.role module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 10:15:07 +0000 Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:15:07 +0000] rev 1174
Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 10:10:39 +0000 Changes in club_app and org_app public templates. Don't show email address in public template.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:10:39 +0000] rev 1173
Changes in club_app and org_app public templates. Don't show email address in public template. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 10:09:18 +0000 Style fixes in soc.views.models.user module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:09:18 +0000] rev 1172
Style fixes in soc.views.models.user module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 10:07:34 +0000 Style fixes in soc.logic.models modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:07:34 +0000] rev 1171
Style fixes in soc.logic.models modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 02 Feb 2009 10:06:36 +0000 Fix missing indention in css file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:06:36 +0000] rev 1170
Fix missing indention in css file. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 23:36:50 +0000 Set the right field type in user_self to overcome confusion.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 23:36:50 +0000] rev 1169
Set the right field type in user_self to overcome confusion. Also reverted a template change. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 23:27:28 +0000 Adding a hidden agreed_to_tos field when the user has signed the ToS.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 23:27:28 +0000] rev 1168
Adding a hidden agreed_to_tos field when the user has signed the ToS. This a more cleaner solution then r1774. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 22:51:14 +0000 Fix the JS but mentioned in the previous commit
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:51:14 +0000] rev 1167
Fix the JS but mentioned in the previous commit Patch by: Sverre Rabbelier Reviewed by: Pawel Solyga
Sun, 01 Feb 2009 22:48:48 +0000 Fix get args construction when there are multiple lists on the page
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:48:48 +0000] rev 1166
Fix get args construction when there are multiple lists on the page It is now possible to go back and forward through the liast, and specify the limit (both offset and limit can be done per list). The JS driving the list boxes is buggy, if visiting an url like: http://localhost:8080/notification/list?limit_0=10 And then change the limit in the second checkbox, it directs to: http://localhost:8080/notification/list?limit_1=25 Whereas it should redirect to: http://localhost:8080/notification/list?limit_0=10&limit_1=25 The logic _does_ work properly when the limit of the changed list is already present in the url. Patch by: Sverre Rabbelier
Sun, 01 Feb 2009 22:44:14 +0000 Unify 'getForFields' and 'getForLimitAndOffset'
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:44:14 +0000] rev 1165
Unify 'getForFields' and 'getForLimitAndOffset' This also fixes the broken list views for filtered lists. Patch by: Sverre Rabbelier
Sun, 01 Feb 2009 22:35:35 +0000 User profile now shows the time on which you signed the ToS.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 22:35:35 +0000] rev 1164
User profile now shows the time on which you signed the ToS. Note that this solution is temporary and a hidden_field_as_table_row will be made by Pawel soon. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 20:44:47 +0000 Cleaned up access.py
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 20:44:47 +0000] rev 1163
Cleaned up access.py Removed a lot of duplicate code and added more generic checkers in their place. Patch by: Sverre Rabbelier
Sun, 01 Feb 2009 20:41:58 +0000 Do not return empty menu's in program.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 20:41:58 +0000] rev 1162
Do not return empty menu's in program. Patch by: Sverre Rabbelier
Sun, 01 Feb 2009 17:52:12 +0000 This patch prohibits changing of agreed_to_tos and agreed_to_tos_on by the Logic module.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:52:12 +0000] rev 1161
This patch prohibits changing of agreed_to_tos and agreed_to_tos_on by the Logic module. This is used so that legally the agreed_to_tos fields can never change in the User model once set. Patch by: Haoyu Bai Reviewed by: Lennard de Rijk
Sun, 01 Feb 2009 17:40:26 +0000 Add publish_location boolean property to Role model. This field indicates whether the User has agreed to publish his location. It is not supported yet in any logic, views or templates but we won't want to change models later so it's being added now.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 17:40:26 +0000] rev 1160
Add publish_location boolean property to Role model. This field indicates whether the User has agreed to publish his location. It is not supported yet in any logic, views or templates but we won't want to change models later so it's being added now. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 17:31:09 +0000 Fixes an error occurring when editing a User as Developer when the ToS have been signed.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:31:09 +0000] rev 1159
Fixes an error occurring when editing a User as Developer when the ToS have been signed. By disabling the input of the field Django will not attempt to wrongly parse it as a DateTime instance. Patch by: Haoyu Bai Reviewed by: Lennard de Rijk
Sun, 01 Feb 2009 17:21:46 +0000 ReadOnlyInput widget now shows text instead of a greyed-out input box.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:21:46 +0000] rev 1158
ReadOnlyInput widget now shows text instead of a greyed-out input box. Patch by: Haoyu Bai Reviewed by: Lennard de Rijk
Sun, 01 Feb 2009 17:14:42 +0000 Added status property to the user model.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:14:42 +0000] rev 1157
Added status property to the user model. This is to accommodate the ability to exclude users from using the website. Note that since the access modules is currently undergoing some reconstruction changing the status will not actually effect the User yet. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:18:04 +0000 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:18:04 +0000] rev 1156
Fixed EOL and whitespace in org_app templates Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:14:25 +0000 Update error message that shows when Google Maps API key is missing.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 16:14:25 +0000] rev 1155
Update error message that shows when Google Maps API key is missing. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:14:09 +0000 Implement the last step in the org application process.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:14:09 +0000] rev 1154
Implement the last step in the org application process. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:11:54 +0000 Refactored applicant from club view to group view.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:11:54 +0000] rev 1153
Refactored applicant from club view to group view. This is to accommodate the OrgApplication Process. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:10:20 +0000 Add Google Maps integration for Role profiles create/edit views.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 16:10:20 +0000] rev 1152
Add Google Maps integration for Role profiles create/edit views. Now when editing/creating your Role Profile page Google Maps widget will show up at the bottom of the form as "Location" field. When you type in your Street, City, Country or State it will automatically update the map with the location based on your address. The zoom level depends on the address information you provided. So for example if you just select Country it will be different then when you select both Country and City. The longitude and latitude fields are hidden and are updated with the coordinates from the address you provided. Also if the map is not accurate enough you can adjust your location by dragging the red market, which will change your location and save new coordinates into hidden fields. This patch also includes some style fixes in soc.views.models.role module. Patch by: Mario Ferraro & Pawel Solyga Reviewed by: Pawel Solyga
Sun, 01 Feb 2009 16:09:43 +0000 Added org_app view and templates.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:09:43 +0000] rev 1151
Added org_app view and templates. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:07:37 +0000 Changed club_app review template to use key.name.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:07:37 +0000] rev 1150
Changed club_app review template to use key.name. This will ensure that if we ever decide to change it to a scoped entity the review template will not break. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:06:22 +0000 Changed some errors in the org_app model.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:06:22 +0000] rev 1149
Changed some errors in the org_app model. The backup_admin property has been removed because it's present in the group_app model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:04:31 +0000 Added org_app logic.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:04:31 +0000] rev 1148
Added org_app logic. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:03:58 +0000 Changed group_app to use scope_logic in constructor.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:03:58 +0000] rev 1147
Changed group_app to use scope_logic in constructor. This is so org_app logic can use a scope_logic. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 16:00:42 +0000 Changed getApplicantRedirect to use the key_name instead of just a link_id.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:00:42 +0000] rev 1146
Changed getApplicantRedirect to use the key_name instead of just a link_id. This is to make it work with OrgApplication. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:33:48 +0000 Fix import sorting in soc.views.models.document module to comply with our style guide.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:33:48 +0000] rev 1145
Fix import sorting in soc.views.models.document module to comply with our style guide. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:29:34 +0000 Rename 'Create a new document' links to 'Create a New Document', also rename 'Create a new Program' to 'Create a New Program' in soc.views.models modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:29:34 +0000] rev 1144
Rename 'Create a new document' links to 'Create a New Document', also rename 'Create a new Program' to 'Create a New Program' in soc.views.models modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:26:25 +0000 Fix missing dots and blank lines to soc.logic modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:26:25 +0000] rev 1143
Fix missing dots and blank lines to soc.logic modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:25:27 +0000 Fix missing dot and wrong import sorting in soc.views.helper.access module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:25:27 +0000] rev 1142
Fix missing dot and wrong import sorting in soc.views.helper.access module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:24:43 +0000 Style fixes in soc.models.document module (adding of missing whitespaces).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:24:43 +0000] rev 1141
Style fixes in soc.models.document module (adding of missing whitespaces). Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:24:00 +0000 Style fixes in soc.logic.models modules (basically removing of extra whitespaces).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:24:00 +0000] rev 1140
Style fixes in soc.logic.models modules (basically removing of extra whitespaces). Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 13:07:12 +0000 Changed the url regexpr for review and added 2 missing imports.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 13:07:12 +0000] rev 1139
Changed the url regexpr for review and added 2 missing imports. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 09:55:02 +0000 Refactored review and reviewoverview out of club_app.py
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 09:55:02 +0000] rev 1138
Refactored review and reviewoverview out of club_app.py This is to help accomodate the upcoming OrgApplication. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sun, 01 Feb 2009 09:11:39 +0000 Added view for mentors.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 09:11:39 +0000] rev 1137
Added view for mentors. This one is for real. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 22:59:27 +0000 Added two forgotten comments in rights.Checker
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:59:27 +0000] rev 1136
Added two forgotten comments in rights.Checker Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 22:32:54 +0000 Hook up the ACL system for documents.
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:54 +0000] rev 1135
Hook up the ACL system for documents. Org access checks are left unimplemented as they are not done yet. Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 22:32:21 +0000 Final changes to the document model
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:21 +0000] rev 1134
Final changes to the document model With a seperate set of read and write permissions it is possible to very accurately specify the ACL of the document. Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 22:32:01 +0000 Added a rights module
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:01 +0000] rev 1133
Added a rights module The purpose of this module is to translate from document prefix and status to a set of access checks. Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 22:23:23 +0000 Replace name_on_certificates property with name_on_documents, since mentors, club admins, hosts and org admins don't get certificates it's better to name it 'Name on documents' which can indicate any kind of documents including awards certificates. Also don't show name_on_documents in public Role profiles, instead show user public name in that place.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 22:23:23 +0000] rev 1132
Replace name_on_certificates property with name_on_documents, since mentors, club admins, hosts and org admins don't get certificates it's better to name it 'Name on documents' which can indicate any kind of documents including awards certificates. Also don't show name_on_documents in public Role profiles, instead show user public name in that place. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 21:32:29 +0000 Changed display_name to name_on_certificates in models/role.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 21:32:29 +0000] rev 1131
Changed display_name to name_on_certificates in models/role.py. This is to make the intention of this property more clear as to display_name which would remind people of for instance nicknames or a replacement for their public name for this role. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 19:46:55 +0000 Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:46:55 +0000] rev 1130
Added view and templates for mentors. Mentors can be invited or send a request to become a mentor for a specific org. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 19:33:40 +0000 Fixed a bug in soc/views/models/role.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:33:40 +0000] rev 1129
Fixed a bug in soc/views/models/role.py. This bug allowed the creation of only invalid requests opposed to valid requests. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 19:02:53 +0000 Added a view and templates for the organization admin.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:02:53 +0000] rev 1128
Added a view and templates for the organization admin. This means that org admins can now be created/invited. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 18:58:09 +0000 Fixed two small errors.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:58:09 +0000] rev 1127
Fixed two small errors. Removed an unnecessary edit_extra field in club.py. And made group.py call getForCurrentAccount where necessary. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 18:55:34 +0000 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:55:34 +0000] rev 1126
Added organization view and templates. Also added TODO's so it's clear what still needs to be done to make this work. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 18:44:00 +0000 Removed obsolete _editPost and _editGet in soc/views/models/club.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:44:00 +0000] rev 1125
Removed obsolete _editPost and _editGet in soc/views/models/club.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 18:25:11 +0000 Reverting a change from r1732 for reasons stated in soc/logic/models/group.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:25:11 +0000] rev 1124
Reverting a change from r1732 for reasons stated in soc/logic/models/group.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 18:06:34 +0000 Changed scope_logic for requests to linkable_logic.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:06:34 +0000] rev 1123
Changed scope_logic for requests to linkable_logic. This makes the scope_path for a requests of a variable length which is needed for reuse. Patch by: Sverre Rabbelier and Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 17:01:56 +0000 Removed workflow type as keyfield from program.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 17:01:56 +0000] rev 1122
Removed workflow type as keyfield from program. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 16:20:11 +0000 Added mentor and org_admin logic.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:20:11 +0000] rev 1121
Added mentor and org_admin logic. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 16:16:44 +0000 Add an 'unread' style and add 'new document' link for user
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 16:16:44 +0000] rev 1120
Add an 'unread' style and add 'new document' link for user Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 16:15:53 +0000 Fixed a string formatting bug in soc/views/models/role.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:15:53 +0000] rev 1119
Fixed a string formatting bug in soc/views/models/role.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 16:07:30 +0000 When moving stuff please make sure that all your belongings are safely secured.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:07:30 +0000] rev 1118
When moving stuff please make sure that all your belongings are safely secured. Brown Paper Bag fix. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 16:04:22 +0000 Fixed a bug in role.py that made it call the wrong superclass.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:04:22 +0000] rev 1117
Fixed a bug in role.py that made it call the wrong superclass. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 16:03:14 +0000 Moved create_extra_dynafields from club_admin and member to role.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:03:14 +0000] rev 1116
Moved create_extra_dynafields from club_admin and member to role. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 15:41:45 +0000 Cleanups in base.Logic
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 15:41:45 +0000] rev 1115
Cleanups in base.Logic * Use regular kwargs instead of **kwargs * Fold getKeyNameFromFields into _keyName * Fold getIfFields into getFromFieldsOr404 * Rename getKeyValues to getKeyValuesFromEntity * Rename getKeyFieldsFromDict to getKeyFieldsFromFields * Rename getFromFieldsOr404 to getFromKeyFieldsOr404 * Rename getKeyValues to getKeyValuesFromEntity Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 15:40:32 +0000 Add checkIsProgramActive to the rights flushing
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 15:40:32 +0000] rev 1114
Add checkIsProgramActive to the rights flushing Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 14:39:05 +0000 Small changes in Mentor model (we don't inherit from Reviewer anymore since model inheritance is not supported in datastore).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:39:05 +0000] rev 1113
Small changes in Mentor model (we don't inherit from Reviewer anymore since model inheritance is not supported in datastore). Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 14:38:04 +0000 Add Organization Administrator model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:38:04 +0000] rev 1112
Add Organization Administrator model. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 14:37:39 +0000 Remove not used Administrator model that is replaced by Host model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:37:39 +0000] rev 1111
Remove not used Administrator model that is replaced by Host model. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 14:18:02 +0000 soc/views/models/club.py now uses getForCurrentAccount where necessary.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 14:18:02 +0000] rev 1110
soc/views/models/club.py now uses getForCurrentAccount where necessary. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 13:59:49 +0000 Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:59:49 +0000] rev 1109
Edited the access check for show in site settings. Not everyone should see our keys :). And also moved the template to site folder and changed presence back to the way it should be. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 13:49:50 +0000 Added rights to soc/views/models/timeline.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:49:50 +0000] rev 1108
Added rights to soc/views/models/timeline.py. Only a developer or a host for the program this timeline is for can edit it now. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 13:48:48 +0000 Added status to program.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:48:48 +0000] rev 1107
Added status to program. Also added a new access_check and changed the program edit template to the basic one without edit timeline button. Changed the program menu to show more helpful links like Edit Timeline. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 12:59:52 +0000 Flush sidebar when creating a new entity
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:59:52 +0000] rev 1106
Flush sidebar when creating a new entity Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 12:36:07 +0000 Update site/home.html to match the new document structure
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:36:07 +0000] rev 1105
Update site/home.html to match the new document structure Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 12:36:06 +0000 Added a Create a New Program link to the Program Owners's menu.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 12:36:06 +0000] rev 1104
Added a Create a New Program link to the Program Owners's menu. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 12:35:40 +0000 Flush sidebar when creating site entity
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:35:40 +0000] rev 1103
Flush sidebar when creating site entity Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 12:22:01 +0000 Brown paper bag fix
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:22:01 +0000] rev 1102
Brown paper bag fix We can only add the create link if there is a site entity. Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 12:12:05 +0000 Made presence document retrievel specify prefix
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:12:05 +0000] rev 1101
Made presence document retrievel specify prefix Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 12:11:34 +0000 Added a 'create new document' link to site
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:11:34 +0000] rev 1100
Added a 'create new document' link to site Patch by: Sverre Rabbelier
Sat, 31 Jan 2009 11:28:05 +0000 Remove simplejson module from our repository since it's a duplicate of django.utils.simplejson.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 11:28:05 +0000] rev 1099
Remove simplejson module from our repository since it's a duplicate of django.utils.simplejson. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sat, 31 Jan 2009 11:25:53 +0000 Use django.utils.simplejson in soc.views.models.base pick method instead of our standalone simplejson module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 11:25:53 +0000] rev 1098
Use django.utils.simplejson in soc.views.models.base pick method instead of our standalone simplejson module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 22:02:20 +0000 Add a 'Create new document' link for clubs, sponsors and programs
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:02:20 +0000] rev 1097
Add a 'Create new document' link for clubs, sponsors and programs Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 22:01:52 +0000 Added a getCreateDocumentRedirect
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:01:52 +0000] rev 1096
Added a getCreateDocumentRedirect Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 22:01:27 +0000 Add access control to document model and view
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:01:27 +0000] rev 1095
Add access control to document model and view The access checks are not yet written, but at least the model is stable from now on. Also converted the document view to dynaform while at it. Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 22:00:49 +0000 Factor out the getPattern logic from params
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:49 +0000] rev 1094
Factor out the getPattern logic from params This is to facilitate it's use by the document view later on. Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 22:00:23 +0000 Made the /create/<scope> url conditional
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:23 +0000] rev 1093
Made the /create/<scope> url conditional The 'no_create_with_scope' parameter can be used to disable it. Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 22:00:01 +0000 Removed unused key_fields_prefix variable
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:01 +0000] rev 1092
Removed unused key_fields_prefix variable Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 21:59:38 +0000 Moved is_featured property to Document
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:59:38 +0000] rev 1091
Moved is_featured property to Document Only Documents can be featured in the sidebar, as such it makes sense to have this property in the Document model. Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 21:59:13 +0000 Added missing dot.
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:59:13 +0000] rev 1090
Added missing dot. Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 21:58:53 +0000 Copy the default django patterns rather than modifying them
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:58:53 +0000] rev 1089
Copy the default django patterns rather than modifying them This prevents an ever-growing list of urls in the case that getDjangoURLPatterns is called multiple times. Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 21:58:31 +0000 Added a clean_scope_path to cleaning
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:58:31 +0000] rev 1088
Added a clean_scope_path to cleaning Patch by: Sverre Rabbelier
Fri, 30 Jan 2009 20:16:53 +0000 Fix the notification bar messages that show up when you click 'Save Changes' button. It only works on Edit views right now.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 30 Jan 2009 20:16:53 +0000] rev 1087
Fix the notification bar messages that show up when you click 'Save Changes' button. It only works on Edit views right now. Patch by: Madhusudan C.S Reviewed by: Pawel Solyga
Fri, 30 Jan 2009 17:44:31 +0000 ^_^, fixed header in templates/soc/request/list/heading.html.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:44:31 +0000] rev 1086
^_^, fixed header in templates/soc/request/list/heading.html. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 17:38:28 +0000 Renamed state to status where appropriate.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:38:28 +0000] rev 1085
Renamed state to status where appropriate. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 17:23:19 +0000 Requests can now not be created when you already have a similar request or already have the role the request is for.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:23:19 +0000] rev 1084
Requests can now not be created when you already have a similar request or already have the role the request is for. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 11:46:08 +0000 Moved clean_club_app_link_id to cleaning.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:46:08 +0000] rev 1083
Moved clean_club_app_link_id to cleaning. This method is now also used by the club create_form. Which means that you cannot create a new club with an already reserved link_id until the club application has been rejected. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 11:30:43 +0000 Changed group_app logic to support scope_path.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:30:43 +0000] rev 1082
Changed group_app logic to support scope_path. Moved link_id only as keyvalues to club_app. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 11:16:48 +0000 Added a cleaning method to club_app view.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:16:48 +0000] rev 1081
Added a cleaning method to club_app view. This ensures that you can't create a application for an already taken Link ID. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 11:15:26 +0000 Changed status in group app model to state.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:15:26 +0000] rev 1080
Changed status in group app model to state. Also changed it wherever needed to increase consistency. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 10:36:23 +0000 Changed clean_link_id to be in a wrapper form as well.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 10:36:23 +0000] rev 1079
Changed clean_link_id to be in a wrapper form as well. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 09:44:46 +0000 Deleted soc/models/member.py since it's the equivalent of club_member.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:44:46 +0000] rev 1078
Deleted soc/models/member.py since it's the equivalent of club_member. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 30 Jan 2009 09:43:11 +0000 docstring fix in soc/models/student.py.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:43:11 +0000] rev 1077
docstring fix in soc/models/student.py. Patch by: Haoyu Bai Reviewed by: Lennard de Rijk
Fri, 30 Jan 2009 09:31:56 +0000 Added agreed_to_tos_on field in user and role model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:31:56 +0000] rev 1076
Added agreed_to_tos_on field in user and role model. Also the user and user_self view no properly handle this new field. The ToS will be shown on-screen (not in a nice way) only if it is in effect and a user has not signed it yet. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 29 Jan 2009 23:07:04 +0000 Cleaned up overly enthousiastic comments
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:07:04 +0000] rev 1075
Cleaned up overly enthousiastic comments From the styleguide: On the other hand, never describe the code. Assume the person reading the code knows Python (though not what you're trying to do) better than you do. Patch by: Sverre Rabbelier
Thu, 29 Jan 2009 23:05:37 +0000 Properly check if a program is active
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:05:37 +0000] rev 1074
Properly check if a program is active Also cleaned up checkIsHost, which got merge-mangled when refactoring the access module. Patch by: Sverre Rabbelier
Thu, 29 Jan 2009 23:04:12 +0000 Factor out the allowIfCheckPasses logic
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:04:12 +0000] rev 1073
Factor out the allowIfCheckPasses logic Keep allowDeveloper around as convenience method though. Patch by: Sverre Rabbelier
Thu, 29 Jan 2009 23:02:47 +0000 Fix EOL damage and add link to first row item for notifcations
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:02:47 +0000] rev 1072
Fix EOL damage and add link to first row item for notifcations Patch by: Sverre Rabbelier
Thu, 29 Jan 2009 20:40:34 +0000 Added menu entries for a specific Sponsor Entity.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 20:40:34 +0000] rev 1071
Added menu entries for a specific Sponsor Entity. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 29 Jan 2009 20:29:07 +0000 Fixed rights flushing
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 20:29:07 +0000] rev 1070
Fixed rights flushing Patch by: Sverre Rabbelier
Thu, 29 Jan 2009 18:26:03 +0000 Added resign as club admin and club member links to the club entity menu.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:26:03 +0000] rev 1069
Added resign as club admin and club member links to the club entity menu. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 29 Jan 2009 18:18:20 +0000 Changed docstring for checkIsAllowedToManageRole.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:18:20 +0000] rev 1068
Changed docstring for checkIsAllowedToManageRole. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
(0) -1000 -240 +240 +1000 tip