Sat, 22 Nov 2008 22:45:14 +0000 Remove inheritance_line from Form meta class excludes in all currently used forms.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:45:14 +0000] rev 569
Remove inheritance_line from Form meta class excludes in all currently used forms. Patch by: Pawel Solyga, Sverre Rabbelier
Sat, 22 Nov 2008 22:44:02 +0000 Remove inheritance from PolyModel in Answer and Linkable model. Replace PolyModel inheritance with base.ModelWithFieldAttributes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:44:02 +0000] rev 568
Remove inheritance from PolyModel in Answer and Linkable model. Replace PolyModel inheritance with base.ModelWithFieldAttributes. A little explanation why we are trying to get rid of PolyModel. We decided to use PolyModel in order to get support for model inheritance in App Engine, however as we know this was a hacky workaround which added inheritance_line property to each model. Recent commits which added Linkable model caused our data viewer in admin console to show only one model "Linkable" since all of the classes inherited from it. Basically datastore viewer was useless plus we had a really big mess in datastore since everything was of one kind (Linkable). It's almost like creating one huge table in SQL database. Upcoming commits will eliminate all usage of PolyModel and finally remove PolyModel from our repository. We are still using inheritance however this doesn't modify how models are saved in data store so basically it's like copy and paste of properties from parent models. Patch by: Pawel Solyga, Sverre Rabbelier
Sat, 22 Nov 2008 22:30:32 +0000 Add customized User Edit Developer view template with working listing of former accounts.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:30:32 +0000] rev 567
Add customized User Edit Developer view template with working listing of former accounts. Patch by: Pawel Solyga
Sat, 22 Nov 2008 21:33:54 +0000 Disabled 'Home Settings' menu until we have a use for it
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 21:33:54 +0000] rev 566
Disabled 'Home Settings' menu until we have a use for it Also fixed a typo in the request row template that caused it to display the wrong value. Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 21:15:21 +0000 Removed no-longer used code
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 21:15:21 +0000] rev 565
Removed no-longer used code This code is no longer in use and has been replaced by getForFields and similar methods.
Sat, 22 Nov 2008 20:54:42 +0000 Hide the 'home' field until we have a proper document selector
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 20:54:42 +0000] rev 564
Hide the 'home' field until we have a proper document selector Rather than having a confusing 'home' field that lists all Linkables (in other words, everything in the database), we're better off hiding it for now.
Sat, 22 Nov 2008 20:38:27 +0000 Fixed redirects to work consistently
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 20:38:27 +0000] rev 563
Fixed redirects to work consistently Revision 1133 broke 'Edit Site Settings' by relying on the fact that the url for create pages is '<entity>/create', which it is not for 'Edit Site Settings'.
Sat, 22 Nov 2008 20:10:43 +0000 Made Request use the new link_id and scope_path
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 20:10:43 +0000] rev 562
Made Request use the new link_id and scope_path This cleans a lot of weird user interface badness and demonstrates how Linkable can be used.
Sat, 22 Nov 2008 18:58:32 +0000 Added a requests overview using the new multi-list page.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 22 Nov 2008 18:58:32 +0000] rev 561
Added a requests overview using the new multi-list page. Renamed the roles page to Requests Overview. Patch by: Lennard de Rijk
Sat, 22 Nov 2008 18:22:36 +0000 Requests are almost working now
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 18:22:36 +0000] rev 560
Requests are almost working now You can accept a request by clicking on it in the roles view. Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 18:16:42 +0000 Fix names of methods in soc.views.model.site.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 18:16:42 +0000] rev 559
Fix names of methods in soc.views.model.site. Patch by: Pawel Solyga
Sat, 22 Nov 2008 18:15:58 +0000 Fix wrong comment format in request.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 18:15:58 +0000] rev 558
Fix wrong comment format in request.py. Patch by: Pawel Solyga
Sat, 22 Nov 2008 18:12:00 +0000 Added missing import
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 22 Nov 2008 18:12:00 +0000] rev 557
Added missing import Patch by: Lennard de Rijk
Sat, 22 Nov 2008 15:11:59 +0000 Refactor requestSelf to be make use of the new split
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 15:11:59 +0000] rev 556
Refactor requestSelf to be make use of the new split Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 14:53:23 +0000 Split the list view code up in three pieces
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 14:53:23 +0000] rev 555
Split the list view code up in three pieces 1. getListContents which returns the required contents dictionary 2. _list which returns the response for a specified list of contents 3. list which constructs just one content dict and passes it to _list This way it is easier to do step 1 and 2 in other code than list(), which makes it possible to display multiple list pages (by calling getListContents multiple times and passing the result to _list).
Sat, 22 Nov 2008 14:01:39 +0000 Renamed templates/soc/entity/list/entity_*.html to *.html
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 14:01:39 +0000] rev 554
Renamed templates/soc/entity/list/entity_*.html to *.html This makes it possible to generalize list template positions. Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 13:59:34 +0000 Make redirect generic using the new Lists object
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 13:59:34 +0000] rev 553
Make redirect generic using the new Lists object This makes it possible (and easier) to have the list view redirect to any page specially tailored to the current item. Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 11:19:20 +0000 Fixed the description on the user's role page. This broke in r1111. The new lists also removed the need for instruction_text in models/base.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 22 Nov 2008 11:19:20 +0000] rev 552
Fixed the description on the user's role page. This broke in r1111. The new lists also removed the need for instruction_text in models/base.py. Removed an obsolete assignment in models/request.py Patch by: Lennard de Rijk
Sat, 22 Nov 2008 10:29:13 +0000 Define a default for rights['public'] in views/models/base.py. Alter rights
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 10:29:13 +0000] rev 551
Define a default for rights['public'] in views/models/base.py. Alter rights in views/models/site.py to allow anyone, even signed-out users, to view the site home page. Patch by: Todd Larsen
Sat, 22 Nov 2008 10:06:03 +0000 Hide the 'scope' property from forms for now, since this is really supposed
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 10:06:03 +0000] rev 550
Hide the 'scope' property from forms for now, since this is really supposed to be set by "Role context" as determined by logic code in the controller. Patch by: Todd Larsen
Sat, 22 Nov 2008 09:49:13 +0000 Fix some broken help_text bubbles (they are truncated or not displayed if they
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 09:49:13 +0000] rev 549
Fix some broken help_text bubbles (they are truncated or not displayed if they contain " double quotation marks). Add notice text (sort of ugly at the moment, Dmitri? :) explaining the "Public name" and "Link ID" fields in great detail. This patch is in preparation for making "Link ID" immutable for Users in a subsequent patch. Patch by: Todd Larsen
Sat, 22 Nov 2008 09:22:44 +0000 Fix for 404 occuring when signing out during the creation of, for example,
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 09:22:44 +0000] rev 548
Fix for 404 occuring when signing out during the creation of, for example, a new Document. This patch makes sure that the request.path is not altered when requesting the create page (alteration of which caused the 404). This also results in the seeds now being remembered when being forced to log in. The editPost method now correctly switches to the edit path after a successful edit. Patch by: Lennard de Rijk
Sat, 22 Nov 2008 09:08:29 +0000 Fixed former_accounts detection by supplying the missing error message.
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 09:08:29 +0000] rev 547
Fixed former_accounts detection by supplying the missing error message. Patch by: Todd Larsen
Sat, 22 Nov 2008 08:55:55 +0000 Rename the User.public_name Property to simply 'name' (but leave the verbose
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 08:55:55 +0000] rev 546
Rename the User.public_name Property to simply 'name' (but leave the verbose name as "Public name"). This is to take advantage of standardizing on 'name' in the common edit template (and possibly other common templates). The Property was renamed because public_name was already a "name", unlike the recent change to the Work Model class, where 'title' was "aliases" using a tiny name() method instead. Patch by: Todd Larsen
Sat, 22 Nov 2008 08:44:54 +0000 Include name of entity in the text of the link to the read-only public view
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 08:44:54 +0000] rev 545
Include name of entity in the text of the link to the read-only public view present in the common edit template. Provide a simple method in the Work Model class that aliases the existing 'title' Property to 'name'. Patch by: Todd Larsen
Sat, 22 Nov 2008 08:40:10 +0000 Fix broken Site settings form by uncommenting code that was inadvertently
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 08:40:10 +0000] rev 544
Fix broken Site settings form by uncommenting code that was inadvertently committed commented out. Patch by: Todd Larsen
Sat, 22 Nov 2008 07:57:00 +0000 Merge soc/logic/out_of_band.py into soc/views/out_of_band.py. Merge
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 07:57:00 +0000] rev 543
Merge soc/logic/out_of_band.py into soc/views/out_of_band.py. Merge errorResponse() and requestLogin() from soc/views/simple.py into out_of_band.Error and out_of_band.LoginRequest exception classes, respectively. Remove no-longer-used soc/logic/out_of_band.py and soc/views/simple.py. Fix some problems where usage of out_of_band was broken. Patch by: Todd Larsen
Sat, 22 Nov 2008 03:13:59 +0000 Remove redundant dicts for URL patterns and sidebar menu text, and use the
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 03:13:59 +0000] rev 542
Remove redundant dicts for URL patterns and sidebar menu text, and use the existing params dict instead. Add a sidebar_heading customization to params. Better differentiate the 'User (self)' and 'Users' sidebar menus. Remove the redundant Site settings menu items now that the Site entity is a singleton. Patch by: Todd Larsen
Sat, 22 Nov 2008 01:55:19 +0000 By default, exclude files that are likely to be binary files.
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 01:55:19 +0000] rev 541
By default, exclude files that are likely to be binary files. Patch by: Todd Larsen
Sat, 22 Nov 2008 00:23:10 +0000 Add User.public_name help text, per discussions on melange-soc-dev.
Todd Larsen <tlarsen@google.com> [Sat, 22 Nov 2008 00:23:10 +0000] rev 540
Add User.public_name help text, per discussions on melange-soc-dev. Patch by: Todd Larsen
Fri, 21 Nov 2008 23:45:37 +0000 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 21 Nov 2008 23:45:37 +0000] rev 539
Allow for multiple list objects At the moment there's not really a practical use for it, since there is no way to make soc.views.models.base.View.list() show more than one list, but it shouldn't be too hard to allow for that. Patch by: Sverre Rabbelier
Fri, 21 Nov 2008 23:45:15 +0000 Make it more obvious that a format string constant is a format string by
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 23:45:15 +0000] rev 538
Make it more obvious that a format string constant is a format string by appending _FMT. Patch by: Todd Larsen
Fri, 21 Nov 2008 22:38:38 +0000 Fix getKeyValues() method footprint mismatches in soc.logic.models.site.Logic
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 22:38:38 +0000] rev 537
Fix getKeyValues() method footprint mismatches in soc.logic.models.site.Logic after the recent refactoring. Remove 'Link scope' drop-down from Edit Site Settings form. Patch by: Todd Larsen
Fri, 21 Nov 2008 12:01:59 +0000 Add a page name for 'Edit Main Site Settings'
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 21 Nov 2008 12:01:59 +0000] rev 536
Add a page name for 'Edit Main Site Settings'
Fri, 21 Nov 2008 11:44:39 +0000 Refactor classes in soc/logic/models to make more use of inheritance. Add
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 11:44:39 +0000] rev 535
Refactor classes in soc/logic/models to make more use of inheritance. Add some missing classes, such as soc.logic.models.group.Logic, so that key name similarities between various Groups can be exploited via inheritance instead of repetition of code. Patch by: Todd Larsen
Fri, 21 Nov 2008 10:46:15 +0000 Replace HomeSettings with Presence Model class. Replace SiteSettings with
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 10:46:15 +0000] rev 534
Replace HomeSettings with Presence Model class. Replace SiteSettings with Site Model class. Derive Group Model class from Presence, adding the "home page settings" properties in a Melange site presence to every Group. Patch by: Todd Larsen
Fri, 21 Nov 2008 08:41:23 +0000 Move LINK_ID and SCOPE_PATH regular expressions to soc/models/linkable.py.
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 08:41:23 +0000] rev 533
Move LINK_ID and SCOPE_PATH regular expressions to soc/models/linkable.py. Fix some too-long lines. Change key names back to type:scope_path/link_id (instead of type:scope_path:link_id). Some minor __doc__ string updates. Patch by: Todd Larsen
Fri, 21 Nov 2008 08:38:53 +0000 Removed unnecesary lines according to comment on r1067
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 21 Nov 2008 08:38:53 +0000] rev 532
Removed unnecesary lines according to comment on r1067 Patch by: Lennard de Rijk
Fri, 21 Nov 2008 08:13:52 +0000 Make editSelf() work by adding 'inheritance_line' to the list of excluded
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 08:13:52 +0000] rev 531
Make editSelf() work by adding 'inheritance_line' to the list of excluded fields in the UserForm. Also, fix a few too-long lines and add some missing parentheses (the style guide says do not rely on operator precedence). Patch by: Todd Larsen
Fri, 21 Nov 2008 07:36:44 +0000 Remove imports of the soc.logic.key_name module, since it was deleted by r1071
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 07:36:44 +0000] rev 530
Remove imports of the soc.logic.key_name module, since it was deleted by r1071 (and wasn't referenced in these modules anyway). Patch by: Todd Larsen
Fri, 21 Nov 2008 07:07:55 +0000 Replace nick_name and its variants with public_name. Remove the
Todd Larsen <tlarsen@google.com> [Fri, 21 Nov 2008 07:07:55 +0000] rev 529
Replace nick_name and its variants with public_name. Remove the soc/templates/soc/person/edit.html template, since it does not appear to be referenced anywhere (and contained a nick_name reference that would otherwise need to be remedied). Patch by: Todd Larsen
Thu, 20 Nov 2008 23:51:45 +0000 Some indention and too long lines fixes in soc.views.models.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 23:51:45 +0000] rev 528
Some indention and too long lines fixes in soc.views.models. Patch by: Pawel Solyga
Thu, 20 Nov 2008 23:34:26 +0000 Delete some more not needed directories this time in soc/logic and soc/templates.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 23:34:26 +0000] rev 527
Delete some more not needed directories this time in soc/logic and soc/templates. Patch by: Pawel Solyga
Thu, 20 Nov 2008 23:31:44 +0000 Remove not needed directories in soc/views.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 23:31:44 +0000] rev 526
Remove not needed directories in soc/views. Patch by: Pawel Solyga
Thu, 20 Nov 2008 23:07:38 +0000 Created a checkIsInvited method
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 23:07:38 +0000] rev 525
Created a checkIsInvited method Patch by: Sverre Rabbelier
Thu, 20 Nov 2008 22:51:07 +0000 Small comment fix in Linkable model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 20 Nov 2008 22:51:07 +0000] rev 524
Small comment fix in Linkable model. Patch by: Pawel Solyga
Thu, 20 Nov 2008 22:44:22 +0000 Removed one more unneccesary module
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 22:44:22 +0000] rev 523
Removed one more unneccesary module Last commit reminded me that this one is obsolete too.
Thu, 20 Nov 2008 22:33:18 +0000 OK, this one file was missing from r1061 for some reason.
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 22:33:18 +0000] rev 522
OK, this one file was missing from r1061 for some reason. Patch by: Todd Larsen
Thu, 20 Nov 2008 21:57:25 +0000 Minor improvements to roles page
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 21:57:25 +0000] rev 521
Minor improvements to roles page Mainly not hard-coding the page name and showing all requests that are _accepted_, instead of the one's that aren't yet.
Thu, 20 Nov 2008 21:18:19 +0000 Split a too long line
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 21:18:19 +0000] rev 520
Split a too long line
Thu, 20 Nov 2008 21:14:37 +0000 Adds the user's role page. Currently this only has an overview of the user's unhandled requests.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 21:14:37 +0000] rev 519
Adds the user's role page. Currently this only has an overview of the user's unhandled requests. Patch by: Lennard de Rijk
Thu, 20 Nov 2008 21:08:07 +0000 Changes the list template to use an instruction_text property that sets the text above the list. This makes the create_invite template unneeded. The instruction_text comes in handy when defining special lists.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 21:08:07 +0000] rev 518
Changes the list template to use an instruction_text property that sets the text above the list. This makes the create_invite template unneeded. The instruction_text comes in handy when defining special lists. Patch by: Lennard de Rijk
Thu, 20 Nov 2008 21:06:21 +0000 Deleted unused files and files
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 21:06:21 +0000] rev 517
Deleted unused files and files
Thu, 20 Nov 2008 21:01:18 +0000 The list method in models/base.py can now use a filter to make a selection of entities to show.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 21:01:18 +0000] rev 516
The list method in models/base.py can now use a filter to make a selection of entities to show. Patch by: Lennard de Rijk
Thu, 20 Nov 2008 20:59:10 +0000 Moved the last remnant of soc.views.user.profile to soc.views.models
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 20:59:10 +0000] rev 515
Moved the last remnant of soc.views.user.profile to soc.views.models Sadly, it is non-trivial to port this code to be generic enough to work with soc.views.models.base.edit. On the other hand, this will make customizing the editSelf code a lot easier.
Thu, 20 Nov 2008 20:58:46 +0000 Move saved message to the base class
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 20:58:46 +0000] rev 514
Move saved message to the base class This removes some duplicate code that was in all the child classes of soc.views.models.base.View.
Thu, 20 Nov 2008 19:43:31 +0000 Rename partial_path to scope_path, ignoring case, etc.
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 19:43:31 +0000] rev 513
Rename partial_path to scope_path, ignoring case, etc. (Similar to the recent link_name => link_id change). Also, fix two missed "Linkname" column headers in some templates. Patch by: Todd Larsen
Thu, 20 Nov 2008 18:50:30 +0000 Rename link_name to link_id everywhere, regardless of case (so LINK_NAME
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 18:50:30 +0000] rev 512
Rename link_name to link_id everywhere, regardless of case (so LINK_NAME becomes LINK_ID, "link name" becomes "link id", etc.). Also, rename LINKNAME to LINK_ID. Patch by: Todd Larsen
Thu, 20 Nov 2008 18:06:43 +0000 Ignore "dot" directories like .hg and .svn by default.
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 18:06:43 +0000] rev 511
Ignore "dot" directories like .hg and .svn by default. Patch by: Todd Larsen
Thu, 20 Nov 2008 17:54:51 +0000 id() is a built-in function in Python, so rename the property to link_id. Add
Todd Larsen <tlarsen@google.com> [Thu, 20 Nov 2008 17:54:51 +0000] rev 510
id() is a built-in function in Python, so rename the property to link_id. Add a scope_path StringProperty to cache the string representation of the transitive closure of the nested scopes of an entity. Patch by: Todd Larsen
Thu, 20 Nov 2008 16:07:40 +0000 Adds the rights['edit'] to models/base.py wich was left out in r1049.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 20 Nov 2008 16:07:40 +0000] rev 509
Adds the rights['edit'] to models/base.py wich was left out in r1049. Fixes two small typos in the comments in logic/mail_dispatcher.py
Thu, 20 Nov 2008 15:41:31 +0000 Add a access.deny and access.allow method
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 15:41:31 +0000] rev 508
Add a access.deny and access.allow method Respectively always deny, and always allow access to view a part of the site.
Thu, 20 Nov 2008 15:41:14 +0000 Fold the _rights dictionary into params
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 20 Nov 2008 15:41:14 +0000] rev 507
Fold the _rights dictionary into params
Wed, 19 Nov 2008 21:05:31 +0000 Fix bug where script fails when it encounters a socket (which is not a regular
Todd Larsen <tlarsen@google.com> [Wed, 19 Nov 2008 21:05:31 +0000] rev 506
Fix bug where script fails when it encounters a socket (which is not a regular file). Fix bug where exception is raised if error occurred before parser object was returned from _buildParser(). Add a --notext option, so that just the file paths will be output on matches (both find and find/replace); useful with xargs. Patch by: Todd Larsen
Wed, 19 Nov 2008 08:39:29 +0000 Fix user key stuff
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 19 Nov 2008 08:39:29 +0000] rev 505
Fix user key stuff Key field for user is now link_name, instead of account, as such the method's used by 'create new user' should be updated.
Tue, 18 Nov 2008 21:17:53 +0000 Fix not working request creation.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 18 Nov 2008 21:17:53 +0000] rev 504
Fix not working request creation. Patch by: Pawel Solyga
Tue, 18 Nov 2008 03:28:47 +0000 Derive Linkable Model class from PolyModel.
Todd Larsen <tlarsen@google.com> [Tue, 18 Nov 2008 03:28:47 +0000] rev 503
Derive Linkable Model class from PolyModel. Patch by: Todd Larsen
Mon, 17 Nov 2008 22:21:02 +0000 Add new parameters to views: url_name which is name used in urls (instead of using lower entity names) and module_name which is used for constructing django urls. Append changes to all affected files. Fix some title names. Change urls that included underscores like "site_settings" into urls with slash "site/settings". Plus some other minor fixes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 22:21:02 +0000] rev 502
Add new parameters to views: url_name which is name used in urls (instead of using lower entity names) and module_name which is used for constructing django urls. Append changes to all affected files. Fix some title names. Change urls that included underscores like "site_settings" into urls with slash "site/settings". Plus some other minor fixes. Patch by: Pawel Solyga
Mon, 17 Nov 2008 22:12:34 +0000 Fix not working feed display for home settings public view. Modify blog javascript so that we can define how many feed entries we want to display. Change default number of entries to 3 as suggested by Leslie and Chris.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 22:12:34 +0000] rev 501
Fix not working feed display for home settings public view. Modify blog javascript so that we can define how many feed entries we want to display. Change default number of entries to 3 as suggested by Leslie and Chris. Patch by: Pawel Solyga
Mon, 17 Nov 2008 12:18:09 +0000 Replace old page parameter doc string description with new one for page_name.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 12:18:09 +0000] rev 500
Replace old page parameter doc string description with new one for page_name. Patch by: Pawel Solyga
Mon, 17 Nov 2008 10:36:35 +0000 Fix missing dots in doc strings and some other doc string corrections.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 10:36:35 +0000] rev 499
Fix missing dots in doc strings and some other doc string corrections. Patch by: Pawel Solyga
Mon, 17 Nov 2008 10:34:21 +0000 Remove empty docs folder in soc/views.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 17 Nov 2008 10:34:21 +0000] rev 498
Remove empty docs folder in soc/views. Patch by: Pawel Solyga
Mon, 17 Nov 2008 00:01:59 +0000 Added a default _editSeed method
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 17 Nov 2008 00:01:59 +0000] rev 497
Added a default _editSeed method Also added the invite shortcut in the host view.
Mon, 17 Nov 2008 00:01:33 +0000 Temporary fix for creating a new user account
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 17 Nov 2008 00:01:33 +0000] rev 496
Temporary fix for creating a new user account This should probably be solved more elegantly, but edit_self is going to be used soon.
Sun, 16 Nov 2008 23:04:48 +0000 Added basic 'invite' functionality
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 23:04:48 +0000] rev 495
Added basic 'invite' functionality Currently the invite can only be created, existing ones can be listed and edited, or deleted if desired.
Sun, 16 Nov 2008 23:03:37 +0000 Refactored SiteMap to be generic
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 23:03:37 +0000] rev 494
Refactored SiteMap to be generic With this mechanism (in combination with the new sidebar) in place adding a new entity to the site becomes very easy, rather than having to add a lot of code to 'map.py', one can simply register with the sitemap modules.
Sun, 16 Nov 2008 23:02:31 +0000 Refactor the sidebar to use Django templates
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 23:02:31 +0000] rev 493
Refactor the sidebar to use Django templates With this change the html for the sidebar is no longer generated by Melange, instead it's delegated to Django (which is what it does best anyway). The downside is that it is no longer possible to have arbitrary deeply nested menu's.
Sun, 16 Nov 2008 22:11:58 +0000 Fixed redirection after creation to Just Work
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 22:11:58 +0000] rev 492
Fixed redirection after creation to Just Work Accomplished by generating a link to the creation page instead of trying to deduct it from the current path.
Sun, 16 Nov 2008 22:11:16 +0000 Improved public page link text
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 22:11:16 +0000] rev 491
Improved public page link text Instead of putting the name of the entity in the link text to the public page, a way better solution is to put static text there.
Sun, 16 Nov 2008 17:59:30 +0000 Allow pre-seeding a create form
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 17:59:30 +0000] rev 490
Allow pre-seeding a create form With this feature the Site Settings create form can be pre-seeded with it's "magic values", which allows those fields to be hidden from the user. At the same time, it allows 'Edit Main Site Settings' to either create or edit the Main Site Settings.
Sun, 16 Nov 2008 15:51:19 +0000 Fixed typo in soc.views.models.host redirects
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:51:19 +0000] rev 489
Fixed typo in soc.views.models.host redirects
Sun, 16 Nov 2008 15:50:57 +0000 Restored default Sponsor edit view
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:50:57 +0000] rev 488
Restored default Sponsor edit view
Sun, 16 Nov 2008 15:50:29 +0000 Fixed a typo in soc.logic.models.base
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:50:29 +0000] rev 487
Fixed a typo in soc.logic.models.base
Sun, 16 Nov 2008 15:50:05 +0000 Added a filter method to dicts
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 16 Nov 2008 15:50:05 +0000] rev 486
Added a filter method to dicts
Sun, 16 Nov 2008 15:26:40 +0000 Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 16 Nov 2008 15:26:40 +0000] rev 485
Change id to account in base.html template (without this change we couldn't signout using top right links and also couldn't display currently logged in account information on the left side of links). This patch is related to commit in revision r1022. http://code.google.com/p/soc/source/detail?r=1022 Patch by: Pawel Solyga
Sun, 16 Nov 2008 12:48:23 +0000 Add an e-mail dispatcher that can be used to send messages via the website. Add base and invitation templates that can be used with email dispatcher to send invitation emails. Please read the module doc string for more information how to use it.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 16 Nov 2008 12:48:23 +0000] rev 484
Add an e-mail dispatcher that can be used to send messages via the website. Add base and invitation templates that can be used with email dispatcher to send invitation emails. Please read the module doc string for more information how to use it. Patch by: Lennard de Rijk, Pawel Solyga
Sat, 15 Nov 2008 21:46:23 +0000 Fix broken User link_name validations. Changes in r1014 still caused some problems so I came out with new idea to compare User accounts (previously called "id").
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 15 Nov 2008 21:46:23 +0000] rev 483
Fix broken User link_name validations. Changes in r1014 still caused some problems so I came out with new idea to compare User accounts (previously called "id"). Patch by: Pawel Solyga
Sat, 15 Nov 2008 16:17:11 +0000 Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 15 Nov 2008 16:17:11 +0000] rev 482
Factor out direct use of the page object Instead of directly using the page object in the html, pass around page_name. This will make it easier to remove Page in favor of a simpler implementation.
Sat, 15 Nov 2008 03:12:33 +0000 Attempt to rename User.id to User.account, in preparation for making User be
Todd Larsen <tlarsen@google.com> [Sat, 15 Nov 2008 03:12:33 +0000] rev 481
Attempt to rename User.id to User.account, in preparation for making User be derived from Linkable, which will have a property named 'id'. Patch by: Todd Larsen
Fri, 14 Nov 2008 06:36:42 +0000 For those times when sed isn't enough, but awk is too much, there's munge.py...
Todd Larsen <tlarsen@google.com> [Fri, 14 Nov 2008 06:36:42 +0000] rev 480
For those times when sed isn't enough, but awk is too much, there's munge.py... Patch by: Todd Larsen
Thu, 13 Nov 2008 20:46:41 +0000 Make sure the user edit form has the complete mail adress in the user account field when opened. Replace confusing id field in form with email field. Editing the email adress of an existing user will still result in an error but that should be fixed soon.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 13 Nov 2008 20:46:41 +0000] rev 479
Make sure the user edit form has the complete mail adress in the user account field when opened. Replace confusing id field in form with email field. Editing the email adress of an existing user will still result in an error but that should be fixed soon. Patch by: Lennard de Rijk Review by: Pawel Solyga
Thu, 13 Nov 2008 19:41:16 +0000 upload.py (customized for use with codereviews.googleopensourceprograms.com)
Todd Larsen <tlarsen@google.com> [Thu, 13 Nov 2008 19:41:16 +0000] rev 478
upload.py (customized for use with codereviews.googleopensourceprograms.com) updated from latest Rietveld release. Patch by: Todd Larsen
Thu, 13 Nov 2008 16:40:05 +0000 Moved from docs -> document
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 13 Nov 2008 16:40:05 +0000] rev 477
Moved from docs -> document
Wed, 12 Nov 2008 21:43:15 +0000 Fixed typo in docstring
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 12 Nov 2008 21:43:15 +0000] rev 476
Fixed typo in docstring
Wed, 12 Nov 2008 07:28:12 +0000 Copy the link_name regex patterns into linkable.py, in preparation for
Todd Larsen <tlarsen@google.com> [Wed, 12 Nov 2008 07:28:12 +0000] rev 475
Copy the link_name regex patterns into linkable.py, in preparation for removing them from path_link_name.py (eventually). Patch by: Todd Larsen
Tue, 11 Nov 2008 21:07:38 +0000 Move all the properties from Person model to Role model. Update all the comments and docs according to the changes. Remove Person model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 11 Nov 2008 21:07:38 +0000] rev 474
Move all the properties from Person model to Role model. Update all the comments and docs according to the changes. Remove Person model. Patch by: Pawel Solyga
Tue, 11 Nov 2008 19:49:00 +0000 Fix broken User link name (it was possible to change link name to one that was already used, validation was not working correctly).
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 11 Nov 2008 19:49:00 +0000] rev 473
Fix broken User link name (it was possible to change link name to one that was already used, validation was not working correctly). Patch by: Pawel Solyga
Tue, 11 Nov 2008 01:02:56 +0000 Move "(required)" text to third column instead of second column in templatetags, it's much more user friendly that way. Add new version of as_table that support our current error messages format, information about required fields and tooltips.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 11 Nov 2008 01:02:56 +0000] rev 472
Move "(required)" text to third column instead of second column in templatetags, it's much more user friendly that way. Add new version of as_table that support our current error messages format, information about required fields and tooltips. Patch by: Pawel Solyga
Mon, 10 Nov 2008 23:18:06 +0000 Remove stop parameter from home_settings and site_settings views. This is something Sverre didn't mean to commit :-) Add missing params description to the models Base class docs.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 23:18:06 +0000] rev 471
Remove stop parameter from home_settings and site_settings views. This is something Sverre didn't mean to commit :-) Add missing params description to the models Base class docs. Patch by: Pawel Solyga
Mon, 10 Nov 2008 22:50:27 +0000 In soc.views.models.user module fix too long line. Delete unused email variable, add missing doc and rename self method and global variable to editSelf and edit_self so it's not confused with "self" used in classes and there is no outerscope variable name overwriting anymore.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 22:50:27 +0000] rev 470
In soc.views.models.user module fix too long line. Delete unused email variable, add missing doc and rename self method and global variable to editSelf and edit_self so it's not confused with "self" used in classes and there is no outerscope variable name overwriting anymore. Patch by: Pawel Solyga
Mon, 10 Nov 2008 22:45:17 +0000 Some name changes in soc.logic.site.map module for User self edit view.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 22:45:17 +0000] rev 469
Some name changes in soc.logic.site.map module for User self edit view. Patch by: Pawel Solyga
Mon, 10 Nov 2008 22:38:20 +0000 Fix typo in linkable model and add some missing comments.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 22:38:20 +0000] rev 468
Fix typo in linkable model and add some missing comments. Patch by: Pawel Solyga
Mon, 10 Nov 2008 18:00:47 +0000 Initial thoughts on a Linkable Model class. Please comment.
Todd Larsen <tlarsen@google.com> [Mon, 10 Nov 2008 18:00:47 +0000] rev 467
Initial thoughts on a Linkable Model class. Please comment. Patch by: Todd Larsen
Mon, 10 Nov 2008 17:25:05 +0000 Fix names typos in home_settings and site_settings modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 17:25:05 +0000] rev 466
Fix names typos in home_settings and site_settings modules. Patch by: Pawel Solyga
Mon, 10 Nov 2008 16:46:16 +0000 Change Google Maps property name from gm_api_key to gmaps_api_key.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 16:46:16 +0000] rev 465
Change Google Maps property name from gm_api_key to gmaps_api_key. Patch by: Pawel Solyga
Mon, 10 Nov 2008 16:40:51 +0000 Change partial path and link name verbose names in home_settings.py. Some comments fixes in site_settings.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 16:40:51 +0000] rev 464
Change partial path and link name verbose names in home_settings.py. Some comments fixes in site_settings.py. Patch by: Pawel Solyga
Mon, 10 Nov 2008 16:07:18 +0000 Add jquery folder to make_release.sh script to fix not working jquery on deployed app.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 16:07:18 +0000] rev 463
Add jquery folder to make_release.sh script to fix not working jquery on deployed app. Patch by: Pawel Solyga
Mon, 10 Nov 2008 14:40:16 +0000 Adds a check to logic/valididate.py that checks the partial path format using a regexp. This regexp has been added to logic/path_link_name.py, therefore changing PATH_LINKNAME_REGEX to use the PARTIAL_PATH in building this regexp. Plus views/models/docs.py now uses the validation functions in the clean_ methods.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 10 Nov 2008 14:40:16 +0000] rev 462
Adds a check to logic/valididate.py that checks the partial path format using a regexp. This regexp has been added to logic/path_link_name.py, therefore changing PATH_LINKNAME_REGEX to use the PARTIAL_PATH in building this regexp. Plus views/models/docs.py now uses the validation functions in the clean_ methods. Patch by: Lennard de Rijk Review by: Pawel Solyga
Mon, 10 Nov 2008 00:42:41 +0000 Partially use the new user code
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:42:41 +0000] rev 461
Partially use the new user code The 'edit self' is not working fully yet, the 'lookup' code is not working at all, as such, only 'create', 'edit', 'list', and 'delete' make use of the generic code.
Mon, 10 Nov 2008 00:42:18 +0000 Added a generic user page
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:42:18 +0000] rev 460
Added a generic user page
Mon, 10 Nov 2008 00:41:54 +0000 Preparation for generic user views
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:41:54 +0000] rev 459
Preparation for generic user views Added a getSuffixValues method that is meant to allow for having a non-public field as key_name. Also added support for a key-name field being embeded in the form so that if the key-fields change the old key_name is not lost.
Mon, 10 Nov 2008 00:41:01 +0000 Added support for providing a custom params dict
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:41:01 +0000] rev 458
Added support for providing a custom params dict This has been a long outstanding feature request for tlarsen, luckily it turned out to be very easy to implement with the dict.merge utility method. To have custom _rights one should instead to the required access checks before calling the view method.
Mon, 10 Nov 2008 00:40:39 +0000 Fixed a typo in id_user
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:40:39 +0000] rev 457
Fixed a typo in id_user
Mon, 10 Nov 2008 00:40:15 +0000 Fix create redirect
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:40:15 +0000] rev 456
Fix create redirect
Mon, 10 Nov 2008 00:39:50 +0000 Added support for providing a custom params dict
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:39:50 +0000] rev 455
Added support for providing a custom params dict This has been a long outstanding feature request for tlarsen, luckily it turned out to be very easy to implement with the dict.merge utility method. To have custom _rights one should instead to the required access checks before calling the view method.
Mon, 10 Nov 2008 00:39:26 +0000 Minor fix to sponsor missing from the site restructure
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 10 Nov 2008 00:39:26 +0000] rev 454
Minor fix to sponsor missing from the site restructure
Sun, 09 Nov 2008 21:40:28 +0000 Add a Google Maps property to Site Settings
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 09 Nov 2008 21:40:28 +0000] rev 453
Add a Google Maps property to Site Settings Patch by: Lennard de Rijk <ljvderijk@gmail.com> Reviewed by: Sverre Rabbelier
Sun, 09 Nov 2008 21:24:49 +0000 Fixes to {Site,Home}Settings
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 09 Nov 2008 21:24:49 +0000] rev 452
Fixes to {Site,Home}Settings Also improved help text on HomeSettings partial_path and link_name.
Sat, 08 Nov 2008 18:35:46 +0000 Fixing the string for the default home page
Dmitri Gaskin <dmitrig01@gmail.com> [Sat, 08 Nov 2008 18:35:46 +0000] rev 451
Fixing the string for the default home page
Sat, 08 Nov 2008 17:40:12 +0000 Making the docs template prettier
Dmitri Gaskin <dmitrig01@gmail.com> [Sat, 08 Nov 2008 17:40:12 +0000] rev 450
Making the docs template prettier
Sat, 08 Nov 2008 17:06:35 +0000 Allowing + and - to be clicked in the menu
Dmitri Gaskin <dmitrig01@gmail.com> [Sat, 08 Nov 2008 17:06:35 +0000] rev 449
Allowing + and - to be clicked in the menu
Fri, 07 Nov 2008 22:24:01 +0000 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).
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 07 Nov 2008 22:24:01 +0000] rev 448
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). Patch by: Pawel Solyga
Fri, 07 Nov 2008 22:13:20 +0000 Some indention fixes and remove not needed variable in soc.logic.models.base module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 07 Nov 2008 22:13:20 +0000] rev 447
Some indention fixes and remove not needed variable in soc.logic.models.base module. Patch by: Pawel Solyga
Wed, 05 Nov 2008 23:38:00 +0000 Refactoring of {site/home}_settings to make them use base.View
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:38:00 +0000] rev 446
Refactoring of {site/home}_settings to make them use base.View This makes the way for deleting the key_name.py module
Wed, 05 Nov 2008 23:36:28 +0000 Major site restructuring, also deleting of many unused or obsolete documents
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:36:28 +0000] rev 445
Major site restructuring, also deleting of many unused or obsolete documents The new structure is as follows: <entity>/list - list all <entitie>s <entity>/create - create a new <entity> <entity>/show/<key fields> - public page for <entity> <entity>/edit/<key fields> - edit a <entity> <entity>/delete/key fields> - delete a specific entity
Wed, 05 Nov 2008 23:33:22 +0000 Fix sponsor key field extraction
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:33:22 +0000] rev 444
Fix sponsor key field extraction When extracting key field there is no sponsor or user object, instead only their link names are known.
Wed, 05 Nov 2008 23:32:59 +0000 Implements base.Logic functions in home_settings, site_settings and work
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 05 Nov 2008 23:32:59 +0000] rev 443
Implements base.Logic functions in home_settings, site_settings and work This patch implements the base.Logic funtions needed for making logic/key_name.py obsolete. This patch defines the needed functions in home_settings, site_settings and work. All modules in logic/models now have these functions defined. logic/models/site_settings.py now inherits from logic/models/home_settings.py because of their similar connection in the corresponding models. Please note that the self._keyName for these two modules still points to logic/key_name.py since entity_type is still used in views/home.py. A partial_path and link_name were added to HomeSettings as requested by SRabbelier.
Tue, 04 Nov 2008 20:06:36 +0000 Fix wrong redirect when changing partial path or link name. Remove an unnecessary assignment in logic/models/base.py that would generate an error when an entity did not exist.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 04 Nov 2008 20:06:36 +0000] rev 442
Fix wrong redirect when changing partial path or link name. Remove an unnecessary assignment in logic/models/base.py that would generate an error when an entity did not exist. Patch by: Lennard de Rijk Review by: Pawel Solyga
Tue, 04 Nov 2008 14:09:37 +0000 Fix not working former ids feature of User Profile Developer Edit view. Add missing Error exception class to soc.logic.models.base module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 04 Nov 2008 14:09:37 +0000] rev 441
Fix not working former ids feature of User Profile Developer Edit view. Add missing Error exception class to soc.logic.models.base module. Patch by: Pawel Solyga
Tue, 04 Nov 2008 02:50:55 +0000 Third-party Javascript that should have been part of r891. Same license as
Todd Larsen <tlarsen@google.com> [Tue, 04 Nov 2008 02:50:55 +0000] rev 440
Third-party Javascript that should have been part of r891. Same license as JQuery. Patch by: Todd Larsen
Mon, 03 Nov 2008 19:47:02 +0000 Minor fixes needed for generic key name
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 03 Nov 2008 19:47:02 +0000] rev 439
Minor fixes needed for generic key name We no longer try to retreive an entity when there are unset fields. This sort of makes 'getIfFields' obsolete, since we check if fields now anyway. This is needed because getKeyFieldsFromDict expects the fields to be set. Also a minor fix in a Django template so that the generic 'edit' page has a working delete button again.
Mon, 03 Nov 2008 19:04:04 +0000 Quick fix to fix user profile creation
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 03 Nov 2008 19:04:04 +0000] rev 438
Quick fix to fix user profile creation This change will be obsolete when User refactoring is finished, but it will fix the build untill then.
Mon, 03 Nov 2008 18:20:53 +0000 Django Fix according to code.djangoproject.com/attachement/ticket/9115/check_for_unlink_in_temp.patch
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 03 Nov 2008 18:20:53 +0000] rev 437
Django Fix according to code.djangoproject.com/attachement/ticket/9115/check_for_unlink_in_temp.patch
Mon, 03 Nov 2008 15:03:09 +0000 Add missing TODOs to soc.logic.models classes. Fix comments format in base.Logic class. Changes based on comments to r972.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 03 Nov 2008 15:03:09 +0000] rev 436
Add missing TODOs to soc.logic.models classes. Fix comments format in base.Logic class. Changes based on comments to r972. http://code.google.com/p/soc/source/detail?r=972 Patch by: Pawel Solyga
Sun, 02 Nov 2008 22:57:46 +0000 Refactor out the abundance of dictionary (un)packing
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:57:46 +0000] rev 435
Refactor out the abundance of dictionary (un)packing Instead, keep the dict packed once packed, and only unpack it when needed.
Sun, 02 Nov 2008 22:56:52 +0000 Added key field definitions to the User logic
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:56:52 +0000] rev 434
Added key field definitions to the User logic This is the first part of making the User views generic.
Sun, 02 Nov 2008 22:56:28 +0000 Add a getForFields method
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:56:28 +0000] rev 433
Add a getForFields method It allows for generic queries with restrictions specified in a dictionary.
Sun, 02 Nov 2008 22:50:22 +0000 Add a generic method for getting a Keyname
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 22:50:22 +0000] rev 432
Add a generic method for getting a Keyname This patch will make logic/key_name.py obsolete in the future when everything is compliant with base.logic. This also makes the naming of already compliant logic modules generic and also fixes the _name field to be consistent with the naming in key_name.py. Note: This does not use Group/Sponsor, Group/School, Group/Organisation or Group/Club. Patch by: "Lennard de Rijk" <rijk0214@gmail.com> Reviewed by: Sverre Rabbelier
Sun, 02 Nov 2008 18:25:07 +0000 Added a missing 'pass' statement
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 18:25:07 +0000] rev 431
Added a missing 'pass' statement
Sun, 02 Nov 2008 18:10:30 +0000 Create a Site Settings sub-menu
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 18:10:30 +0000] rev 430
Create a Site Settings sub-menu
Sun, 02 Nov 2008 17:26:06 +0000 Fixed typo in e-mail address
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 17:26:06 +0000] rev 429
Fixed typo in e-mail address Instead of 'sverre@rabbelier.nl' everything read 'sverer@rabbelier.nl'
Sun, 02 Nov 2008 17:25:10 +0000 Fixed typo in access check
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 02 Nov 2008 17:25:10 +0000] rev 428
Fixed typo in access check Instead of checking for 'public' the rights for 'edit' were checked.
Mon, 27 Oct 2008 19:31:51 +0000 The pretty blue triangles from Google Code!
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 19:31:51 +0000] rev 427
The pretty blue triangles from Google Code! Patch by: Todd Larsen
Mon, 27 Oct 2008 19:19:44 +0000 Add tooltips style display of help_text, instead of widening the form with
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 19:19:44 +0000] rev 426
Add tooltips style display of help_text, instead of widening the form with another (often ridiculously large) column. Also, version the .css and .js files so that browsers won't display the wrong cached one when we change something. Patch by: Dmitri Gaskin, Todd Larsen Review by: Todd Larsen
Mon, 27 Oct 2008 18:54:53 +0000 Change Site and User sub-menus so that the "header" entry for those sub-menus
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 18:54:53 +0000] rev 425
Change Site and User sub-menus so that the "header" entry for those sub-menus is not a clickable link, but instead just a placeholder. Patch by: Todd Larsen
Mon, 27 Oct 2008 18:36:19 +0000 Use nice "plus" and "minus" symbols from Google Code, instead of current
Todd Larsen <tlarsen@google.com> [Mon, 27 Oct 2008 18:36:19 +0000] rev 424
Use nice "plus" and "minus" symbols from Google Code, instead of current triangles, for sidebar menu. Patch by: Todd Larsen
Sun, 26 Oct 2008 21:36:29 +0000 Add javascript expandable menus.
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 21:36:29 +0000] rev 423
Add javascript expandable menus. Patch by: Dmitri Gaskin Review by: Augie Fackler
Sun, 26 Oct 2008 21:26:35 +0000 Add jQuery.
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 21:26:35 +0000] rev 422
Add jQuery. Patch by: Dmitri Gaskin Review by: Augie Fackler
Sun, 26 Oct 2008 00:57:33 +0000 Remove bogus import from a previous iteration.
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 00:57:33 +0000] rev 421
Remove bogus import from a previous iteration.
Sun, 26 Oct 2008 00:52:23 +0000 Remove newlines in sidebar
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 26 Oct 2008 00:52:23 +0000] rev 420
Remove newlines in sidebar
Sun, 26 Oct 2008 00:27:17 +0000 Start a test system for the webapp itself.
Augie Fackler <durin42@gmail.com> [Sun, 26 Oct 2008 00:27:17 +0000] rev 419
Start a test system for the webapp itself.
Sun, 26 Oct 2008 00:13:26 +0000 Always check if a user filled in a user profile
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 26 Oct 2008 00:13:26 +0000] rev 418
Always check if a user filled in a user profile Also, if there is no checks defined, still do the general checks.
Sat, 25 Oct 2008 22:28:31 +0000 Do not include attributes which are inherited.
Tim Ansell <mithro@gmail.com> [Sat, 25 Oct 2008 22:28:31 +0000] rev 417
Do not include attributes which are inherited. Also some extra comments. Review URL: http://codereviews.googleopensourceprograms.com/1603
Sat, 25 Oct 2008 22:26:34 +0000 Run with Python 2.5
Tim Ansell <mithro@gmail.com> [Sat, 25 Oct 2008 22:26:34 +0000] rev 416
Run with Python 2.5
Thu, 23 Oct 2008 12:00:29 +0000 Fix typo in models/public.html template. Changes in Host Public Profile template (new header title and deletion of some fields).
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 12:00:29 +0000] rev 415
Fix typo in models/public.html template. Changes in Host Public Profile template (new header title and deletion of some fields). Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 23 Oct 2008 11:42:22 +0000 Fix mistakes in Host List templates. Change Host List second row to Sponsor name instead of Sponsor link name.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 11:42:22 +0000] rev 414
Fix mistakes in Host List templates. Change Host List second row to Sponsor name instead of Sponsor link name. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 23 Oct 2008 11:20:35 +0000 Rename Host list templates from group_<something> to host_<something> and move then to soc/host/list folder. Update affected files with new paths.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 11:20:35 +0000] rev 413
Rename Host list templates from group_<something> to host_<something> and move then to soc/host/list folder. Update affected files with new paths. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 23 Oct 2008 09:47:38 +0000 Fix Sponsor profile edit/create template. Don't show "View Sponsor Public Profile" link and Delete button in Create Sponsor view.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 09:47:38 +0000] rev 412
Fix Sponsor profile edit/create template. Don't show "View Sponsor Public Profile" link and Delete button in Create Sponsor view. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 23 Oct 2008 09:08:02 +0000 Addresses comments to r866.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 23 Oct 2008 09:08:02 +0000] rev 411
Addresses comments to r866. http://code.google.com/p/soc/source/detail?r=866 Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 23 Oct 2008 05:21:41 +0000 Moved all key_name related things to the logic modules
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 23 Oct 2008 05:21:41 +0000] rev 410
Moved all key_name related things to the logic modules Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Thu, 23 Oct 2008 05:21:26 +0000 Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 23 Oct 2008 05:21:26 +0000] rev 409
Addressed comments by Pawel and Todd Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Wed, 22 Oct 2008 17:18:57 +0000 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).
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 17:18:57 +0000] rev 408
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). Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 22 Oct 2008 17:03:08 +0000 Fix not working Create views (committed in r864). Check if entity exist in constructKeyNameSuffix funtion and apply changes to affected files.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 17:03:08 +0000] rev 407
Fix not working Create views (committed in r864). Check if entity exist in constructKeyNameSuffix funtion and apply changes to affected files. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 22 Oct 2008 16:55:35 +0000 Fix some wrong paths to templates (committed in r864).
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 16:55:35 +0000] rev 406
Fix some wrong paths to templates (committed in r864). Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 22 Oct 2008 16:21:50 +0000 Add Google Analytics support to Site Settings. The reason I created additional SettingsValidationForm is because you cannot inherit from Form that has already defined Meta class, so it's sort of workaround for that. I didn't want to have same validation functions in both Form classes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 22 Oct 2008 16:21:50 +0000] rev 405
Add Google Analytics support to Site Settings. The reason I created additional SettingsValidationForm is because you cannot inherit from Form that has already defined Meta class, so it's sort of workaround for that. I didn't want to have same validation functions in both Form classes. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 22 Oct 2008 06:20:02 +0000 Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 22 Oct 2008 06:20:02 +0000] rev 404
Added a Host profile and generalized some views Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Wed, 22 Oct 2008 06:19:12 +0000 Some more improvements to the generic view code
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 22 Oct 2008 06:19:12 +0000] rev 403
Some more improvements to the generic view code Namely getEmptyKeyFields and constructKeyNameSuffix, some whitespace issues, and a few extra fields in the context. Patch by: Sverre Rabbelier Reviewd by: to-be-reviewed
Tue, 21 Oct 2008 01:22:36 +0000 Incorperated suggestions by Todd
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 21 Oct 2008 01:22:36 +0000] rev 402
Incorperated suggestions by Todd Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Mon, 20 Oct 2008 23:24:41 +0000 Make use of the new generic views
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:41 +0000] rev 401
Make use of the new generic views Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Mon, 20 Oct 2008 23:24:32 +0000 Added a generic version of the Document views
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:32 +0000] rev 400
Added a generic version of the Document views Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Mon, 20 Oct 2008 23:24:21 +0000 Various improvements to the generic View code
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:21 +0000] rev 399
Various improvements to the generic View code Among others: * Added the 'page' argument to the simple.errorResponse call * Pass the result of getEmptyKeyFields to edit() in create() * Fix typo's in error responses * Fixed a todo to properly redirect on create * Made editPost return something when the form is not valid * Added an _editGet hook Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Mon, 20 Oct 2008 23:24:07 +0000 Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:24:07 +0000] rev 398
Rename 'existing_doc' and 'document' to entity Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Mon, 20 Oct 2008 23:23:53 +0000 Remove the google search box and the google analytics page
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:23:53 +0000] rev 397
Remove the google search box and the google analytics page These are left over from the mockups (removed because they caused long wait times when no internet connection is available).
Mon, 20 Oct 2008 23:23:43 +0000 Improve the error message for getIfFields
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 20 Oct 2008 23:23:43 +0000] rev 396
Improve the error message for getIfFields Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Mon, 20 Oct 2008 22:18:32 +0000 Add documentation in response to Pawel's comments:
Todd Larsen <tlarsen@google.com> [Mon, 20 Oct 2008 22:18:32 +0000] rev 395
Add documentation in response to Pawel's comments: http://code.google.com/p/soc/source/detail?r=832 Patch by: Todd Larsen Review by: to-be-reviewed
Sun, 19 Oct 2008 21:12:08 +0000 Add BaseForm class to soc.views.helper.forms module (work in progress). This changes the way as_table function displays the form (for more information have a look into doc string). BaseForm is going to be used for all forms in Melange in future. Right now it's still missing custom form errors labels and "required" text in 3rd column, but that's added as TODO and I'm working on it.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 21:12:08 +0000] rev 394
Add BaseForm class to soc.views.helper.forms module (work in progress). This changes the way as_table function displays the form (for more information have a look into doc string). BaseForm is going to be used for all forms in Melange in future. Right now it's still missing custom form errors labels and "required" text in 3rd column, but that's added as TODO and I'm working on it. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 21:08:08 +0000 Add colon after label in _field_as_table_row template for consistency reasons with form.as_table output.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 21:08:08 +0000] rev 393
Add colon after label in _field_as_table_row template for consistency reasons with form.as_table output. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 18:00:14 +0000 Add "View Sponsor Public Profile" to Sponsor Edit view template. Remove not needed <p> in home/public.html template. Add missing '$' at the end of some urls in site/map.py module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 18:00:14 +0000] rev 392
Add "View Sponsor Public Profile" to Sponsor Edit view template. Remove not needed <p> in home/public.html template. Add missing '$' at the end of some urls in site/map.py module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 17:33:44 +0000 Address comments to r844 and r845.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 17:33:44 +0000] rev 391
Address comments to r844 and r845. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 16:17:32 +0000 Remove unused imports, fix too long lines and indentions.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 16:17:32 +0000] rev 390
Remove unused imports, fix too long lines and indentions. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 13:14:40 +0000 Fix identions, too long lines, unused imports and some other mistakes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 13:14:40 +0000] rev 389
Fix identions, too long lines, unused imports and some other mistakes. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 13:06:20 +0000 Add pylint configuration file (pylintrc) and do_pylint.sh script which runs pylint checkers on Melange code using pylintrc file as config. do_pylint.sh as default shows additional information like reports, TODOs, code similarities and unused imports, but you can run it in silent mode (--silent) which disables all of that. The only problem with unused imports in pylint right now is that it doesn't work in the situation described in last example at http://code.google.com/p/soc/wiki/PythonStyleGuide#Packages, so sometimes we get unused import soc when we actually shouldn't. However this can be fixed by writing pylint plugins (our own checkers) in future.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 19 Oct 2008 13:06:20 +0000] rev 388
Add pylint configuration file (pylintrc) and do_pylint.sh script which runs pylint checkers on Melange code using pylintrc file as config. do_pylint.sh as default shows additional information like reports, TODOs, code similarities and unused imports, but you can run it in silent mode (--silent) which disables all of that. The only problem with unused imports in pylint right now is that it doesn't work in the situation described in last example at http://code.google.com/p/soc/wiki/PythonStyleGuide#Packages, so sometimes we get unused import soc when we actually shouldn't. However this can be fixed by writing pylint plugins (our own checkers) in future. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 19 Oct 2008 00:34:33 +0000 Addressed comments by Todd on r822
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 19 Oct 2008 00:34:33 +0000] rev 387
Addressed comments by Todd on r822 Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sat, 18 Oct 2008 21:55:38 +0000 Fix identions in reflistprop module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 21:55:38 +0000] rev 386
Fix identions in reflistprop module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 18 Oct 2008 21:54:13 +0000 Remove not used imports in models. Fix missing spaces in models when operator not preceded by a space. Add missing ugettext_lazy import to Proposal model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 21:54:13 +0000] rev 385
Remove not used imports in models. Fix missing spaces in models when operator not preceded by a space. Add missing ugettext_lazy import to Proposal model. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 18 Oct 2008 17:49:46 +0000 Add missing ugettext_lazy for string in soc.views.user.profile module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 17:49:46 +0000] rev 384
Add missing ugettext_lazy for string in soc.views.user.profile module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 18 Oct 2008 17:27:53 +0000 Fix missing keyword argument in soc.views.user.profile.create() function when calling edit().
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 17:27:53 +0000] rev 383
Fix missing keyword argument in soc.views.user.profile.create() function when calling edit(). Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 18 Oct 2008 17:25:04 +0000 Change Sponsor delete url from /site/sponsor/profile/<link_name>/delete to /site/sponsor/profile/delete/<link_name> to match convention used in Document delete url.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 18 Oct 2008 17:25:04 +0000] rev 382
Change Sponsor delete url from /site/sponsor/profile/<link_name>/delete to /site/sponsor/profile/delete/<link_name> to match convention used in Document delete url. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 18 Oct 2008 05:59:04 +0000 Fixed not working to edit a doc that selected from the docs list view. soc/templates/soc/docs/list/docs_row.html not full updated.
Chen Lunpeng <forever.clp@gmail.com> [Sat, 18 Oct 2008 05:59:04 +0000] rev 381
Fixed not working to edit a doc that selected from the docs list view. soc/templates/soc/docs/list/docs_row.html not full updated. Patch by: Chen Lunpeng Review by: to-be-reviewed
Sat, 18 Oct 2008 05:30:57 +0000 Change the "Site home page Document is missing" default text to give
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:30:57 +0000] rev 380
Change the "Site home page Document is missing" default text to give instructions similar to those in the Site Settings form. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 05:26:53 +0000 Remove another now-empty templates directory.
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:26:53 +0000] rev 379
Remove another now-empty templates directory. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 05:25:47 +0000 Nothing left in this templates directory, so remove it.
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:25:47 +0000] rev 378
Nothing left in this templates directory, so remove it. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 05:11:37 +0000 Refactor various site views into more generic locations, in preparation for
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 05:11:37 +0000] rev 377
Refactor various site views into more generic locations, in preparation for using access permissions to decide the fuctionality in the view, instead of having lots of cut-and-paste copies of the same view functions. site/home.py into more generic home.py site/settings.py into more generic settings.py site/docs/list.py into more generic docs/list.py site/docs/edit.py into more generic docs/edit.py Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 04:56:39 +0000 Add a style that appears in form error lists produced by Django Forms and
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 04:56:39 +0000] rev 376
Add a style that appears in form error lists produced by Django Forms and make it match the style of the existing td.formfielderror used by the field_as_table_row helper. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 01:51:02 +0000 Create package for soon-to-be-refactored group/home.py and group/settings.py
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:51:02 +0000] rev 375
Create package for soon-to-be-refactored group/home.py and group/settings.py packages. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 01:47:02 +0000 Add the Page object to the context of each view. Update templates to make
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:47:02 +0000] rev 374
Add the Page object to the context of each view. Update templates to make use of the newly-available page.long_name and page.short_name. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 01:35:08 +0000 Add the Page object to the context of each view method. Also, add some missing
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:35:08 +0000] rev 373
Add the Page object to the context of each view method. Also, add some missing Arg: sections to __doc__ strings and fix the missing context issue in editPost() and editGet(). Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 01:32:40 +0000 Formalize the concept of a NonPage that can appear in the site-map, useful for
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:32:40 +0000] rev 372
Formalize the concept of a NonPage that can appear in the site-map, useful for non-clickable sidebar menu divisions, for example. Convert "hacky" fake Pages into NonPages in the site-map. Also, pass page=self to every view as a keyword argument when generating the Django urlpatterns. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 18 Oct 2008 01:00:10 +0000 Add a relative symlink pointing at ../rietveld/upload.py in thirdparty/chromium
Todd Larsen <tlarsen@google.com> [Sat, 18 Oct 2008 01:00:10 +0000] rev 371
Add a relative symlink pointing at ../rietveld/upload.py in thirdparty/chromium so that gcl.py can import the thirdparty/rietveld/upload.py module. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 17 Oct 2008 23:10:49 +0000 Replace missing:
Todd Larsen <tlarsen@google.com> [Fri, 17 Oct 2008 23:10:49 +0000] rev 370
Replace missing: from google.appengine.api import users that appears to have been removed by r824. Needed by call in the edit() view to users.get_current_user(). Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 17 Oct 2008 13:57:54 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Oct 2008 13:57:54 +0000] rev 369
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Fri, 17 Oct 2008 13:04:51 +0000 Move TODO about isDeletable Sponsor logic method to sponsor.py module and extend a little bit doc string.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Oct 2008 13:04:51 +0000] rev 368
Move TODO about isDeletable Sponsor logic method to sponsor.py module and extend a little bit doc string. Patch by: Pawel Solyga Review by: to-be-reviewed
Fri, 17 Oct 2008 12:52:02 +0000 Remove not needed request argument in view decorator.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 17 Oct 2008 12:52:02 +0000] rev 367
Remove not needed request argument in view decorator. Patch by: Pawel Solyga Review by: to-be-reviewed
Fri, 17 Oct 2008 02:43:39 +0000 Fixed not working after click the "List Site Sponsors" in site menu bar. due to wrongly imported modules.
Chen Lunpeng <forever.clp@gmail.com> [Fri, 17 Oct 2008 02:43:39 +0000] rev 366
Fixed not working after click the "List Site Sponsors" in site menu bar. due to wrongly imported modules. Patch by: Chen Lunpeng Review by: to-be-reviewed
Thu, 16 Oct 2008 23:31:57 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 23:31:57 +0000] rev 365
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 23:26:58 +0000 Last commit missed the new __init__.py file
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 23:26:58 +0000] rev 364
Last commit missed the new __init__.py file
Thu, 16 Oct 2008 23:23:16 +0000 Add a framework for generic views
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 23:23:16 +0000] rev 363
Add a framework for generic views This commit does not enable the new code, as such there should be no change in functionality. In order to use the new code the maps.py file should be updated to point at the new views/models/sponsor.py module. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Thu, 16 Oct 2008 18:08:35 +0000 entity_type is not the same as entity_type_short
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 18:08:35 +0000] rev 362
entity_type is not the same as entity_type_short The previous commit wrongfully assumed this. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Thu, 16 Oct 2008 17:34:10 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 17:34:10 +0000] rev 361
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. http://code.google.com/p/soc/source/detail?r=817 Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 17:30:58 +0000 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 16 Oct 2008 17:30:58 +0000] rev 360
Rename 'group' to 'entity' in the Django templates This allows for generic use of these templates. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Thu, 16 Oct 2008 16:05:08 +0000 DeadlineExceededError in the recent version of AppEngine lives only in one place so there is no need to try import it from both runtime (deployed) and runtime.apiproxy_errors (dev server) modules anymore.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 16:05:08 +0000] rev 359
DeadlineExceededError in the recent version of AppEngine lives only in one place so there is no need to try import it from both runtime (deployed) and runtime.apiproxy_errors (dev server) modules anymore. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 15:22:41 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 15:22:41 +0000] rev 358
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 15:12:00 +0000 Some indention fixes in access.py module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 15:12:00 +0000] rev 357
Some indention fixes in access.py module. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 13:18:59 +0000 Change name of login_request variable in access.py module to login_response.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 13:18:59 +0000] rev 356
Change name of login_request variable in access.py module to login_response. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 13:16:46 +0000 Change name of getUserFromLinkNameOrDie function to getUserFromLinkNameOr404 and apply changes to affected files.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 13:16:46 +0000] rev 355
Change name of getUserFromLinkNameOrDie function to getUserFromLinkNameOr404 and apply changes to affected files. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 13:14:13 +0000 Fix mistakes in docs and comments in logic/models/base.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 13:14:13 +0000] rev 354
Fix mistakes in docs and comments in logic/models/base.py. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 09:14:26 +0000 Log Fix not working after click the "Site Settings" in home page. templete wasn't updated when soc/app/soc/logic/site/map.py was update.
Chen Lunpeng <forever.clp@gmail.com> [Thu, 16 Oct 2008 09:14:26 +0000] rev 353
Log Fix not working after click the "Site Settings" in home page. templete wasn't updated when soc/app/soc/logic/site/map.py was update. Patch by: Chen Lunpeng Review by: to-be-reviewed
Thu, 16 Oct 2008 09:05:02 +0000 Remove #docsummary class from css file as it is not used anymore. Add #createdby class in css file. Fix typo in docs/profile.html template. Put document content in <div class='content'>.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 16 Oct 2008 09:05:02 +0000] rev 352
Remove #docsummary class from css file as it is not used anymore. Add #createdby class in css file. Fix typo in docs/profile.html template. Put document content in <div class='content'>. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 16 Oct 2008 04:37:13 +0000 Eliminate the Work.abstract property and move the Document.content property
Todd Larsen <tlarsen@google.com> [Thu, 16 Oct 2008 04:37:13 +0000] rev 351
Eliminate the Work.abstract property and move the Document.content property to Work.content instead. Update affected views, and re-base some classes that were deriving from Document just to get Document.content to now be derived from Work instead. The Document class now has a "pass" body with no additional properties. It is debatable whether Work should become Document, since I am not sure that we plan to be able to generically display, say, a Quiz or a Question (which are Works) on the home page (which can only specifically display a Document, or now, the basic Work entity...). Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 16 Oct 2008 04:30:26 +0000 "new" is a little bit redundant in the short_name of sidebar menu items that
Todd Larsen <tlarsen@google.com> [Thu, 16 Oct 2008 04:30:26 +0000] rev 350
"new" is a little bit redundant in the short_name of sidebar menu items that already begin with "Create...", since that implies the result will be something new. Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 16 Oct 2008 04:27:07 +0000 A quick-and-dirty way to create non-link sub-menu dividers, plus a TODO on
Todd Larsen <tlarsen@google.com> [Thu, 16 Oct 2008 04:27:07 +0000] rev 349
A quick-and-dirty way to create non-link sub-menu dividers, plus a TODO on how this should be formalizes to not be so hacky. This change was inspired by the ever-growing "Site" sidebar menu. Patch by: Todd larsen Review by: to-be-reviewed
Wed, 15 Oct 2008 21:31:36 +0000 Should have been part of recent r806.
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 21:31:36 +0000] rev 348
Should have been part of recent r806. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 15 Oct 2008 21:27:47 +0000 First phase of making the / (site/home) view generic enough to use it for
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 21:27:47 +0000] rev 347
First phase of making the / (site/home) view generic enough to use it for Sponsor "home" page, Program "home" page, Organization "home" page, etc. when combined with HomeSettings. First phase of addressing this issue: http://code.google.com/p/soc/issues/detail?id=64 by factoring "Site Settings" apart from the site/home stuff. Patch by: Todd Larsen Review by: Pawel Solyga Review URL: http://codereviews.googleopensourceprograms.com/1405
Wed, 15 Oct 2008 21:23:29 +0000 Add the empty directory where site/home/edit.html is moving, to see if this
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 21:23:29 +0000] rev 346
Add the empty directory where site/home/edit.html is moving, to see if this fixes a problem with gcl.py.
Wed, 15 Oct 2008 20:27:40 +0000 Update TinyMCE wiget code according to r783. I hope I did it correctly this time.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 20:27:40 +0000] rev 345
Update TinyMCE wiget code according to r783. I hope I did it correctly this time. http://code.google.com/p/soc/source/detail?r=783 Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 20:24:02 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 20:24:02 +0000] rev 344
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 20:10:07 +0000 Remov "founder" text from the first line of edit.py, this is fix to r799 commit.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 20:10:07 +0000] rev 343
Remov "founder" text from the first line of edit.py, this is fix to r799 commit. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 19:33:50 +0000 Remove the proposed WorksAuthors many:many relation and promote the "founder"
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 19:33:50 +0000] rev 342
Remove the proposed WorksAuthors many:many relation and promote the "founder" property from Document up to Work. Update all subclasses of Work and any affected views accordingly. This addresses review comments here: http://code.google.com/p/soc/source/detail?r=786 Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 15 Oct 2008 18:06:07 +0000 Fixed the evil black logo.
Tim Ansell <mithro@gmail.com> [Wed, 15 Oct 2008 18:06:07 +0000] rev 341
Fixed the evil black logo.
Wed, 15 Oct 2008 18:03:21 +0000 Make this file excutable by default.
Tim Ansell <mithro@gmail.com> [Wed, 15 Oct 2008 18:03:21 +0000] rev 340
Make this file excutable by default.
Wed, 15 Oct 2008 17:10:27 +0000 Define the Models for implementing Quizzes (collections of Questions) and their
Todd Larsen <tlarsen@google.com> [Wed, 15 Oct 2008 17:10:27 +0000] rev 339
Define the Models for implementing Quizzes (collections of Questions) and their Responses (collections of Answers to those Questions). These Models would form the basis of storage for such items as: Terms of Service (Quiz) Question ("I agree...") Response -> Answer (answer to "I agree..." confirmation) solution ("Yes" Answer to the "I agree..." Question) Mentor and Student surveys (Quiz) Questions (including "Pay this student?") Response -> Answers solution ("Yes" Answer to the "Pay this student?" Question) Organization applications Student Proposal review, comment, and scoring system GHOP task tracking (a specific task list item would be a Quiz) Patch by: Todd Larsen Review by: Pawel Solyga, Sverre Rabbelier, Chen Lunpeng Review URL: http://codereviews.googleopensourceprograms.com/1403
Wed, 15 Oct 2008 14:06:33 +0000 Show "Created by" read-only field in Document Edit view. Update size of TinyMCE widget in Document Edit/Create views. Change user property name to founder in Document model and update files according to this change (now founder is used in Group and Document models). Remove not used variables and imports in views/site/docs/edit.py. Refactor EditForm and CreateForm in views/site/docs/edit.py so that EditForm inherits from CreateForm and just extends it.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 14:06:33 +0000] rev 338
Show "Created by" read-only field in Document Edit view. Update size of TinyMCE widget in Document Edit/Create views. Change user property name to founder in Document model and update files according to this change (now founder is used in Group and Document models). Remove not used variables and imports in views/site/docs/edit.py. Refactor EditForm and CreateForm in views/site/docs/edit.py so that EditForm inherits from CreateForm and just extends it. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 13:59:52 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:59:52 +0000] rev 337
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 13:54:00 +0000 Fix not working docs show view. Document show view wasn't updated when the logic refactor was made.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:54:00 +0000] rev 336
Fix not working docs show view. Document show view wasn't updated when the logic refactor was made. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 13:51:31 +0000 Changes to TinyMCE widget that enable to pass mce_settings in the class constructor and that way update default settings if needed.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:51:31 +0000] rev 335
Changes to TinyMCE widget that enable to pass mce_settings in the class constructor and that way update default settings if needed. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 13:49:17 +0000 Add nameHomeSettings function to key_name module. Add HomeSettings logic.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:49:17 +0000] rev 334
Add nameHomeSettings function to key_name module. Add HomeSettings logic. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 15 Oct 2008 13:47:10 +0000 Update comments in models/group.py (changed Optional to Required). Add verbose_name to founder property in Group model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 15 Oct 2008 13:47:10 +0000] rev 333
Update comments in models/group.py (changed Optional to Required). Add verbose_name to founder property in Group model. Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 22:57:52 +0000 Fix bug that caused Lookup user by User Account not to work properly. Basically wrong parameter to models.user.logic.getFromFields().
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 22:57:52 +0000] rev 332
Fix bug that caused Lookup user by User Account not to work properly. Basically wrong parameter to models.user.logic.getFromFields(). Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 22:35:46 +0000 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>).
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 22:35:46 +0000] rev 331
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>). Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 22:20:55 +0000 Add underscore in two word div class names in templates (nick_name, short_name, partial_path).
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 22:20:55 +0000] rev 330
Add underscore in two word div class names in templates (nick_name, short_name, partial_path). Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 21:39:57 +0000 Add is_featured boolean property to the Work model, so that Works can be
Todd Larsen <tlarsen@google.com> [Tue, 14 Oct 2008 21:39:57 +0000] rev 329
Add is_featured boolean property to the Work model, so that Works can be designated as "featured" items in various places in the UI. This will be used to allow Sponsors, Programs, and Organizations to select Documents that should be included in their sidebar menus. Perhaps featured "site" Documents, such as site-wide Terms of Service, should probably be listed below the "User (sign-out)" menu, since the User will have to read and agree to these before being allowed to use the site. A collapsable Javascript sidebar is probably going to be needed soon... Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 14 Oct 2008 21:33:57 +0000 Add missing blank lines, clean up the doc string and remove white spaces at the end of the lines in reflistprop.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 21:33:57 +0000] rev 328
Add missing blank lines, clean up the doc string and remove white spaces at the end of the lines in reflistprop. Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 21:06:23 +0000 Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 21:06:23 +0000] rev 327
Move <div id='notice'> into notice block in base.html template. Change formatting of notice block to make it much easier to "parse" visually. This patch is based on comments to r722. http://code.google.com/p/soc/source/detail?r=722 Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 21:02:28 +0000 Add a third-party ReferenceListProperty class. This is going to be used to
Todd Larsen <tlarsen@google.com> [Tue, 14 Oct 2008 21:02:28 +0000] rev 326
Add a third-party ReferenceListProperty class. This is going to be used to contain the references to Questions that make up a Quiz. Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 14 Oct 2008 20:33:20 +0000 Fix some defects for lookup user view. More information about the patch can be found under the link below.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 20:33:20 +0000] rev 325
Fix some defects for lookup user view. More information about the patch can be found under the link below. http://groups.google.com/group/melange-soc-dev/browse_thread/thread/5d378c8d3679945f/d1e7cc3a53adda4e Patch by: Chen Lunpeng Review by: Pawel Solyga
Tue, 14 Oct 2008 16:10:07 +0000 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).
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 16:10:07 +0000] rev 324
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). Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 16:00:59 +0000 Load ../vendor/django into trunk/app/django.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 16:00:59 +0000] rev 323
Load ../vendor/django into trunk/app/django.
Tue, 14 Oct 2008 12:36:55 +0000 Fixed imports sorting based on comments for r751.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 12:36:55 +0000] rev 322
Fixed imports sorting based on comments for r751. http://code.google.com/p/soc/source/detail?r=751 Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 14 Oct 2008 12:02:42 +0000 Some indentations fixes. Changed all the email=id function arguments to email=id.email().
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 14 Oct 2008 12:02:42 +0000] rev 321
Some indentations fixes. Changed all the email=id function arguments to email=id.email(). Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 22:32:09 +0000 Some indentations fixes and ugettext_lazy() wrap up for DEF_DEV_LOGOUT_LOGIN_MSG_FMT in access.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:32:09 +0000] rev 320
Some indentations fixes and ugettext_lazy() wrap up for DEF_DEV_LOGOUT_LOGIN_MSG_FMT in access.py. Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 22:22:16 +0000 Rename soc/logic/models/settings.py to model site_settings.py and apply import name change to soc/views/site/home.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:22:16 +0000] rev 319
Rename soc/logic/models/settings.py to model site_settings.py and apply import name change to soc/views/site/home.py Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 22:18:54 +0000 Fix typos in doc string in sponsor.py and settings.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:18:54 +0000] rev 318
Fix typos in doc string in sponsor.py and settings.py Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 22:04:42 +0000 Remove spaces between dict key name and colon. Fix some typos based on comments http://code.google.com/p/soc/source/detail?r=739.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 22:04:42 +0000] rev 317
Remove spaces between dict key name and colon. Fix some typos based on comments http://code.google.com/p/soc/source/detail?r=739. Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 21:54:51 +0000 Add missing blank lines between imports and sort all of the imports.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 21:54:51 +0000] rev 316
Add missing blank lines between imports and sort all of the imports. Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 21:34:07 +0000 Add missing blank lines between imports in access.py module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 21:34:07 +0000] rev 315
Add missing blank lines between imports in access.py module. Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 17:41:20 +0000 Rearrange imports in home.py so they apply to new discussed format (separate "from ..." and "import ..." blocks). Add Delete Document functionality.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 13 Oct 2008 17:41:20 +0000] rev 314
Rearrange imports in home.py so they apply to new discussed format (separate "from ..." and "import ..." blocks). Add Delete Document functionality. Patch by: Pawel Solyga Review by: to-be-reviewed
Mon, 13 Oct 2008 06:19:43 +0000 Bugfixes to the latest revision
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Oct 2008 06:19:43 +0000] rev 313
Bugfixes to the latest revision Some pages did not work due to missing imports, or wrongly imported modules. Patch by: Chen Lunpeng Reviewd by: Sverre Rabbelier
Mon, 13 Oct 2008 04:34:14 +0000 Added missing models/__init__.py and removed empty logic/model directory
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 13 Oct 2008 04:34:14 +0000] rev 312
Added missing models/__init__.py and removed empty logic/model directory Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 18:40:32 +0000 Dictionaries need String values for keys
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:40:32 +0000] rev 311
Dictionaries need String values for keys The cleanup patch earlier mistakenly used raw names as keys to the dictionary (such as one would do in a function call). This fixes that mistake. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 18:32:43 +0000 Removed now-obsolete code from model.py and __init__.py
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:32:43 +0000] rev 310
Removed now-obsolete code from model.py and __init__.py Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 18:30:37 +0000 Made the existing code use the new soc.logic.models
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:30:37 +0000] rev 309
Made the existing code use the new soc.logic.models Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 18:11:20 +0000 Added invididual model logic files
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 18:11:20 +0000] rev 308
Added invididual model logic files Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 16:50:28 +0000 Also removed helper directory
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 16:50:28 +0000] rev 307
Also removed helper directory Which somehow did not get removed with the last commit Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 16:47:39 +0000 Removed obsolete logic directories and added one for model
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 16:47:39 +0000] rev 306
Removed obsolete logic directories and added one for model The model/ directory will contain the Base logic classes. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 15:52:19 +0000 Minor style and import fixes
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 15:52:19 +0000] rev 305
Minor style and import fixes Incorperated changes as suggested by Todd and Pawel. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 15:05:50 +0000 Missing changes to soc.views.helper.access
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 15:05:50 +0000] rev 304
Missing changes to soc.views.helper.access Due to having to manually do the 'svn mv' of logic to helper, the changes to access.py got lost, this commit fixes that. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 14:58:47 +0000 Moved soc/logic/helper/access to soc/views/helper/access
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 14:58:47 +0000] rev 303
Moved soc/logic/helper/access to soc/views/helper/access Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 08:46:05 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Oct 2008 08:46:05 +0000] rev 302
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 12 Oct 2008 08:43:41 +0000 Fix not working isIdDeveloper() function after recent commit. There is still confusion within getFormFields method (email is not id), but this change doesn't address that problem.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Oct 2008 08:43:41 +0000] rev 301
Fix not working isIdDeveloper() function after recent commit. There is still confusion within getFormFields method (email is not id), but this change doesn't address that problem. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 12 Oct 2008 01:08:41 +0000 Changed location of the svn command in svn_load_dirs.pl script from '/usr/bin/svn' to 'svn'. That makes the script more universal and it should work on Linux, Windows and Mac OS X if the svn is in the PATH.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 12 Oct 2008 01:08:41 +0000] rev 300
Changed location of the svn command in svn_load_dirs.pl script from '/usr/bin/svn' to 'svn'. That makes the script more universal and it should work on Linux, Windows and Mac OS X if the svn is in the PATH. Patch by: Pawel Solyga Review by: to-be-reviewed
Sun, 12 Oct 2008 00:12:53 +0000 Refactor nearly all the soc.logic code to use the Base class
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 00:12:53 +0000] rev 299
Refactor nearly all the soc.logic code to use the Base class Instead of having a lot of duplicate code, this patch aims to reduce this duplication by introducing a Base abstraction. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Sun, 12 Oct 2008 00:08:54 +0000 Replace almost all occurences of linkname with link_name
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 12 Oct 2008 00:08:54 +0000] rev 298
Replace almost all occurences of linkname with link_name In an attempt to have some atomicness in these commits this patch does a rename for the sake of consistency. Not all were changed, but the next commit will address that. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed
Fri, 10 Oct 2008 13:14:24 +0000 Load /Users/solydzajs/Downloads/google_appengine/ into
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 10 Oct 2008 13:14:24 +0000] rev 297
Load /Users/solydzajs/Downloads/google_appengine/ into trunk/thirdparty/google_appengine.
Fri, 10 Oct 2008 06:56:56 +0000 Add missing __init__.py to soc/logic/helper folder (Caused home page not to work).
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 10 Oct 2008 06:56:56 +0000] rev 296
Add missing __init__.py to soc/logic/helper folder (Caused home page not to work).
Thu, 09 Oct 2008 23:50:00 +0000 Removed now-obsolete getAltResponse* methods from simple.py
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Oct 2008 23:50:00 +0000] rev 295
Removed now-obsolete getAltResponse* methods from simple.py The getAltResponse* methods have been replaced by the check* methods in soc.logic.helper.access. Patch by: Sverre Rabbelier Reviewed by: Pawel Solyga, Augie Fackler, Todd Larsen Reviewed at: http://codereviews.googleopensourceprograms.com/1601 Review id: 1601
Thu, 09 Oct 2008 23:48:20 +0000 Refactor existing code to use the new access module
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Oct 2008 23:48:20 +0000] rev 294
Refactor existing code to use the new access module Instead of ending up with many different ways to do access control, we end up having only one centralized place wher access control is done. Patch by: Sverre Rabbelier Reviewed by: Pawel Solyga, Augie Fackler, Todd Larsen Reviewed at: http://codereviews.googleopensourceprograms.com/1601 Review id: 1601
Thu, 09 Oct 2008 23:38:27 +0000 Add an access control module
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 09 Oct 2008 23:38:27 +0000] rev 293
Add an access control module The module's purpose is to check access requirements, (such as being logged in), and raise an exception containing a authentication request when the requirement is not met. Patch by: Sverre Rabbelier Reviewed by: Pawel Solyga, Augie Fackler, Todd Larsen Reviewed at: http://codereviews.googleopensourceprograms.com/1601 Review id: 1601
Thu, 09 Oct 2008 18:11:37 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 18:11:37 +0000] rev 292
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 09 Oct 2008 18:06:50 +0000 Create a submit_buttons blocks in all edit view templates and put submit buttons in separate html table (not as part of the fields table anymore).
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 18:06:50 +0000] rev 291
Create a submit_buttons blocks in all edit view templates and put submit buttons in separate html table (not as part of the fields table anymore). Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 09 Oct 2008 15:10:51 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 15:10:51 +0000] rev 290
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 09 Oct 2008 13:56:42 +0000 Add notification bar block in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 13:56:42 +0000] rev 289
Add notification bar block in base.html template. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 09 Oct 2008 13:50:44 +0000 Add #notice class declaration in soc.css for upcoming notification bar.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 13:50:44 +0000] rev 288
Add #notice class declaration in soc.css for upcoming notification bar. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 09 Oct 2008 13:49:41 +0000 Update indexes in index.yaml file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 09 Oct 2008 13:49:41 +0000] rev 287
Update indexes in index.yaml file. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 08 Oct 2008 21:22:50 +0000 Fix typo in getSponsorFromLinkName (key_name variable name instead of sponsor_key_name). Add deleteSponsor function for deleting Sponsor entities from datastore.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 08 Oct 2008 21:22:50 +0000] rev 286
Fix typo in getSponsorFromLinkName (key_name variable name instead of sponsor_key_name). Add deleteSponsor function for deleting Sponsor entities from datastore.
Sun, 05 Oct 2008 13:27:49 +0000 Style fix, as requested by Todd to dict usage
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 05 Oct 2008 13:27:49 +0000] rev 285
Style fix, as requested by Todd to dict usage Use "dict['key'] = value" instead of "dict.update({'key' : 'value'})" when updating only one key.
Sat, 04 Oct 2008 07:22:43 +0000 Call soc.logic.site.map.getDjangoUrlPatterns() to construct the urlpatterns
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:22:43 +0000] rev 284
Call soc.logic.site.map.getDjangoUrlPatterns() to construct the urlpatterns from the site map, rather than explicitly listing them in app/urls.py. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 07:20:48 +0000 Update soc/logic/site/sidebar.py to use parts of the "site map" in
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:20:48 +0000] rev 283
Update soc/logic/site/sidebar.py to use parts of the "site map" in soc/logic/site/map.py to generate portions of the sidebar menu. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 07:17:00 +0000 A site layout ("site map") of the web application, including URL regular
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:17:00 +0000] rev 282
A site layout ("site map") of the web application, including URL regular expression patterns, Django views, and metadata for constructing sidebar menus and (eventually) breadcrumbs. One function, soc.logic.site.map.getDjangoUrlPatterns(), converts these details into urlpatterns for use by Django. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 07:14:11 +0000 Url and Page classes used to encapsulate the "site map" information (URL
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 07:14:11 +0000] rev 281
Url and Page classes used to encapsulate the "site map" information (URL regular expressions, Django views, menu item names, etc.) and the relation between pages in the site map. There are still lots of TODOs in this first pass. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 06:25:07 +0000 urllib.quote() is needed by the soc/logic/site/map.py work, so import it from
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 06:25:07 +0000] rev 280
urllib.quote() is needed by the soc/logic/site/map.py work, so import it from the Python 2.5.2 sources. The entire urllib.py is not supported by Google App Engine (yet?), since it relies on 'import socket' (App Engine provides a separate urlfetch module instead). Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 05:00:13 +0000 Remove now-empty soc/views/helpers (everything has moved to soc/views/helper).
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 05:00:13 +0000] rev 279
Remove now-empty soc/views/helpers (everything has moved to soc/views/helper). Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 04:51:43 +0000 Add create() wrapper views that simply call the existing edit() views, to
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:51:43 +0000] rev 278
Add create() wrapper views that simply call the existing edit() views, to produce unique view names in preparation for the soc/logic/site/map.py code. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 04:42:37 +0000 Speed up average case by appending remainder of original choices list unchanged
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:42:37 +0000] rev 277
Speed up average case by appending remainder of original choices list unchanged (avoiding remaining str -> int type conversions) once the insertion point is found. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 04:34:16 +0000 Move helpers/html_menu.py to helper/html_menu.py, to clear out
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:34:16 +0000] rev 276
Move helpers/html_menu.py to helper/html_menu.py, to clear out soc/views/helpers for deletion. Patch by: Todd Larsen Review by: to-be-reviewed
Sat, 04 Oct 2008 04:32:28 +0000 A specialized SortedDict used by soc/logic/site/page.py.
Todd Larsen <tlarsen@google.com> [Sat, 04 Oct 2008 04:32:28 +0000] rev 275
A specialized SortedDict used by soc/logic/site/page.py. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 23:59:49 +0000 Move helpers/forms_helpers.py to helper/forms.py.
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:59:49 +0000] rev 274
Move helpers/forms_helpers.py to helper/forms.py. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 23:24:12 +0000 Move helpers/templatetags to helper/templatetags.
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:24:12 +0000] rev 273
Move helpers/templatetags to helper/templatetags. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 23:17:49 +0000 Move helpers/response_helpers.py to helper/responses.py.
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:17:49 +0000] rev 272
Move helpers/response_helpers.py to helper/responses.py. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 23:08:28 +0000 Replace helpers/custom_widgets.py with helper/widgets.py.
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:08:28 +0000] rev 271
Replace helpers/custom_widgets.py with helper/widgets.py. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 23:01:49 +0000 Move helpers/template_helpers.py to helper/templates.py.
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 23:01:49 +0000] rev 270
Move helpers/template_helpers.py to helper/templates.py. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 22:17:05 +0000 Move helpers/request.py to helper/requests.py to avoid conflict with common
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 22:17:05 +0000] rev 269
Move helpers/request.py to helper/requests.py to avoid conflict with common local variable name "request". Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 22:09:32 +0000 Move helpers/list.py to helper/lists.py to avoid conflict with built-in type
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 22:09:32 +0000] rev 268
Move helpers/list.py to helper/lists.py to avoid conflict with built-in type name "list". Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 21:59:32 +0000 Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 21:59:32 +0000] rev 267
Replace soc/views/helpers/request_helpers with soc/views/helpers/request.py and replace uses of request_helpers. with helpers.request. instead. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 21:41:12 +0000 Move soc/views/helpers/list_helpers.py to soc/views/helpers/list.py and change
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 21:41:12 +0000] rev 266
Move soc/views/helpers/list_helpers.py to soc/views/helpers/list.py and change uses from list_helpers. to helpers.list. instead. Patch by: Todd Larsen Review by: to-be-reviewed
Fri, 03 Oct 2008 17:21:41 +0000 List views should have a selectable pagination "page" length:
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 17:21:41 +0000] rev 265
List views should have a selectable pagination "page" length: http://code.google.com/p/soc/issues/detail?id=59 Patch by: Chen Lunpeng and Todd Larsen Review by: Augie Fackler Review URL: http://codereviews.googleopensourceprograms.com/1201
Fri, 03 Oct 2008 07:03:11 +0000 Change to imports to follow the style guide:
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 07:03:11 +0000] rev 264
Change to imports to follow the style guide: http://code.google.com/p/soc/wiki/PythonStyleGuide#Module_and_package_imports Specifically: "Use from x import y only when x is a package and y is a module."
Fri, 03 Oct 2008 01:32:34 +0000 Make findNearestUsers() code in soc/logic/site/id_user.py more generic and
Todd Larsen <tlarsen@google.com> [Fri, 03 Oct 2008 01:32:34 +0000] rev 263
Make findNearestUsers() code in soc/logic/site/id_user.py more generic and move it to soc/logic/model.py. Orginal findNearest...() functions in id_user.py are now convenience wrappers. Add typed-query string construction functions to model.py. Move getFulLClassName() from key_name.py model.py, since it has more to do with Model types than key names. Swap 'offset' and 'limit' and make 'limit' arguments non-optional. Also, stop adding 1 inside the ...ForLimitAndOffset() functions and make the callers do it (since it was being added for a very UI-specific reason of whether or not to display a "Next>" link). Patch by: Todd Larsen Review by: Pawel Solyga Review URL: http://codereviews.googleopensourceprograms.com/1401
Thu, 02 Oct 2008 20:22:15 +0000 Factor out an isIdAvailable() function from EditForm.clean_id() in
Todd Larsen <tlarsen@google.com> [Thu, 02 Oct 2008 20:22:15 +0000] rev 262
Factor out an isIdAvailable() function from EditForm.clean_id() in soc/views/site/user/profile.py and add it to soc/logic/site/id_user.py. Addresses some comments on r614. Patch by: Todd Larsen Review by: Pawel Solyga Review URL: http://codereviews.googleopensourceprograms.com/1202
Thu, 02 Oct 2008 15:37:18 +0000 Add Allen (Chen Lunpeng) to trunk/AUTHORS, due to his several recent patches.
Todd Larsen <tlarsen@google.com> [Thu, 02 Oct 2008 15:37:18 +0000] rev 261
Add Allen (Chen Lunpeng) to trunk/AUTHORS, due to his several recent patches.
Thu, 02 Oct 2008 15:36:08 +0000 Fix typo in recent validate.py changes (r682).
Todd Larsen <tlarsen@google.com> [Thu, 02 Oct 2008 15:36:08 +0000] rev 260
Fix typo in recent validate.py changes (r682). Patch by: Chen Lunpeng Review by: Todd Larsen
Wed, 01 Oct 2008 22:19:22 +0000 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).
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 22:19:22 +0000] rev 259
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). Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 22:12:26 +0000 Add Sponsor logic functions.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 22:12:26 +0000] rev 258
Add Sponsor logic functions. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 22:10:52 +0000 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 22:10:52 +0000] rev 257
Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 22:02:50 +0000 Remove excluded field inheritance_line, since the User model does not inherit
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 22:02:50 +0000] rev 256
Remove excluded field inheritance_line, since the User model does not inherit from PolyModel (at this time).
Wed, 01 Oct 2008 21:58:31 +0000 Add colon at the of _readonly_field_as_table_row template tag label parameter. Replace hardcoded labels in User Public profile template with linkname_user.fields.<field_name>.label values.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:58:31 +0000] rev 255
Add colon at the of _readonly_field_as_table_row template tag label parameter. Replace hardcoded labels in User Public profile template with linkname_user.fields.<field_name>.label values.
Wed, 01 Oct 2008 21:53:52 +0000 Fix missing blank line to follow PythonStyleGuide in model.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:53:52 +0000] rev 254
Fix missing blank line to follow PythonStyleGuide in model.py.
Wed, 01 Oct 2008 21:21:03 +0000 Add links in sidebar for upcoming Sponsor views.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:21:03 +0000] rev 253
Add links in sidebar for upcoming Sponsor views. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 21:19:32 +0000 Change key_name module usage to path_linkname module (fix to previous commit). Add comments about urls. Add Sponsor views urls for upcoming Sponsor views modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 21:19:32 +0000] rev 252
Change key_name module usage to path_linkname module (fix to previous commit). Add comments about urls. Add Sponsor views urls for upcoming Sponsor views modules. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 20:52:39 +0000 Move path and link_name related functions and regex patterns to a new
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 20:52:39 +0000] rev 251
Move path and link_name related functions and regex patterns to a new soc/logic/path_linkname.py module, and fix all dependencies. path/link_name functionality is becoming the generic way to identify entities in the Datastore in a URL-compatible way.
Wed, 01 Oct 2008 20:48:58 +0000 Make form field components use a smaller font, without shrinking the font
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 20:48:58 +0000] rev 250
Make form field components use a smaller font, without shrinking the font of all text in the page body.
Wed, 01 Oct 2008 19:21:09 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 19:21:09 +0000] rev 249
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 19:17:13 +0000 Add missing blank line to follow PythonStyleGuide in document.py
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 19:17:13 +0000] rev 248
Add missing blank line to follow PythonStyleGuide in document.py
Wed, 01 Oct 2008 19:15:20 +0000 Fixed typo in DEF_CREATE_NEW_DOC_MSG.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 19:15:20 +0000] rev 247
Fixed typo in DEF_CREATE_NEW_DOC_MSG.
Wed, 01 Oct 2008 16:47:00 +0000 Shrink the sidebar menu separately from the main body text.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 16:47:00 +0000] rev 246
Shrink the sidebar menu separately from the main body text.
Wed, 01 Oct 2008 14:23:28 +0000 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).
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 14:23:28 +0000] rev 245
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). Patch by: Pawel Solyga Review by: to-be-reviewed
Wed, 01 Oct 2008 09:43:25 +0000 Fixed models based on output from graph.py script and comments on
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 01 Oct 2008 09:43:25 +0000] rev 244
Fixed models based on output from graph.py script and comments on http://groups.google.com/group/melange-soc-dev/browse_thread/thread/fb532a7db1f19ea7
Wed, 01 Oct 2008 07:26:45 +0000 Tool to graph the data model.
Tim Ansell <mithro@gmail.com> [Wed, 01 Oct 2008 07:26:45 +0000] rev 243
Tool to graph the data model.
Wed, 01 Oct 2008 07:11:27 +0000 Some TODOs on access control that I didn't want to forget.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:11:27 +0000] rev 242
Some TODOs on access control that I didn't want to forget.
Wed, 01 Oct 2008 07:10:43 +0000 Matching just /docs created a very small namespace, since any other path parts
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:10:43 +0000] rev 241
Matching just /docs created a very small namespace, since any other path parts would match the Document path. So, append /show after /docs for the display view. This makes other views like /docs/edit possible later.
Wed, 01 Oct 2008 07:01:06 +0000 URL pattern changes that were missed by r671.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:01:06 +0000] rev 240
URL pattern changes that were missed by r671.
Wed, 01 Oct 2008 07:00:26 +0000 Some styles used by r671, the simplistic Document view.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 07:00:26 +0000] rev 239
Some styles used by r671, the simplistic Document view.
Wed, 01 Oct 2008 06:59:51 +0000 A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 06:59:51 +0000] rev 238
A very simplistic Document viewer.
Wed, 01 Oct 2008 06:24:17 +0000 Implements a Site (Developer) generic Document editor form.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 06:24:17 +0000] rev 237
Implements a Site (Developer) generic Document editor form.
Wed, 01 Oct 2008 06:03:53 +0000 Changes to make breadcrumbs match page title. This is mostly to see how it
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 06:03:53 +0000] rev 236
Changes to make breadcrumbs match page title. This is mostly to see how it looks, since the new soc/logic/site/map.py code is going to implement the breadcrumbs and page title contents in a similar way.
Wed, 01 Oct 2008 05:17:15 +0000 Start using "Site" instead of "Developer" in the UI.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:17:15 +0000] rev 235
Start using "Site" instead of "Developer" in the UI.
Wed, 01 Oct 2008 05:15:29 +0000 Implement a Developer list view of all Documents.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:15:29 +0000] rev 234
Implement a Developer list view of all Documents. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 01 Oct 2008 05:10:41 +0000 Add missing all() __doc__ string comments: "Args:" and "Returns:" sections.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:10:41 +0000] rev 233
Add missing all() __doc__ string comments: "Args:" and "Returns:" sections.
Wed, 01 Oct 2008 05:02:42 +0000 Fix some style guide issues: keyword arguments are supposed to always be
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 05:02:42 +0000] rev 232
Fix some style guide issues: keyword arguments are supposed to always be supplied using the keyword argument name=value. http://code.google.com/p/soc/wiki/PythonStyleGuide#Default_Argument_Values
Wed, 01 Oct 2008 02:23:30 +0000 Directory for up-coming /site/docs/list and /site/docs/edit templates.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:23:30 +0000] rev 231
Directory for up-coming /site/docs/list and /site/docs/edit templates.
Wed, 01 Oct 2008 02:13:54 +0000 Fix typo in findNearestUsersOffset() __doc__ string missed in r661.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:13:54 +0000] rev 230
Fix typo in findNearestUsersOffset() __doc__ string missed in r661.
Wed, 01 Oct 2008 02:11:56 +0000 Show link to /site/user/list on /site/user/lookup when User is not found.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:11:56 +0000] rev 229
Show link to /site/user/list on /site/user/lookup when User is not found. http://code.google.com/p/soc/issues/detail?id=61 Patch by: Chen Lunpeng Review by: Todd Larsen (with modifications)
Wed, 01 Oct 2008 02:02:44 +0000 Add placeholder for future (to-be-implemented) getPreferredListPagination()
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 02:02:44 +0000] rev 228
Add placeholder for future (to-be-implemented) getPreferredListPagination() function.
Wed, 01 Oct 2008 00:53:36 +0000 Remove a TODO that should have been removed for r658.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:53:36 +0000] rev 227
Remove a TODO that should have been removed for r658.
Wed, 01 Oct 2008 00:51:49 +0000 Update some of the URL patterns to get their link_name parsing from the new
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:51:49 +0000] rev 226
Update some of the URL patterns to get their link_name parsing from the new patterns in key_name.py. (Using it like this in urls.py is why key_name.py needs to not depend on other modules...)
Wed, 01 Oct 2008 00:48:46 +0000 Add functions to soc/logic/document.py for dealing with partial_paths combined
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:48:46 +0000] rev 225
Add functions to soc/logic/document.py for dealing with partial_paths combined with link_names. Add getWorksForOffsetAndLimit() to query for Documents for the /site/docs/list view.
Wed, 01 Oct 2008 00:45:30 +0000 Hide PolyModel inheritance_line bookkeeping property from the User Profile
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:45:30 +0000] rev 224
Hide PolyModel inheritance_line bookkeeping property from the User Profile form.
Wed, 01 Oct 2008 00:43:07 +0000 Use the LINKNAME_PATTERN from its new home in key_name.py. Also, add some
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:43:07 +0000] rev 223
Use the LINKNAME_PATTERN from its new home in key_name.py. Also, add some missing blank lines that are required by the style guide.
Wed, 01 Oct 2008 00:41:18 +0000 Add lots of new functions to key_name.py, including path/link_name processing.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:41:18 +0000] rev 222
Add lots of new functions to key_name.py, including path/link_name processing. Copy various link_name related regex patterns to key_name.py and use them. Add error checking that raises a key_name.Error exception when name...() functions are given empty arguments. Hard-code class names, since they match what was typed into the module.class.__name__ to get the name anyway. This eliminates dependencies on any modules by key_name.py.
Wed, 01 Oct 2008 00:35:29 +0000 Add sidebar menu items for /site/docs/list and /site/docs/edit. They do not
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:35:29 +0000] rev 221
Add sidebar menu items for /site/docs/list and /site/docs/edit. They do not currently have view functions attached, but there are other links in the mock-up portion of the sidebar that don't currently work, either. The goal is to commit the /site/docs/list and /site/docs/edit changes in small bits that don't break anyone else.
Wed, 01 Oct 2008 00:33:43 +0000 Add partial_path property explicitly to the Work model.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:33:43 +0000] rev 220
Add partial_path property explicitly to the Work model.
Wed, 01 Oct 2008 00:25:31 +0000 Should have been part of the r650 commit.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:25:31 +0000] rev 219
Should have been part of the r650 commit.
Wed, 01 Oct 2008 00:23:32 +0000 Directory for upcoming /site/docs views.
Todd Larsen <tlarsen@google.com> [Wed, 01 Oct 2008 00:23:32 +0000] rev 218
Directory for upcoming /site/docs views.
Tue, 30 Sep 2008 17:03:51 +0000 Add "Last updated" footer to front page body text, using the modified Property
Todd Larsen <tlarsen@google.com> [Tue, 30 Sep 2008 17:03:51 +0000] rev 217
Add "Last updated" footer to front page body text, using the modified Property from the Work entity.
Tue, 30 Sep 2008 16:53:30 +0000 Change _readonly_field_as_table_row <td> tag class names to match those used in _field_as_table_row. That should actually go into previous commit.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 16:53:30 +0000] rev 216
Change _readonly_field_as_table_row <td> tag class names to match those used in _field_as_table_row. That should actually go into previous commit. Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 30 Sep 2008 16:49:54 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 16:49:54 +0000] rev 215
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 30 Sep 2008 16:26:30 +0000 Add polymodel folder to DEFAULT_APP_DIRS variable in make_release.sh script.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 16:26:30 +0000] rev 214
Add polymodel folder to DEFAULT_APP_DIRS variable in make_release.sh script.
Tue, 30 Sep 2008 15:21:05 +0000 Add key naming function for Sponsor, School, Organization, Club key_names.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 15:21:05 +0000] rev 213
Add key naming function for Sponsor, School, Organization, Club key_names. Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 30 Sep 2008 14:00:11 +0000 Add org ReferenceProperty to Administrator model (many:1 relationship associating Administrators with specific Organization). Update Organization model __doc__ string with information about the back-reference 'admins'.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 14:00:11 +0000] rev 212
Add org ReferenceProperty to Administrator model (many:1 relationship associating Administrators with specific Organization). Update Organization model __doc__ string with information about the back-reference 'admins'. Patch by: Pawel Solyga Review by: to-be-reviewed
Tue, 30 Sep 2008 12:59:59 +0000 Made mce_settings class variable in TinyMCE widget a copy of default settings instead of reference.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 12:59:59 +0000] rev 211
Made mce_settings class variable in TinyMCE widget a copy of default settings instead of reference.
Tue, 30 Sep 2008 12:47:05 +0000 Replaced context.update call to simple value assignment in site.user.profile.create view function.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 30 Sep 2008 12:47:05 +0000] rev 210
Replaced context.update call to simple value assignment in site.user.profile.create view function.
Mon, 29 Sep 2008 17:22:31 +0000 Load ../../google_appengine/ into trunk/thirdparty/google_appengine.
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 17:22:31 +0000] rev 209
Load ../../google_appengine/ into trunk/thirdparty/google_appengine.
Mon, 29 Sep 2008 15:46:42 +0000 Take advantage of the Model inheritance provided by polymodel.PolyModel to
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 15:46:42 +0000] rev 208
Take advantage of the Model inheritance provided by polymodel.PolyModel to have Club, School, Sponsor, and Organization actually inherit from the Group Model class, rather than being composed via ReferenceProperties. Patch by: Todd Larsen Review by: Pawel Solyga, Sverre Rabbelier, Augie Fackler Review URL: http://codereviews.googleopensourceprograms.com/606
Mon, 29 Sep 2008 15:34:40 +0000 Take advantage of the Model inheritance provided by polymodel.PolyModel to
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 15:34:40 +0000] rev 207
Take advantage of the Model inheritance provided by polymodel.PolyModel to have create a class hierarchy rooted at Person. Also, add some missing Role classes, such as Role, (Organization) Mentor, (Club) Member, (School) Student. Make (Organization) Administrator be a Reviewer like Mentor is. Patch by: Todd Larsen Review by: Pawel Solyga, Sverre Rabbelier, Augie Fackler Review URL: http://codereviews.googleopensourceprograms.com/607
Mon, 29 Sep 2008 15:31:50 +0000 Make use of PolyModel for Works, Documents, etc. Add some (but not all) of
Todd Larsen <tlarsen@google.com> [Mon, 29 Sep 2008 15:31:50 +0000] rev 206
Make use of PolyModel for Works, Documents, etc. Add some (but not all) of the missing Models related to Documents. Refactor site settings to be useful for any "/home" page view. Make the resulting home settings store a reference to the Document, rather than looking up the Document by a hard-code key name. This is to set the stage for Document editing being generic, and then being able to select from some existing documents which one to use as the "/home" static content. This makes it possible to pre-edit several Documents, have them Reviewed, and then quickly change the "/home" page content as a setting, rather than editing the Document in the settings form (though settings forms might still embed the current document into their form for convenience). Patch by: Todd Larsen Review by: Pawel Solyga Review URL: http://codereviews.googleopensourceprograms.com/1001
Mon, 29 Sep 2008 14:03:45 +0000 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().
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 29 Sep 2008 14:03:45 +0000] rev 205
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(). Patch by: Pawel Solyga Review by: to-be-reviewed
Fri, 26 Sep 2008 19:47:07 +0000 Add ModelWithFieldAttributes *before* PolyModel, so that everything does not
Todd Larsen <tlarsen@google.com> [Fri, 26 Sep 2008 19:47:07 +0000] rev 204
Add ModelWithFieldAttributes *before* PolyModel, so that everything does not become a "ModelWithFieldAttributes" in the Datastore. The way PolyModel works, each Model class hierarchy is stored in the Datastore as the class that directly inherited from PolyModel. So, we do not want to insert ModelWithFieldAttributes *after* PolyModel by inheriting *from* PolyModel, or everything would just be a ModelWithFieldAttributes in the Datastore, instead of Person, Work, Group, etc.
Fri, 26 Sep 2008 19:35:21 +0000 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com> [Fri, 26 Sep 2008 19:35:21 +0000] rev 203
Add the third-party PolyModel class. This class supports inheritance in Google App Engine Datastore Model classes.
Thu, 25 Sep 2008 17:17:11 +0000 A key_name controller module to collect all of the name...() functions that
Todd Larsen <tlarsen@google.com> [Thu, 25 Sep 2008 17:17:11 +0000] rev 202
A key_name controller module to collect all of the name...() functions that compose Model entity key names, plus some minor changes to other controller modules to illustrate the proposed use. Patch by: Todd Larsen Review by: Pawel Solyga Review URL: http://codereviews.googleopensourceprograms.com/804 Review URL: http://codereviews.googleopensourceprograms.com/804
Wed, 24 Sep 2008 21:23:42 +0000 Fixed missing urlparse import in request_helpers which cause /user/profile and /site/user/profile not to work at all. Removed not used module imports in response_helpers.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 24 Sep 2008 21:23:42 +0000] rev 201
Fixed missing urlparse import in request_helpers which cause /user/profile and /site/user/profile not to work at all. Removed not used module imports in response_helpers.py.
Wed, 24 Sep 2008 06:00:28 +0000 Replace mock-up of sidebar with first draft of dynamic sidebar functionality.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 06:00:28 +0000] rev 200
Replace mock-up of sidebar with first draft of dynamic sidebar functionality.
Wed, 24 Sep 2008 05:58:45 +0000 Minor tweaks to Site menu item names to make them more descriptive.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 05:58:45 +0000] rev 199
Minor tweaks to Site menu item names to make them more descriptive.
Wed, 24 Sep 2008 05:58:15 +0000 Major refactoring, to switch from using inheritance from soc.logic.menu classes
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 05:58:15 +0000] rev 198
Major refactoring, to switch from using inheritance from soc.logic.menu classes to an envelope-letter model instead.
Wed, 24 Sep 2008 05:17:44 +0000 Sidebar-building controller, with a TODO remaining to implement marking the
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 05:17:44 +0000] rev 197
Sidebar-building controller, with a TODO remaining to implement marking the current page as "selected".
Wed, 24 Sep 2008 02:46:52 +0000 Make views.helpers.html_menu MenuItem classes and logic.menu MenuItem classes
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:46:52 +0000] rev 196
Make views.helpers.html_menu MenuItem classes and logic.menu MenuItem classes more closely related. This is part of some refactoring in my working copy to keep soc/logic/site/sidebar.py from having to deal with html_menu classes (which is like having view code in the controller, which is bad).
Wed, 24 Sep 2008 02:36:47 +0000 Classes that wrap soc.logic.menu.Menu and soc.logic.menu.MenuItem to produce
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:36:47 +0000] rev 195
Classes that wrap soc.logic.menu.Menu and soc.logic.menu.MenuItem to produce HTML renderings of such lists.
Wed, 24 Sep 2008 02:27:01 +0000 Change indentation level to 2 (from 4) and rename MCE_DEF_SETTINGS to
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:27:01 +0000] rev 194
Change indentation level to 2 (from 4) and rename MCE_DEF_SETTINGS to DEF_MCE_SETTINGS to match the "default constant" naming convention elsewhere in the code.
Wed, 24 Sep 2008 02:24:49 +0000 Note 'groups' back-reference from 'founder' property in soc.models.group.Group.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:24:49 +0000] rev 193
Note 'groups' back-reference from 'founder' property in soc.models.group.Group.
Wed, 24 Sep 2008 02:23:32 +0000 Simple MenuItem and Menu classes for keeping track of ordered menus.
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:23:32 +0000] rev 192
Simple MenuItem and Menu classes for keeping track of ordered menus.
Wed, 24 Sep 2008 02:22:12 +0000 These changes should have been in r620, but somehow I did not save them, or
Todd Larsen <tlarsen@google.com> [Wed, 24 Sep 2008 02:22:12 +0000] rev 191
These changes should have been in r620, but somehow I did not save them, or saved over them with an old copy in the editor. Not sure...
Tue, 23 Sep 2008 23:30:15 +0000 Move isReferrerSelf() and replaceSuffix() into new request_helpers.py module,
Todd Larsen <tlarsen@google.com> [Tue, 23 Sep 2008 23:30:15 +0000] rev 190
Move isReferrerSelf() and replaceSuffix() into new request_helpers.py module, since they are (mainly) used to manipulate parts of an HTTP request.
Tue, 23 Sep 2008 23:20:23 +0000 Split out HTTP request manipulation functions from template_helpers.py, which
Todd Larsen <tlarsen@google.com> [Tue, 23 Sep 2008 23:20:23 +0000] rev 189
Split out HTTP request manipulation functions from template_helpers.py, which is in danger of becoming a "misc" or "util" module unnecessarily.
Tue, 23 Sep 2008 19:20:57 +0000 Changes in TinyMCE widget in custom_widgets.py based on review comments.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 23 Sep 2008 19:20:57 +0000] rev 188
Changes in TinyMCE widget in custom_widgets.py based on review comments. Patch by: Pawel Solyga Review url: http://code.google.com/p/soc/source/detail?r=550
Tue, 23 Sep 2008 17:55:54 +0000 Change user list view instruction. Don't show "Next >" disabled greyed text in the list pagination if there is only one page.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 23 Sep 2008 17:55:54 +0000] rev 187
Change user list view instruction. Don't show "Next >" disabled greyed text in the list pagination if there is only one page.
Mon, 22 Sep 2008 14:13:32 +0000 Add Users List Developer view which is available at /site/user/list. Add User list custom templates which are used with list_helpers. Add "Users List" link in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 22 Sep 2008 14:13:32 +0000] rev 186
Add Users List Developer view which is available at /site/user/list. Add User list custom templates which are used with list_helpers. Add "Users List" link in base.html template. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 22 Sep 2008 14:08:37 +0000 Add list_helpers functions that are going to be used when rendering list views like (Users List, Sponsors List etc).
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 22 Sep 2008 14:08:37 +0000] rev 185
Add list_helpers functions that are going to be used when rendering list views like (Users List, Sponsors List etc). Add list default templates and CSS classes. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Mon, 22 Sep 2008 13:42:53 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 22 Sep 2008 13:42:53 +0000] rev 184
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. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Sun, 21 Sep 2008 08:59:11 +0000 Small change to unescape function in template_helpers (move replace('&amp;', '&') at the end).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 21 Sep 2008 08:59:11 +0000] rev 183
Small change to unescape function in template_helpers (move replace('&amp;', '&') at the end).
Sun, 21 Sep 2008 08:56:52 +0000 Add rounded corners graphics. Add .notice class and rounded corners classes to soc.css file, those will be used to better visualize submit_message like "Profile saved.".
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 21 Sep 2008 08:56:52 +0000] rev 182
Add rounded corners graphics. Add .notice class and rounded corners classes to soc.css file, those will be used to better visualize submit_message like "Profile saved.".
Sun, 21 Sep 2008 08:50:42 +0000 Remove Author model (use Person instead). Update models after removing Author. Add new Sponsor, Organization models.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 21 Sep 2008 08:50:42 +0000] rev 181
Remove Author model (use Person instead). Update models after removing Author. Add new Sponsor, Organization models. Patch by: Pawel Solyga Reviewed by: Todd Larsen Review issue: 801 Review URL: http://codereviews.googleopensourceprograms.com/801
Sun, 21 Sep 2008 02:16:00 +0000 Two changes to ease CI:
Augie Fackler <durin42@gmail.com> [Sun, 21 Sep 2008 02:16:00 +0000] rev 180
Two changes to ease CI: 1) If pysvn is missing, the tests for svn_helper don't run and pollute the output 2) svn_helper no longer depends on being located at trunk/scripts/ Patch by: Augie Fackler Review by: Todd Larsen Review Issue: 802 Reviewed URL: http://codereviews.googleopensourceprograms.com/802
Sat, 20 Sep 2008 19:04:43 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 20 Sep 2008 19:04:43 +0000] rev 179
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.
Sat, 20 Sep 2008 17:39:07 +0000 Testing buildbot. Sorry about the noise. (Last one for now, I've got most of the kinks figured out I think)
Augie Fackler <durin42@gmail.com> [Sat, 20 Sep 2008 17:39:07 +0000] rev 178
Testing buildbot. Sorry about the noise. (Last one for now, I've got most of the kinks figured out I think)
Sat, 20 Sep 2008 16:50:20 +0000 Testing buildbot. Sorry about the noise.
Augie Fackler <durin42@gmail.com> [Sat, 20 Sep 2008 16:50:20 +0000] rev 177
Testing buildbot. Sorry about the noise.
Sat, 20 Sep 2008 16:47:09 +0000 Testing buildbot. Sorry about the noise.
Augie Fackler <durin42@gmail.com> [Sat, 20 Sep 2008 16:47:09 +0000] rev 176
Testing buildbot. Sorry about the noise.
Fri, 19 Sep 2008 21:11:39 +0000 Make django.zip in release/, instead of in app/ with a symlink in release/.
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 21:11:39 +0000] rev 175
Make django.zip in release/, instead of in app/ with a symlink in release/. This allows debugging into app/django source code, which the presence of app/django.zip was blocking. Tested with both: dev_appserver.py release and dev_appserver.py app
Fri, 19 Sep 2008 18:02:37 +0000 A rough draft of the Group Model, to be merged with Pawel's current effort in
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 18:02:37 +0000] rev 174
A rough draft of the Group Model, to be merged with Pawel's current effort in his working copy. This is *very* incomplete...
Fri, 19 Sep 2008 17:51:33 +0000 First pass (from some old code notes) of a School Model (a form of Group).
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 17:51:33 +0000] rev 173
First pass (from some old code notes) of a School Model (a form of Group).
Fri, 19 Sep 2008 17:47:21 +0000 First pass (from some old code notes) of a Club Model (a form of Group).
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 17:47:21 +0000] rev 172
First pass (from some old code notes) of a Club Model (a form of Group).
Fri, 19 Sep 2008 12:45:13 +0000 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 ...").
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 19 Sep 2008 12:45:13 +0000] rev 171
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 Add /site/user/profile Developer view for editing arbitrary User entities.
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 05:15:20 +0000] rev 170
Add /site/user/profile Developer view for editing arbitrary User entities. Update /user/profile edit() view to fix TODO about updating the URL when a POST of the form changes the link_name of the User. Add a Create New User link to the base.html sidebar mock-up.
Fri, 19 Sep 2008 05:12:35 +0000 Fix off-by-one corner case discovered during testing of /user/profile.
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 05:12:35 +0000] rev 169
Fix off-by-one corner case discovered during testing of /user/profile.
Fri, 19 Sep 2008 04:50:42 +0000 Added getSingleIndexedParamValue() that retrieves an index into a list of
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 04:50:42 +0000] rev 168
Added getSingleIndexedParamValue() that retrieves an index into a list of values from the named query parameter, and then indexes into the supplied list of values to return the corresponding value from the list. Used to convert numeric index query parameters passed by POST to the GET redirect target, so that the GET code can display messages, etc. (without passing the message itself as a query argument and having to escape it or have silly people pass in their own...).
Fri, 19 Sep 2008 04:28:17 +0000 Added replaceSuffix(), isReferrerSelf(), and redirectToChangedSuffix() to
Todd Larsen <tlarsen@google.com> [Fri, 19 Sep 2008 04:28:17 +0000] rev 167
Added replaceSuffix(), isReferrerSelf(), and redirectToChangedSuffix() to implement the TODO in the User profile views where the link name portion of the URL needs to change when the link_name Property is updated by the form.
Thu, 18 Sep 2008 23:07:06 +0000 Fixed too long lines and deleted unused imports in id_user.py.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 18 Sep 2008 23:07:06 +0000] rev 166
Fixed too long lines and deleted unused imports in id_user.py.
Thu, 18 Sep 2008 22:14:06 +0000 New default values for page title, header title and body of site home page.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 18 Sep 2008 22:14:06 +0000] rev 165
New default values for page title, header title and body of site home page.
Thu, 18 Sep 2008 22:11:56 +0000 Documentation updates and one typo fix.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 18 Sep 2008 22:11:56 +0000] rev 164
Documentation updates and one typo fix.
Thu, 18 Sep 2008 17:33:20 +0000 Add a td.formfielderrorlabel style, to highlight field labels that have errors.
Todd Larsen <tlarsen@google.com> [Thu, 18 Sep 2008 17:33:20 +0000] rev 163
Add a td.formfielderrorlabel style, to highlight field labels that have errors.
Thu, 18 Sep 2008 17:32:28 +0000 Swap field value and "required" columns to make more columns for field errors.
Todd Larsen <tlarsen@google.com> [Thu, 18 Sep 2008 17:32:28 +0000] rev 162
Swap field value and "required" columns to make more columns for field errors.
Thu, 18 Sep 2008 17:31:01 +0000 Add a verbose_name and help_text to the User.id Property.
Todd Larsen <tlarsen@google.com> [Thu, 18 Sep 2008 17:31:01 +0000] rev 161
Add a verbose_name and help_text to the User.id Property.
Tue, 16 Sep 2008 18:02:09 +0000 Explain why pushd and popd are needed when making tiny_mce.zip.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 18:02:09 +0000] rev 160
Explain why pushd and popd are needed when making tiny_mce.zip.
Tue, 16 Sep 2008 18:00:55 +0000 Use zip to compress tiny_mce, and use zipserve to serve it in Google App
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 18:00:55 +0000] rev 159
Use zip to compress tiny_mce, and use zipserve to serve it in Google App Engine.
Tue, 16 Sep 2008 17:38:09 +0000 Updated make_release.sh docs and added way for person invoking the script to override script variables such as RELEASE using something like "RELEASE=../testing_release ./make_release.sh".
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 16 Sep 2008 17:38:09 +0000] rev 158
Updated make_release.sh docs and added way for person invoking the script to override script variables such as RELEASE using something like "RELEASE=../testing_release ./make_release.sh".
Tue, 16 Sep 2008 17:07:58 +0000 Add recently-moved feedparser and tiny_mce to APP_DIRS.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 17:07:58 +0000] rev 157
Add recently-moved feedparser and tiny_mce to APP_DIRS.
Tue, 16 Sep 2008 17:05:43 +0000 Oops, this should have been part of the r580 commit.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 17:05:43 +0000] rev 156
Oops, this should have been part of the r580 commit.
Tue, 16 Sep 2008 17:05:07 +0000 Oops, this should have been part of the r577 commit.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 17:05:07 +0000] rev 155
Oops, this should have been part of the r577 commit.
Tue, 16 Sep 2008 16:49:25 +0000 Move third-party TinyMCE out of soc/content/js and into the application image
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:49:25 +0000] rev 154
Move third-party TinyMCE out of soc/content/js and into the application image root, like other third-party code. Update the app.yaml.template to add /tiny_mce as a source of static content.
Tue, 16 Sep 2008 16:42:55 +0000 Add README files to explain how third-party code is maintained in these
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:42:55 +0000] rev 153
Add README files to explain how third-party code is maintained in these directories.
Tue, 16 Sep 2008 16:24:18 +0000 Discourage third-party code from being embedded in the soc framework.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:24:18 +0000] rev 152
Discourage third-party code from being embedded in the soc framework.
Tue, 16 Sep 2008 16:22:49 +0000 Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 16:22:49 +0000] rev 151
Move third-party feedparser.py out of the soc framework package into its own package (similar to django).
Tue, 16 Sep 2008 15:56:15 +0000 Changed ZIPFILE variable to DJANGO_ZIPFILE in make_release.sh script and added 'cd $APP_FOLDER' before we zip django.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 16 Sep 2008 15:56:15 +0000] rev 150
Changed ZIPFILE variable to DJANGO_ZIPFILE in make_release.sh script and added 'cd $APP_FOLDER' before we zip django.
Tue, 16 Sep 2008 02:28:33 +0000 Load ../google_appengine into trunk/thirdparty/google_appengine.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 02:28:33 +0000] rev 149
Load ../google_appengine into trunk/thirdparty/google_appengine.
Tue, 16 Sep 2008 01:18:49 +0000 upload.py customized to work with codereviews.googleopensourceprograms.com.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:18:49 +0000] rev 148
upload.py customized to work with codereviews.googleopensourceprograms.com.
Tue, 16 Sep 2008 01:18:15 +0000 Pristine initial commit of upload.py script from
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:18:15 +0000] rev 147
Pristine initial commit of upload.py script from http://code.google.com/p/rietveld (r310).
Tue, 16 Sep 2008 01:15:00 +0000 gcl.py customized to work with codereviews.googleopensourceprograms.com and the
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:15:00 +0000] rev 146
gcl.py customized to work with codereviews.googleopensourceprograms.com and the melange-soc-dev@googlegroups.com mailing list.
Tue, 16 Sep 2008 01:14:18 +0000 Pristine initial commit of gcl.py script from chromium.org.
Todd Larsen <tlarsen@google.com> [Tue, 16 Sep 2008 01:14:18 +0000] rev 145
Pristine initial commit of gcl.py script from chromium.org.
Sun, 14 Sep 2008 20:32:32 +0000 Release shell script and associated changes. Set svn:ignore property on /app/django.zip file and /release folder.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 14 Sep 2008 20:32:32 +0000] rev 144
Release shell script and associated changes. Set svn:ignore property on /app/django.zip file and /release folder. Patch by: Pawel Solyga, Augie Fackler Review by: Todd Larsen, review-after-commit Review issue: 363 Review URL: http://codereviews.googleopensourceprograms.com/363
Sun, 14 Sep 2008 00:23:49 +0000 FIxed documentation in soc/logic/document.py for getDocumentFromPath function
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 14 Sep 2008 00:23:49 +0000] rev 143
FIxed documentation in soc/logic/document.py for getDocumentFromPath function Patch by: Christian López Espínol Reviewed by: Pawel Solyga Reviewed via: discussion on melange-soc-dev group
Sat, 13 Sep 2008 22:53:07 +0000 Forgot to change widgets to custom_widgets import in home.py after changing the name of soc/views/helpers/widgets.py file.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 13 Sep 2008 22:53:07 +0000] rev 142
Forgot to change widgets to custom_widgets import in home.py after changing the name of soc/views/helpers/widgets.py file.
Sat, 13 Sep 2008 22:00:51 +0000 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.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 13 Sep 2008 22:00:51 +0000] rev 141
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. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 13 Sep 2008 21:27:17 +0000 Added feedparser to soc/utils and modified svn:externals for vendor to include feedparser svn
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 13 Sep 2008 21:27:17 +0000] rev 140
Added feedparser to soc/utils and modified svn:externals for vendor to include feedparser svn Patch by: Pawel Solyga Review by: to-be-reviewed
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
Tue, 26 Aug 2008 21:49:54 +0000 Load ../../google_appengine into trunk/thirdparty/google_appengine.
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:49:54 +0000] rev 109
Load ../../google_appengine into trunk/thirdparty/google_appengine.
Tue, 26 Aug 2008 21:37:29 +0000 Create directories to load project into.
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:37:29 +0000] rev 108
Create directories to load project into. * trunk/thirdparty/google_appengine: New directory.
Tue, 26 Aug 2008 21:29:33 +0000 Move third-party code that is not required to be part of trunk/app into a
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:29:33 +0000] rev 107
Move third-party code that is not required to be part of trunk/app into a trunk/thirdparty "sandbox". Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 26 Aug 2008 21:26:38 +0000 Move third-party code that is not required to be part of trunk/app into a
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:26:38 +0000] rev 106
Move third-party code that is not required to be part of trunk/app into a trunk/thirdparty "sandbox". Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 26 Aug 2008 21:24:50 +0000 Remove the obsolete scripts left over from when trunk/app did not contain the
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:24:50 +0000] rev 105
Remove the obsolete scripts left over from when trunk/app did not contain the entire Google App Engine image. Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 26 Aug 2008 21:22:29 +0000 Add mocker 0.10.1 to trunk/thirdparty, so that it can be used to create mocks
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:22:29 +0000] rev 104
Add mocker 0.10.1 to trunk/thirdparty, so that it can be used to create mocks for testing the Google App Engine app itself. See also: http://blog.appenginefan.com/2008/06/unit-tests-for-google-app-engine-apps.html Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 26 Aug 2008 21:20:44 +0000 Move LICENSE.django closer to the actual trumk/app/django code we are importing
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:20:44 +0000] rev 103
Move LICENSE.django closer to the actual trumk/app/django code we are importing (that exists in trunk/app to be part of the Google App Engine image). LICENSE.django cannot go in trunk/app/django itself, because that directory is maintained from the /vendor/django svn external using svn_load_dirs.pl (so putting all the way into trunk/app/django gets it repeatedly removed). Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 26 Aug 2008 21:05:43 +0000 Third-party packages that do not need to be part of trunk/app (because they are
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:05:43 +0000] rev 102
Third-party packages that do not need to be part of trunk/app (because they are not part of a Google App Engine image upload).
Tue, 26 Aug 2008 21:04:45 +0000 Since google_appengine isn't part of the uploaded trunk/app, there is no reason
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 21:04:45 +0000] rev 101
Since google_appengine isn't part of the uploaded trunk/app, there is no reason why it couldn't be in a thirdparty directory, alongside mocker.
Tue, 26 Aug 2008 20:20:50 +0000 Create directories to load project into.
Todd Larsen <tlarsen@google.com> [Tue, 26 Aug 2008 20:20:50 +0000] rev 100
Create directories to load project into. * trunk/google_appengine: New directory.
Fri, 22 Aug 2008 13:44:50 +0000 Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 22 Aug 2008 13:44:50 +0000] rev 99
Added public view support (not using controller yet) Changed Google Account variable from user to id in views and templates (no more confusions with Melange user). Added templates_helpers for makeSimblingTemplate function. Addded new template tag readonly_field_as_table_row used in public views Fixed one typo in roles.py
Wed, 20 Aug 2008 21:59:00 +0000 User Profile view (without controller yet).
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 Aug 2008 21:59:00 +0000] rev 98
User Profile view (without controller yet). Patch by: Pawel Solyga Review by: Todd Larsen Review issue: 386 Review URL: http://codereviews.googleopensourceprograms.com/386
Wed, 20 Aug 2008 18:36:55 +0000 Moved Proposal model from wiki to source code and updated ProposalModel wiki page.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 Aug 2008 18:36:55 +0000] rev 97
Moved Proposal model from wiki to source code and updated ProposalModel wiki page. Patch by: Pawel Solyga Review by: Todd Larsen Review issue: 362 Review URL: http://codereviews.googleopensourceprograms.com/362
Wed, 20 Aug 2008 10:14:49 +0000 Moved td.formfieldlabel to FORM TABLE FIELDS section.
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 20 Aug 2008 10:14:49 +0000] rev 96
Moved td.formfieldlabel to FORM TABLE FIELDS section.
Wed, 20 Aug 2008 02:30:44 +0000 Move soc/control to soc/logic, so that tab-completion doesn't keep matching
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 02:30:44 +0000] rev 95
Move soc/control to soc/logic, so that tab-completion doesn't keep matching soc/content instead.
Wed, 20 Aug 2008 01:54:11 +0000 nickname was moved from Person to User recently.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 01:54:11 +0000] rev 94
nickname was moved from Person to User recently.
Wed, 20 Aug 2008 00:19:49 +0000 Add Roles template directory that was missing from r426 commit.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:19:49 +0000] rev 93
Add Roles template directory that was missing from r426 commit.
Wed, 20 Aug 2008 00:18:56 +0000 Create package for up-coming Role views.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:18:56 +0000] rev 92
Create package for up-coming Role views.
Wed, 20 Aug 2008 00:18:10 +0000 Minor indentation fix.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:18:10 +0000] rev 91
Minor indentation fix.
Wed, 20 Aug 2008 00:17:13 +0000 Create package for standard Melange controller modules.
Todd Larsen <tlarsen@google.com> [Wed, 20 Aug 2008 00:17:13 +0000] rev 90
Create package for standard Melange controller modules.
(0) -480 +480 +1000 tip