Tue, 06 Jan 2009 17:26:06 +0000 Added logic and view classes for the Timeline model
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 17:26:06 +0000] rev 768
Added logic and view classes for the Timeline model Patch by: Sverre Rabbelier
Tue, 06 Jan 2009 17:25:54 +0000 Sorted build.py's sitemap.addPages lines
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 17:25:54 +0000] rev 767
Sorted build.py's sitemap.addPages lines Patch by: Sverre Rabbelier
Tue, 06 Jan 2009 16:55:27 +0000 Made Program reference Timeline
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 16:55:27 +0000] rev 766
Made Program reference Timeline Also made Timeline inherit from base like it should. Patch by: Sverre Rabbelier
Tue, 06 Jan 2009 16:01:16 +0000 Copy/paste fix
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 16:01:16 +0000] rev 765
Copy/paste fix Typo fix: s/founder/program Patch by: Sverre Rabbelier
Tue, 06 Jan 2009 00:14:32 +0000 Added a basic Timeline model
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 06 Jan 2009 00:14:32 +0000] rev 764
Added a basic Timeline model The timeline model will contain the deadlines and time ranges for the individual programs. Patch by: Sverre Rabbelier
Mon, 29 Dec 2008 18:51:36 +0000 Set no_create_with_key_fields paramater to True for Notifications.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 29 Dec 2008 18:51:36 +0000] rev 763
Set no_create_with_key_fields paramater to True for Notifications. Patch by: Lennard de Rijk
Thu, 18 Dec 2008 09:52:20 +0000 Revert "Overwrite default patterns in views/models/notification.py to disallow certain URL's."
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 18 Dec 2008 09:52:20 +0000] rev 762
Revert "Overwrite default patterns in views/models/notification.py to disallow certain URL's." This should instead be done by setting the no_create_with_key_fields parameter to True. Patch by: Sverre Rabbelier
Thu, 18 Dec 2008 09:52:04 +0000 Allow disabling of the create url with key_fields
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 18 Dec 2008 09:52:04 +0000] rev 761
Allow disabling of the create url with key_fields Patch by: Sverre Rabbelier
Thu, 18 Dec 2008 07:02:48 +0000 Overwrite default patterns in views/models/notification.py to disallow certain URL's.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 18 Dec 2008 07:02:48 +0000] rev 760
Overwrite default patterns in views/models/notification.py to disallow certain URL's. Patch by: Lennard de Rijk
Wed, 17 Dec 2008 22:27:55 +0000 Fixed a too long line in logic/helper/notifications.py
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 22:27:55 +0000] rev 759
Fixed a too long line in logic/helper/notifications.py Patch by: Lennard de Rijk
Wed, 17 Dec 2008 22:25:16 +0000 Added base template for notification messages.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 22:25:16 +0000] rev 758
Added base template for notification messages. This makes the messages a bit more friendly by including a greeting and signature. Patch by: Lennard de Rijk
Wed, 17 Dec 2008 22:15:21 +0000 Added email message when receiving a notification.py
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 22:15:21 +0000] rev 757
Added email message when receiving a notification.py At the moment this only triggers when the new notification is your first unread message. Also fixed an url bug in the invite notification. Patch by: Lennard de Rijk
Wed, 17 Dec 2008 19:33:03 +0000 Changed invitation email and into a notification.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 17 Dec 2008 19:33:03 +0000] rev 756
Changed invitation email and into a notification. Also changed the public template for Notification to allow HTML code. Patch by: Lennard de Rijk
Mon, 15 Dec 2008 01:15:32 +0000 Remove unused imports and variables in different soc.views.models modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:15:32 +0000] rev 755
Remove unused imports and variables in different soc.views.models modules. Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:13:07 +0000 Remove unused import in soc.views.hlper.templatetags.forms_helpers module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:13:07 +0000] rev 754
Remove unused import in soc.views.hlper.templatetags.forms_helpers module. Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:12:28 +0000 Since DbModelForm has been renamed to BaseForm change super() call from BaseForm to djangoforms.ModelForm in soc.views.helper.forms module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:12:28 +0000] rev 753
Since DbModelForm has been renamed to BaseForm change super() call from BaseForm to djangoforms.ModelForm in soc.views.helper.forms module. Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:11:12 +0000 Some docstring fixes and unused import removal in soc.logic.models.site module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:11:12 +0000] rev 752
Some docstring fixes and unused import removal in soc.logic.models.site module. Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:10:32 +0000 Fix inheritance in soc.models.base module. FieldsProxy inherited from DbModelForm which was deleted in previous commits (replace that with BaseForm).
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:10:32 +0000] rev 751
Fix inheritance in soc.models.base module. FieldsProxy inherited from DbModelForm which was deleted in previous commits (replace that with BaseForm). Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:08:16 +0000 Fix too long lines in soc.logic.helper.notifications module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:08:16 +0000] rev 750
Fix too long lines in soc.logic.helper.notifications module. Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:07:18 +0000 Remove unused import in soc.logic.accounts module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:07:18 +0000] rev 749
Remove unused import in soc.logic.accounts module. Patch by: Pawel Solyga
Mon, 15 Dec 2008 01:06:13 +0000 Remove unused imports in models modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 01:06:13 +0000] rev 748
Remove unused imports in models modules. Patch by: Pawel Solyga
Mon, 15 Dec 2008 00:34:46 +0000 In soc.views.models.notification module remove unused imports, add missing white space, change list() method definition to comply with base View list() method declaration. Add missing Meta class docstring.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:34:46 +0000] rev 747
In soc.views.models.notification module remove unused imports, add missing white space, change list() method definition to comply with base View list() method declaration. Add missing Meta class docstring. Patch by: Pawel Solyga
Mon, 15 Dec 2008 00:24:24 +0000 Fix import sorting in soc.views.helper.access module and rename 'host' to 'Program Administrator'.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:24:24 +0000] rev 746
Fix import sorting in soc.views.helper.access module and rename 'host' to 'Program Administrator'. Patch by: Pawel Solyga
Mon, 15 Dec 2008 00:22:50 +0000 Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:22:50 +0000] rev 745
Remove not used TYPE_NAME, TYPE_NAME_SHORT and TYPE_NAME_PLURAL consts in all Group models. Patch by: Pawel Solyga
Mon, 15 Dec 2008 00:21:26 +0000 Add missing dots, fix imports sorting and too long lines in different modules. Add TODO in soc.views.models.host module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 15 Dec 2008 00:21:26 +0000] rev 744
Add missing dots, fix imports sorting and too long lines in different modules. Add TODO in soc.views.models.host module. Patch by: Pawel Solyga
Sun, 14 Dec 2008 00:51:03 +0000 Have user/edit.html use the as_table tag as well
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:51:03 +0000] rev 743
Have user/edit.html use the as_table tag as well Patch by: Sverre Rabbelier
Sun, 14 Dec 2008 00:50:49 +0000 Removed unused template
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:50:49 +0000] rev 742
Removed unused template Patch by: Sverre Rabbelier
Sun, 14 Dec 2008 00:33:59 +0000 Converted as_table to be a template tag
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:33:59 +0000] rev 741
Converted as_table to be a template tag This allows us to move all the HTML from python code (which made it extremely icky and unreadable) to Django templates, which is _a lot_ more readable, and makes it feasable for HTML/CSS experts to change the way these tables are generated. Patch by: Sverre Rabbelier
Sun, 14 Dec 2008 00:33:41 +0000 Added some example_text to program
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:33:41 +0000] rev 740
Added some example_text to program Patch by: Sverre Rabbelier
Sun, 14 Dec 2008 00:33:29 +0000 Added support for example texts
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 14 Dec 2008 00:33:29 +0000] rev 739
Added support for example texts Initial patch by Benjamin, some minor fixes by Sverre. Patch by: Benjamin Lyaunzbe, Sverre Rabbelier
Sat, 13 Dec 2008 18:21:35 +0000 Brown-paper-bag fix in notification.py
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 18:21:35 +0000] rev 738
Brown-paper-bag fix in notification.py Was missing a leading slash in the redirect. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 14:55:00 +0000 Notification property has_been_read changed into unread
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 13 Dec 2008 14:55:00 +0000] rev 737
Notification property has_been_read changed into unread Due to comments on r1309. Patch By: Lennard de Rijk
Sat, 13 Dec 2008 13:28:01 +0000 No override needed in notifications.py
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:28:01 +0000] rev 736
No override needed in notifications.py The only downside is that the ?s=0 parameter will still be appended but is not handled in list(). The right solution would be to update list() so that it does say "Message Sent" or such, to give the user an indication that their message was sent succesfully. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 13:27:40 +0000 Make it possible to redirect anywhere after editPost
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:27:40 +0000] rev 735
Make it possible to redirect anywhere after editPost This makes it possible to not include the suffix in the redirect by making it a named parameter. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 13:09:06 +0000 Make the place of the rights declaration consistent
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:09:06 +0000] rev 734
Make the place of the rights declaration consistent Other code places it at the top, so we should do that in notification as well. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 13:08:45 +0000 Remove custom override of django_patterns_defaults
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:08:45 +0000] rev 733
Remove custom override of django_patterns_defaults Instead restrict access to the edit method, also, there is no need to set the default access to allow. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 13:08:23 +0000 Fix whitespace and EOL damage in notifcation.py
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 13:08:23 +0000] rev 732
Fix whitespace and EOL damage in notifcation.py Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 12:49:57 +0000 Make use of readonly_field_as_table_row
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:49:57 +0000] rev 731
Make use of readonly_field_as_table_row Instead of manually typing out the <br /> etc. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 12:49:34 +0000 Fix EOL-damage
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:49:34 +0000] rev 730
Fix EOL-damage We use \n for line endings, so remove the \r from public.html Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 12:49:11 +0000 Make checkIsMyInvitation use Django to parse the URL
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:49:11 +0000] rev 729
Make checkIsMyInvitation use Django to parse the URL Using django is more reliable and makes the code easier to read as there is no knowledge of the url layout required. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 12:48:49 +0000 Added a readonly_multiline_field_as_table_row tag
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 13 Dec 2008 12:48:49 +0000] rev 728
Added a readonly_multiline_field_as_table_row tag This is useful when a field is allowed to include newlines. Patch by: Sverre Rabbelier
Sat, 13 Dec 2008 11:02:08 +0000 Using getForCurrentAccount where possible due to comments on r1309.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 13 Dec 2008 11:02:08 +0000] rev 727
Using getForCurrentAccount where possible due to comments on r1309. Patch by: Lennard de Rijk
Fri, 12 Dec 2008 23:28:18 +0000 Added Notifications.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 12 Dec 2008 23:28:18 +0000] rev 726
Added Notifications. Notifications will primarily be used to serve the user information message like "New Request Pending". The system can be expanded later on to a messaging system. If you are a developer you can create message by going to notification/create . This has been done so the system can easily be tested. But will of course be visible in an easy-to-access location when the transition to a message system has been made. Patch by: Lennard de Rijk
Fri, 12 Dec 2008 00:35:51 +0000 Filter the "list Hosts" view
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:35:51 +0000] rev 725
Filter the "list Hosts" view This way only those Hosts are shown that belong to a Sponsor the user is a host for. Patch by: Sverre Rabbelier
Fri, 12 Dec 2008 00:35:28 +0000 Allows a user object to be passed to accounts.isDeveloper
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:35:28 +0000] rev 724
Allows a user object to be passed to accounts.isDeveloper This saves a trip to the database if the user object has already been retrieved. Patch by: Sverre Rabbelier
Fri, 12 Dec 2008 00:35:08 +0000 Make getForFields use the db.Query API
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:35:08 +0000] rev 723
Make getForFields use the db.Query API While at it, add support for the IN statement in the form of a value of the list type. Patch by: Sverre Rabbelier
Fri, 12 Dec 2008 00:34:39 +0000 Added getForCurrentAccount to user.Logic
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:34:39 +0000] rev 722
Added getForCurrentAccount to user.Logic It returns the user entity associated with the currently logged in user. Patch by: Sverre Rabbelier
Fri, 12 Dec 2008 00:34:12 +0000 Added a filter method to dicts
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 12 Dec 2008 00:34:12 +0000] rev 721
Added a filter method to dicts The best way to explain this is probably with an example: >>> split({'foo':'bar', 'bar':['one', 'two'], 'baz': ['three', 'four']}) [{'bar': 'one', 'foo': 'bar', 'baz': 'three'}, {'bar': 'two', 'foo': 'bar', 'baz': 'three'}, {'bar': 'one', 'foo': 'bar', 'baz': 'four'}, {'bar': 'two', 'foo': 'bar', 'baz': 'four'}] Patch by: Sverre Rabbelier
Thu, 11 Dec 2008 20:54:22 +0000 Make it possible to invite another Host as Host
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Dec 2008 20:54:22 +0000] rev 720
Make it possible to invite another Host as Host We do this by asking Django to resolve the current url for us, then reshufle that url and ask Django (again) to resolve that new url. From that resolved url we know the appropriate view, and as such we know which rights dictioanry to pass to access.checkAccess. Patch by: Sverre Rabbelier
Thu, 11 Dec 2008 20:53:57 +0000 Added a trivial unzip method, counterpart to zip
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 11 Dec 2008 20:53:57 +0000] rev 719
Added a trivial unzip method, counterpart to zip Patch by: Sverre Rabbelier
Thu, 11 Dec 2008 04:23:42 +0000 Add some ignore properties for when we get working coverage support.
Augie Fackler <durin42@gmail.com> [Thu, 11 Dec 2008 04:23:42 +0000] rev 718
Add some ignore properties for when we get working coverage support.
Wed, 10 Dec 2008 07:38:56 +0000 Fixed missing header in site settings.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 10 Dec 2008 07:38:56 +0000] rev 717
Fixed missing header in site settings. Also known as Issue 146. Patch by: Lennard de Rijk
Tue, 09 Dec 2008 15:43:56 +0000 Changed "Sponsor" to "Program Owner"
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 09 Dec 2008 15:43:56 +0000] rev 716
Changed "Sponsor" to "Program Owner" Changed "Host" to "Program Administrator" Patch by: Lennard de Rijk
Mon, 08 Dec 2008 17:31:33 +0000 Adds the removal of requests from the datastore when a new role entity is created.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 08 Dec 2008 17:31:33 +0000] rev 715
Adds the removal of requests from the datastore when a new role entity is created. This uses the classname from the role entity as the type of role in the request. Patch by: Lennard de Rijk
Sun, 07 Dec 2008 20:25:50 +0000 Add missing dots in docstrings, proper sorting of imports and small docstring typo fixes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 07 Dec 2008 20:25:50 +0000] rev 714
Add missing dots in docstrings, proper sorting of imports and small docstring typo fixes. Patch by: Pawel Solyga
Sun, 07 Dec 2008 20:02:40 +0000 Thinkofix in access.checkIsInvited
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 20:02:40 +0000] rev 713
Thinkofix in access.checkIsInvited Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 20:02:17 +0000 Some forgotten changes with the access_type commit
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 20:02:17 +0000] rev 712
Some forgotten changes with the access_type commit Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 19:18:24 +0000 Program Name column showed link_id instead of name, replace link_id with name in soc/program/list/row.html template.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 07 Dec 2008 19:18:24 +0000] rev 711
Program Name column showed link_id instead of name, replace link_id with name in soc/program/list/row.html template. Patch by: Pawel Solyga
Sun, 07 Dec 2008 19:02:41 +0000 Add explicit access_types from the url
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 19:02:41 +0000] rev 710
Add explicit access_types from the url This does two things, it reduces the amount of repeated data (e.g., the checkAccess used to repeat the access_type that was already specified in the url). At the same time, it allows for example the 'create' page to push its access_type to 'edit'. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 19:02:02 +0000 Add checkIsHost in access
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 19:02:02 +0000] rev 709
Add checkIsHost in access Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 19:01:35 +0000 Some cleanups in role.py and site.py and create()
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 19:01:35 +0000] rev 708
Some cleanups in role.py and site.py and create() Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 17:26:59 +0000 Changed template for home/public.html to show last modified in the top-right corner.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 17:26:59 +0000] rev 707
Changed template for home/public.html to show last modified in the top-right corner. Patch by: Lennard de Rijk
Sun, 07 Dec 2008 17:02:32 +0000 Add site scoped documents to the Site menu
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:02:32 +0000] rev 706
Add site scoped documents to the Site menu This allows for featured documents that belong to the Site scope to show up in the 'Site' menu. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 17:02:10 +0000 Move document sidebar entries extraction to document.View
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:02:10 +0000] rev 705
Move document sidebar entries extraction to document.View This way other modules can benefit from the same logic. Also make use of the sidebar.getSidebarMenu method so that getMenusForScope is no longer specific to full menu's. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 17:01:44 +0000 Factor out sidebar entry construction
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:01:44 +0000] rev 704
Factor out sidebar entry construction This makes it possible to reuse this logic in other modules as well, preventing code duplication. While at it, move additional_sidebar merging before the other entries (additional entries should go first, since the other entries are mostly dev-only etc). Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:29:37 +0000 Rename getSidebarLinks to getSidebarMenus
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:29:37 +0000] rev 703
Rename getSidebarLinks to getSidebarMenus Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:29:10 +0000 Remove bogus scope from Site
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:29:10 +0000] rev 702
Remove bogus scope from Site This makes Site an unscoped entity (similar to how User and Sponsor do not have a scope). Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:28:36 +0000 If an entity is unscoped, do not try to retrieve a scope
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:28:36 +0000] rev 701
If an entity is unscoped, do not try to retrieve a scope Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:02:29 +0000 Dynamically add sidebar items for programs
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:02:29 +0000] rev 700
Dynamically add sidebar items for programs This adds sidebar items for programs as appropriate. From the docstring: A menu item is generated for each program that is currently running. The public page for each program is added as menu item, as well as all public documents for that program. Additionally, we allow access to a program's public page to everyone, even if the user is not logged in. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:02:03 +0000 Add and use a placeholder for checkIsDocumentPublic
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:02:03 +0000] rev 699
Add and use a placeholder for checkIsDocumentPublic We should somehow decide whether a document is publically viewable. This should of course be dependant on what the document is, e.g. the FAQ of a program should be allow(), whereas a student's application should be checkIsMentor(). Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:01:31 +0000 Added a public redirect
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:01:31 +0000] rev 698
Added a public redirect Also some minor cleanups in the redirects code. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 13:49:22 +0000 Prepare for callbacks that return more than one menu
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 13:49:22 +0000] rev 697
Prepare for callbacks that return more than one menu This paves the way for callbacks that dynamically construct their menu based on in-db content, such as Programs and Documents. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 13:38:53 +0000 Make use of the 'sidebar' param for user_self
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 13:38:53 +0000] rev 696
Make use of the 'sidebar' param for user_self Instead of overriding getSidebarLinks we use the sidebar param since user_self is now in it's own View. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 13:06:26 +0000 Fixed email adress in urls.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 13:06:26 +0000] rev 695
Fixed email adress in urls.py. Patch by: Lennard de Rijk
Sun, 07 Dec 2008 12:41:28 +0000 Fixes 'module' object has no attribute 'handler500' and 404 on instances where debug is False.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 12:41:28 +0000] rev 694
Fixes 'module' object has no attribute 'handler500' and 404 on instances where debug is False. Patch by: Lennard de Rijk
Sun, 07 Dec 2008 10:23:10 +0000 Fixed the header on the List Programs page.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 07 Dec 2008 10:23:10 +0000] rev 693
Fixed the header on the List Programs page. Patch by: Lennard de Rijk
Sat, 06 Dec 2008 22:34:25 +0000 Reset the RELEASE_TAG to None (unreleased) now that the 0.1a20081206 release candidate branch has been created.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 22:34:25 +0000] rev 692
Reset the RELEASE_TAG to None (unreleased) now that the 0.1a20081206 release candidate branch has been created. Patch by: Pawel Solyga
Sat, 06 Dec 2008 22:18:21 +0000 Set RELEASE_TAG to 0.1a20081206rc for release candidate 06/12/2008.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 22:18:21 +0000] rev 691
Set RELEASE_TAG to 0.1a20081206rc for release candidate 06/12/2008. Patch by: Pawel Solyga
Sat, 06 Dec 2008 21:32:36 +0000 Fix imports sorting in soc.views.models.organization.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 21:32:36 +0000] rev 690
Fix imports sorting in soc.views.models.organization. Patch by: Pawel Solyga
Sat, 06 Dec 2008 21:27:47 +0000 Add missing dots in docstrings in modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 06 Dec 2008 21:27:47 +0000] rev 689
Add missing dots in docstrings in modules. Patch by: Pawel Solyga
Sat, 06 Dec 2008 21:05:17 +0000 Changed generic_name to group_label in models/program.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Dec 2008 21:05:17 +0000] rev 688
Changed generic_name to group_label in models/program.py. Also I've updated the comments and help text to explain the meaning of this field. Patch by: Lennard de Rijk
Sat, 06 Dec 2008 19:25:01 +0000 Updated to the latest version of upload.py
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 19:25:01 +0000] rev 687
Updated to the latest version of upload.py Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 16:52:21 +0000 Load ../../google_appengine_1.1.7/ into
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 16:52:21 +0000] rev 686
Load ../../google_appengine_1.1.7/ into trunk/thirdparty/google_appengine.
Sat, 06 Dec 2008 14:50:45 +0000 Comment fixes for state in group and role model.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Dec 2008 14:50:45 +0000] rev 685
Comment fixes for state in group and role model. Patch by: Lennard de Rijk
Sat, 06 Dec 2008 14:46:19 +0000 Fix for randomely ocurring bug
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:46:19 +0000] rev 684
Fix for randomely ocurring bug The bug and it's fix are described by the first comment from Guido in http://code.google.com/p/googleappengine/issues/detail?id=772. Patch by: Guido van Rossum
Sat, 06 Dec 2008 14:44:02 +0000 Changed state property for models/group.py to be optional as the description states.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 06 Dec 2008 14:44:02 +0000] rev 683
Changed state property for models/group.py to be optional as the description states. Patch by: Lennard de Rijk
Sat, 06 Dec 2008 14:25:24 +0000 Added organizations
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:25:24 +0000] rev 682
Added organizations Really basic for now, next stop is to have a proper document selector for the Presences. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 14:24:50 +0000 Cleanups in group and program
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:24:50 +0000] rev 681
Cleanups in group and program The missing super call in group prevented the scope from being set as it should be. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 14:24:26 +0000 Added a new create regexp in urls for just scope_path
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:24:26 +0000] rev 680
Added a new create regexp in urls for just scope_path Now that scope_path is properly defined we can add a url matching just the scope path. This allows some other custom create regexps to be removed/rewritten. Note: It needs to be -after- the full key_name regexp, since for arbitrarily nested scopes it would always match as just scope_path, even if there are other fields needed after the scope. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 14:23:53 +0000 Introduce dynamic scope_path regexps
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:23:53 +0000] rev 679
Introduce dynamic scope_path regexps Instead of relying on scope_path's being "one slash deep", we should instead allow for either: 1. scope_paths that have a pre-defined depth 2. scope_paths that can be arbitrarily deep We achieve 1 by setting an entities scope_logic to another logic module. We then recursively call getScopeDepth until we get to the topmost entity (that is, an unscoped entity). A little different is the solution to 2, since some entities can have an arbitrarily deep scope (such as Documents), we need to have some way of signaling this to getScopePattern. A clean solution is to return None, rather than a number. If None is returned, the SCOPE_PATH_ARG_PATTERN is returned as regexp instead, which will match an arbitrarily deeply nested scope. The solution for 2 requires that we return None somewhere in the scope_logic chain, the most straight forward method to do so is to override getScopeDepth anywhere such a scope is needed and make it return None. A more elegant solution however, is to set the scope_logic to that module in all entities that require it. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 14:23:25 +0000 Added a linkable logic module
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 14:23:25 +0000] rev 678
Added a linkable logic module The linkable logic module is used to signal the fact that the scope of an entity can be any linkable. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 12:13:19 +0000 Fix scope lookup for unscoped entities
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 12:13:19 +0000] rev 677
Fix scope lookup for unscoped entities As scope_logic is now always set (since r1250), we need to check if it is None, rather than check if it exists. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 12:12:58 +0000 Swap the order of request key fields
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 12:12:58 +0000] rev 676
Swap the order of request key fields This will make it easier to remove scope_path as explicit key field at some point by having it as inplicit key field for all entities. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:53:26 +0000 Use key().name() instead of link_id
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:53:26 +0000] rev 675
Use key().name() instead of link_id This is now possible because key_name is constructed purely from the key fields of an entity. It is not sufficient to use just link_id, that works only for single-scoped entities (e.g., those that either do not have a scope, or that have a scope which itself does not have a scope). It would break if there was an entity that has a scoped scope (it would only include the scope's link_id in the url, which made it impossible to look up the scope as we missed the link_id of the scope's scope). Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:53:05 +0000 More DI on scope_logic
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:53:05 +0000] rev 674
More DI on scope_logic Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:31:08 +0000 Partial revert
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:31:08 +0000] rev 673
Partial revert Last commit contained some changes that did not belong there, revert them for now. Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:26:15 +0000 Some more cleanups in base.Logic
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:26:15 +0000] rev 672
Some more cleanups in base.Logic Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:21:41 +0000 Apply DI on the scope logic
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:21:41 +0000] rev 671
Apply DI on the scope logic Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:21:01 +0000 Removed unused file path_link_name
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:21:01 +0000] rev 670
Removed unused file path_link_name Patch by: Sverre Rabbelier
Sat, 06 Dec 2008 11:20:44 +0000 Remove unneeded method getSuffixValues
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 06 Dec 2008 11:20:44 +0000] rev 669
Remove unneeded method getSuffixValues Patch by: Sverre Rabbelier
Fri, 05 Dec 2008 22:54:43 +0000 Some style and typo fixes in different modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:54:43 +0000] rev 668
Some style and typo fixes in different modules. Patch by: Pawel Solyga
Fri, 05 Dec 2008 22:27:04 +0000 Some more import sorting fixes and docstring typos in program modules and soc.views.helper.redirects module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:27:04 +0000] rev 667
Some more import sorting fixes and docstring typos in program modules and soc.views.helper.redirects module. Patch by: Pawel Solyga
Fri, 05 Dec 2008 22:25:57 +0000 Fix import sorting and docstring typos in soc.views.models.program module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:25:57 +0000] rev 666
Fix import sorting and docstring typos in soc.views.models.program module. Patch by: Pawel Solyga
Fri, 05 Dec 2008 22:25:08 +0000 Fix import sorting in soc.views.sitemap.build module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 22:25:08 +0000] rev 665
Fix import sorting in soc.views.sitemap.build module. Patch by: Pawel Solyga
Fri, 05 Dec 2008 12:24:02 +0000 Some style fixes in soc.logic.helper.notifications module. Little changes in welcome.html template.
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 05 Dec 2008 12:24:02 +0000] rev 664
Some style fixes in soc.logic.helper.notifications module. Little changes in welcome.html template. Patch by: Pawel Solyga
Thu, 04 Dec 2008 10:09:38 +0000 Make base.View.create lookup the scope if appropriate
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 04 Dec 2008 10:09:38 +0000] rev 663
Make base.View.create lookup the scope if appropriate Also re-introduce the custom description of the list selection for the redirection. Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 23:49:10 +0000 Make use of the new generic key_name by lookup up scope_path
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 23:49:10 +0000] rev 662
Make use of the new generic key_name by lookup up scope_path This way base classes do not have to look up the 'scope' property, instead they can rely on the base class to do it for them provided they define the 'scope_logic' param. Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 23:48:33 +0000 Change the key name to not include entity type
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 23:48:33 +0000] rev 661
Change the key name to not include entity type This allows for direct lookup by scope_path, rather than having to do more complex things. Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 23:48:10 +0000 Introduced django_extra_patterns
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 23:48:10 +0000] rev 660
Introduced django_extra_patterns This way no classes ever need to override the getDjangoURLPatterns, which results in less code, which is also more clear (that is, it is immediately obvious that a View adds an extra mapping if it sets the new django_extra_patterns value, or that it overrides the mapping when it sets django_patterns_defaults. Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 21:28:16 +0000 Make scope_path required for program
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:28:16 +0000] rev 659
Make scope_path required for program Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 21:27:52 +0000 Factor out the Group part of Sponsor
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:27:52 +0000] rev 658
Factor out the Group part of Sponsor This makes it possible to reuse the Group logic. Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 21:27:27 +0000 Rename role.RoleView to role.View
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:27:27 +0000] rev 657
Rename role.RoleView to role.View Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 21:27:01 +0000 Cleanups in the views module
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:27:01 +0000] rev 656
Cleanups in the views module Mainly rename from original_params to new_params (so that the keyword argument in the __init__ method is the same for all). Also use super(View, self) where appropriate. Patch by: Sverre Rabbelier
Wed, 03 Dec 2008 21:26:16 +0000 Cleanups to the logic module
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 03 Dec 2008 21:26:16 +0000] rev 655
Cleanups to the logic module Mainly converting to super(Logic, self) and adding some missing empty lines while at it. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 22:05:13 +0000 Fixed the 'New Host' link
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:05:13 +0000] rev 654
Fixed the 'New Host' link Also removed the 'Invite Host' button from the Sponsor view now that the link is working. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 22:04:38 +0000 Make the 'select entity' View generic
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:04:38 +0000] rev 653
Make the 'select entity' View generic This allows the selection of any entity from an arbitrary View by specifying the 'target view' and the redirect function. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 22:04:15 +0000 Cleanups in preparation of general selector view
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:04:15 +0000] rev 652
Cleanups in preparation of general selector view Renamed LIST... to DEF_LIST since it is a global definition. Renamed getCreateProgramRedirect to getCreateRedirect since it will work on all entities as it uses params. Added a getParams method to base.View Updated selectSponsor as appropriate. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 22:03:46 +0000 Remove the logic parameter from getListContent
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 22:03:46 +0000] rev 651
Remove the logic parameter from getListContent Now that params always has a 'logic' attribute, we can use that instead of requiring that it is passed as argument. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 20:14:14 +0000 Changed clean_link_id to convert the input to lower characters for user comfort.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 02 Dec 2008 20:14:14 +0000] rev 650
Changed clean_link_id to convert the input to lower characters for user comfort. It has been changed in a couple of files, most importantly in logic/cleaning.py wich will be used by future forms to do their cleaning. Patch by: Lennard de Rijk
Tue, 02 Dec 2008 20:10:23 +0000 Finish Program
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 20:10:23 +0000] rev 649
Finish Program Added some fields, and made TinyMCE the editor for the description field. Also updated the public page to show these new fields. We really need generic public views... Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 18:48:42 +0000 Brown paperbag fix in recent cycle breaking
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 18:48:42 +0000] rev 648
Brown paperbag fix in recent cycle breaking Self is no longer used, 'error' should be used instead. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 17:59:44 +0000 Swap order of merged params to fix sponsor select view
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 02 Dec 2008 17:59:44 +0000] rev 647
Swap order of merged params to fix sponsor select view The sponsor select view (in 'create new program') was showing the wrong information (and also using the wrong list template) because the order in which the params were merged was wrong way around. This fixes that and at the same time fixes the 'instruction_text' attribute, which should be named 'list_description' instead. At the same time we lookup and set Sponsor as the scope of the newly created program. Patch by: Sverre Rabbelier
Tue, 02 Dec 2008 17:14:18 +0000 Remove cyclic imports by moving response method of out_of_band.Error class to soc.views.helper.responses module as errorResponse function. Apply changes to affected files.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Dec 2008 17:14:18 +0000] rev 646
Remove cyclic imports by moving response method of out_of_band.Error class to soc.views.helper.responses module as errorResponse function. Apply changes to affected files. Patch by: Pawel Solyga
Tue, 02 Dec 2008 11:20:08 +0000 Remov unused import from Quiz model and add missing blank line.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Dec 2008 11:20:08 +0000] rev 645
Remov unused import from Quiz model and add missing blank line. Patch by: Pawel Solyga
Tue, 02 Dec 2008 10:44:56 +0000 Remove Great Britain from country list. Great Britain was included as a country, although it has a country code (.gb) it's not a state. United Kingdom is correct and remains in the list.
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 02 Dec 2008 10:44:56 +0000] rev 644
Remove Great Britain from country list. Great Britain was included as a country, although it has a country code (.gb) it's not a state. United Kingdom is correct and remains in the list. Patch by: Matthew Wilkes Review by: Pawel Solyga
Mon, 01 Dec 2008 21:38:25 +0000 Added programs
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 01 Dec 2008 21:38:25 +0000] rev 643
Added programs Currently the programs are somewhat of empty, but due to the ease with which we can add new fields later, it is acceptable to commit it in it's current form. Patch by: Sverre Rabbelier
Mon, 01 Dec 2008 21:37:27 +0000 Allow for extra dynamic fields for the create form
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 01 Dec 2008 21:37:27 +0000] rev 642
Allow for extra dynamic fields for the create form Also some minor cleanups, such as making base.Logic inherit from object, as per the style guide. Patch by: Sverre Rabbelier
Mon, 01 Dec 2008 21:30:01 +0000 Fixed a styling error.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 01 Dec 2008 21:30:01 +0000] rev 641
Fixed a styling error. Patch by: Lennard de Rijk
Mon, 01 Dec 2008 21:03:20 +0000 Added User welcome message.
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 01 Dec 2008 21:03:20 +0000] rev 640
Added User welcome message. Added templates/soc/mail/welcome.html as a template for the message. Also fixed a cyclic import that was about to happen in notifications.py.
Mon, 01 Dec 2008 12:37:16 +0000 Some docstring fixes in few modules (soc.views.helper soc.views.models.base).
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Dec 2008 12:37:16 +0000] rev 639
Some docstring fixes in few modules (soc.views.helper soc.views.models.base). Patch by: Pawel Solyga
Mon, 01 Dec 2008 12:35:56 +0000 Add missing dot and correctly sort imports in soc.logic.helper.notifications module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Dec 2008 12:35:56 +0000] rev 638
Add missing dot and correctly sort imports in soc.logic.helper.notifications module. Patch by: Pawel Solyga
Mon, 01 Dec 2008 12:34:55 +0000 Some docstring and missing blank lines fixes in soc.views.sitemap modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 01 Dec 2008 12:34:55 +0000] rev 637
Some docstring and missing blank lines fixes in soc.views.sitemap modules. Patch by: Pawel Solyga
Sun, 30 Nov 2008 22:30:01 +0000 Sponsor name now shows in List Hosts.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 22:30:01 +0000] rev 636
Sponsor name now shows in List Hosts. Patch by: Lennard de Rijk
Sun, 30 Nov 2008 22:15:39 +0000 Moved sendInviteMessage to a new module in logic/helper/notifications.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 22:15:39 +0000] rev 635
Moved sendInviteMessage to a new module in logic/helper/notifications.py. Renamed sendInviteMessage to sendInviteNotification. Removed the now obsolete imports in logic/models/request.py. This has been done to keep the models/logic modules clean.
Sun, 30 Nov 2008 21:49:14 +0000 Changed email address in logic/models/base.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 21:49:14 +0000] rev 634
Changed email address in logic/models/base.py. Patch by: Lennard de Rijk
Sun, 30 Nov 2008 21:28:25 +0000 Allow developers access to anything that does a checkIsInvited.
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 30 Nov 2008 21:28:25 +0000] rev 633
Allow developers access to anything that does a checkIsInvited. Patch by: Lennard de Rijk
Sun, 30 Nov 2008 17:37:06 +0000 Remove unused imports from some modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:37:06 +0000] rev 632
Remove unused imports from some modules. Patch by: Pawel Solyga
Sun, 30 Nov 2008 17:35:48 +0000 Fix typo and too long lines in soc.logic.models.request module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:35:48 +0000] rev 631
Fix typo and too long lines in soc.logic.models.request module. Patch by: Pawel Solyga
Sun, 30 Nov 2008 17:35:05 +0000 Add missing import, remove unused import and add missing parameters to methods in soc.views.models.user_self module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:35:05 +0000] rev 630
Add missing import, remove unused import and add missing parameters to methods in soc.views.models.user_self module. Patch by: Pawel Solyga
Sun, 30 Nov 2008 17:06:32 +0000 Add missing dots and fix too long line in soc.views.helper.dynaform module. Remove unused imports in soc.views.models.document module. Fix too long lines. Add missing docstring for Meta classes.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 17:06:32 +0000] rev 629
Add missing dots and fix too long line in soc.views.helper.dynaform module. Remove unused imports in soc.views.models.document module. Fix too long lines. Add missing docstring for Meta classes. Patch by: Pawel Solyga
Sun, 30 Nov 2008 16:46:32 +0000 Add module docstring and license for soc, soc.models, soc.views.helper.templatetags.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:46:32 +0000] rev 628
Add module docstring and license for soc, soc.models, soc.views.helper.templatetags. Patch by: Pawel Solyga
Sun, 30 Nov 2008 16:44:27 +0000 Remove python-graph from thirdparty, remove check_includes script and graph folder from scripts. This functionality is (cyclic imports check) is supported by pylint automatically so we don't need that any more.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:44:27 +0000] rev 627
Remove python-graph from thirdparty, remove check_includes script and graph folder from scripts. This functionality is (cyclic imports check) is supported by pylint automatically so we don't need that any more. Patch by: Pawel Solyga Review by: Sverre Rabbelier
Sun, 30 Nov 2008 16:39:18 +0000 Fix too long lines in soc.views.models.request, remove unused imports and change pending requests list description. Remove unused imports from soc.logic.path_link_name module.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:39:18 +0000] rev 626
Fix too long lines in soc.views.models.request, remove unused imports and change pending requests list description. Remove unused imports from soc.logic.path_link_name module. Patch by: Pawel Solyga
Sun, 30 Nov 2008 16:36:17 +0000 Add missing dots in soc.logic.lists module. Change method names to comply with Style Guide. Make class variable protected by adding "_" to the name of variable. Update lists templates respectively (methods name change).
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:36:17 +0000] rev 625
Add missing dots in soc.logic.lists module. Change method names to comply with Style Guide. Make class variable protected by adding "_" to the name of variable. Update lists templates respectively (methods name change). Patch by: Pawel Solyga
Sun, 30 Nov 2008 16:32:23 +0000 Remove unused imports in soc.views.models role, host and site modules. Add missing parameter in getDjangoURLPatters method.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:32:23 +0000] rev 624
Remove unused imports in soc.views.models role, host and site modules. Add missing parameter in getDjangoURLPatters method. Patch by: Pawel Solyga
Sun, 30 Nov 2008 16:29:48 +0000 Remove unused imports in soc.views.models.user and soc.views.models.sponsor modules.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 16:29:48 +0000] rev 623
Remove unused imports in soc.views.models.user and soc.views.models.sponsor modules. Patch by: Pawel Solyga
Sun, 30 Nov 2008 15:25:31 +0000 Remove unused import in soc.models.task.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 15:25:31 +0000] rev 622
Remove unused import in soc.models.task. Patch by: Pawel Solyga
Sun, 30 Nov 2008 15:25:07 +0000 Fix too long lines in soc.model.work.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 30 Nov 2008 15:25:07 +0000] rev 621
Fix too long lines in soc.model.work. Patch by: Pawel Solyga
Sat, 29 Nov 2008 23:51:24 +0000 Put the redirects in the views/helper/redirects.py module.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 23:51:24 +0000] rev 620
Put the redirects in the views/helper/redirects.py module. Changed the getCreateRequestRedirect to comply with the new signature. Also changed it's docstring to a more suitable one. Fixed a useless merge in views/models/role.py in the process.
Sat, 29 Nov 2008 22:48:15 +0000 Style fixes for previous commit
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 22:48:15 +0000] rev 619
Style fixes for previous commit We also need to run pylint. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 22:36:51 +0000 Added invitation received message upon creating a new invite.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 22:36:51 +0000] rev 618
Added invitation received message upon creating a new invite. Moved the inviteAcceptedRedirect into the logic code. Added a TODO for further user notification upon creating a request. Patch by: Lennard de Rijk
Sat, 29 Nov 2008 21:58:34 +0000 Now invited users can create a new Host profile
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 21:58:34 +0000] rev 617
Now invited users can create a new Host profile Before the invited user had to be a developer for this to work. Now, instead the default checkIsDeveloper check for the 'edit Host', a custom checkIsInvite check is used. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 21:21:04 +0000 Fixed requests not working anymore
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 21:21:04 +0000] rev 616
Fixed requests not working anymore We really need a test suite. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 21:04:09 +0000 Fixed a bug in latest commit
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 21:04:09 +0000] rev 615
Fixed a bug in latest commit Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 19:45:19 +0000 Moved getSidebarLinks to sitemap.sidebar
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 19:45:19 +0000] rev 614
Moved getSidebarLinks to sitemap.sidebar This is the fourth, and final patch, that attempts to improve the cohesion in the base.View class. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 19:44:48 +0000 Moved getDjangoURLPatterns to sitemap.sitemap
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 19:44:48 +0000] rev 613
Moved getDjangoURLPatterns to sitemap.sitemap Third commit in a series that aims to improve the cohesion in the base.View class. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 19:00:03 +0000 Moved checkAccess and getCleanedFields into access and forms
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 19:00:03 +0000] rev 612
Moved checkAccess and getCleanedFields into access and forms A second patch in an effort to increase the cohesion in the base.View class. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 18:30:58 +0000 Move parameter construction into a seperate module
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 18:30:58 +0000] rev 611
Move parameter construction into a seperate module This is part of an effort to make base.py less bloated and have it's methods be more cohesive. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 17:20:52 +0000 Documented params usage in soc/views/models/base.py
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 17:20:52 +0000] rev 610
Documented params usage in soc/views/models/base.py Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 14:41:43 +0000 Fixed AUTHORS to comply with the specified format
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 14:41:43 +0000] rev 609
Fixed AUTHORS to comply with the specified format Patch by: Lennard de Rijk
Sat, 29 Nov 2008 13:44:02 +0000 Added _onCreate _onUpdate and _onDelete methods to logic/models/base.py.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 13:44:02 +0000] rev 608
Added _onCreate _onUpdate and _onDelete methods to logic/models/base.py. These methods can be overwritten by other logic/models/ modules to serve as a way to for instance send out an update message. Patch by: Lennard de Rijk
Sat, 29 Nov 2008 11:26:04 +0000 Fixed typo in docstring.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 29 Nov 2008 11:26:04 +0000] rev 607
Fixed typo in docstring. Patch by: Lennard de Rijk
Sat, 29 Nov 2008 00:12:47 +0000 Make forms generic
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 00:12:47 +0000] rev 606
Make forms generic Currently only Sponsor uses the new generic forms, as such this makes the form code more complex. The other forms, however, can be converted in a similar way, which will result in a lot of code reduction. Patch by: Sverre Rabbelier
Sat, 29 Nov 2008 00:12:16 +0000 Made _logic a param
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 29 Nov 2008 00:12:16 +0000] rev 605
Made _logic a param The _logic parameter is added in base.py to make this as small and non-intrustive change. Patch by: Sverre Rabbelier
Fri, 28 Nov 2008 23:08:14 +0000 Added Lennard to the AUTHORS file
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 23:08:14 +0000] rev 604
Added Lennard to the AUTHORS file Long overdue patch, perhaps we should add a test to the test suite to check if all authors are propertly credited in AUTHORS... Patch by: Sverre Rabbelier
Fri, 28 Nov 2008 22:49:26 +0000 Make Sponsor use the new DynaForm module
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 22:49:26 +0000] rev 603
Make Sponsor use the new DynaForm module Currently only a slight reduction in code, but hopefully some (or all?) of the form's definition can move up into base.View. Patch by: Sverre Rabbelier
Fri, 28 Nov 2008 22:49:03 +0000 Added a DynaForm module
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 22:49:03 +0000] rev 602
Added a DynaForm module This allows GAE forms to be defined 'semi' dymamically, rather than by having to explicitly create the new class. Patch by: Sverre Rabbelier
Fri, 28 Nov 2008 22:48:41 +0000 Added a cleaning module
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 28 Nov 2008 22:48:41 +0000] rev 601
Added a cleaning module This module is the start of a (hopefully more generic) set of cleaning functions that can be used in the GAE forms. Patch by: Sverre Rabbelier
Fri, 28 Nov 2008 08:24:57 +0000 Apache license and __author__ added. Also added a todo for the __doc__ string.
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 28 Nov 2008 08:24:57 +0000] rev 600
Apache license and __author__ added. Also added a todo for the __doc__ string. Patch by: Lennard de Rijk
Thu, 27 Nov 2008 23:41:08 +0000 Moved check_includes and graph from app to scripts
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Nov 2008 23:41:08 +0000] rev 599
Moved check_includes and graph from app to scripts Patch by: Sverre Rabbelier
Thu, 27 Nov 2008 23:40:30 +0000 Change command parsing and do file walking manually
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Nov 2008 23:40:30 +0000] rev 598
Change command parsing and do file walking manually Also print warnings to stderr Patch by: Sverre Rabbelier
Thu, 27 Nov 2008 21:57:24 +0000 Proper working implementation of a cycle detection algorithm, that
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 27 Nov 2008 21:57:24 +0000] rev 597
Proper working implementation of a cycle detection algorithm, that returns the cycles (rather than printing them) by constructing the path between the two nodes that were found to be cyclic. Patch by: Sverre Rabbelier
Thu, 27 Nov 2008 17:22:39 +0000 Fix some typo in logic.models.base.
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 27 Nov 2008 17:22:39 +0000] rev 596
Fix some typo in logic.models.base. Patch by: Pawel Solyga
Wed, 26 Nov 2008 23:56:35 +0000 Added rudementry include checker
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:56:35 +0000] rev 595
Added rudementry include checker Patch by: Sverre Rabbelier
Wed, 26 Nov 2008 23:56:19 +0000 Added the python-graph module
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:56:19 +0000] rev 594
Added the python-graph module http://code.google.com/p/python-graph/ Patch by: Sverre Rabbelier
Wed, 26 Nov 2008 23:55:10 +0000 Removed cruft from the tests directory
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:55:10 +0000] rev 593
Removed cruft from the tests directory The current tests were outdated (they tested code that no longer exists), and were causing the test suite (insofar as it deserves that name) to fail for no reason. Patch by: Sverre Rabbelier
Wed, 26 Nov 2008 23:54:40 +0000 Fixed an outstanding TODO for tlarsen
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 23:54:40 +0000] rev 592
Fixed an outstanding TODO for tlarsen A nice side-effect is that accounts now does not depend on out_of_band, sadly that does not fix the cyclic dependency, but it is a nice side-effect nonetheless.
Wed, 26 Nov 2008 21:34:11 +0000 Lists now use plural_name instead of name in the description.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Nov 2008 21:34:11 +0000] rev 591
Lists now use plural_name instead of name in the description. Patch by: Lennard de Rijk
Wed, 26 Nov 2008 20:50:56 +0000 Created a seperate module for editSelf things
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 26 Nov 2008 20:50:56 +0000] rev 590
Created a seperate module for editSelf things This improves the coherency in the user module, while at the same time making it easier to set proper access control for the editSelf related pages. Patch by: Sverre Rabbelier
Wed, 26 Nov 2008 16:33:36 +0000 Fixes empty spaces appearing in the menu if a person is not allowed to see this menu or if no menu is defined.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Nov 2008 16:33:36 +0000] rev 589
Fixes empty spaces appearing in the menu if a person is not allowed to see this menu or if no menu is defined. Patch by: Lennard de Rijk
Wed, 26 Nov 2008 15:52:38 +0000 Fixes an error that occurs when moving the document by setting another link ID or Scope path. This is due to the fact that author is a required property in the Work model.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 26 Nov 2008 15:52:38 +0000] rev 588
Fixes an error that occurs when moving the document by setting another link ID or Scope path. This is due to the fact that author is a required property in the Work model. Patch by: Lennard de Rijk
Tue, 25 Nov 2008 23:16:32 +0000 Fixed some access related bugs
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 25 Nov 2008 23:16:32 +0000] rev 587
Fixed some access related bugs These were not obvious previously, but with the sidebar not showing up when one does not have access, they stood out.
Tue, 25 Nov 2008 17:19:37 +0000 Make the sidebar dynamic depending on the user's rights
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 25 Nov 2008 17:19:37 +0000] rev 586
Make the sidebar dynamic depending on the user's rights This is done by doing the usual access checks that are also called when the user actually visits the page.
Tue, 25 Nov 2008 17:18:57 +0000 Have the sidebar be rebuilt on every request with callbacks
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 25 Nov 2008 17:18:57 +0000] rev 585
Have the sidebar be rebuilt on every request with callbacks This makes is possible for the sidebar constructing to take into account the current users privilidges etc.
Mon, 24 Nov 2008 22:34:56 +0000 Adds and uses a modified_by property in models/work.py
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Nov 2008 22:34:56 +0000] rev 584
Adds and uses a modified_by property in models/work.py This property is used to display the user who last edited the work in the document viewer. Fixes author being set on every edit. Also edited the style-sheet to fix issue i128. Patch by: Lennard de Rijk
Mon, 24 Nov 2008 18:31:46 +0000 Fills in the Founded By box in edit sponsor with the user's public name
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 24 Nov 2008 18:31:46 +0000] rev 583
Fills in the Founded By box in edit sponsor with the user's public name Fixes Founded By being overwritten on edit by another user. Patch by: Lennard de Rijk
Sun, 23 Nov 2008 18:48:28 +0000 Set trunk RELEASE_TAG back to None after creation of 0.0a20081123rc release
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 18:48:28 +0000] rev 582
Set trunk RELEASE_TAG back to None after creation of 0.0a20081123rc release candidate branch. Patch by: Todd Larsen
Sun, 23 Nov 2008 18:45:04 +0000 Attempt number two at a release process, with correct usage of /tags/ this
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 18:45:04 +0000] rev 581
Attempt number two at a release process, with correct usage of /tags/ this time around. Patch by: Todd Larsen
Sun, 23 Nov 2008 07:38:00 +0000 Reset the RELEASE_TAG to None (unreleased) now that the 0.0a20081123 release
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 07:38:00 +0000] rev 580
Reset the RELEASE_TAG to None (unreleased) now that the 0.0a20081123 release tag has been created. Add some release instructions to the soc/release.py __doc__ string. Patch by: Todd Larsen
Sun, 23 Nov 2008 07:25:31 +0000 Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 07:25:31 +0000] rev 579
Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false. Patch by: Todd Larsen
Sun, 23 Nov 2008 07:15:13 +0000 Add release tag string, Melange "badge" image, and Google App Engine version
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 07:15:13 +0000] rev 578
Add release tag string, Melange "badge" image, and Google App Engine version to base.html template. Patch by: Todd Larsen
Sun, 23 Nov 2008 06:34:22 +0000 Provide a simple method in the Role Model class that aliases the existing
Todd Larsen <tlarsen@google.com> [Sun, 23 Nov 2008 06:34:22 +0000] rev 577
Provide a simple method in the Role Model class that aliases the existing 'display_name' Property to 'name'. Patch by: Todd Larsen
Sun, 23 Nov 2008 00:44:13 +0000 Fixed spurious 'Invite Host' button in 'create host'
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 23 Nov 2008 00:44:13 +0000] rev 576
Fixed spurious 'Invite Host' button in 'create host' Patch by: Sverre Rabbelier
Sun, 23 Nov 2008 00:38:35 +0000 Fix Host invites
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 23 Nov 2008 00:38:35 +0000] rev 575
Fix Host invites This fixes the UI for Host invites by hiding the fields that are not used, and by auto-filling in the user and scope fields based on link_id and scope_path.
Sat, 22 Nov 2008 23:34:06 +0000 Fixed pages for missing home page (document) links
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 23:34:06 +0000] rev 574
Fixed pages for missing home page (document) links Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 23:23:37 +0000 Moved the custom error.html page for Site to it's proper place
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 23:23:37 +0000] rev 573
Moved the custom error.html page for Site to it's proper place Also made the error template a proper parameter instead of re-using the edit/public template.
Sat, 22 Nov 2008 23:08:26 +0000 Made list pagination part of Lists
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 22 Nov 2008 23:08:26 +0000] rev 572
Made list pagination part of Lists This way the pagination for one list does not affect the pagination of a another one. Patch by: Sverre Rabbelier
Sat, 22 Nov 2008 22:47:10 +0000 Remove polymodel module from repository.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:47:10 +0000] rev 571
Remove polymodel module from repository. Patch by: Pawel Solyga, Sverre Rabbelier
Sat, 22 Nov 2008 22:46:37 +0000 Remove polymodel folder from DEFAULT_APP_DIRS variable in make_release script.
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 22 Nov 2008 22:46:37 +0000] rev 570
Remove polymodel folder from DEFAULT_APP_DIRS variable in make_release script. Patch by: Pawel Solyga, Sverre Rabbelier
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
(0) -240 +240 +1000 tip