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
(0) -300 -100 -60 +60 +100 +300 +1000 tip