app/soc/views/site/sponsor/profile.py
2008-11-15 Sverre Rabbelier Factor out direct use of the page object
2008-11-15 Todd Larsen Attempt to rename User.id to User.account, in preparation for making User be
2008-11-07 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).
2008-11-02 Sverre Rabbelier Refactor out the abundance of dictionary (un)packing
2008-10-22 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).
2008-10-18 Todd Larsen Add the Page object to the context of each view. Update templates to make
2008-10-17 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.
2008-10-16 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.
2008-10-16 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.
2008-10-16 Sverre Rabbelier Rename 'group' to 'entity' in the Django templates
2008-10-16 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.
2008-10-15 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.
2008-10-15 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.
2008-10-14 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).
2008-10-14 Pawel Solyga Some indentations fixes. Changed all the email=id function arguments to email=id.email().
2008-10-13 Pawel Solyga Add missing blank lines between imports and sort all of the imports.
2008-10-13 Sverre Rabbelier Bugfixes to the latest revision
2008-10-12 Sverre Rabbelier Made the existing code use the new soc.logic.models
2008-10-12 Sverre Rabbelier Moved soc/logic/helper/access to soc/views/helper/access
2008-10-12 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.
2008-10-12 Sverre Rabbelier Refactor nearly all the soc.logic code to use the Base class
2008-10-12 Sverre Rabbelier Replace almost all occurences of linkname with link_name
2008-10-09 Sverre Rabbelier Refactor existing code to use the new access module
2008-10-09 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.
2008-10-09 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.
2008-10-04 Todd Larsen Add create() wrapper views that simply call the existing edit() views, to
2008-10-03 Todd Larsen Move helpers/forms_helpers.py to helper/forms.py.
2008-10-03 Todd Larsen Move helpers/response_helpers.py to helper/responses.py.
2008-10-03 Todd Larsen Replace helpers/custom_widgets.py with helper/widgets.py.
2008-10-03 Todd Larsen Move helpers/request.py to helper/requests.py to avoid conflict with common
2008-10-03 Todd Larsen Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py
2008-10-01 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