app/soc/views/site/sponsor/profile.py
Sat, 15 Nov 2008 03:12:33 +0000 Todd Larsen Attempt to rename User.id to User.account, in preparation for making User be
Fri, 07 Nov 2008 22:24:01 +0000 Pawel Solyga Fix not working former_ids. Add support for "Invalid accounts". Now when id from former_ids tries to create a profile "This account is invalid." error message is displayed. Compare emails in lower cases to prevent changing User email to the same email with different character casing (needs some more testing).
Sun, 02 Nov 2008 22:57:46 +0000 Sverre Rabbelier Refactor out the abundance of dictionary (un)packing
Wed, 22 Oct 2008 17:18:57 +0000 Pawel Solyga Inherit from BaseForm in all forms instead of from DbModelForm. This change doesn't include changes to templates and usage of as_table everywhere (work in progress).
Sat, 18 Oct 2008 01:47:02 +0000 Todd Larsen Add the Page object to the context of each view. Update templates to make
Fri, 17 Oct 2008 13:57:54 +0000 Pawel Solyga Replace GROUP_TYPE_PLURAL and GROUP_TYPE_SHORT constants in Group models with more generic TYPE_NAME, TYPE_NAME_SHORT, TYPE_NAME_PLURAL names and apply changes in affected files. Use ugettext_lazy for TYPE_NAME and TYPE_NAME_PLURAL constants. This approach is similar to the upcoming refactor of views.
Thu, 16 Oct 2008 23:31:57 +0000 Pawel Solyga Create decorators module in view/helper and add view decorator that catches exceptions like DeadlineExceededError, MemoryError, AssertionError (this code is being moved from respond function). Add view decorator to all view functions. In addition remove not needed imports from all affected files and fix too long lines.
Thu, 16 Oct 2008 17:34:10 +0000 Pawel Solyga Make page argument required for errorResponse and requestLogin functions in simple.py and update affected files. Some keyword argument changes to in user/profile.py. All the changes are based on comments to r817.
Thu, 16 Oct 2008 17:30:58 +0000 Sverre Rabbelier Rename 'group' to 'entity' in the Django templates
Thu, 16 Oct 2008 15:22:41 +0000 Pawel Solyga Add page=None parameter to all views. Information from page argument (which is soc.logic.site.page.Page object) is going to be used later in views code and for some context values. Fix some indentions in __doc__ strings. Add proper __doc__ string for all() function in sponsor/list.py module.
Wed, 15 Oct 2008 20:24:02 +0000 Pawel Solyga Change verbose_name of founder property in Group model from "Created by" to "Founded by". Add GROUP_TYPE_SHORT and GROUP_TYPE_PLURAL for all models that inherit from Group and use that values in templates and contexts. Assume that group_type, group_type_short and group_type_plural are defined in context and remove not needed ifs in templates. Rename "Linkname" to "Link name" in list/group_heading.html template.
Wed, 15 Oct 2008 13:59:52 +0000 Pawel Solyga Show "Created by" read-only field in Sponsor Edit view. Fix function keyword arguments in sponsor/list.py to follow our PythonStyleGuide. Sponsor founder property is not updated anymore when editing Sponsor profile, it's just saved once when creating Sponsor profile.
Tue, 14 Oct 2008 16:10:07 +0000 Pawel Solyga Add missing import in soc/views/site/sponsor/list.py which caused exception when app was deployed and first site you visited was "List Site Sponsors". Update files according to recent django update and django backwards incompatibility (for example newforms is changed to forms).
Tue, 14 Oct 2008 12:02:42 +0000 Pawel Solyga Some indentations fixes. Changed all the email=id function arguments to email=id.email().
Mon, 13 Oct 2008 21:54:51 +0000 Pawel Solyga Add missing blank lines between imports and sort all of the imports.
Mon, 13 Oct 2008 06:19:43 +0000 Sverre Rabbelier Bugfixes to the latest revision
Sun, 12 Oct 2008 18:30:37 +0000 Sverre Rabbelier Made the existing code use the new soc.logic.models
Sun, 12 Oct 2008 14:58:47 +0000 Sverre Rabbelier Moved soc/logic/helper/access to soc/views/helper/access
Sun, 12 Oct 2008 08:46:05 +0000 Pawel Solyga Fix not working delete Sponsor functionality after recent commit. Add delete() method to Base class. Make soc.views.site.sponsor.delete() request handler use this method.
Sun, 12 Oct 2008 00:12:53 +0000 Sverre Rabbelier Refactor nearly all the soc.logic code to use the Base class
Sun, 12 Oct 2008 00:08:54 +0000 Sverre Rabbelier Replace almost all occurences of linkname with link_name
Thu, 09 Oct 2008 23:48:20 +0000 Sverre Rabbelier Refactor existing code to use the new access module
Thu, 09 Oct 2008 18:11:37 +0000 Pawel Solyga Enable recently commited delete Sponsor request handler (added to map.py) and Delete button in Sponsor edit view. Still missing "Are you sure ?" question box.
Thu, 09 Oct 2008 15:10:51 +0000 Pawel Solyga Create a submit_buttons block in group edit profile template so that submit buttons can be customized. Replace submit_message usage with new notice block (still work in progress in Lookup User views). Add customized edit profile template for Sponsor with delete button (not used yet, upcoming commit). Add delete Sponsor request handler.
Sat, 04 Oct 2008 04:51:43 +0000 Todd Larsen Add create() wrapper views that simply call the existing edit() views, to
Fri, 03 Oct 2008 23:59:49 +0000 Todd Larsen Move helpers/forms_helpers.py to helper/forms.py.
Fri, 03 Oct 2008 23:17:49 +0000 Todd Larsen Move helpers/response_helpers.py to helper/responses.py.
Fri, 03 Oct 2008 23:08:28 +0000 Todd Larsen Replace helpers/custom_widgets.py with helper/widgets.py.
Fri, 03 Oct 2008 22:17:05 +0000 Todd Larsen Move helpers/request.py to helper/requests.py to avoid conflict with common
Fri, 03 Oct 2008 21:59:32 +0000 Todd Larsen Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py
Wed, 01 Oct 2008 22:19:22 +0000 Pawel Solyga Add basic Sponsors List, Create New Sponsor, Sponsor Public Profile views. Change all properties in Group model as required for now. Remaining TODO: write validation functions for Sponsor edit and create form fields that need additional validation (like address, phone number format).
less more (0) tip