Fri, 12 Sep 2008 21:54:37 +0000 Add getAltResponseIfNotLoggedIn() and getAltResponseIfNotDeveloper() simple
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 21:54:37 +0000] rev 139
Add getAltResponseIfNotLoggedIn() and getAltResponseIfNotDeveloper() simple view helpers. These cannot go into response_helpers.py because they create a circular reference with simple.py, and Django view import fails. Review URL: http://codereviews.googleopensourceprograms.com/602
Fri, 12 Sep 2008 20:36:17 +0000 Improve the __doc__ string of isIdDeveloper() to explain better how it now
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 20:36:17 +0000] rev 138
Improve the __doc__ string of isIdDeveloper() to explain better how it now functions.
Fri, 12 Sep 2008 20:31:56 +0000 Make isIdDeveloper() also able to check an is_developer Boolean property in
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 20:31:56 +0000] rev 137
Make isIdDeveloper() also able to check an is_developer Boolean property in User entities. Review URL: http://codereviews.googleopensourceprograms.com/601
Fri, 12 Sep 2008 19:01:44 +0000 Replace checkLinkNameForId() with isLinkNameAvailableForId(), and implement
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 19:01:44 +0000] rev 136
Replace checkLinkNameForId() with isLinkNameAvailableForId(), and implement that new function in terms of only the existing doesLinkNameExist() and doesLinkNameBelongToId(). Patch by: Todd Larsen Review by: Pawel Solyga Review via: discussion of patches on melange-soc-dev mailing list
Fri, 12 Sep 2008 16:33:04 +0000 Fixed one typo in response_helpers which caused is_admin context variable not to work correctly.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 12 Sep 2008 16:33:04 +0000] rev 135
Fixed one typo in response_helpers which caused is_admin context variable not to work correctly. Created new checkLinkNameForId function that checks if link_name is correct when creating new user and modifying existing one. This is now used for validation instead of doesLinkNameBelongToId in UserForm clean_link_name function. The previous validation function didn't allow to create new users and modify linkname of existing ones. Additionally I created new doesLinkNameExist helper function.
Fri, 12 Sep 2008 10:56:21 +0000 Fixed wrong user variable in lookup.html template for edit link (was user should be found_user).
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 12 Sep 2008 10:56:21 +0000] rev 134
Fixed wrong user variable in lookup.html template for edit link (was user should be found_user). There is no DeveloperForm in site/user/profile.py changed that to LookupForm.
Fri, 12 Sep 2008 02:46:21 +0000 gcl.py committed this file, when it should not have even existed.
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 02:46:21 +0000] rev 133
gcl.py committed this file, when it should not have even existed.
Fri, 12 Sep 2008 02:37:15 +0000 Add a /site/user/lookup view that provides Developers with a form to look up
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 02:37:15 +0000] rev 132
Add a /site/user/lookup view that provides Developers with a form to look up User entities given email addresses or link names.
Fri, 12 Sep 2008 02:12:38 +0000 ...
Todd Larsen <tlarsen@google.com> [Fri, 12 Sep 2008 02:12:38 +0000] rev 131
...
Thu, 11 Sep 2008 21:30:08 +0000 Updated the script to:
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Sep 2008 21:30:08 +0000] rev 130
Updated the script to: * Include a comment describing what it does * Use variables for anything non-standard * Use the --parse-only flag of epydoc * Exclude all 'django' modules through --exclude= * Run on '../app' by default, no more arguments needed * Clean up the output directory before running
Thu, 11 Sep 2008 20:50:58 +0000 Bugfix, invalid syntax noticed by epydoc.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Sep 2008 20:50:58 +0000] rev 129
Bugfix, invalid syntax noticed by epydoc.
Thu, 11 Sep 2008 12:06:57 +0000 Updated docs in response_helpers.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 11 Sep 2008 12:06:57 +0000] rev 128
Updated docs in response_helpers. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 11 Sep 2008 12:01:20 +0000 Created custom_widgets.py and added TinyMCE django widget that can be later used for particular form fields.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 11 Sep 2008 12:01:20 +0000] rev 127
Created custom_widgets.py and added TinyMCE django widget that can be later used for particular form fields. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 11 Sep 2008 11:56:24 +0000 Added TinyMCE to Melange in soc/content/js
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 11 Sep 2008 11:56:24 +0000] rev 126
Added TinyMCE to Melange in soc/content/js Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 30 Aug 2008 02:54:22 +0000 An emerging pattern with makeSiblingTemplatesList() is that views calling that
Todd Larsen <tlarsen@google.com> [Sat, 30 Aug 2008 02:54:22 +0000] rev 125
An emerging pattern with makeSiblingTemplatesList() is that views calling that function then append a known, default template "just in case". This change adds a default_template parameter to makeSiblingTemplatesList() to eliminate the extra "append a known default to the end" step for the caller. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 29 Aug 2008 04:24:31 +0000 Refactor soc/views/user/profile.py to make use of several of the new views
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 04:24:31 +0000] rev 124
Refactor soc/views/user/profile.py to make use of several of the new views available in soc/views/simple.py. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 29 Aug 2008 02:59:59 +0000 Fix an overlooked cut-and-paste error.
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 02:59:59 +0000] rev 123
Fix an overlooked cut-and-paste error. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 29 Aug 2008 02:52:02 +0000 Add a public() convenience wrapper around templateWithLinkName() for the common
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 02:52:02 +0000] rev 122
Add a public() convenience wrapper around templateWithLinkName() for the common public.html case. Add a requestLogin() view. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 29 Aug 2008 00:00:34 +0000 This CSS change belonged with soc/templates/soc/error.html committed in r454.
Todd Larsen <tlarsen@google.com> [Fri, 29 Aug 2008 00:00:34 +0000] rev 121
This CSS change belonged with soc/templates/soc/error.html committed in r454. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 23:56:29 +0000 A default error.html template to go with the simple.errorResponse() view.
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 23:56:29 +0000] rev 120
A default error.html template to go with the simple.errorResponse() view. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 23:54:35 +0000 Add soc.views.simple containing (initially) two simple template views.
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 23:54:35 +0000] rev 119
Add soc.views.simple containing (initially) two simple template views. templateWithLinkName() is a view that can replace most public() read-only views. errorResponse() is a view that renders an error page for out_of_band.ErrorResponse exceptions. Also, change response_helpers.respond() to accept keyword arguments to pass to http.HttpResponse(). (errorResponse() makes use of this new respond() feature.) Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 22:27:40 +0000 Clean up User Model and User profile edit view now that soc.logic.site.id_user
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 22:27:40 +0000] rev 118
Clean up User Model and User profile edit view now that soc.logic.site.id_user module exists. Change usage of "user" to be "id" the variable refers to a Google Account and not a User entity. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 22:23:11 +0000 Pawel and I were working on the same thing, apparently. My template_helpers.py
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 22:23:11 +0000] rev 117
Pawel and I were working on the same thing, apparently. My template_helpers.py is more complete, so I am removing this one (that Pawel appears to not have used yet). Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 22:06:31 +0000 Factor out a getUniversalContext() function so that views that do not call
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 22:06:31 +0000] rev 116
Factor out a getUniversalContext() function so that views that do not call response_helpers.response() can benefit from the code that constructs shared template context variables common to many templates. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 21:49:53 +0000 Create a package for controller modules that interact with User entities.
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:49:53 +0000] rev 115
Create a package for controller modules that interact with User entities. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 21:35:34 +0000 A collection of functions for determining the characteristics of the "system"
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:35:34 +0000] rev 114
A collection of functions for determining the characteristics of the "system" on which a Melange application is running. Currently, this consists of only a boolean isDebug() function. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 21:30:55 +0000 Helpers for manipulating templates and template search paths.
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:30:55 +0000] rev 113
Helpers for manipulating templates and template search paths. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 21:15:39 +0000 Consolidate functions dealing with Google Accounts and look-up of User entities
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 21:15:39 +0000] rev 112
Consolidate functions dealing with Google Accounts and look-up of User entities into a single site-wide controller module. Tests will be added in a subsequent commit as soon as Google App Engine tests using mocker are figured out. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 28 Aug 2008 16:17:42 +0000 Exception classes used by controller logic to request an "out-of-band" response
Todd Larsen <tlarsen@google.com> [Thu, 28 Aug 2008 16:17:42 +0000] rev 111
Exception classes used by controller logic to request an "out-of-band" response be displayed by the view instead of what the view would normally display. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 27 Aug 2008 21:21:44 +0000 Base classes for all Datastore Models in Melange.
Todd Larsen <tlarsen@google.com> [Wed, 27 Aug 2008 21:21:44 +0000] rev 110
Base classes for all Datastore Models in Melange. Patch by: Todd Larsen Review by: to-be-reviewed
(0) -100 -50 -30 +30 +50 +100 +300 +1000 tip