Sun, 25 Jan 2009 00:04:11 +0000 Do not pass around request anymore in buildSidebar
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:04:11 +0000] rev 973
Do not pass around request anymore in buildSidebar It is no longer needed since checkAccess doesn't require it. Patch by: Sverre Rabbelier
Sun, 25 Jan 2009 00:02:41 +0000 Remove the request and arg parameter from the checkAccess call
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:02:41 +0000] rev 972
Remove the request and arg parameter from the checkAccess call They are obsolete with the introduction of kwargs (args was never needed in the first place). Patch by: Sverre Rabbelier
Sun, 25 Jan 2009 00:01:19 +0000 Use getSingleton in getUniversalContext
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:01:19 +0000] rev 971
Use getSingleton in getUniversalContext Patch by: Sverre Rabbelier
Sat, 24 Jan 2009 23:56:34 +0000 Use ugettext instead of ugettext_lazy
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 24 Jan 2009 23:56:34 +0000] rev 970
Use ugettext instead of ugettext_lazy Reports from Matthew Wilkes indicate that the regular form of ugettext works just fine. The downside of ugettext_lazy is that it prevents pages containing ugettext_lazy-ed text cannot be memcached, since they cannot be pickled. Patch by: Sverre Rabbelier
Sat, 24 Jan 2009 21:38:28 +0000 Brown paper bag fix.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 21:38:28 +0000] rev 969
Brown paper bag fix. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 20:51:51 +0000 Fixed a bug in _editPost for club_admin and host.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:51:51 +0000] rev 968
Fixed a bug in _editPost for club_admin and host. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 20:44:32 +0000 Changed clean_url to work with dynaform.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:44:32 +0000] rev 967
Changed clean_url to work with dynaform. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 20:17:35 +0000 Fixed a bug in _oncreate in soc/logic/models/club.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:17:35 +0000] rev 966
Fixed a bug in _oncreate in soc/logic/models/club.py. Non-existing fields were set. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 18:21:50 +0000 Changed user_logic call to it's convenience function getForCurrentAccount.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 18:21:50 +0000] rev 965
Changed user_logic call to it's convenience function getForCurrentAccount. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 17:09:02 +0000 Coding style fix in views/models/role.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 17:09:02 +0000] rev 964
Coding style fix in views/models/role.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 17:07:26 +0000 Parameterized patterns in role.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 17:07:26 +0000] rev 963
Parameterized patterns in role.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 16:39:34 +0000 Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 16:39:34 +0000] rev 962
Added request creation and processing to role.py. This is used if you want to request to become a certain role for a group. For instance becoming a club member. The process request view will also be used to cancel outstanding invites might this be necessary. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 14:14:14 +0000 Add Madhusudan.C.S to AUTHORS. Fix docstring parameters list in soc.logic.models.base module Base class getForFields method.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 14:14:14 +0000] rev 961
Add Madhusudan.C.S to AUTHORS. Fix docstring parameters list in soc.logic.models.base module Base class getForFields method. Patch by: Madhusudan.C.S Reviewed by: Pawel Solyga
Sat, 24 Jan 2009 14:14:11 +0000 Added checkCanProcessRequest in access.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 14:14:11 +0000] rev 960
Added checkCanProcessRequest in access.py. This is used in the upcoming Request patch. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 12:54:59 +0000 Some style guide fixes, docstring fixes and removal of unused imports in different modules. Rename acceptInvite view variable to accept_invite in soc.views.models.host module to comply to our style guide.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:54:59 +0000] rev 959
Some style guide fixes, docstring fixes and removal of unused imports in different modules. Rename acceptInvite view variable to accept_invite in soc.views.models.host module to comply to our style guide. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 12:51:47 +0000 Fix some missing dots in access and club_admin modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:51:47 +0000] rev 958
Fix some missing dots in access and club_admin modules. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 12:50:59 +0000 Add missing parameter description to docstring of soc.views.models.base module methods.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:50:59 +0000] rev 957
Add missing parameter description to docstring of soc.views.models.base module methods. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 12:47:21 +0000 Make select link in _as_table_row.html a nice button instead of <a href>.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:47:21 +0000] rev 956
Make select link in _as_table_row.html a nice button instead of <a href>. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 12:45:57 +0000 Remove extra whitespaces and fix too long lines in soc.logic.helper.request module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:45:57 +0000] rev 955
Remove extra whitespaces and fix too long lines in soc.logic.helper.request module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 11:25:15 +0000 Remove unused imports from soc.models.club_admin model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:25:15 +0000] rev 954
Remove unused imports from soc.models.club_admin model. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 11:24:45 +0000 Remove extra blank lines in soc.views.models.request module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:24:45 +0000] rev 953
Remove extra blank lines in soc.views.models.request module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 11:24:07 +0000 Rename acceptInvite view variable to accept_invite to comply to our style guide. Remove unused imports. Add missing blank lines in soc.views.models.club_admin module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:24:07 +0000] rev 952
Rename acceptInvite view variable to accept_invite to comply to our style guide. Remove unused imports. Add missing blank lines in soc.views.models.club_admin module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 11:12:07 +0000 Rename processInvite view variable to process_invite to comply to our style guide. Remove some not needed whitespaces. Fix listSelf method parameters docstring in soc.views.models.request module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:12:07 +0000] rev 951
Rename processInvite view variable to process_invite to comply to our style guide. Remove some not needed whitespaces. Fix listSelf method parameters docstring in soc.views.models.request module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 11:10:22 +0000 Added missing dot to access.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 11:10:22 +0000] rev 950
Added missing dot to access.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 11:07:16 +0000 Check if timeline exists and when somebody tries to edit non existing timelime display error message. Add TODO regarding error message customization for Timeline. Add support for calendar widget in timeline for both gsoc and ghop programs (gsoc was hardcoded before).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:07:16 +0000] rev 949
Check if timeline exists and when somebody tries to edit non existing timelime display error message. Add TODO regarding error message customization for Timeline. Add support for calendar widget in timeline for both gsoc and ghop programs (gsoc was hardcoded before). Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 11:04:15 +0000 Add missing blank lines and remove unused checkIsInvited function from soc.views.helper.access module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:04:15 +0000] rev 948
Add missing blank lines and remove unused checkIsInvited function from soc.views.helper.access module. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 10:59:28 +0000 Rename soc/request/list/row.html template column class "to" to "for" since the name changed in header template.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:59:28 +0000] rev 947
Rename soc/request/list/row.html template column class "to" to "for" since the name changed in header template. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 10:57:53 +0000 Add missing dots in soc.views.helper.redirects module function docstrings.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:57:53 +0000] rev 946
Add missing dots in soc.views.helper.redirects module function docstrings. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 10:56:18 +0000 Little change in soc.logic.hlper.request module completeRequestForRole function docstring.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:56:18 +0000] rev 945
Little change in soc.logic.hlper.request module completeRequestForRole function docstring. Patch by: Pawel Solyga Review by: to-be-reviewed
Sat, 24 Jan 2009 10:19:17 +0000 Refactored invite system from club_admin to role to make the system work with host as well.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 10:19:17 +0000] rev 944
Refactored invite system from club_admin to role to make the system work with host as well. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 10:18:30 +0000 Fixed an access related bug in checkIsClubAdminForClub.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 10:18:30 +0000] rev 943
Fixed an access related bug in checkIsClubAdminForClub. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 00:27:36 +0000 Fixed bug in access.py concerning host checks.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 00:27:36 +0000] rev 942
Fixed bug in access.py concerning host checks. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Sat, 24 Jan 2009 00:07:34 +0000 Add a warning about discarding unsaved changes
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 24 Jan 2009 00:07:34 +0000] rev 941
Add a warning about discarding unsaved changes Also set the colspan of the label (on seperate row) to max. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 23:42:07 +0000 Changed the access checks to comply with state in request.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 23:42:07 +0000] rev 940
Changed the access checks to comply with state in request. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 22:57:10 +0000 Make reference picker work for create too
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:57:10 +0000] rev 939
Make reference picker work for create too Caveat, it only works for one reference atm. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 22:20:20 +0000 Brown paper bag fix
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:20:20 +0000] rev 938
Brown paper bag fix Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 22:17:49 +0000 Do not crash if an invalid field name is entered
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:17:49 +0000] rev 937
Do not crash if an invalid field name is entered Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 21:22:09 +0000 Enable pick links for all the references we have
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:22:09 +0000] rev 936
Enable pick links for all the references we have Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 21:20:33 +0000 Adust the as_table tag to render a pick link if appropriate
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:20:33 +0000] rev 935
Adust the as_table tag to render a pick link if appropriate The templates are adjusted to pass on a 'reference' value, which is the url_name of the view from which the entity should be picked. The as_table (and related) function(s) construct and then pass on this argument and enable takes_contex so that we have access to the context of the enclosing template. We only extract ReferenceProperties that end with '_link_id' since that is how all RP's are currently named. It is not possible to create a field with the same name as the RP, as GAE will try to interpret it's contents as the key of an entity before even calling any function we can override. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 21:18:39 +0000 Add a 'pick' view to the appropriate views
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:18:39 +0000] rev 934
Add a 'pick' view to the appropriate views Only views that represent entities that are pointed to by a ReferenceProperty at some point are considered 'appropriate'. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 21:17:01 +0000 Added a 'pick' view
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:17:01 +0000] rev 933
Added a 'pick' view This view can be used to pick a specific document and then redirect to another view. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 21:15:16 +0000 Add redirects for the new pick view
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:15:16 +0000] rev 932
Add redirects for the new pick view Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 21:04:45 +0000 Add a simple access check for a picker
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:04:45 +0000] rev 931
Add a simple access check for a picker The picker page should not be accessible if the required GET args are not present. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 17:51:35 +0000 Added missing changes from r1522.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:51:35 +0000] rev 930
Added missing changes from r1522. Eclipse found it funny not to save resources ^_^. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 17:41:30 +0000 Renamed redirect methods to comply with the rest of the module.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:41:30 +0000] rev 929
Renamed redirect methods to comply with the rest of the module. Added use for getInviteAcceptedRedirect in the soc/views/models/request.py process_invite view. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 17:07:54 +0000 Replaced the boolean properties in soc/models/request.py with a state property.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:07:54 +0000] rev 928
Replaced the boolean properties in soc/models/request.py with a state property. new : new Request group_accepted : The group has accepted this request completed : This request has been handled either following a creation of the role entity rejected : This request has been rejected by either the user or the group ignored : The request has been ignored by the group and will not give the user access to create the role Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 16:54:46 +0000 Restore context in deny() page
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:54:46 +0000] rev 927
Restore context in deny() page Now that we know when the sidebar is doing the access checks we can safely construct a new context in deny (without having to worry that it will try to do more access checks that result in deny, which will call for a new context... etc). Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 16:53:19 +0000 Bugfixes to last commit
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:53:19 +0000] rev 926
Bugfixes to last commit Access rights for 'home' pages and an errornous endif tag. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 16:23:01 +0000 Removed club property from club_admin model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 16:23:01 +0000] rev 925
Removed club property from club_admin model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 16:21:28 +0000 Generate proper html instead of having nested <td> tags
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:21:28 +0000] rev 924
Generate proper html instead of having nested <td> tags Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 15:32:58 +0000 Hook up the 'home' view for site and program
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:32:58 +0000] rev 923
Hook up the 'home' view for site and program Also point to it in the sidebar's "home" link. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 15:31:13 +0000 Generate the 'edit settings' link dynamically
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:31:13 +0000] rev 922
Generate the 'edit settings' link dynamically We used to point to '/site/edit', which is rather lame for a generic presence template (especially since site has it's own template). Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 15:29:42 +0000 Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:29:42 +0000] rev 921
Create a new 'home' view for Presences This also restores the 'show' view for Presences as there is no need to hide it with the 'home' view anymore. Patch by: Sverre Rabbelier
Fri, 23 Jan 2009 12:00:48 +0000 Added the new way to process invites for club_admin only.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 12:00:48 +0000] rev 920
Added the new way to process invites for club_admin only. This patch contains the separability needed to ensure that we can successfully do the access checks we need. Host invites can for the time being only be completed by developers due to the reorganization. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 11:40:35 +0000 Added missing comment to soc/views/models/club.py.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:40:35 +0000] rev 919
Added missing comment to soc/views/models/club.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 11:39:14 +0000 Changed the request templates to match the changes to the model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:39:14 +0000] rev 918
Changed the request templates to match the changes to the model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 11:38:24 +0000 Added missing role_verbose.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:38:24 +0000] rev 917
Added missing role_verbose. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 11:36:55 +0000 Redid removeRequestForRole to completeRequestForRole.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:36:55 +0000] rev 916
Redid removeRequestForRole to completeRequestForRole. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 11:34:58 +0000 Added verbose role name to the request model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:34:58 +0000] rev 915
Added verbose role name to the request model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 11:32:53 +0000 Added various access methods in preperation for the new request system.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:32:53 +0000] rev 914
Added various access methods in preperation for the new request system. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Fri, 23 Jan 2009 09:08:26 +0000 Added state property to role model.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 09:08:26 +0000] rev 913
Added state property to role model. This can be used when for instance a member has been removed from a club or a when a program has been marked inactive. Certain roles would then be shown on the upcoming roles page marked as previous roles. This would give us the archiving capability that was shown in the mockup. Patch by: Lennard de Rijk Reviewd by: to-be-reviewed
Fri, 23 Jan 2009 08:49:09 +0000 Renamed org property in club_admin model to club.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 08:49:09 +0000] rev 912
Renamed org property in club_admin model to club. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 22 Jan 2009 23:20:15 +0000 Add slots and student applications/tasks limit integer properties to the Program model.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 23:20:15 +0000] rev 911
Add slots and student applications/tasks limit integer properties to the Program model. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 22 Jan 2009 22:54:46 +0000 Change build.sh to create a build/ output directory (rather than release/).
Todd Larsen <tlarsen@google.com> [Thu, 22 Jan 2009 22:54:46 +0000] rev 910
Change build.sh to create a build/ output directory (rather than release/). Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 22 Jan 2009 22:35:41 +0000 Move make_release.sh to build.sh.
Todd Larsen <tlarsen@google.com> [Thu, 22 Jan 2009 22:35:41 +0000] rev 909
Move make_release.sh to build.sh. This script creates a "build" really, not a release. A separate release.sh script should be written to automate the current manual release process (at some point...). Patch by: Todd Larsen Review by: to-be-reviewed
Thu, 22 Jan 2009 22:04:00 +0000 Remove unused decorators import from soc.views.models.role module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:04:00 +0000] rev 908
Remove unused decorators import from soc.views.models.role module. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 22 Jan 2009 22:03:32 +0000 Fix idention in soc.views.models.club module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:03:32 +0000] rev 907
Fix idention in soc.views.models.club module. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 22 Jan 2009 22:02:40 +0000 Fix missing dots in soc.views.helper.decoratos module docstrings.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:02:40 +0000] rev 906
Fix missing dots in soc.views.helper.decoratos module docstrings. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 22 Jan 2009 22:01:16 +0000 Rename clean_existing_user_not_equal_to_current function to clean_users_not_same in soc.logic.cleaning module and fix affected files.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:01:16 +0000] rev 905
Rename clean_existing_user_not_equal_to_current function to clean_users_not_same in soc.logic.cleaning module and fix affected files. Patch by: Pawel Solyga Review by: to-be-reviewed
Thu, 22 Jan 2009 17:26:14 +0000 Hide the 'link_id' field for site
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 17:26:14 +0000] rev 904
Hide the 'link_id' field for site Also construct the scope_path from the fields in case the entity has not yet been created. Patch by: Sverre Rabbelier
Thu, 22 Jan 2009 17:23:17 +0000 Rename "site/settings" to "site"
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 17:23:17 +0000] rev 903
Rename "site/settings" to "site" The "/site/settings" view is not about the Site Settings an sich, but more about the "site presence singleton". In this context it does not make sense to call it "site/settings". Patch by: Sverre Rabbelier
Thu, 22 Jan 2009 16:05:49 +0000 Fixed one style error and one typo.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 16:05:49 +0000] rev 902
Fixed one style error and one typo. Patch by: Lennard de Rijk
Thu, 22 Jan 2009 16:04:48 +0000 Presence is now a 'abstract' View, pull in members from program
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:04:48 +0000] rev 901
Presence is now a 'abstract' View, pull in members from program This is signified by the removal of params['name'] and other values that are required by params.py, but also by the removal of the 'view' definition at the bottom of the file. Patch by: Sverre Rabbelier
Thu, 22 Jan 2009 16:03:17 +0000 Extend dicts.merge to be (optionally) recursive
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:03:17 +0000] rev 900
Extend dicts.merge to be (optionally) recursive This is very useful when dealing for views that expect to be inhereted from but wish to provide default values. Patch by: Sverre Rabbelier
Thu, 22 Jan 2009 16:01:51 +0000 Fix form errors and hidden form errors
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:01:51 +0000] rev 899
Fix form errors and hidden form errors The conversion to django left out the 'prettyfying' of form and hidden form errors, as these could occur when running live, restore this behavior. Patch by: Sverre Rabbelier
Thu, 22 Jan 2009 13:50:25 +0000 Added a cleaning method for a LinkProperty Field.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 13:50:25 +0000] rev 898
Added a cleaning method for a LinkProperty Field. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 22 Jan 2009 00:07:36 +0000 Fixed wrong conditional in soc/views/models/club_app.py.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 00:07:36 +0000] rev 897
Fixed wrong conditional in soc/views/models/club_app.py. Notifications will now be send again. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Thu, 22 Jan 2009 00:03:28 +0000 Fixed import sorting and indentation in soc/views/models/club.py
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 00:03:28 +0000] rev 896
Fixed import sorting and indentation in soc/views/models/club.py Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 21 Jan 2009 23:44:02 +0000 Even developers need to agree to the terms of service for Melange
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 23:44:02 +0000] rev 895
Even developers need to agree to the terms of service for Melange Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 23:43:16 +0000 Corrected the list index parameters in soc/views/models/club_app.py
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 23:43:16 +0000] rev 894
Corrected the list index parameters in soc/views/models/club_app.py Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 21 Jan 2009 23:18:39 +0000 Added Ignored applications to the list view.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 23:18:39 +0000] rev 893
Added Ignored applications to the list view. Also restored the New Club notification upon application acceptance. That broke in r1483. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 21 Jan 2009 22:47:22 +0000 Replaced boolean properties in soc/models/group_app with status property.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 22:47:22 +0000] rev 892
Replaced boolean properties in soc/models/group_app with status property. This property has 5 choices ['accepted','rejected','ignored','needs review','completed'] Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 21 Jan 2009 22:21:40 +0000 Move getToSLink() to soc.views.helper.redirects.getToSRedirect().
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 22:21:40 +0000] rev 891
Move getToSLink() to soc.views.helper.redirects.getToSRedirect(). Fixes a circular import problem that prevented the site-wide ToS link from being displayed by checkAgreesToSiteToS(). This is now completely implemented. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 21:41:36 +0000 Tighten more checkIsUser() access to checkAgreesToSiteToS() instead.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:41:36 +0000] rev 890
Tighten more checkIsUser() access to checkAgreesToSiteToS() instead. Update the checkIsHost() comment. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 21:32:51 +0000 Make checkAgreesToSiteToS() the default access check for many other checks.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:32:51 +0000] rev 889
Make checkAgreesToSiteToS() the default access check for many other checks. Replace checkIsUser() with the more-strict checkAgreesToSiteToS(). Also, add missing args and kwargs parameters to checkAgreesToSiteToS() that were missed in the merge right before commit. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 21:25:18 +0000 Add checkAgreesToSiteToS() (partially implemented until circular import fixed).
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:25:18 +0000] rev 888
Add checkAgreesToSiteToS() (partially implemented until circular import fixed). Need to fix a circular import problem before the alternate message will include a link to the site-wide ToS Document. Also, fixed the descriptions in the first few check...() functions. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 21:09:52 +0000 Take advantage of new "from ... import ... as ..." rules in the style guide.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:09:52 +0000] rev 887
Take advantage of new "from ... import ... as ..." rules in the style guide. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 20:25:07 +0000 Added clean_existing_user_not_equal_to_current to clean the backup Administrator field in an application.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 20:25:07 +0000] rev 886
Added clean_existing_user_not_equal_to_current to clean the backup Administrator field in an application. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Wed, 21 Jan 2009 19:53:23 +0000 Changed the redirect in club application overview to the correct page.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:53:23 +0000] rev 885
Changed the redirect in club application overview to the correct page. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 19:45:13 +0000 Changed checkIsClubAppAccepted into a more generic checkIsApplicationAccepted.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:45:13 +0000] rev 884
Changed checkIsClubAppAccepted into a more generic checkIsApplicationAccepted. Also fixed a minor bug in club_app view. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 19:40:39 +0000 Changed the collection name and help text for Organization member template.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:40:39 +0000] rev 883
Changed the collection name and help text for Organization member template. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 19:32:00 +0000 Added club_app model and logic.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:32:00 +0000] rev 882
Added club_app model and logic. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 18:50:22 +0000 Added created and last modified timestamps to the group_app model.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 18:50:22 +0000] rev 881
Added created and last modified timestamps to the group_app model. Also edited the templates to show some extra information. The review template has the names for the new properties hard coded because the auto_add and auto_add_now datetimeproperties don't show up in the fields of the entity. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 18:25:37 +0000 Fixed typo in r1446.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 18:25:37 +0000] rev 880
Fixed typo in r1446. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 16:13:51 +0000 Changes in Role model.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 16:13:51 +0000] rev 879
Changes in Role model. Clarified that we are asking for a shipping adress. Also moved Agrees to ToS to the bottom. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 16:13:18 +0000 Fix trailing whitespace and apply decorators
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:13:18 +0000] rev 878
Fix trailing whitespace and apply decorators Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 16:13:03 +0000 Fix whitespace damage
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:13:03 +0000] rev 877
Fix whitespace damage Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 16:12:48 +0000 Make use of the new decorators in all applicable views
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:48 +0000] rev 876
Make use of the new decorators in all applicable views Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 16:12:31 +0000 Renamed showReviewOverview to review_overview and reviewOverview
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:31 +0000] rev 875
Renamed showReviewOverview to review_overview and reviewOverview Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 16:12:16 +0000 Fixed two trivial bugs
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:16 +0000] rev 874
Fixed two trivial bugs A "kwargs=kwargs" instead of **kwargs Missing 'and entity' check Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 16:12:01 +0000 Added a merge_params and check_access decorator
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:01 +0000] rev 873
Added a merge_params and check_access decorator The merge_params decorator is very simple and takes self._params and merges it with params. It's main purpose is to explicitly mark the views in which it is intended that self._params is merged raw. The check_access decorator factors out the access checking process and passes args and kwargs to the access checking methods. Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 16:11:47 +0000 Prepare access to receive args and kwargs as argument
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:11:47 +0000] rev 872
Prepare access to receive args and kwargs as argument Also use two "magic values" when the sidebar is doing the access checks, this might be useful later. Patch by: Sverre Rabbelier
Wed, 21 Jan 2009 15:35:10 +0000 Reverted r1457.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:35:10 +0000] rev 871
Reverted r1457. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 15:29:58 +0000 Changed link in club_app accepted notification.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:29:58 +0000] rev 870
Changed link in club_app accepted notification. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 15:11:45 +0000 Added a new view to help with application -> group process.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:11:45 +0000] rev 869
Added a new view to help with application -> group process. The applicant view is available only when there is an accepted application present. This will be checked by the access checker in an upcoming patch. The view uses a special form so that certain fields cannot be edited by the user. These fields correspond to important fields filled in during the application process. Create access for a club has now been set to Host level. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 14:57:12 +0000 onCreate for a Club now marks any application for the same club as completed and invites the admins.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 14:57:12 +0000] rev 868
onCreate for a Club now marks any application for the same club as completed and invites the admins. This is useful for when the club has been created without using the application. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 14:36:44 +0000 Edited the method used to clean link_id in params.py.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 14:36:44 +0000] rev 867
Edited the method used to clean link_id in params.py. Removed the clean_new_link_id from the logic/cleaning.py module because this is not used anymore. This method should be replaced by a method that is used after all the fields have been cleaned so that the actual key_name of an entity can be constructed. Patch by: Lennard de Rijk
Wed, 21 Jan 2009 13:55:06 +0000 Fixed a typo in the comments of soc/views/helper/forms.py
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 13:55:06 +0000] rev 866
Fixed a typo in the comments of soc/views/helper/forms.py Patch by: Lennard de Rijk
Wed, 21 Jan 2009 02:39:29 +0000 Fix missing import identified by pylint.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:39:29 +0000] rev 865
Fix missing import identified by pylint. ************* Module app.soc.logic.models.user E0602: 99:Logic.agreesToSiteToS: Undefined variable 'db' Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 02:37:43 +0000 Fix missing import identified by pylint.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:37:43 +0000] rev 864
Fix missing import identified by pylint. ************* Module app.soc.logic.models.presence E0602: 56:Logic.getToS: Undefined variable 'db' Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 02:34:43 +0000 Fix missing import identified by pylint.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:34:43 +0000] rev 863
Fix missing import identified by pylint. ************* Module app.soc.views.helper.responses E0602:187:getToSLink: Undefined variable 'db' Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 02:31:55 +0000 Add agreesToSiteToS() logic method to indicate if User accepts site-wide ToS.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:31:55 +0000] rev 862
Add agreesToSiteToS() logic method to indicate if User accepts site-wide ToS. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 02:18:07 +0000 Give error messages more room in the existing form field "as_table" templates.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:18:07 +0000] rev 861
Give error messages more room in the existing form field "as_table" templates. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 02:14:05 +0000 Add a clean_agrees_to_tos() validator that requires "Yes" if ToS exists.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:14:05 +0000] rev 860
Add a clean_agrees_to_tos() validator that requires "Yes" if ToS exists. Also, more user_logic.logic => user_logic fixes. If you are going to import "as", you might as well make the renaming worthwhile. Maybe we need to add a section on "import ... from ... as ..." in the style guide? Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 00:32:05 +0000 Change "Show" to "Export" missed in r1446 commit.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 00:32:05 +0000] rev 859
Change "Show" to "Export" missed in r1446 commit. Patch by: Todd Larsen Review by: to-be-reviewed
Wed, 21 Jan 2009 00:27:39 +0000 Add an export() view, and implement it as text/text for Document.
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 00:27:39 +0000] rev 858
Add an export() view, and implement it as text/text for Document. For every Model except Document, the public() view is displayed for any attempts to access the export() view. Currently, the permissions for export() are the same as for public(). This seems reasonable for Document, since anyone could extract the raw HTML from the page source anyway. The permissions should probably be different for other types of exports, such as vCard or iCard exports of profiles, CSV exports of lists, etc. Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 20 Jan 2009 23:13:03 +0000 If a site-wide ToS exist, display the User profile "Agrees to ToS" checkbox.
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 23:13:03 +0000] rev 857
If a site-wide ToS exist, display the User profile "Agrees to ToS" checkbox. Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 20 Jan 2009 23:01:24 +0000 Set agrees_to_tos example text to link to site-wide ToS (or a warning message).
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 23:01:24 +0000] rev 856
Set agrees_to_tos example text to link to site-wide ToS (or a warning message). Also, since a renaming import statement is being used already, change user_logic.logic to just user_logic. Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 20 Jan 2009 22:33:43 +0000 Do not crash on *every* page load if there is no ToS Document.
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:33:43 +0000] rev 855
Do not crash on *every* page load if there is no ToS Document. 'tos' ReferenceProperty might be present, but still be None. Patch by: Todd Larsen Review by: to-be-reviewed
Tue, 20 Jan 2009 22:30:21 +0000 A better way to add site-wide ToS link to *all* pages on the site.
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:30:21 +0000] rev 854
A better way to add site-wide ToS link to *all* pages on the site. getUniversalContext() already fetches a copy of the Site settings, so use that to see if the site-wide ToS exist and produce a link. Patch by: Todd Larsen Review by: to-be-reviewed
(0) -120 +120 +1000 tip