app/soc/views/site/user/profile.py
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-19 Pawel Solyga Fix identions, too long lines, unused imports and some other mistakes.
2008-10-18 Todd Larsen Add the Page object to the context of each view. Update templates to make
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 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-16 Pawel Solyga Change name of getUserFromLinkNameOrDie function to getUserFromLinkNameOr404 and apply changes to affected files.
2008-10-14 Pawel Solyga Fix bug that caused Lookup user by User Account not to work properly. Basically wrong parameter to models.user.logic.getFromFields().
2008-10-14 Pawel Solyga Add deleted in r732 (don't know why) functionality that displays custom Error page when linkname in Developer User Profile url doesn't exist (/site/user/profile/<not_existing_linkname>).
2008-10-14 Pawel Solyga Fix some defects for lookup user view. More information about the patch can be found under the link below.
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 Remove spaces between dict key name and colon. Fix some typos based on comments http://code.google.com/p/soc/source/detail?r=739.
2008-10-13 Pawel Solyga Add missing blank lines between imports and sort all of the imports.
2008-10-12 Sverre Rabbelier Dictionaries need String values for keys
2008-10-12 Sverre Rabbelier Made the existing code use the new soc.logic.models
2008-10-12 Sverre Rabbelier Minor style and import fixes
2008-10-12 Sverre Rabbelier Moved soc/logic/helper/access to soc/views/helper/access
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 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-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 Move helpers/request.py to helper/requests.py to avoid conflict with common
2008-10-03 Todd Larsen Move helpers/list.py to helper/lists.py to avoid conflict with built-in type
2008-10-03 Todd Larsen Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py
2008-10-03 Todd Larsen Move soc/views/helpers/list_helpers.py to soc/views/helpers/list.py and change
2008-10-02 Todd Larsen Factor out an isIdAvailable() function from EditForm.clean_id() in
2008-10-02 Todd Larsen Fix typo in recent validate.py changes (r682).
2008-10-01 Pawel Solyga Replace common module with validate module. Move validation function from feed module to validate module and remove feed.py. Correct any usage of validation functions from common and feed modules into validate module.
2008-10-01 Pawel Solyga Moved isLinkNameFormatValid function out of id_user module to new common module. This function is going to be used by other form validation functions that require to validate linkname (different kind of Groups, Programs etc).
2008-10-01 Todd Larsen Show link to /site/user/list on /site/user/lookup when User is not found.
2008-09-30 Pawel Solyga Clean up too long lines in profile.py. Add ReadOnlyInput widget to custom_widgets module, it can be used to display read-only form fields. Display read-only "Id" field in LookUp view if user has been found and in User Edit Developer view.
2008-09-30 Pawel Solyga Replaced context.update call to simple value assignment in site.user.profile.create view function.
2008-09-29 Pawel Solyga Fixed not working "Create New User" view which was caused by adding key_name into User Edit Developer view. This commit divides edit() view function in soc.views.site.user.profile into edit() and create() request handlers. New create() request handler is used only in "Create New User" view and has specific form validation functions and uses updateOrCreateUserFromId() instead of updateUserForKeyName().
2008-09-23 Todd Larsen Move isReferrerSelf() and replaceSuffix() into new request_helpers.py module,
2008-09-23 Todd Larsen Split out HTTP request manipulation functions from template_helpers.py, which
2008-09-22 Pawel Solyga Add support for changing User id (Google Account email) in User Profile Developer view. Now user profile developer edit view includes hidden key_name field. Fix typo in user/profile.py. Show former user ids in lookup and edit User Profile Developer views.
2008-09-20 Pawel Solyga Add custom 404 error message with link to "Create a New User" which is displayed when linkname in User Profile Developer view URL (/site/user/profile/<linkname>) doesn't exist. Add default value (None) to new_suffix parameter of template_helpers replaceSuffix and redirectToChangedSuffix functions.
2008-09-19 Pawel Solyga Bug fixes to revision r596. User Account field in Developer User Profile view needs to be an email not a login name. Header title of User Profile Developer view, when form validation failes is now showing correct value ("Modify existing ..." instead of "Create new user ...").
2008-09-19 Todd Larsen Add /site/user/profile Developer view for editing arbitrary User entities.
2008-09-13 Pawel Solyga Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
2008-09-12 Pawel Solyga Fixed wrong user variable in lookup.html template for edit link (was user should be found_user).
2008-09-12 Todd Larsen Add a /site/user/lookup view that provides Developers with a form to look up
less more (0) tip