app/soc/views/site/user/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).
Wed, 05 Nov 2008 23:36:28 +0000 Sverre Rabbelier Major site restructuring, also deleting of many unused or obsolete documents
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).
Sun, 19 Oct 2008 13:14:40 +0000 Pawel Solyga Fix identions, too long lines, unused imports and some other mistakes.
Sat, 18 Oct 2008 01:47:02 +0000 Todd Larsen Add the Page object to the context of each view. Update templates to make
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 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.
Thu, 16 Oct 2008 13:16:46 +0000 Pawel Solyga Change name of getUserFromLinkNameOrDie function to getUserFromLinkNameOr404 and apply changes to affected files.
Tue, 14 Oct 2008 22:57:52 +0000 Pawel Solyga Fix bug that caused Lookup user by User Account not to work properly. Basically wrong parameter to models.user.logic.getFromFields().
Tue, 14 Oct 2008 22:35:46 +0000 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>).
Tue, 14 Oct 2008 20:33:20 +0000 Pawel Solyga Fix some defects for lookup user view. More information about the patch can be found under the link below.
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 22:04:42 +0000 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.
Mon, 13 Oct 2008 21:54:51 +0000 Pawel Solyga Add missing blank lines between imports and sort all of the imports.
Sun, 12 Oct 2008 18:40:32 +0000 Sverre Rabbelier Dictionaries need String values for keys
Sun, 12 Oct 2008 18:30:37 +0000 Sverre Rabbelier Made the existing code use the new soc.logic.models
Sun, 12 Oct 2008 15:52:19 +0000 Sverre Rabbelier Minor style and import fixes
Sun, 12 Oct 2008 14:58:47 +0000 Sverre Rabbelier Moved soc/logic/helper/access to soc/views/helper/access
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 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.
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 22:17:05 +0000 Todd Larsen Move helpers/request.py to helper/requests.py to avoid conflict with common
Fri, 03 Oct 2008 22:09:32 +0000 Todd Larsen Move helpers/list.py to helper/lists.py to avoid conflict with built-in type
Fri, 03 Oct 2008 21:59:32 +0000 Todd Larsen Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py
Fri, 03 Oct 2008 21:41:12 +0000 Todd Larsen Move soc/views/helpers/list_helpers.py to soc/views/helpers/list.py and change
Thu, 02 Oct 2008 20:22:15 +0000 Todd Larsen Factor out an isIdAvailable() function from EditForm.clean_id() in
Thu, 02 Oct 2008 15:36:08 +0000 Todd Larsen Fix typo in recent validate.py changes (r682).
Wed, 01 Oct 2008 19:21:09 +0000 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.
Wed, 01 Oct 2008 14:23:28 +0000 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).
Wed, 01 Oct 2008 02:11:56 +0000 Todd Larsen Show link to /site/user/list on /site/user/lookup when User is not found.
Tue, 30 Sep 2008 16:49:54 +0000 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.
Tue, 30 Sep 2008 12:47:05 +0000 Pawel Solyga Replaced context.update call to simple value assignment in site.user.profile.create view function.
Mon, 29 Sep 2008 14:03:45 +0000 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().
Tue, 23 Sep 2008 23:30:15 +0000 Todd Larsen Move isReferrerSelf() and replaceSuffix() into new request_helpers.py module,
Tue, 23 Sep 2008 23:20:23 +0000 Todd Larsen Split out HTTP request manipulation functions from template_helpers.py, which
Mon, 22 Sep 2008 13:42:53 +0000 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.
Sat, 20 Sep 2008 19:04:43 +0000 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.
Fri, 19 Sep 2008 12:45:13 +0000 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 ...").
Fri, 19 Sep 2008 05:15:20 +0000 Todd Larsen Add /site/user/profile Developer view for editing arbitrary User entities.
Sat, 13 Sep 2008 22:00:51 +0000 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.
Fri, 12 Sep 2008 10:56:21 +0000 Pawel Solyga Fixed wrong user variable in lookup.html template for edit link (was user should be found_user).
Fri, 12 Sep 2008 02:37:15 +0000 Todd Larsen Add a /site/user/lookup view that provides Developers with a form to look up
less more (0) tip