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
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
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
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
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
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
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
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
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
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