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
(0) -1000 -300 -100 -60 +60 +100 +300 +1000 tip