Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 13:11:49 +0000] rev 1740
Added a new method in the review logic to return all reviews for the given entity as scope.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 13:10:38 +0000] rev 1739
Some style fixes for the student proposal review template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Mar 2009 12:27:42 +0000] rev 1738
Proposal public page now properly renders HTML content.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:13:15 +0000] rev 1737
Support non-float slots
This is for easier interaction with the frontend.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:05:12 +0000] rev 1736
Add and use the new and improved allocation scripts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:04:46 +0000] rev 1735
Update the slot allocation view and template
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:04:08 +0000] rev 1734
Add a slot allocation script and template
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:03:28 +0000] rev 1733
Hook up json2.js in base.html
We do not load it by default.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Mar 2009 02:03:01 +0000] rev 1732
Add a no_pagination.html template
This template can be used to turn of pagination but still have the
blue 'bars' at the top and bottom show up.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 08 Mar 2009 00:00:13 +0000] rev 1731
Add json2.js to repository under json folder, update build script and app.yaml.template files.
This is pretty useful set of functions for JSON manipulation in Javascript, we will mostly use stringify function. This code is on Public Domain license and comes from http://www.json.org/js.html.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 22:14:04 +0000] rev 1730
Important roles can now not resign if they are the last in their group.
Fixes Issue 288.
I've decided to do it outside of the logic because if the need arises to kick the last org admin out of a group we need the ability to do so.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 20:27:52 +0000] rev 1729
Have slots default to 0
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 20:27:24 +0000] rev 1728
Include IntegerProperty in the JSON object
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 20:26:58 +0000] rev 1727
Added the spin jquery plugin
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 19:46:18 +0000] rev 1726
Add a link to the full agreement text
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 19:45:38 +0000] rev 1725
Make it possible to specify a link to the full text
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 19:31:39 +0000] rev 1724
Students can not be kicked from a program by a organization admin.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 19:23:32 +0000] rev 1723
Reverting part of r2378, since it's not ready yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 19:17:02 +0000] rev 1722
All address fields for roles and groups can now only use characters that can successfully be converted to ASCII.
Has to do with Issue 243.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 18:16:54 +0000] rev 1721
Adjust the total_popularity after ranging
This way 'off the scale' orgs (many applicants, with only few mentors
available) will not pull the total amount of allocated slots down as
much as before.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 17:55:14 +0000] rev 1720
Removed the street address from influencing the maps plug in.
Legally we are not allowed to publish people's street address, people can drag the marker to their street if they wish to, we are now using the postal code which would be a region within a city (if this is too much we might also take this out).
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 17:36:32 +0000] rev 1719
Show the marker for the Google maps plug in by default.
This fixes Issue 307.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 17:09:05 +0000] rev 1718
Added an pre-processing algorithm
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 17:08:23 +0000] rev 1717
Added assigned mentors and amount of minimum slots per org
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 16:06:30 +0000] rev 1716
Fixes banned people being able to create a new user entity.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:22:48 +0000] rev 1715
Added the review capability to the student_proposal review page.
Note that editing of reviews still is not allowed, and Students can't read/respond yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:19:53 +0000] rev 1714
Moved some template tags out of forms_helpers into comments_helpers.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:19:06 +0000] rev 1713
Added new template tag for a review.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:13:11 +0000] rev 1712
Org Application contributors template is now marked safe.
This means the HTML content will be properly rendered.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:11:51 +0000] rev 1711
Updated the docstring for the Comment model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:07:49 +0000] rev 1710
Added Logic for the Review Model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Mar 2009 15:07:17 +0000] rev 1709
Redone the Review model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 14:56:22 +0000] rev 1708
Add forgotten image
Forgotten by: Sverre Rabbelier
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 14:49:03 +0000] rev 1707
Add the jquery-purr plugin
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:33:39 +0000] rev 1706
Added a slots JSON call
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:33:10 +0000] rev 1705
Added a slot allocation view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:32:15 +0000] rev 1704
Add slots to the organization model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:31:48 +0000] rev 1703
Factor out the 'json' part from pick
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Mar 2009 00:31:16 +0000] rev 1702
Minor style fixes
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 22:55:49 +0000] rev 1701
Fixed more typos in Sponsor Menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:32:26 +0000] rev 1700
Clean document references
This has the advantage that we can inform the user if a document
could not be found.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:31:43 +0000] rev 1699
Add a document ref cleaner
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:31:19 +0000] rev 1698
Switch Program to regular presence
It does not use a global ToS anyway.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:30:42 +0000] rev 1697
Set the proper filter for the home document
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 22:30:12 +0000] rev 1696
Small optimization in getForFields
If the value is a list with only one element, make it a value
instead.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 19:06:22 +0000] rev 1695
Fixed typo in Sponsor sidebar menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Noticed by: Sverre "The Pirate" Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 18:57:35 +0000] rev 1694
Refactored part of getForFields into a getQueryForFields method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 18:11:09 +0000] rev 1693
Add a link to an org's home page if appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:48:49 +0000] rev 1692
Bump the default pagination from 10 to 50
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:14:05 +0000] rev 1691
Add a very basic view test
Mostly just a Proof of Concept.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:13:32 +0000] rev 1690
Set CURRENT_VERSION_ID in run.py
It is used by params.constructParams.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:13:13 +0000] rev 1689
Add path to MockRequest
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 06 Mar 2009 17:12:51 +0000] rev 1688
Split out test_model model and logic into it's own module
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 15:52:12 +0000] rev 1687
Removed commented property from comment model.
scope_path is set to the commented Work anyway and back references don't work. This means we can also comment on any other linkable.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 15:23:22 +0000] rev 1686
Added created_on DateTime property to request.
As requested in Issue 302.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Mar 2009 12:08:55 +0000] rev 1685
Added a rank column to the proposals list.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:30:58 +0000] rev 1684
Silence index.yaml
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:30:37 +0000] rev 1683
Make org description use TinyMCE
Also clean it as well as the contrib_template with the new cleaner.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:30:06 +0000] rev 1682
Make clean_document_content generic
Also allow all input for Developers.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:29:29 +0000] rev 1681
Fix some whitespace damadge
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 22:29:00 +0000] rev 1680
Import user and site logic globals directly
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 21:38:18 +0000] rev 1679
Add item info to the list iterator
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 19:21:43 +0000] rev 1678
Added comment support, but don't enable it
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 19:20:02 +0000] rev 1677
Make it possible to add some default values to the context
Currently only used in show, but easy enough to add elsewhere.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Mar 2009 17:44:48 +0000] rev 1676
Organization Proposals list now correctly sorts.
Changed the index.yaml to reflect this. (Removed old entry).
Also added a TODO to change this list once http://code.google.com/p/googleappengine/issues/detail?id=1100 is fixed. This means we can't properly sort when using the IN operator on another property then we are sorting on.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Mar 2009 07:49:30 +0000] rev 1675
Added missing ranklist in build script
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 23:41:26 +0000] rev 1674
Set new Melange version number to 0-4-20090305 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:26:11 +0000] rev 1673
Add a test to ensure that ordening and filtering works
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:11:33 +0000] rev 1672
Only show key_fields in error message
This caused a crash when GET, POST, and context were added to
the django_args by the decorators.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:11:05 +0000] rev 1671
Don't redirect to non-existant /document/list after deleting
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:10:38 +0000] rev 1670
Fixed a bug discovered by excepting the proper exception
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Mar 2009 23:10:13 +0000] rev 1669
Fixed a bug in document logic
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 22:35:54 +0000] rev 1668
The organization proposal list has been significantly changed.
It now redirects to the review page. All reviewed applications are separated from the non-reviewed ones by two lists.
This view uses the two new templates submitted in this patch.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 22:24:45 +0000] rev 1667
Updated list to use the new order in getForFields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 22:11:26 +0000] rev 1666
Mentor buttons only show up depending on if you are already on the possible mentors list.
Also made the textual changes stated in a comment on r2250.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:27:11 +0000] rev 1665
Fix too long lines, remove unused imports and variables, rename too short variables, add missing docstring and fix style in soc.views.helper.templatetags.forms_helpers module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:25:08 +0000] rev 1664
Fix too long line in soc.views.models.sponsor module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:24:32 +0000] rev 1663
Fix the bug where undefined variable was used in _editPost method of soc.view.models.org_admin module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:23:42 +0000] rev 1662
Fix too long lines soc.views.models.club_admin, club_app and club_member modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:22:52 +0000] rev 1661
Fix too long lines and remove unused imports in soc.views.models.host module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:19:49 +0000] rev 1660
Fix too long lines and remove unused variables in soc.views.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:19:07 +0000] rev 1659
Fix too long lines and fix the bug where undefined variable was used in _editPost method in soc.views.models.mentor module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:17:40 +0000] rev 1658
Fix too long lines and rename unused loop variables to _ in soc.views.models.base module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:16:26 +0000] rev 1657
Fix too long lines and indentions in soc.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:15:38 +0000] rev 1656
Remove unused variable in soc.logic.validate module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:15:01 +0000] rev 1655
Rename too short variable name in soc.logic.mail_dispatcher module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:14:19 +0000] rev 1654
Fix too long lines in soc.logic.models.org_admin module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:12:36 +0000] rev 1653
Fix too long lines in soc.models.ranker_root module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:11:43 +0000] rev 1652
Fix too long lines in soc.logic.helper.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 21:10:07 +0000] rev 1651
Comment out unused variables and add used but not declared class variables to __init__ method in soc.logic.allocations module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:54:30 +0000] rev 1650
Fix too long line in soc.models.user module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:50:27 +0000] rev 1649
Rename unused loop variables to _ in soc.views.helper.params module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:49:19 +0000] rev 1648
Remove unused variables and imports, fix too long lines in soc.logic.helper.notifications module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 20:47:34 +0000] rev 1647
Rename unused loop variable to _ in soc.views.models.user_self module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 19:31:21 +0000] rev 1646
Add date postfix to the filename of each our JS or CSS files that still don't have it. Update filename changes in soc/base.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 19:00:44 +0000] rev 1645
Style fixes plus removal of unused imports, add missing docstring and fix too long lines in soc.views.models.org_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:54:39 +0000] rev 1644
Style fixes plus remove unused imports in soc.views.models.group_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:44:14 +0000] rev 1643
Fix too long lines, remove unused variable, add missing docstring in soc.views.models.program module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:41:03 +0000] rev 1642
Some style fixes and removal of unused imports in soc.views.models.document module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:38:50 +0000] rev 1641
Some style fixes, removal of unused imports and add ugettext where it was missing in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:34:28 +0000] rev 1640
Remove unused imports and variable, plus some style fixes in soc.views.models.group module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:33:20 +0000] rev 1639
Fix too long lines in soc.views.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:22:29 +0000] rev 1638
Remove unused imports and fix too long lines and some style fixes in soc.views.models.club module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:19:00 +0000] rev 1637
Remove unused imports and fix too long lines in soc.views.models.request module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:16:46 +0000] rev 1636
Remove unused imports and fix too long lines in soc.views.models.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:16:20 +0000] rev 1635
Remove unused imports and fix too long lines in soc.views.models.site module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 18:14:16 +0000] rev 1634
Remove unused imports and fix too long lines in soc.views.models.user_self module
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:36:14 +0000] rev 1633
Remove unused imports, style and too long lines fixes, remove unused variables, rename too short variable names, fix docstrings in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:33:48 +0000] rev 1632
Remove unused imports and rename too short variable names in soc.views.helper.decorators module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:32:55 +0000] rev 1631
Style fixes and add ValueError exception catching to soc.views.helper.request module
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:31:39 +0000] rev 1630
Fix too long lines in soc.views.helper.params module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:30:22 +0000] rev 1629
Fix too long lines in soc.models.group_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:29:35 +0000] rev 1628
Fix too long lines in soc.models.org_app module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:28:02 +0000] rev 1627
Style and too long lines fixes in soc.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:24:19 +0000] rev 1626
Remove unused imports, add missing blank lines, fix too long lines, fix docstring parameters to match the ones in method declaration, rename to short variable names in soc.logic.models.base module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:22:22 +0000] rev 1625
Add missing whitespace in soc.logic.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 17:21:39 +0000] rev 1624
Fix too long lines in soc.logic.models.student_proposal module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 17:04:25 +0000] rev 1623
Renamed rankerroot to ranker_root and made some changes due to comments.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 16:54:17 +0000] rev 1622
Fixed early line ending in StudentProposal model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:49:19 +0000] rev 1621
Add missing docstrings, fix indentions and too long lines in soc.logic.cleaning module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 16:48:10 +0000] rev 1620
Added access check to student_proposal review.
Hosts and Developers can comment but not score an proposal (unless of course they are an org_admin/mentor).
Fixed the initial scoring being set to -4, which is annoying if you just want to comment.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:47:59 +0000] rev 1619
Remove unused normalized variable from denormalizeAccount method in soc.logic.accounts module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:46:54 +0000] rev 1618
Fix indention in _readonly_field_as_twoline_table_row.html template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:45:03 +0000] rev 1617
Remove unused imports from soc.views.sitemap.build module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 04 Mar 2009 16:44:21 +0000] rev 1616
Update pylintrc file. Now function and method names can by up to 40 characters (30 was maximum previously).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Mar 2009 16:29:21 +0000] rev 1615
Changed delete rights due to comments on r2138.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 23:27:39 +0000] rev 1614
Convert getForFields back to the Query API and add tests
This is possible now that it supports the 'IN' operator.
Added tests to make sure there are no regressions.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 23:11:37 +0000] rev 1613
Added student proposal review page.
The proposals can now receive a score. Only org admins can assign a mentor. Every mentor can state if he wants to be a possible mentor (or be taken of this list).
TODO's have been added for the access check, comment system and autocomplete.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 23:01:31 +0000] rev 1612
Keep the score within the allowed bounds via student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:52:11 +0000] rev 1611
Brown paper bag fix in student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:48:57 +0000] rev 1610
Update the ranker belonging to the org of a student_proposal when the score changes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:47:44 +0000] rev 1609
Create a new Ranker for each organization that is created.
Also updated seed_db. seed_db will be moved to logic module soon by SRabbelier.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:45:32 +0000] rev 1608
Added a possible_mentors property to the StudentProposal.
Also set the name and [min,max] score for the RankList.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 22:39:53 +0000] rev 1607
Added RankerRoot model.
This will be used to contain a reference to the root of the tree the RankList module uses.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 03 Mar 2009 21:49:05 +0000] rev 1606
Fix the KeyError: 'scope_path' error in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 21:04:50 +0000] rev 1605
Fixed two bugs introduced in r2160.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Mar 2009 20:03:16 +0000] rev 1604
Two docstring fixes.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:51:13 +0000] rev 1603
Add a script to normalize user accounts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:50:42 +0000] rev 1602
Seed some users as well
Users 100-200 are normalized on purpose.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:50:11 +0000] rev 1601
Make it possible to work on all entities in a query
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 03 Mar 2009 19:27:55 +0000] rev 1600
Fix access bug due to forgotten normalization
Prevent this from happening again by wrapping all occurences of
users.get_current_account with accounts.getCurrentAccount, which will
always normalize (unless explicitly told not to).
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Tue, 03 Mar 2009 03:37:16 +0000] rev 1599
Add myself to authors on this file, and allow my whitespace cleanup hook to cleanup whitespace.
Patch by: Augie Fackler
Augie Fackler <durin42@gmail.com> [Tue, 03 Mar 2009 03:37:02 +0000] rev 1598
Fix a missing import reported in #melange.
Patch by: Augie Fackler
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Mar 2009 22:57:40 +0000] rev 1597
Add google-app-engine-ranklist project to ranklist folder in app.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 21:56:30 +0000] rev 1596
Fixed a missing .logic in organization
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 21:38:23 +0000] rev 1595
Fixed a typo in the example for network info
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 20:32:59 +0000] rev 1594
Display a notice if the entity cannot be deleted
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 19:48:20 +0000] rev 1593
Make the ToS field less high
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 19:47:50 +0000] rev 1592
Add a maintenance end date
Patch by: Sverre rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 19:47:04 +0000] rev 1591
Support HTML in the site-wide notice
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Mar 2009 18:30:00 +0000] rev 1590
Set new Melange version number to 0-4-20090302 in app.yaml.template.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:03:53 +0000] rev 1589
Use the new readonly_safe_field where appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:02:59 +0000] rev 1588
Added a _readonly_safe_field_as_table_row template tag
Should only be used with fields that have been cleaned through
feedparser or similar.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:02:11 +0000] rev 1587
Make use of readonly_url_field where appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Mar 2009 00:01:05 +0000] rev 1586
Add a new template tag _readonly_url_field_as_table_row
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:39:21 +0000] rev 1585
Make it possible to put the site in maintenance mode
By specifying the UTC date from which the maintenance shoulds start,
developers can put the site in 'maintenance' mode.
Also redirect to /maintenance if we get a CapabilityDisabledError.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:20:47 +0000] rev 1584
Make use of decorators.view for all views
This gives us a 'view' hook where we can do things that need to be
done for all views (such as catching certain exceptions, or checking
for maintenance mode).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:19:22 +0000] rev 1583
Added decorators
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:18:23 +0000] rev 1582
Redirect to an error page when a GAE exception occurs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:00:54 +0000] rev 1581
Added a maintenance page
Currently not used, except when navigating to /maintenance.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 20:00:23 +0000] rev 1580
Make it possible to use base.html to display simple messages
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 18:57:08 +0000] rev 1579
Added a site-wide notice
The notice is displayed below the 'login' bar, andonly if it is set
in Site Settings.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 15:33:52 +0000] rev 1578
Turn off relative urls and removing of script hostname in TinyMCE
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Mar 2009 15:13:28 +0000] rev 1577
Fix bug in checkDocumentPick of soc.views.helper.access module, which cause KeyError exceptions in document picker.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Mar 2009 15:10:43 +0000] rev 1576
Add missing thickbox file into soc/content/images and fix the url to this file in jquery-thickbox.css.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Mar 2009 15:03:52 +0000] rev 1575
Fix wrong link to loadingAnimation.gif file in jquery-autocomplete.css.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 14:23:09 +0000] rev 1574
Fixed a bug in getFromKeyFieldsOr404
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Mar 2009 10:10:42 +0000] rev 1573
Added missing comment to soc/logic/models/base.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Tim Ansell <mithro@gmail.com> [Sun, 01 Mar 2009 02:11:19 +0000] rev 1572
Small fix so that error fields get the same formatting as non-error fields.
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Mar 2009 00:53:26 +0000] rev 1571
Made description the last field on the org public page
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 22:23:16 +0000] rev 1570
Improved Organization Application review overview and bulk reviewing.
Both buttons now fade out and if no organizations can be accepted/rejected the buttons will not fade and a message will be shown to the user explaining the situation.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:26:28 +0000] rev 1569
Students who follow the submit your student proposal link will now see their org's proposal template when creating their own proposal.
Also made the org link_id field readonly.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:25:23 +0000] rev 1568
StudentProposal content is now a TextProperty.
This is necessary to allow more then 500 bytes of content.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:12:20 +0000] rev 1567
Member template in organization is now called Contributor Template.
This matches the Organization Application, this way the information is automatically transferred to the new Organization.
Note that the template shows raw HTML, we might change the template tag to use |safe for it's input to show the true layout of the template. I've sent an email to SRabbelier about that.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 21:08:02 +0000] rev 1566
contrib template in org_app is now a TextProperty.
Organization can design their own template that students can use to propose.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 20:44:14 +0000] rev 1565
Grammar fix in group_app list view.
Patch by: Matthew Wilkes
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 17:37:01 +0000] rev 1564
For links in a program to take effect there must be an active role.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 17:24:37 +0000] rev 1563
Fixed site_entity not being assigned a value because site_logic was not defined.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 17:05:53 +0000] rev 1562
Made mailing lists and IRC channel required for group/org applications.
Also fixed some whitespace errors and updated seed_db.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 14:29:23 +0000] rev 1561
Replaced 'Melange' with site_name where appropriate
Also fixed EOL damage in django templates.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 14:28:28 +0000] rev 1560
Catch mail exceptions and use get_current_user
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 13:06:04 +0000] rev 1559
Fixed issue 205.
Registered students can't apply to become an organization. If for some reason the org sign up period and student sign up period are run in parallel and a student has applied to become an org, the application will still go through the normal system. Although the student won't be able to become an org admin until he has been invalidated as a student.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:59:34 +0000] rev 1558
Fixed a comment typo
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:32:52 +0000] rev 1557
Properly fixed host access now
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:11:20 +0000] rev 1556
Flush the receiver's sidebar when sending a notification
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:10:49 +0000] rev 1555
Do not modify django_args directly
This broke document listing since it used kwargs as filter.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 12:10:19 +0000] rev 1554
Fixed a brown paper bag bug in _checkHasActiveRoleFor
Also updated sponsor to not pass redundant arguments.
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 11:19:17 +0000] rev 1553
Added sending of an email upon Organization Application acceptance or rejection.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 11:16:54 +0000] rev 1552
Added accepted and rejected organization application mail templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 10:39:23 +0000] rev 1551
Fixed sending out email when no-reply is not set.
(Puts a brown paper bag on his head and runs!)
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 28 Feb 2009 10:25:41 +0000] rev 1550
getDefaultMailSender now returns a tuple (name, email adress).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 00:41:36 +0000] rev 1549
Removed updateEntityProperties's transactionality
entity.put() is already transactional, and all other methods called
do not need transactionality (even so, it is hurtfull that they are
run within a transaction).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 00:10:07 +0000] rev 1548
Denormalize accounts before trying to send e-mail
Otherwise accounts that are in the auth domain are not a valid e-mail
address.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 28 Feb 2009 00:09:34 +0000] rev 1547
Added a denormalizeAccount
Updated the existing testcases to make sure it works.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Feb 2009 23:33:20 +0000] rev 1546
Using getDefaultMailSender for welcome and notification messages.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Feb 2009 23:32:37 +0000] rev 1545
Added getDefaultMailSender method to mail_dispatcher.
Will be used to determine from which mail address we should send an email.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 27 Feb 2009 12:04:49 +0000] rev 1544
Fixed typo in soc/models/group_app.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 11:48:12 +0000] rev 1543
Inform the user that the link_id cannot be changed
Hide the extended help text once the user has created a profile,
since the link_id can no longer be changed.
Also moved the link_id to the top of the screen, to make it look
better when the extended help text is not shown.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 11:38:24 +0000] rev 1542
Made the ToS field higher
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 11:30:20 +0000] rev 1541
Removed double description field
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 27 Feb 2009 10:52:28 +0000] rev 1540
Revert "Make the input values 100% width."
This reverts r2173, see r2101 for details.
Patch by: SVerre Rabbelier
Tim Ansell <mithro@gmail.com> [Fri, 27 Feb 2009 06:54:15 +0000] rev 1539
Make the input values 100% width.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:29:09 +0000] rev 1538
Changed access checks for group applications to allow reviewing of rejected applications.
Just in case the user made a mistake :).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:28:19 +0000] rev 1537
Added bulk reject to org_app view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:27:28 +0000] rev 1536
Redone the review_overview template to show bulk reject button.
Added a TODO to make both buttons dissapear.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 20:25:56 +0000] rev 1535
Renamed org-accept.js to bulk-review.js
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 20:23:21 +0000] rev 1534
Brown paper bag fix
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 18:00:30 +0000] rev 1533
Fix for Issue 218.
Basically just an update of the soc/gorup/messages/accepted.html template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 17:36:46 +0000] rev 1532
Added a missing import
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 17:06:17 +0000] rev 1531
Fix alignment of twoline readonly table rows
Also removed an unused template tag.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 17:00:34 +0000] rev 1530
Added some tests for user logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:59:57 +0000] rev 1529
Fixed a bug in student access check
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:59:24 +0000] rev 1528
Allow to do 'checkHasActiveRole' checks for document access
This is used for documents in the site prefix.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:58:45 +0000] rev 1527
Simplify the account retrieval logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:58:15 +0000] rev 1526
Convert everything to use the new access methods
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:57:13 +0000] rev 1525
Remove direct uses of checkIsActive, replace with helper methods
This makes _checkIsActive a lot easier to understand, and makes the
access checkers involved a lot more explicit.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:56:37 +0000] rev 1524
Make django_args optional where appropriate and whitespace fixes
Access methods that do not use django_args should make it optional.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:56:01 +0000] rev 1523
Added an isDeveloper method to user logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:55:23 +0000] rev 1522
Always normalize accounts, before even storing them
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:54:44 +0000] rev 1521
Factor out the getForAccount logic in user
Also normalize the account before retrieving it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:54:08 +0000] rev 1520
Add a normalizeAccount to logic.accounts
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:53:36 +0000] rev 1519
Remove unused isAccountAvailable function
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:53:05 +0000] rev 1518
Add a _createField hook
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:52:29 +0000] rev 1517
Pass _updateField the entity_properties dict instead of just the value
This enables _updateField to change the value in entity_properties if
desired.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:51:35 +0000] rev 1516
Do not update newly created model properties
There is no real reason to favor old behavior over the current, plus
the new behavior saves an extra disk write (which are expensive).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:50:59 +0000] rev 1515
Move the hooks in base.Logic to the bottom of the class
This more closely follows 'important methods first'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:50:22 +0000] rev 1514
Minor cleanups in base.Logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:49:45 +0000] rev 1513
Add argument validation to base.Logic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:49:06 +0000] rev 1512
Remove updateOrCreateFromFields and it's uses
All uses of updateOrCreateFromFields were replaced with
updateOrCreateFromKeyname. This way the logic API is not as cluttered
with a bunch of helper methods.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:48:02 +0000] rev 1511
Fix some whitespace damadge and a style fix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:47:04 +0000] rev 1510
Remove _silentUpdateEntityProperties
Instead, pass a silent flag to updateEtitytProperties.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:46:29 +0000] rev 1509
Style fix in role.py
Patch b: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:45:53 +0000] rev 1508
Added todo for Lennard
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 26 Feb 2009 16:45:18 +0000] rev 1507
Make it more explicit which argument is the key_fields
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 09:02:51 +0000] rev 1506
Solved the JSON caching problem for bulk acceptance.
This is done in the same way as it is done in AJAX calls by appending the current time as a GET argument.
Patch by: Mario Ferraro, Lennard de Rijk
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 08:48:02 +0000] rev 1505
Edited checkCanReviewGroupApp to cope with the new pre-rejected status.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 08:47:21 +0000] rev 1504
Add the ability to put GroupApplications into the pre-rejected state.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 26 Feb 2009 08:38:09 +0000] rev 1503
Added pre-rejected choice to GroupApplication.
This will be used to bulk reject organizations.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 26 Feb 2009 04:29:56 +0000] rev 1502
Remove the release.py module and just use the field in app.yaml.template.
This is a DRY fix, to have the release /branches/ and /tags/ use a release
version that is compatible with the app.yaml file "version:" field.
Also, the steps for creating a release were simplified (with several steps
removed), and the release procedure moved to app/README, since
app/soc/release.py is now deleted.
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 25 Feb 2009 20:42:46 +0000] rev 1501
Make validate.isURLValid more robust
Also make the control flow more explicit while at it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 25 Feb 2009 20:42:16 +0000] rev 1500
Fixed broken 'Edit <entity name> Settings' for orgs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 25 Feb 2009 20:41:28 +0000] rev 1499
Fix the delete button submitting the form
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 25 Feb 2009 20:11:22 +0000] rev 1498
Added proposal withdrawal for students.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 23:11:15 +0000] rev 1497
Pass the seed to _constructResponse
This way _editContext has access to it; this will be used by the
commenting system.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 23:10:50 +0000] rev 1496
Allow the document lookup to be done by key name
This will be used by the commenting logic.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 22:15:50 +0000] rev 1495
Removed double home page link in group public view
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Feb 2009 20:48:20 +0000] rev 1494
Reset the RELEASE_TAG to None (unreleased) now that the 0.4-20090224 release
candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 24 Feb 2009 20:40:30 +0000] rev 1493
Set RELEASE_TAG to 0.4-20090224rc for release candidate.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:29:27 +0000] rev 1492
Textual change in program menu due to comment on r2113.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:28:16 +0000] rev 1491
Style fixes in student_proposal and organization view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:14:59 +0000] rev 1490
Textual changes in organization and program view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 20:13:01 +0000] rev 1489
Added view for organizations to list all proposals.
Currently this redirects to the public view of a proposal.
Also added extra whitespace for clarification in _getExtraMenuItems.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 20:09:36 +0000] rev 1488
Brown paper bag fix
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:54:36 +0000] rev 1487
Added list proposals redirect.
This is used to list student proposals directed to one organization.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 19:51:40 +0000] rev 1486
Added a checkHasAny method
A simple 'OR' for checkers.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:49:27 +0000] rev 1485
Added redirect for the student proposal view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:43:51 +0000] rev 1484
Changed the method and variable name in student_proposal to match the access type.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:43:15 +0000] rev 1483
Added link in program menu to the new list_orgs view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 24 Feb 2009 19:40:15 +0000] rev 1482
Added view which lists all orgs a student can propose to.
The redirect takes the student to the create proposal page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 18:58:57 +0000] rev 1481
Add missing comment to checkIsMyEntity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 18:58:22 +0000] rev 1480
Make all default URLS customizable
Patch by: SVerre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 24 Feb 2009 12:52:19 +0000] rev 1479
Fix the user editing
Noticed by: Lennard de Rijk
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Feb 2009 21:01:33 +0000] rev 1478
Moved google analytics to after the footer block as commented on r866.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 19:52:15 +0000] rev 1477
Update the test suite to match the new signature of the cache methods
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 19:51:41 +0000] rev 1476
Be more lenient in what we accept in cache.get() and cache.put()
This makes testing easier.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 18:27:14 +0000] rev 1475
Make timeline a Linkable
Patch by: Sverre Rabbelier, Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 23 Feb 2009 18:26:00 +0000] rev 1474
Set proper scope_logic for program and timeline
Patch by: Sverre Rabbelier, Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Feb 2009 16:44:47 +0000] rev 1473
Changed the message displayed when no homepage is set to show the correct settings name.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 23 Feb 2009 16:05:30 +0000] rev 1472
Textual change in cleaing.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:47:41 +0000] rev 1471
Temp IE7 style fix for forms.
A percentage-based layout does not seem to work in IE7, the fields show up as large as the initial text that is in them.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:08:41 +0000] rev 1470
Added list my Student Proposals link to the program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:01:43 +0000] rev 1469
Added listing of your own student proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 21:00:25 +0000] rev 1468
Base view list method can now use kwargs.
This is needed for listing your own student proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 20:44:30 +0000] rev 1467
Changed the access checks in student_proposal view to use the newly created checks.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 20:42:05 +0000] rev 1466
Added several access checks for student proposals.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 20:36:22 +0000] rev 1465
Updated student proposal templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 22 Feb 2009 19:12:25 +0000] rev 1464
Fixed params used for list_action and list_description in user_self roles overview.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:36:48 +0000] rev 1463
Remove superfluous 'Org' in links
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 22 Feb 2009 11:34:43 +0000] rev 1462
Fix datetimepicker so that it doesn't add trailing whitespaces.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:19:29 +0000] rev 1461
Convert student and org_admin to dynafield
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:18:53 +0000] rev 1460
Don't show empty lists in /user/roles
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:18:19 +0000] rev 1459
Make it possible not to generate empty lists
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 11:17:46 +0000] rev 1458
Make it possible to display a message when there are no lists
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:55:24 +0000] rev 1457
Make use of site_name where possible
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:54:28 +0000] rev 1456
Specify example_text for backup admin link id
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:53:55 +0000] rev 1455
Added a link to "Site Settings" for the GMaps API Key missing msg
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:32:24 +0000] rev 1454
Add some missing useJavaScript calls
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 10:31:45 +0000] rev 1453
Flush cache after seeding or clearing the datastore
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 22 Feb 2009 10:07:05 +0000] rev 1452
Style fixes in jquery-ui.datetimepicker.js file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 22 Feb 2009 00:27:10 +0000] rev 1451
Add generic datepicker support
Any date(time) field now automatically has a picker widget.
Patch by: "Haoyu Bai" <baihaoyu@gmail.com>
Rebased by: Sverre Rabbelier
Reviewed by: To-Be-Reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:36:39 +0000] rev 1450
Use site name and noreply address when sending emails
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:36:17 +0000] rev 1449
Fixed whitespace damadge and missing EOL
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:35:58 +0000] rev 1448
Added an 'are you sure' message to the delete button
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 23:35:29 +0000] rev 1447
Added a 'site name' property to site
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 21:56:55 +0000] rev 1446
Use feedparser to sanitize HTML content for documents
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 21:49:46 +0000] rev 1445
Forgotten import
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:15:56 +0000] rev 1444
Make use of the new checkHasDocumentAccess method
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:15:23 +0000] rev 1443
Added a checkHasDocumentAccess method
Uses the SCOPE_DEPTH to determine how far to walk up the scope so
that the correct value for scope_path is set.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:14:51 +0000] rev 1442
Specify how to walk the scope up to another scope
This will be used by document ACL later.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:14:19 +0000] rev 1441
Make use of default value
field_name is not modified and as such it is possible to properly use
the default value system (rather than just specifying None).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 20:13:46 +0000] rev 1440
Also pass the prefix in the document cleaning method
The prefix is needed to determine how far to walk up the scope.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 17:58:45 +0000] rev 1439
Add a "Developer" tag in the top sidebar if appropriate
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 17:10:18 +0000] rev 1438
Updated comments in access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 17:05:52 +0000] rev 1437
Added several menu items to the program menu.
For example, non-students now see a Apply as a mentor link that takes them to the list of all active organizations. This only happens when the organizations announced deadline has passed.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:40:59 +0000] rev 1436
Fix access bug in organization
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:40:22 +0000] rev 1435
Added support for having a format string as scope_path filter
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:39:46 +0000] rev 1434
Fixed a bug in seed_db
The mentor and org for Melange were created with wrong scope and key.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:00:52 +0000] rev 1433
Convert mentor.py to use DynaFields as an example
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 16:00:17 +0000] rev 1432
Hook up dynafields in params.py
The helper method getDynaFields converts a list with dynafield dicts
to a dictionary with dynaproperties and is used to update the
create- and edit_dynaproperties dicts.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 15:59:42 +0000] rev 1431
Added DynaFields to the dynaform module
DynaFields work similar to DynaForms, in that they allow a regular
field to be created by supplying a dictionary.
The main advantage is that any property can be added, even if the
base class doesn't have support for it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 15:59:07 +0000] rev 1430
Rename dynafields to dynaproperties
This is to prepare for true dynafields.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 15:57:02 +0000] rev 1429
Update seed_db as WTFPL is no longer an allowed license
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:14:44 +0000] rev 1428
Added student_proposals to the sitemap.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:14:05 +0000] rev 1427
Scope is already set to entity.scope, so no need to overwrite in base._editPost().
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:08:15 +0000] rev 1426
Added student_proposal view.
Note that the access checks still need to be done and other functionality like ranking/scoring and withdrawal of the application are not in yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:06:23 +0000] rev 1425
Added new cleaning method to validate a student proposal.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 11:02:59 +0000] rev 1424
Since scope does not change we do not need to call getFromKeyName every time.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:57:02 +0000] rev 1423
Added student proposal view templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:54:47 +0000] rev 1422
Added student_proposal logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:53:52 +0000] rev 1421
Made some changes to StudentProposal.
Abstract is now required and content field has been added.
New is now the default status. This will be used to easily distinguish between applications that didn't have their initial ranking/scoring yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 21 Feb 2009 10:36:04 +0000] rev 1420
Fixed name method in soc/models/role.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:45:57 +0000] rev 1419
Add caching to the homepage
Homepage is flushed when the home document is changed.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:45:19 +0000] rev 1418
Compute the memcache_key only in get()
This will be used by the homepage caching later on.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:43:56 +0000] rev 1417
Set and unset the home_for property if appropriate
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:33:59 +0000] rev 1416
Add an home_for reference property
This field will be set to whatever presence is using the document as
home document.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 21 Feb 2009 00:30:53 +0000] rev 1415
Added a document in the test user's user space
This makes it easier to test editing documents.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Feb 2009 23:59:23 +0000] rev 1414
Redone form field filling via request.GET to work on multiple fields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Feb 2009 12:38:29 +0000] rev 1413
Removed obsolete import from sitemap/build.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 20 Feb 2009 11:39:00 +0000] rev 1412
First go at the student proposal model.
The scope will be set to the student role and the link_id will be time-based.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 20 Feb 2009 10:12:03 +0000] rev 1411
Footer of melange now resizes properly.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 23:27:46 +0000] rev 1410
Fixed grouping and updated help text
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 23:27:20 +0000] rev 1409
Make the heading line up with the input fields
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 23:26:54 +0000] rev 1408
Deleted stale comment
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 22:51:24 +0000] rev 1407
Fixed copy/paste fail
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 21:54:36 +0000] rev 1406
List public view for organizations should be program limited.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 21:27:31 +0000] rev 1405
Added apply as a mentor view which lists all orgs for a given program.
The check if someone can actually request to become a mentor is done after the user has selected an organization from this view. This is not bad because a student would never see the link to this page in the program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 21:14:28 +0000] rev 1404
Added a link to the official OSI licenses list
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 21:10:42 +0000] rev 1403
Make org_app use the new licenses set
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 21:10:09 +0000] rev 1402
Added OSI approved licenses
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 20:49:27 +0000] rev 1401
Wording nitpick fix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 20:44:37 +0000] rev 1400
Rebased my double work on top of Todd recent commit
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Thu, 19 Feb 2009 20:30:47 +0000] rev 1399
Make it easier to support other extensions per-Model (such as .csv, etc.).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 19 Feb 2009 20:24:17 +0000] rev 1398
Force browser to ask to save an Export, and provide a filename extension.
See: http://code.google.com/p/soc/issues/detail?id=192
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 20:13:41 +0000] rev 1397
Fixed blog on home view
For some reason the script does not work if it resides in it's own
file, perhaps some JS guru can enlighten?
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 19:57:07 +0000] rev 1396
Clean the e-mail field
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 19:56:24 +0000] rev 1395
Add a regular 'empty field cleaner'
Regular, as opposed to a decorator.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 18:37:44 +0000] rev 1394
Bugfix in student view.
This got triggered when a student agreement was set and the create student button was clicked.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 19 Feb 2009 17:07:13 +0000] rev 1393
Reset the RELEASE_TAG to None (unreleased) now that the 0.3-20090219 release
candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 19 Feb 2009 17:00:14 +0000] rev 1392
Set RELEASE_TAG to 0.3-20090219rc for release candidate.
Patch by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 16:34:40 +0000] rev 1391
Added a missing cleaner to org idea list
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 19 Feb 2009 16:34:04 +0000] rev 1390
Fixed a missing property in seed_db
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 19 Feb 2009 16:13:04 +0000] rev 1389
Add noreply email property to Site model. Still missing cleaner method and changes in notifications module.
Patch by: Pawel Solyga
Reviewed by: to-be- reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 19 Feb 2009 08:10:25 +0000] rev 1388
Use the new program property in mentor and role for an access check.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Feb 2009 21:41:27 +0000] rev 1387
Added required program property to org_admin and mentor.
This can be used to simplify checks.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 18 Feb 2009 19:49:39 +0000] rev 1386
Org admins can now send out invitations and users can now request to become a mentor.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 21:16:35 +0000] rev 1385
Accidently left one addrole in student.py during my quest to refactor it into params.
It has now been removed.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 20:34:01 +0000] rev 1384
Role overview membership is now determined by setting show_in_roles_overview param to true in the view.
Also added student roles to the list.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 20:15:43 +0000] rev 1383
Students now have a reference to school again.
This reference property is not required for now since the system for choosing your own school isn't implemented yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 20:07:20 +0000] rev 1382
Students can now only get a student role during the student signup period.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:40:13 +0000] rev 1381
Fixed style error.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:37:47 +0000] rev 1380
Added students to sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:37:24 +0000] rev 1379
Added student view and accompanying templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:36:23 +0000] rev 1378
Added new redirect to redirects helper.
In preparation for student view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:35:00 +0000] rev 1377
Students can not become a mentor or org_admin in the same program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:33:54 +0000] rev 1376
Parameterized the role view manage redirect.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:32:53 +0000] rev 1375
Added new access methods.
This is used to prevent students from becoming mentors/org_admins and vica versa.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 19:29:52 +0000] rev 1374
Redone student model and added student logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 17 Feb 2009 17:28:54 +0000] rev 1373
Fixes the problem of <Entity> Saved not being
shown whenever a new entity is created.
Patch by: Madhusudan C.S.
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Feb 2009 16:37:24 +0000] rev 1372
Fixed twoline style broken by recent 'form prettification' commit
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Feb 2009 16:36:49 +0000] rev 1371
Implemented simple group sorted using numerical ordering
See role.py for some example usages.
Note that the reason ToS does not appear seperately is due to the
fact that it is defined as a regular field which does not take the
group field from the one defined in the model.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 17 Feb 2009 14:25:40 +0000] rev 1370
Add a groupby method to dicts
This function behaves similar to Django's groupby filter.
Patch by: Sverre Rabbelier
Tim Ansell <mithro@gmail.com> [Tue, 17 Feb 2009 06:52:06 +0000] rev 1369
Make the web forms look a little nicer.
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 22:41:52 +0000] rev 1368
Typo fix in seed_db module which caused loaded organization applications not to work correctly (wrong keyname).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 22:40:42 +0000] rev 1367
Style fixes in org-accept.js file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 22:30:55 +0000] rev 1366
Remove extra space from soc.views.helper.access module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 16 Feb 2009 21:28:44 +0000] rev 1365
Fix a bug in group_app.py (not defined context was used).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 16 Feb 2009 20:38:35 +0000] rev 1364
Update org bulk accept script.
The script now:
1) leaves correctly control to the browser to update the GUI of the progress bar during ajax communication.
2) Displays an error if something went wrong (I've tried in my box stopping the server while doing the requests), and show a retry button to fetch again the list of the applications that are still not accepted and iterate over them again (seems to recover correctly restarting the server after the error in my box)
3) doesn't display any text at the beginning, and the button has the correct CSS class assigned
4) Check if there are applications to accept, if not displays a message stating that there are no orgs to accept.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Feb 2009 19:30:33 +0000] rev 1363
Add GHOP as program and put 'Melange' under it
This makes it easier to verify that filtering by program works in the
slot allocation view.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Feb 2009 19:30:11 +0000] rev 1362
Seed in some orgs
This is to facilitate testing of a 'slot allocation' ui.
Patch by: SVerre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 16 Feb 2009 19:29:51 +0000] rev 1361
Fixed a copy/paste bug in group.py
Patch by: Sverre Rabbbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 22:29:22 +0000] rev 1360
Added grouping support to all forms, converted role as example
Any field that has the 'group' property set be placed in the
specified group. If no such proprty is set, the 'General' group will
be used instead.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:27:56 +0000] rev 1359
Refactor various django templates to reuse other templates where possible
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:27:09 +0000] rev 1358
Be modular when loading the various JS modules
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:26:15 +0000] rev 1357
Prepare all views for a new modular approach to JS loading
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:25:35 +0000] rev 1356
Make various JS methods into their own file
This facilitates re-use of these files.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 20:25:10 +0000] rev 1355
Add a Home document to the seeded entities
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:56:35 +0000] rev 1354
Fix import sorting in soc.logic.cleaning module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:55:48 +0000] rev 1353
Add missing blank line in soc.logic.rights module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:55:05 +0000] rev 1352
Fix import sorting in soc.views.models.program module and rename any "Org" in link names to "Organization".
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:53:56 +0000] rev 1351
Change the message shown when org admin already agreed to agreement when creating org application.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:52:38 +0000] rev 1350
Add missing dots in messages in soc.views.helper.access module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 15 Feb 2009 18:50:13 +0000] rev 1349
Hopefully fix json caching issues in IE7.
Will wait for Lennie to confirm if it works correctly now.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 16:11:47 +0000] rev 1348
Seed more roles and factor out common properties
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 16:11:23 +0000] rev 1347
Rename current 'roles' view to 'request' and add a real roles view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 16:10:59 +0000] rev 1346
Keep a global list of all known Roles
This is to facilitate a view with a list of a user's roles.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 15:53:38 +0000] rev 1345
Fixed a bug in admin_form generation
The edit_form was also being modified.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:58:27 +0000] rev 1344
Redirect to the admin view in listPublic
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:58:03 +0000] rev 1343
Hook up the admin view everywhere
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:57:03 +0000] rev 1342
Add an admin view
Makes use of the new admin form and the as_readonly_table tag.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:56:30 +0000] rev 1341
Add an as_readonly_table filter
Results in a very plain table, with no error messages etc. Intended
use is in combination with PTW's.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:55:53 +0000] rev 1340
Add an admin redirect
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:55:29 +0000] rev 1339
Make _constructResponsoe take an optional template
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:55:05 +0000] rev 1338
Add an AdminForm that renders all fields as PTW's
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 14:54:42 +0000] rev 1337
Add a PlainTextWidget
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 13:59:36 +0000] rev 1336
Use entity.key.name instead of key_suffix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 15 Feb 2009 13:59:06 +0000] rev 1335
Added melange as org.
Also added license text and author.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Feb 2009 11:14:26 +0000] rev 1334
Fixed a bug in access.py where a non-existing variable would have been called.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 15 Feb 2009 11:13:46 +0000] rev 1333
Added clean_user_is_current to cleaning and fixed some indentation.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 23:56:49 +0000] rev 1332
Add a script to (re)seed the datastore
For obvious reasons enabled only when running in debug mode.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 22:04:14 +0000] rev 1331
Added no-cache headers to pick and bulk-accept views.
Also added a TODO since IE7 seems to ignore the headers.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 21:32:25 +0000] rev 1330
Remove private data from club and org public templates
Also re-use the club/public.html template in organization's template.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 21:31:33 +0000] rev 1329
Skip a field when it's value is not set
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 21:18:12 +0000] rev 1328
Added bulk acceptance and progress bar in review org applications view.
In the list of organization applications for reviewing, if you click the button "click here" the whole first text line will fade out and the progress bar will fade in while starting to contact the server for the list of orgs to accept and then make synchronous calls for acceptance, while updating the progress bar, the name of the organization currently accepting and the number of orgs already accepted against the total.
Inside the script, what's inside the parenthesis is converted due to regexp (in this case (link_id)) and then read the json_object.applications[index].link_id. By doing this with an eval(), you can use other names as well and the script will be reading for example json_object.applications[index].attribute_name if you insert "(attribute_name)" inside the link returned by {{ bulk_accept_link }}.
Notes by Lennard:
-Put Done outside the for-loop so that it also shows when there are 0 pre-accepted organizations.
-Made some minor style fixes
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 20:26:27 +0000] rev 1327
Now using the correct path to the loading animation in jquery-thickbox.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:23:43 +0000] rev 1326
Minor style fix
dicts.merge already takes care of the case where target is None.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:23:18 +0000] rev 1325
Add a list_public view to organization
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:22:50 +0000] rev 1324
Factor out the 'key fields without link_id' logic from document
Also make sure the to-be-removed is present before removing it when
doing the field reordening.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:22:17 +0000] rev 1323
Add a getListRedirect and getListPublicRedirect function
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 20:21:51 +0000] rev 1322
Add an idea list (url) property to organization
Also include this url in the organisation list.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 14 Feb 2009 19:03:38 +0000] rev 1321
Fixed missing parameters in program view due to change in _getTimeDependentEntries in r1943.
Also the sidebar once more shows "Apply to become an Organization" even if you are not logged in.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 16:44:14 +0000] rev 1320
Include scope_path as django_args
Otherwise users cannot create documents in their own prefix.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 16:43:53 +0000] rev 1319
Disable the raw create and list link for documents
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 16:43:20 +0000] rev 1318
Add custom access check for document listing
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:57:53 +0000] rev 1317
Add a 'list documents' link everywhere
Also disable the Documents sidebar menu, since it does not provide
anything useful anymore.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:57:14 +0000] rev 1316
Allow documents to be filtered by prefix and scope
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:56:46 +0000] rev 1315
Developers have all roles
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:56:22 +0000] rev 1314
Organization prefix was renamed to 'org'
The reference to it in the logic/rights.py module was not updated.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:16:02 +0000] rev 1313
Force-check the 'agreed to admin agreement' field if applicable
If the current user is the applicant of the relevant organization,
they already agreed to the agreement once. As such the box should be
pre-checked.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 15:15:38 +0000] rev 1312
Fix a bug in group_app
If context is not set, kwargs['context'] will raise an exception.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 14:11:45 +0000] rev 1311
Add cleaning methods for document ACL
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 14:11:18 +0000] rev 1310
Make document ACL's a constant
This makes it possible to refer to it in other modules.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 14 Feb 2009 14:10:56 +0000] rev 1309
Fix a bug if you have no roles at all
This could not happen currently, but might happen later on if a group
is defined that does not have an 'anybody' membership.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 23:18:39 +0000] rev 1308
Partially reverted "Update the copyright notice for 2009."
This partially reverts commit r1933. Only the files that were created
in 2008 were reverted.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 22:36:45 +0000] rev 1307
Update the copyright notice for 2009.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:54:35 +0000] rev 1306
Fix ToS link
s/Terms/Google App Engine Terms/
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:54:10 +0000] rev 1305
Do access checks on the pick url for documents
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:53:42 +0000] rev 1304
Convert the QueryDict to a regular dictionary
This way we support a query with multiple args specified.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:53:15 +0000] rev 1303
Add prefix filtering and refactored program field generation
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:52:38 +0000] rev 1302
We generate the select url ourselves, so it's safe
This prevented urls with an & in it to be correctly generated.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:52:10 +0000] rev 1301
Added a filter_fields parameter to the ReferenceField widget
This paramater makes it possible to do 'hard coded' filtering.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:51:41 +0000] rev 1300
Factor out the hasMembership method from checkMembership
This makes it possible for the document picker to reuse it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 21:51:16 +0000] rev 1299
Add a getMemberships method to logic/rights.py
This will be used by the document picker ACL checks.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 13 Feb 2009 19:22:34 +0000] rev 1298
Fixes as requested by Leslie on behalf of the Legal team
Upped the copyright statement from 2008 to 2009, and link to the GAE
Terms of Service instead of any custom ToS.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 17:34:29 +0000] rev 1297
Added number of applications and their type to the bulkaccept JSON object.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 16:40:02 +0000] rev 1296
Implemented the 2nd part of bulk acceptance.
The context of the _list call can now be set by using the kwarg context. This will be merged with the universalcontext.
Added a TODO to create the organziation accepted email template.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 13:35:31 +0000] rev 1295
Document prefix in params now defaults to url_name.
This is because the short name does not have to be url friendly.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 13:33:31 +0000] rev 1294
Added bulk_accept view which returns a JSON object.
This is going to be used to bulk accept org applications.
Also added a new unfinished template so Merio can test his JS.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 13 Feb 2009 11:46:06 +0000] rev 1293
Only a club admin should see resign as club admin in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:35:44 +0000] rev 1292
Fixed a bug in club and org logic.
This bug would give an error when no backup was set.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:26:23 +0000] rev 1291
Fixed a bug in group_app templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:14:07 +0000] rev 1290
Brown Paper Bag Fix: L2R Appspot error logs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:12:09 +0000] rev 1289
Fixed a bug in group_app view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 23:06:14 +0000] rev 1288
Returning None instead of the empty to fix a bug on melange-demo instance.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 22:52:16 +0000] rev 1287
Added check_field_is_empty decorator to cleaning.py.
This makes sure the cleaning checks are skipped when a field is empty. Note that Djanog will raise it's own ValidationError when a required field is empty before attempting to clean it.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed.
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 22:20:13 +0000] rev 1286
Org App review page now shows accept and pre-accept button.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 12 Feb 2009 21:25:00 +0000] rev 1285
Fixed comment and typo in cleaning.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:15:20 +0000] rev 1284
Add ToS agreement to mentor application related forms.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:14:51 +0000] rev 1283
Add ToS agreement to org_admin application related forms.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:14:17 +0000] rev 1282
Do not attempt to render a field if it is disabled
This is required to make it possible to disable fields dynamically.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:13:51 +0000] rev 1281
Program requires the filter to be set to __scoped__
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 20:13:27 +0000] rev 1280
Disable clubs for now
Disabling the clubs in this way is a lot easier than adding a switch
for it in Site Settings, and probably safer too (as the urls are no
longer valid).
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 12 Feb 2009 12:58:26 +0000] rev 1279
App Engine 1.1.9 update breaks django 1.0. Monkey patch django to only check for SVN revision number when not running using dev_appserver. On deployed version this doesn't apply since we use django from zipped file.
This issue was discussed here:
http://groups.google.com/group/codereview-discuss/browse_thread/thread/a7ab6ceb39c09ce6
http://groups.google.com/group/google-appengine/browse_thread/thread/bbdebf8617b57512
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 12 Feb 2009 12:30:36 +0000] rev 1278
Load /Users/solydzajs/Downloads/google_appengine into
trunk/thirdparty/google_appengine.
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 10:24:37 +0000] rev 1277
Removed unused argument in program.py
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 00:04:32 +0000] rev 1276
Initial implementation of a ToS requirement in org_app
If the _editContext method can be made generic enough, it should be
easy to add ToSes to other forms. This solution should also be
applied to user_self, as the current implementation is not very clean
to say the least.
Patch By: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 12 Feb 2009 00:02:06 +0000] rev 1275
Added an AgreementField widget
Displays an Agreement Document in a scrolling text field. The text of
the document can be set by modifying the 'text' property.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:59:41 +0000] rev 1274
Rename TinyMCE to FullTinyMCE and add TinyMCE widget
The FullTinyMCE (irony intended) is the full-fledged editor, usefull
in editing documents etc. The regular TinyMCE widget can be used for
smaller tasks that allow HTML input (such as the description field).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:57:08 +0000] rev 1273
Use the newly added __scoped__ and references for program's ToSes
This fixes the ToSes autocompletion and 'enables' them.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:54:41 +0000] rev 1272
Added an agreed_to_admin_agreement property
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:52:11 +0000] rev 1271
Add '__scoped__' as a special filter
It sets the scope_path to the entity's key().value().
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:49:44 +0000] rev 1270
Fields are always safe, as we generate them ourselves
This will be used by a future widget.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:47:13 +0000] rev 1269
Add an _editContext hook
Usefull when one wants to have a hook that will always be called.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:44:38 +0000] rev 1268
Resolve references if they are specified
All views sould make use of this instead of doing it manually in
_editGet and _editPost.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 11 Feb 2009 23:42:03 +0000] rev 1267
Make it possible to put fields at the end of the form
This is usefull for Terms of Service etc.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:55:17 +0000] rev 1266
Changed the access checks for organization.
This should allow normal users to use organizations as well.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:10:53 +0000] rev 1265
Added allowsidebar to checkIsDocumentReadable.
Note that this means that documents you can't actually read might show up in the sidebar. A todo has been added to fix this.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:05:33 +0000] rev 1264
Added organization entity sidebar entries.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:04:29 +0000] rev 1263
Fixed a bug in access.py that made it impossible to show featured documents in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 20:02:46 +0000] rev 1262
Changed document to also filter on the prefix when getting the documents for a scope.
For this to work the organization prefix is now org.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 11 Feb 2009 19:59:27 +0000] rev 1261
Fixed a typo in org_admin model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 10 Feb 2009 23:13:06 +0000] rev 1260
Added Agreement properties to Program Model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Feb 2009 16:17:25 +0000] rev 1259
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090209 release candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 09 Feb 2009 15:58:17 +0000] rev 1258
Set RELEASE_TAG to 0.2-20090209rc for release candidate.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 09 Feb 2009 00:02:07 +0000] rev 1257
Added a button to list all your org applications to a speficic program menu.
The entry only shows up when orgs can apply.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:56:56 +0000] rev 1256
Put the tos extra_dynaexclude in presence_with_tos.py where it belongs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:55:44 +0000] rev 1255
Redone the listing in group_app.py.
There is now a list_self that only shows the group application of the current user in the given a scope. The redirects point to edit or applicant when necessary.
Review_overview will show all the group applications that can be reviewed in the given scope, the redirect points to review for all statusses.
And list will just show all the group applications and redirect you to edit.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 08 Feb 2009 23:49:29 +0000] rev 1254
Added new redirect for the new list views for group_app's.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Feb 2009 22:57:23 +0000] rev 1253
Fix bug in group_app
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 08 Feb 2009 11:58:43 +0000] rev 1252
Temp bug fix
This should be fixed properly at some point.
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Sun, 08 Feb 2009 03:36:05 +0000] rev 1251
Add myself to authors since I was missing.
(Also, a test commit for buildbot)
Patch By: Augie Fackler <durin42@gmail.com>
Review By: TBR
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 23:26:38 +0000] rev 1250
Fixed access checkers for orgs
Patch by: Sverre Rabbelier, Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:56:15 +0000] rev 1249
Remove unneeded stylesheet and js and fix notification area
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:49:51 +0000] rev 1248
Rename checkHasActiveRole to checkHasActiveRoleForScope
This is to prepare for a checker that checks if the user has any such
role, regardless of scope.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 22:47:51 +0000] rev 1247
If there is no user account, don't show New Document link under Site
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 22:10:19 +0000] rev 1246
Fixing r1855 that was bugged by Tortoise ^_^.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 21:48:02 +0000] rev 1245
Fixed broken autocomplete due to wrongly named file
This should have been in r1852.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 21:43:27 +0000] rev 1244
Should be part of r1855.
FOSDEM got the best of me :).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:44:05 +0000] rev 1243
Use short_name for the header title in a presence's home page
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:42:28 +0000] rev 1242
Handle GAE account normalization
Also forbid users from going back to a former account.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:40:48 +0000] rev 1241
Pimp TinyMCE widget.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:39:08 +0000] rev 1240
Always return a site singleton and fix Edit Site Settings
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 07 Feb 2009 20:37:28 +0000] rev 1239
Stylefixes in access.py and removal of self.deny calls
The result of self.deny() is not very helpfull to the user, as such
we should not use it if we can provide a more sensible message.
Also made the document access checks use getForKeyFieldsOr404 to
prevent an error page when the specified document doesn't exist.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 13:40:20 +0000] rev 1238
Added scoped group_app listing.
Also moved the review program applications menuentry to the specific program menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 07 Feb 2009 13:36:50 +0000] rev 1237
Added missing comment in access.py and removed excessive whitespace.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:50:49 +0000] rev 1236
Hide all *.pyc files in trunk/.
r1850 was supposed to be a recursive property change, but was not.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:37:28 +0000] rev 1235
Name .js and .css files more consistently with those previously present.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:34:12 +0000] rev 1234
Add image that appears to be missing from the original thickbox patches.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Sat, 07 Feb 2009 00:21:23 +0000] rev 1233
Hide *.pyc files in trunk/ from 'svn status' output.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Feb 2009 10:24:45 +0000] rev 1232
Added pre-accpeted status to group_app.
This can be used when we want to accept all org's at once. Instead of one by one.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 06 Feb 2009 10:21:18 +0000] rev 1231
Added some help_text and clarifications to org_app model fields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:52:27 +0000] rev 1230
Cleanup in org_app and replace ReferenceProperty with LinkProperty
Using LinkProperty allows the org to host their idea's list on
Melange through the Document system, and then specify the URL of that
document. This also makes it possible for the orgs to specify a
document that is not hosted on Melange.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:49:46 +0000] rev 1229
Refactored the picker so that it is more generic
The picker now also works in the case the scope_path of the entity
should not be filtered on. Also, it is now easier to add new
functionality due to the fact that there is a seperate Field type
to handle it now.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:46:39 +0000] rev 1228
Added a ReferenceField widget
Also removed the unused ReadOnlyBool widget (as we now have a
properlyworking ReadOnly widget).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:43:52 +0000] rev 1227
Make picker work generically
Also removed some unused params from the JSON object.
Deleted the now unused checkHasPickGetArgs method.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 05 Feb 2009 23:41:02 +0000] rev 1226
Fix broken document access checks
The 'normalized checker' syntax was used to specify the access
checkers, but the normalization never happened.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:15:38 +0000] rev 1225
Org applications can now only be made by a user when a program allows it.
To do this a new access_type has been added called apply. This ensures that users can only used the seeded version of create.
Also the review_overview now has his own access type to ensure the separability of hosts for different sponsors in case of org app reviews.
Note that the access checks for hosts are broken and only give access to developers at the moment.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:13:49 +0000] rev 1224
Added a new redirect for apply accesstype.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 22:13:12 +0000] rev 1223
Added new access checks to deal with timeline for programs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 21:29:55 +0000] rev 1222
Updated docstrings and used keyfields where necessary in soc/logic/models/base.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:33:47 +0000] rev 1221
Remove extra whitespaces in soc.views.models.organization module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:33:12 +0000] rev 1220
Add missing blank line to soc.logic.helper.timeline module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 05 Feb 2009 20:32:45 +0000] rev 1219
Fix import sorting in soc.views.models.sponsor module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 20:19:17 +0000] rev 1218
Cleaned up getKeyNameFromFields in Logic base.
You can now pass it a dictionary that can contain other fields next to the keyfields.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 05 Feb 2009 19:30:43 +0000] rev 1217
Reverted r1819 and making an application will now reserve the link_id indefinitely.
This is to make sure our statistics dont get messed up.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:09:28 +0000] rev 1216
Make the ToS text in-line and hook up thick-box in the help-text.
This way the user can see the ToS in scrollable form between the
link_id and the 'agree to tos' checkbox. Also, when clicking on the
link to the 'side-wide terms of service' a thickbox will pop up and
display the Terms of Service in an overlay.
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:06:48 +0000] rev 1215
Hook up the new jquery plugins in base.html and _as_table_row.html
A very important todo here is to make loading these plugins only when
needed, as to not waste bandwith. This should be trivial to do later
on though, so leaving as-is now.
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Reviewed by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:04:10 +0000] rev 1214
Include the field_id in the context of _as_table_helper
This makes it possible to refer to the field that is being edited by
it's ID (in for example Javascript).
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 23:01:36 +0000] rev 1213
Make toDict "dereference" the 'name' property if it is present
This makes it possible to turn 'name' into a consistent alias that
can be used to represent an entity.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 04 Feb 2009 22:52:33 +0000] rev 1212
Added jquery thickbox, ajaxQueue, autocomplete and bgiframe
Also added the soc-specific stylesheets for jquery and thickbox.
Patch by: "Mario Ferraro" <fadinlight@gmail.com>
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:24:36 +0000] rev 1211
Now calling block.super in timeline/edit.html template.
Patch by: Sverre Rabbelier
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:15:26 +0000] rev 1210
Added timezone clarification to the timeline edit form.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:12:29 +0000] rev 1209
Specific program menu's now show a "Apply to become an Organization" entry when the program's timeline states that it's open.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:10:34 +0000] rev 1208
Added new helper module for timelines.
This helps to determine wether a given event or period has begun/isactive/ended.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 04 Feb 2009 21:09:06 +0000] rev 1207
Added missing table header for org_apps.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 21:15:12 +0000] rev 1206
Refactored the application review template into group_app.
Patch by: Madhusudan C.S
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 20:30:08 +0000] rev 1205
Added validate_new_group to cleaning and removed clean_new_club_link_id.
This new cleaning method is a general purpose method for cleaning the form of a new group or group_app.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 20:18:15 +0000] rev 1204
Fixed an error in group_app view that didnt let you create a new application.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 15:18:40 +0000] rev 1203
Renamed checkHasRole to checkHasActiveRole.
We need this distinction to later allow another check to grant access upon a role that also might be inactive.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 14:19:51 +0000] rev 1202
Added removal of an existing group application when someone else is applying.
This makes sure that the fields we do not collect via the form also get wiped when a rejected application is being redone by someone else.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:50:41 +0000] rev 1201
Added checkCanReviewGroupApp to acces.py.
To make this work allowSidebar decorator was added as well. This will make sure that the Review buttons show up in the sidebar.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:27:52 +0000] rev 1200
Added checkCanEditGroupApp to access.py.
Group Applications can now only be edited if they are either rejected or still in need of review.
Also fixed a bug in checkIsMyEntity.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 13:26:34 +0000] rev 1199
Fixed whitespace in /soc/models/group_app.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 09:20:09 +0000] rev 1198
Added some extra isUser checks to make sure that you have to accept the ToS before you can do anything concerning requests.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:36:05 +0000] rev 1197
Fixes a bug where notifications can't be deleted.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:33:46 +0000] rev 1196
Only do the update routine when the status changes for group_app's and role requests.
This helps prevent spamming multiple notifications.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 03 Feb 2009 08:25:47 +0000] rev 1195
Fixed a bug where a GMAP error message would be displayed when the form was not valid.
The wrong params were used, so the wrong template was used to display the form. This also caused the instruction_text to dissapear.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Mon, 02 Feb 2009 22:58:57 +0000] rev 1194
The simplejson in Django is now used, so do not create a symlink in build.sh.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 21:48:37 +0000] rev 1193
Fixed a typo in getForCurrentAccount comment.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 21:46:01 +0000] rev 1192
Adds the possibility to exclude the user from the website.
getForCurrentAccount now only returns a user entity when it is valid.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 20:56:14 +0000] rev 1191
Fixed default value for write_access in Document model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 20:07:52 +0000] rev 1190
Probably fixed a bug on the live instance.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 17:02:31 +0000] rev 1189
More access related fixes
Also make it possible to do access checks for 'create'.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 16:57:21 +0000] rev 1188
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090202 release
candidate branch has been created.
Patch by: Pawel Solyga
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 16:44:17 +0000] rev 1187
Set RELEASE_TAG to 0.2-20090202rc for release candidate 02/02/2009.
Patch by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 16:42:31 +0000] rev 1186
Fixed EOL errors.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 16:21:33 +0000] rev 1185
Create org_application now shows select program view.
Also fixed the menu heading.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 16:03:21 +0000] rev 1184
Use .logic in checkIsAllowedToManageRole at the caller
This is to be consistent with the rest of the module.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:39:22 +0000] rev 1183
Make getForFields work with no filter
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:34:45 +0000] rev 1182
Fixed EOL damage in org_app and access checks
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 15:04:04 +0000] rev 1181
Calling getForCurrentAccount where necessary.
Also fixed whitespace error in soc/views/models/user_self.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 15:00:43 +0000] rev 1180
Fixed club_app
The user could not edit their own club app due to a buggy check.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 14:47:09 +0000] rev 1179
Rewrite getForFields to use GQL instead of the Query API
Apparently the Query API does not support the IN statement.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 02 Feb 2009 14:19:22 +0000] rev 1178
Removed work flow field from the check in getExtraMenus for program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 14:09:24 +0000] rev 1177
More access related fixes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 02 Feb 2009 13:59:07 +0000] rev 1176
Fixed access related bugs
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 13:48:15 +0000] rev 1175
Make longitude and latitude hidden fields not required in soc.views.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:15:07 +0000] rev 1174
Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:10:39 +0000] rev 1173
Changes in club_app and org_app public templates. Don't show email address in public template.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:09:18 +0000] rev 1172
Style fixes in soc.views.models.user module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:07:34 +0000] rev 1171
Style fixes in soc.logic.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 02 Feb 2009 10:06:36 +0000] rev 1170
Fix missing indention in css file.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 23:36:50 +0000] rev 1169
Set the right field type in user_self to overcome confusion.
Also reverted a template change.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 23:27:28 +0000] rev 1168
Adding a hidden agreed_to_tos field when the user has signed the ToS.
This a more cleaner solution then r1774.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:51:14 +0000] rev 1167
Fix the JS but mentioned in the previous commit
Patch by: Sverre Rabbelier
Reviewed by: Pawel Solyga
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:48:48 +0000] rev 1166
Fix get args construction when there are multiple lists on the page
It is now possible to go back and forward through the liast, and
specify the limit (both offset and limit can be done per list).
The JS driving the list boxes is buggy, if visiting an url like:
http://localhost:8080/notification/list?limit_0=10
And then change the limit in the second checkbox, it directs to:
http://localhost:8080/notification/list?limit_1=25
Whereas it should redirect to:
http://localhost:8080/notification/list?limit_0=10&limit_1=25
The logic _does_ work properly when the limit of the changed list
is already present in the url.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 22:44:14 +0000] rev 1165
Unify 'getForFields' and 'getForLimitAndOffset'
This also fixes the broken list views for filtered lists.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 22:35:35 +0000] rev 1164
User profile now shows the time on which you signed the ToS.
Note that this solution is temporary and a hidden_field_as_table_row will be made by Pawel soon.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 20:44:47 +0000] rev 1163
Cleaned up access.py
Removed a lot of duplicate code and added more generic checkers in
their place.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 01 Feb 2009 20:41:58 +0000] rev 1162
Do not return empty menu's in program.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:52:12 +0000] rev 1161
This patch prohibits changing of agreed_to_tos and agreed_to_tos_on by the Logic module.
This is used so that legally the agreed_to_tos fields can never change in the User model once set.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 17:40:26 +0000] rev 1160
Add publish_location boolean property to Role model. This field indicates whether the User has agreed to publish his location. It is not supported yet in any logic, views or templates but we won't want to change models later so it's being added now.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:31:09 +0000] rev 1159
Fixes an error occurring when editing a User as Developer when the ToS have been signed.
By disabling the input of the field Django will not attempt to wrongly parse it as a DateTime instance.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:21:46 +0000] rev 1158
ReadOnlyInput widget now shows text instead of a greyed-out input box.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 17:14:42 +0000] rev 1157
Added status property to the user model.
This is to accommodate the ability to exclude users from using the website.
Note that since the access modules is currently undergoing some reconstruction changing the status will not actually effect the User yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:18:04 +0000] rev 1156
Fixed EOL and whitespace in org_app templates
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 16:14:25 +0000] rev 1155
Update error message that shows when Google Maps API key is missing.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:14:09 +0000] rev 1154
Implement the last step in the org application process.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:11:54 +0000] rev 1153
Refactored applicant from club view to group view.
This is to accommodate the OrgApplication Process.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 16:10:20 +0000] rev 1152
Add Google Maps integration for Role profiles create/edit views.
Now when editing/creating your Role Profile page Google Maps widget will show up at the bottom of the form as "Location" field. When you type in your Street, City, Country or State it will automatically update the map with the location based on your address. The zoom level depends on the address information you provided. So for example if you just select Country it will be different then when you select both Country and City. The longitude and latitude fields are hidden and are updated with the coordinates from the address you provided. Also if the map is not accurate enough you can adjust your location by dragging the red market, which will change your location and save new coordinates into hidden fields. This patch also includes some style fixes in soc.views.models.role module.
Patch by: Mario Ferraro & Pawel Solyga
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:09:43 +0000] rev 1151
Added org_app view and templates.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:07:37 +0000] rev 1150
Changed club_app review template to use key.name.
This will ensure that if we ever decide to change it to a scoped entity the review template will not break.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:06:22 +0000] rev 1149
Changed some errors in the org_app model.
The backup_admin property has been removed because it's present in the group_app model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:04:31 +0000] rev 1148
Added org_app logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:03:58 +0000] rev 1147
Changed group_app to use scope_logic in constructor.
This is so org_app logic can use a scope_logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 16:00:42 +0000] rev 1146
Changed getApplicantRedirect to use the key_name instead of just a link_id.
This is to make it work with OrgApplication.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:33:48 +0000] rev 1145
Fix import sorting in soc.views.models.document module to comply with our style guide.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:29:34 +0000] rev 1144
Rename 'Create a new document' links to 'Create a New Document', also rename 'Create a new Program' to 'Create a New Program' in soc.views.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:26:25 +0000] rev 1143
Fix missing dots and blank lines to soc.logic modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:25:27 +0000] rev 1142
Fix missing dot and wrong import sorting in soc.views.helper.access module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:24:43 +0000] rev 1141
Style fixes in soc.models.document module (adding of missing whitespaces).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 01 Feb 2009 13:24:00 +0000] rev 1140
Style fixes in soc.logic.models modules (basically removing of extra whitespaces).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 13:07:12 +0000] rev 1139
Changed the url regexpr for review and added 2 missing imports.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 09:55:02 +0000] rev 1138
Refactored review and reviewoverview out of club_app.py
This is to help accomodate the upcoming OrgApplication.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 01 Feb 2009 09:11:39 +0000] rev 1137
Added view for mentors.
This one is for real.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:59:27 +0000] rev 1136
Added two forgotten comments in rights.Checker
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:54 +0000] rev 1135
Hook up the ACL system for documents.
Org access checks are left unimplemented as they are not done yet.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:21 +0000] rev 1134
Final changes to the document model
With a seperate set of read and write permissions it is possible to
very accurately specify the ACL of the document.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 22:32:01 +0000] rev 1133
Added a rights module
The purpose of this module is to translate from document prefix
and status to a set of access checks.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 22:23:23 +0000] rev 1132
Replace name_on_certificates property with name_on_documents, since mentors, club admins, hosts and org admins don't get certificates it's better to name it 'Name on documents' which can indicate any kind of documents including awards certificates. Also don't show name_on_documents in public Role profiles, instead show user public name in that place.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 21:32:29 +0000] rev 1131
Changed display_name to name_on_certificates in models/role.py.
This is to make the intention of this property more clear as to display_name which would remind people of for instance nicknames or a replacement for their public name for this role.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:46:55 +0000] rev 1130
Added view and templates for mentors.
Mentors can be invited or send a request to become a mentor for a specific org.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:33:40 +0000] rev 1129
Fixed a bug in soc/views/models/role.py.
This bug allowed the creation of only invalid requests opposed to valid requests.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 19:02:53 +0000] rev 1128
Added a view and templates for the organization admin.
This means that org admins can now be created/invited.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:58:09 +0000] rev 1127
Fixed two small errors.
Removed an unnecessary edit_extra field in club.py.
And made group.py call getForCurrentAccount where necessary.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:55:34 +0000] rev 1126
Added organization view and templates.
Also added TODO's so it's clear what still needs to be done to make this work.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:44:00 +0000] rev 1125
Removed obsolete _editPost and _editGet in soc/views/models/club.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:25:11 +0000] rev 1124
Reverting a change from r1732 for reasons stated in soc/logic/models/group.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 18:06:34 +0000] rev 1123
Changed scope_logic for requests to linkable_logic.
This makes the scope_path for a requests of a variable length which is needed for reuse.
Patch by: Sverre Rabbelier and Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 17:01:56 +0000] rev 1122
Removed workflow type as keyfield from program.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:20:11 +0000] rev 1121
Added mentor and org_admin logic.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 16:16:44 +0000] rev 1120
Add an 'unread' style and add 'new document' link for user
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:15:53 +0000] rev 1119
Fixed a string formatting bug in soc/views/models/role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:07:30 +0000] rev 1118
When moving stuff please make sure that all your belongings are safely secured.
Brown Paper Bag fix.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:04:22 +0000] rev 1117
Fixed a bug in role.py that made it call the wrong superclass.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 16:03:14 +0000] rev 1116
Moved create_extra_dynafields from club_admin and member to role.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 15:41:45 +0000] rev 1115
Cleanups in base.Logic
* Use regular kwargs instead of **kwargs
* Fold getKeyNameFromFields into _keyName
* Fold getIfFields into getFromFieldsOr404
* Rename getKeyValues to getKeyValuesFromEntity
* Rename getKeyFieldsFromDict to getKeyFieldsFromFields
* Rename getFromFieldsOr404 to getFromKeyFieldsOr404
* Rename getKeyValues to getKeyValuesFromEntity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 15:40:32 +0000] rev 1114
Add checkIsProgramActive to the rights flushing
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:39:05 +0000] rev 1113
Small changes in Mentor model (we don't inherit from Reviewer anymore since model inheritance is not supported in datastore).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:38:04 +0000] rev 1112
Add Organization Administrator model.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 14:37:39 +0000] rev 1111
Remove not used Administrator model that is replaced by Host model.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 14:18:02 +0000] rev 1110
soc/views/models/club.py now uses getForCurrentAccount where necessary.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:59:49 +0000] rev 1109
Edited the access check for show in site settings.
Not everyone should see our keys :).
And also moved the template to site folder and changed presence back to the way it should be.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:49:50 +0000] rev 1108
Added rights to soc/views/models/timeline.py.
Only a developer or a host for the program this timeline is for can edit it now.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 13:48:48 +0000] rev 1107
Added status to program.
Also added a new access_check and changed the program edit template to the basic one without edit timeline button.
Changed the program menu to show more helpful links like Edit Timeline.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:59:52 +0000] rev 1106
Flush sidebar when creating a new entity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:36:07 +0000] rev 1105
Update site/home.html to match the new document structure
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 31 Jan 2009 12:36:06 +0000] rev 1104
Added a Create a New Program link to the Program Owners's menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:35:40 +0000] rev 1103
Flush sidebar when creating site entity
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:22:01 +0000] rev 1102
Brown paper bag fix
We can only add the create link if there is a site entity.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:12:05 +0000] rev 1101
Made presence document retrievel specify prefix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 31 Jan 2009 12:11:34 +0000] rev 1100
Added a 'create new document' link to site
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 11:28:05 +0000] rev 1099
Remove simplejson module from our repository since it's a duplicate of django.utils.simplejson.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 31 Jan 2009 11:25:53 +0000] rev 1098
Use django.utils.simplejson in soc.views.models.base pick method instead of our standalone simplejson module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:02:20 +0000] rev 1097
Add a 'Create new document' link for clubs, sponsors and programs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:01:52 +0000] rev 1096
Added a getCreateDocumentRedirect
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:01:27 +0000] rev 1095
Add access control to document model and view
The access checks are not yet written, but at least the model is
stable from now on.
Also converted the document view to dynaform while at it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:49 +0000] rev 1094
Factor out the getPattern logic from params
This is to facilitate it's use by the document view later on.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:23 +0000] rev 1093
Made the /create/<scope> url conditional
The 'no_create_with_scope' parameter can be used to disable it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 22:00:01 +0000] rev 1092
Removed unused key_fields_prefix variable
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:59:38 +0000] rev 1091
Moved is_featured property to Document
Only Documents can be featured in the sidebar, as such it makes sense
to have this property in the Document model.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:59:13 +0000] rev 1090
Added missing dot.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:58:53 +0000] rev 1089
Copy the default django patterns rather than modifying them
This prevents an ever-growing list of urls in the case that
getDjangoURLPatterns is called multiple times.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 30 Jan 2009 21:58:31 +0000] rev 1088
Added a clean_scope_path to cleaning
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Fri, 30 Jan 2009 20:16:53 +0000] rev 1087
Fix the notification bar messages that show up when you click 'Save Changes' button. It only works on Edit views right now.
Patch by: Madhusudan C.S
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:44:31 +0000] rev 1086
^_^, fixed header in templates/soc/request/list/heading.html.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:38:28 +0000] rev 1085
Renamed state to status where appropriate.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 17:23:19 +0000] rev 1084
Requests can now not be created when you already have a similar request or already have the role the request is for.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:46:08 +0000] rev 1083
Moved clean_club_app_link_id to cleaning.
This method is now also used by the club create_form. Which means that you cannot create a new club with an already reserved link_id until the club application has been rejected.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:30:43 +0000] rev 1082
Changed group_app logic to support scope_path.
Moved link_id only as keyvalues to club_app.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:16:48 +0000] rev 1081
Added a cleaning method to club_app view.
This ensures that you can't create a application for an already taken Link ID.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 11:15:26 +0000] rev 1080
Changed status in group app model to state.
Also changed it wherever needed to increase consistency.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 10:36:23 +0000] rev 1079
Changed clean_link_id to be in a wrapper form as well.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:44:46 +0000] rev 1078
Deleted soc/models/member.py since it's the equivalent of club_member.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:43:11 +0000] rev 1077
docstring fix in soc/models/student.py.
Patch by: Haoyu Bai
Reviewed by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 30 Jan 2009 09:31:56 +0000] rev 1076
Added agreed_to_tos_on field in user and role model.
Also the user and user_self view no properly handle this new field.
The ToS will be shown on-screen (not in a nice way) only if it is in effect and a user has not signed it yet.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:07:04 +0000] rev 1075
Cleaned up overly enthousiastic comments
From the styleguide:
On the other hand, never describe the code. Assume the person reading
the code knows Python (though not what you're trying to do) better
than you do.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:05:37 +0000] rev 1074
Properly check if a program is active
Also cleaned up checkIsHost, which got merge-mangled when refactoring
the access module.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:04:12 +0000] rev 1073
Factor out the allowIfCheckPasses logic
Keep allowDeveloper around as convenience method though.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 23:02:47 +0000] rev 1072
Fix EOL damage and add link to first row item for notifcations
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 20:40:34 +0000] rev 1071
Added menu entries for a specific Sponsor Entity.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 20:29:07 +0000] rev 1070
Fixed rights flushing
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:26:03 +0000] rev 1069
Added resign as club admin and club member links to the club entity menu.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:18:20 +0000] rev 1068
Changed docstring for checkIsAllowedToManageRole.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:13:21 +0000] rev 1067
Added manage view for Club Admins, Club Members and Hosts.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:11:11 +0000] rev 1066
Added checkIsAllowedToManageRole to access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 18:10:21 +0000] rev 1065
Added manage redirect.
Also changed the menu layout for group entities.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 16:12:57 +0000] rev 1064
Edited existing templates to deal with the new fields in group model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:55:40 +0000] rev 1063
Redone access checks in club and sponsor model to deal with state property in their model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:54:50 +0000] rev 1062
Creating a new host or club_admin will set the group state to active if it's new.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:53:35 +0000] rev 1061
Redone access checks concerning groups to deal with the state property.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:46:33 +0000] rev 1060
Added state and shipping address fields to group model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 29 Jan 2009 15:38:41 +0000] rev 1059
prefixing the link_id of a notification with a t for time to agree to the new link_id pattern.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 29 Jan 2009 09:33:50 +0000] rev 1058
Fix regexp for link id format validation. Link id needs to start with ASCII lowercase and not with digit, which caused User Profile view to crash.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 29 Jan 2009 08:14:46 +0000] rev 1057
Fix typos in comments and help text in soc.models.program module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 29 Jan 2009 01:39:31 +0000] rev 1056
Added a simple slot allocation algorithm
Comes with a whole bunch of tests, but not nearly enough.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 23:52:25 +0000] rev 1055
Update test to match new sidebar caching signature
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 23:49:45 +0000] rev 1054
Add forgotten __init__.py to pymox
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Wed, 28 Jan 2009 21:01:37 +0000] rev 1053
Rename the confusing Tossed Model class to PresenceWithToS.
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 20:27:16 +0000] rev 1052
Added a 'allocations_visible' property to program
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 20:21:15 +0000] rev 1051
Create a new Tossed layer in the MVC
Also move is_enabled to program instead of presence.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 18:24:20 +0000] rev 1050
Add 'Flush Cache' button next to Admin link. It's visible only when working on dev_appserver locally. This is a quick way of flushing memcache.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 18:23:45 +0000] rev 1049
Fixed the edit site view having a delete button
Also a minor cleanup in group.py.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 17:33:05 +0000] rev 1048
Changed access.py to comply more with the style of the module.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 17:31:02 +0000] rev 1047
Changed the Terms Of Service boolean so that it is None as long as the user owning the account has not Agreed to it.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 16:50:54 +0000] rev 1046
Changed the verbose name for agrees_to_tos to I agree to the Terms of Service.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 16:48:41 +0000] rev 1045
Removed default value for agrees_to_tos in soc/models/user.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 16:40:16 +0000] rev 1044
Reverted r1646.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:43:30 +0000] rev 1043
Redone the user's profile page.
A user can now create his profile on /user/create_profile.
A user can edit his profile on /user/edit_profile.
Created new access checks to correctly allow access to the new profile page.
Changed the /user/edit_self.html template to /user/edit_profile.html.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:40:44 +0000] rev 1042
Renamed _getToSExampleText to getToSExampleText in soc/views/models/user.py.
Removed a TODO that has already been done.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:33:53 +0000] rev 1041
Added default values to the User model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:32:57 +0000] rev 1040
Added a TODO to soc/logic/models/site.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 15:31:54 +0000] rev 1039
Added new clean_agrees_to_tos to cleaning.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 15:25:50 +0000] rev 1038
Allow for a program on/off switch
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 15:24:02 +0000] rev 1037
Fix wrong order of decorators and some cleanup
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 15:22:34 +0000] rev 1036
Add an 'edit' link to the program menu
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 14:18:31 +0000] rev 1035
Allow for setting a edit_cancel_redirect
Defaults to list view for the entity but can be overriden by setting
the parameter manually. Falls back to history.go(-1) if not set.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 14:16:46 +0000] rev 1034
Make the user/edit.html template derive from soc/models/edit.html
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 14:15:00 +0000] rev 1033
Also flush the user's ACL's when flushing the sidebar
It is pretty pointless to flush the sidebar if the same ACL's will
be re-used anyway, so make sure the ACL's are flushed as well.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:26:47 +0000] rev 1032
Style fixes in soc.views.helper.redirects and soc.models.base modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:26:00 +0000] rev 1031
Add gmaps_api_key to context is settings entity exists.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:24:34 +0000] rev 1030
Style fixes in soc.views.models modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:23:19 +0000] rev 1029
Style fixes in soc.cache modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:22:41 +0000] rev 1028
Style fixes in soc.logic.cleaning module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Wed, 28 Jan 2009 11:21:58 +0000] rev 1027
Style and import sorting fixes in tests modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 28 Jan 2009 11:15:32 +0000] rev 1026
Fixed typo's in soc/views/helper/dynaform.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:28:52 +0000] rev 1025
Add grouping to the existing views
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:27:25 +0000] rev 1024
Group dynamically generated menu items
Also allow for grouping other views by setting the 'sidebar_grouping'
param to a value another than 'main'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:25:51 +0000] rev 1023
Bugfixes after recent refactoring
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 02:24:13 +0000] rev 1022
Added Haoyu Bai to the AUTHORS file
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:45:35 +0000] rev 1021
Allow appending to dynainclude/-exclude
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:36:30 +0000] rev 1020
Reduce caching time of sidebar to 3 minutes
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:35:11 +0000] rev 1019
Flush cache if user makes a document featured
Also flush it if a new document is created as featured.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 28 Jan 2009 00:33:47 +0000] rev 1018
Make tooltips work when tabbing
Fixed the tooltips on IE, and changed the background colour to be
nicer on Firefox.
Patch by: Haoyu Bai <baihaoyu@gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 22:59:01 +0000] rev 1017
Cache access checks and disable sidebar caching
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 22:57:19 +0000] rev 1016
Create a decorator for allowDeveloper
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 27 Jan 2009 21:56:32 +0000] rev 1015
Add profiling support to Melange. By assigning profile_main_as_logs or profile_main_as_html to main variable you can turn on profiling. profile_main_as_logs will log profile data to App Engine console logs, profile_main_as_html will show profile data as html at the bottom of the page. If you want to profile app on deployed app just set the profiling function and deploy it.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 27 Jan 2009 20:30:26 +0000] rev 1014
soc/views/models/user.py now uses dynaform and appropriate cleaning methods.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 27 Jan 2009 20:27:50 +0000] rev 1013
Added new clean methods in preparation for new User View.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 13:36:45 +0000] rev 1012
Fold checkAgreesToSiteToS into checkIsUser
No use in having a check that's not used except in another checker
anyway, so might as well fold it in.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 27 Jan 2009 12:47:28 +0000] rev 1011
Removed unused URL pattern in soc/views/models/request.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 11:17:18 +0000] rev 1010
Fixed two access related bugs
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 27 Jan 2009 11:15:49 +0000] rev 1009
Added some very basic tests for the sidebar and access modules
Also updated run.py to set the USER_EMAIL variable.
Patch by: Sverre Rabbelier
Augie Fackler <durin42@gmail.com> [Tue, 27 Jan 2009 04:09:57 +0000] rev 1008
Fix testing views, which broke because now we need to register a proxy for the
memcache API as well.
Patch By: Augie Fackler <durin42@gmail.com>
Review By: TBR
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 26 Jan 2009 23:32:10 +0000] rev 1007
Major refactor of the access module
The first step to sanity is a leap into the unknown? Create an object
to represent the access checks for each module instead of a bunch of
loose functions.
Converted all views and params.py to use the new access checker.
Main differences:
* arguments to a checker can be passed by using a tuple
* checkers are referenced by string, rather than directly
* the Checker constructor handles merging with child views
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 21:22:53 +0000] rev 1006
Added a sidebar link for all users that accepted the ToS to a view that allows you to choose a club which you want to become a member for.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 20:33:20 +0000] rev 1005
Changed method name in access.py to fix overwriting another method.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 17:19:14 +0000] rev 1004
Fixed typo in club sidebar entry.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 17:11:54 +0000] rev 1003
Added sidebar entries for club entities.
Added the right['home'] to club and sponsor view.
Fixed some comments in the group view.
Also added a TODO for the sponsor sidebar entries.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 17:08:27 +0000] rev 1002
Added sidebar support for group instances.
Also group now properly inherits from the presence view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 16:11:50 +0000] rev 1001
Flush the sidebar cache when a new active role entity has been created.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Mon, 26 Jan 2009 16:04:19 +0000] rev 1000
Add pymox to tests folder.
Requested by Sverre.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 14:51:07 +0000] rev 999
Developers are hosts for every sponsor now.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 26 Jan 2009 09:44:00 +0000] rev 998
Implemented the listing of all the roles in for a specific group.
Removed a TODO about removing the tolist assignment in soc/views/models/host.py because this list is now obsolete.
Added a TODO to change the redirect of the member listing once the manage page is done.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 23:35:39 +0000] rev 997
Added flushing the sidebar when dealing with notifications.
On request from Pawel Solyga.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:42:09 +0000] rev 996
Renamed checkIsHostForProgram to checkIsHostForSponsor.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:30:42 +0000] rev 995
Added rights check to sponsor.py.
In the process of doing so also fixed checkIsHostForProgram method in access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:15:13 +0000] rev 994
listRequests now only shows the requests that concerns the given group.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 22:05:25 +0000] rev 993
Renamed role_names to role_logic and made it a dictionary.
It now maps a role_name to role_logic. This will be useful for listing for instance club members.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 21:52:35 +0000] rev 992
Fixed a bug in access.py.
Context was not assigned to a variable during a redesign of access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 21:03:12 +0000] rev 991
Added cache flush for the user who creates a group and the user whose role has been activated.
As requested by Sverre Rabbelier.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 16:50:24 +0000] rev 990
Added two needed redirects in role.py.
To make this work properly group_view was added to params in club_admin and club_member.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 16:43:15 +0000] rev 989
Moved listRequests from club to group view.
Added a TODO for adding request list to sidebar entry for every group. And for setting the rights for Sponsor view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 16:29:36 +0000] rev 988
Flush the sidebar if a user's rights change
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 16:28:07 +0000] rev 987
Cache sidebar with a simple caching API
We cache the sidebar once for every user, the downside is that once
the user meets new access criteria, their sidebar does not get
updated. This can be fixed by calling soc.cache.sidebar.flush() when
appropriate.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 16:25:17 +0000] rev 986
Rename ModelProperties to EntityProperties
We use 'model' when referring to the db.Model, the context in which
'ModelProperties' was used we really mean 'entity', which refers to
an instantiation of the model.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 16:17:33 +0000] rev 985
Added getListRequestsRedirect to redirects.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 15:09:10 +0000] rev 984
Forgotten in last commit, the json template
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 15:03:12 +0000] rev 983
Added request listing for Club Admins.
This page will redirect them to the Request Processing page.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 15:01:55 +0000] rev 982
Changed the title for the process_request webpage.
Also removed some whitespace.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 14:43:49 +0000] rev 981
Added getProcessRequestRedirect method to redirects.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 12:28:26 +0000] rev 980
Added Club Members to SoC.
Every user can request to become a Club Member. Club Admins can invite users.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 12:22:53 +0000] rev 979
Added checkCanMakeRequestToGroup to access.py.
Note that states for a group have not been implemented yet, so a TODO has been added for this check.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 12:20:35 +0000] rev 978
Moved getGroupEntityFromScopePath to logic/models/role.py.
Also removed a TODO that has been done :).
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 11:44:25 +0000] rev 977
Have /entity/pick return a JSON object instead of a user view
This is in preparation of a patch that will add a more fancy picker
with JS.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 25 Jan 2009 11:31:40 +0000] rev 976
Add simplejson folder to build.sh script.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sun, 25 Jan 2009 11:31:15 +0000] rev 975
Add simplejson library to app folder.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sun, 25 Jan 2009 09:10:23 +0000] rev 974
Removed unused method from access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:04:11 +0000] rev 973
Do not pass around request anymore in buildSidebar
It is no longer needed since checkAccess doesn't require it.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:02:41 +0000] rev 972
Remove the request and arg parameter from the checkAccess call
They are obsolete with the introduction of kwargs (args was never
needed in the first place).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 25 Jan 2009 00:01:19 +0000] rev 971
Use getSingleton in getUniversalContext
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 24 Jan 2009 23:56:34 +0000] rev 970
Use ugettext instead of ugettext_lazy
Reports from Matthew Wilkes indicate that the regular form of
ugettext works just fine. The downside of ugettext_lazy is that it
prevents pages containing ugettext_lazy-ed text cannot be memcached,
since they cannot be pickled.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 21:38:28 +0000] rev 969
Brown paper bag fix.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:51:51 +0000] rev 968
Fixed a bug in _editPost for club_admin and host.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:44:32 +0000] rev 967
Changed clean_url to work with dynaform.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 20:17:35 +0000] rev 966
Fixed a bug in _oncreate in soc/logic/models/club.py.
Non-existing fields were set.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 18:21:50 +0000] rev 965
Changed user_logic call to it's convenience function getForCurrentAccount.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 17:09:02 +0000] rev 964
Coding style fix in views/models/role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 17:07:26 +0000] rev 963
Parameterized patterns in role.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 16:39:34 +0000] rev 962
Added request creation and processing to role.py.
This is used if you want to request to become a certain role for a group. For instance becoming a club member.
The process request view will also be used to cancel outstanding invites might this be necessary.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 14:14:14 +0000] rev 961
Add Madhusudan.C.S to AUTHORS. Fix docstring parameters list in soc.logic.models.base module Base class getForFields method.
Patch by: Madhusudan.C.S
Reviewed by: Pawel Solyga
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 14:14:11 +0000] rev 960
Added checkCanProcessRequest in access.py.
This is used in the upcoming Request patch.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:54:59 +0000] rev 959
Some style guide fixes, docstring fixes and removal of unused imports in different modules. Rename acceptInvite view variable to accept_invite in soc.views.models.host module to comply to our style guide.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:51:47 +0000] rev 958
Fix some missing dots in access and club_admin modules.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:50:59 +0000] rev 957
Add missing parameter description to docstring of soc.views.models.base module methods.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:47:21 +0000] rev 956
Make select link in _as_table_row.html a nice button instead of <a href>.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 12:45:57 +0000] rev 955
Remove extra whitespaces and fix too long lines in soc.logic.helper.request module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:25:15 +0000] rev 954
Remove unused imports from soc.models.club_admin model.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:24:45 +0000] rev 953
Remove extra blank lines in soc.views.models.request module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:24:07 +0000] rev 952
Rename acceptInvite view variable to accept_invite to comply to our style guide. Remove unused imports. Add missing blank lines in soc.views.models.club_admin module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:12:07 +0000] rev 951
Rename processInvite view variable to process_invite to comply to our style guide. Remove some not needed whitespaces. Fix listSelf method parameters docstring in soc.views.models.request module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 11:10:22 +0000] rev 950
Added missing dot to access.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:07:16 +0000] rev 949
Check if timeline exists and when somebody tries to edit non existing timelime display error message. Add TODO regarding error message customization for Timeline. Add support for calendar widget in timeline for both gsoc and ghop programs (gsoc was hardcoded before).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 11:04:15 +0000] rev 948
Add missing blank lines and remove unused checkIsInvited function from soc.views.helper.access module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:59:28 +0000] rev 947
Rename soc/request/list/row.html template column class "to" to "for" since the name changed in header template.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:57:53 +0000] rev 946
Add missing dots in soc.views.helper.redirects module function docstrings.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Sat, 24 Jan 2009 10:56:18 +0000] rev 945
Little change in soc.logic.hlper.request module completeRequestForRole function docstring.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 10:19:17 +0000] rev 944
Refactored invite system from club_admin to role to make the system work with host as well.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 10:18:30 +0000] rev 943
Fixed an access related bug in checkIsClubAdminForClub.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 24 Jan 2009 00:27:36 +0000] rev 942
Fixed bug in access.py concerning host checks.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 24 Jan 2009 00:07:34 +0000] rev 941
Add a warning about discarding unsaved changes
Also set the colspan of the label (on seperate row) to max.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 23:42:07 +0000] rev 940
Changed the access checks to comply with state in request.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:57:10 +0000] rev 939
Make reference picker work for create too
Caveat, it only works for one reference atm.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:20:20 +0000] rev 938
Brown paper bag fix
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 22:17:49 +0000] rev 937
Do not crash if an invalid field name is entered
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:22:09 +0000] rev 936
Enable pick links for all the references we have
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:20:33 +0000] rev 935
Adust the as_table tag to render a pick link if appropriate
The templates are adjusted to pass on a 'reference' value, which
is the url_name of the view from which the entity should be picked.
The as_table (and related) function(s) construct and then pass on
this argument and enable takes_contex so that we have access to the
context of the enclosing template.
We only extract ReferenceProperties that end with '_link_id' since
that is how all RP's are currently named. It is not possible to
create a field with the same name as the RP, as GAE will try to
interpret it's contents as the key of an entity before even calling
any function we can override.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:18:39 +0000] rev 934
Add a 'pick' view to the appropriate views
Only views that represent entities that are pointed to by a
ReferenceProperty at some point are considered 'appropriate'.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:17:01 +0000] rev 933
Added a 'pick' view
This view can be used to pick a specific document and then redirect
to another view.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:15:16 +0000] rev 932
Add redirects for the new pick view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 21:04:45 +0000] rev 931
Add a simple access check for a picker
The picker page should not be accessible if the required GET args are
not present.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:51:35 +0000] rev 930
Added missing changes from r1522.
Eclipse found it funny not to save resources ^_^.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:41:30 +0000] rev 929
Renamed redirect methods to comply with the rest of the module.
Added use for getInviteAcceptedRedirect in the soc/views/models/request.py process_invite view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 17:07:54 +0000] rev 928
Replaced the boolean properties in soc/models/request.py with a state property.
new : new Request
group_accepted : The group has accepted this request
completed : This request has been handled either following a creation of the role entity
rejected : This request has been rejected by either the user or the group
ignored : The request has been ignored by the group and will not give the user access to create the role
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:54:46 +0000] rev 927
Restore context in deny() page
Now that we know when the sidebar is doing the access checks we can
safely construct a new context in deny (without having to worry that
it will try to do more access checks that result in deny, which will
call for a new context... etc).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:53:19 +0000] rev 926
Bugfixes to last commit
Access rights for 'home' pages and an errornous endif tag.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 16:23:01 +0000] rev 925
Removed club property from club_admin model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 16:21:28 +0000] rev 924
Generate proper html instead of having nested <td> tags
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:32:58 +0000] rev 923
Hook up the 'home' view for site and program
Also point to it in the sidebar's "home" link.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:31:13 +0000] rev 922
Generate the 'edit settings' link dynamically
We used to point to '/site/edit', which is rather lame for a generic
presence template (especially since site has it's own template).
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Fri, 23 Jan 2009 15:29:42 +0000] rev 921
Create a new 'home' view for Presences
This also restores the 'show' view for Presences as there is no
need to hide it with the 'home' view anymore.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 12:00:48 +0000] rev 920
Added the new way to process invites for club_admin only.
This patch contains the separability needed to ensure that we can successfully do the access checks we need.
Host invites can for the time being only be completed by developers due to the reorganization.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:40:35 +0000] rev 919
Added missing comment to soc/views/models/club.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:39:14 +0000] rev 918
Changed the request templates to match the changes to the model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:38:24 +0000] rev 917
Added missing role_verbose.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:36:55 +0000] rev 916
Redid removeRequestForRole to completeRequestForRole.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:34:58 +0000] rev 915
Added verbose role name to the request model.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 11:32:53 +0000] rev 914
Added various access methods in preperation for the new request system.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 09:08:26 +0000] rev 913
Added state property to role model.
This can be used when for instance a member has been removed from a club or a when a program has been marked inactive. Certain roles would then be shown on the upcoming roles page marked as previous roles. This would give us the archiving capability that was shown in the mockup.
Patch by: Lennard de Rijk
Reviewd by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 23 Jan 2009 08:49:09 +0000] rev 912
Renamed org property in club_admin model to club.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 23:20:15 +0000] rev 911
Add slots and student applications/tasks limit integer properties to the Program model.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 22 Jan 2009 22:54:46 +0000] rev 910
Change build.sh to create a build/ output directory (rather than release/).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 22 Jan 2009 22:35:41 +0000] rev 909
Move make_release.sh to build.sh.
This script creates a "build" really, not a release. A separate release.sh
script should be written to automate the current manual release process (at
some point...).
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:04:00 +0000] rev 908
Remove unused decorators import from soc.views.models.role module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:03:32 +0000] rev 907
Fix idention in soc.views.models.club module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:02:40 +0000] rev 906
Fix missing dots in soc.views.helper.decoratos module docstrings.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 22 Jan 2009 22:01:16 +0000] rev 905
Rename clean_existing_user_not_equal_to_current function to clean_users_not_same in soc.logic.cleaning module and fix affected files.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 17:26:14 +0000] rev 904
Hide the 'link_id' field for site
Also construct the scope_path from the fields in case the entity
has not yet been created.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 17:23:17 +0000] rev 903
Rename "site/settings" to "site"
The "/site/settings" view is not about the Site Settings an sich, but
more about the "site presence singleton". In this context it does not
make sense to call it "site/settings".
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 16:05:49 +0000] rev 902
Fixed one style error and one typo.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:04:48 +0000] rev 901
Presence is now a 'abstract' View, pull in members from program
This is signified by the removal of params['name'] and other values
that are required by params.py, but also by the removal of the 'view'
definition at the bottom of the file.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:03:17 +0000] rev 900
Extend dicts.merge to be (optionally) recursive
This is very useful when dealing for views that expect to be
inhereted from but wish to provide default values.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 22 Jan 2009 16:01:51 +0000] rev 899
Fix form errors and hidden form errors
The conversion to django left out the 'prettyfying' of form and
hidden form errors, as these could occur when running live, restore
this behavior.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 13:50:25 +0000] rev 898
Added a cleaning method for a LinkProperty Field.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 00:07:36 +0000] rev 897
Fixed wrong conditional in soc/views/models/club_app.py.
Notifications will now be send again.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 22 Jan 2009 00:03:28 +0000] rev 896
Fixed import sorting and indentation in soc/views/models/club.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 23:44:02 +0000] rev 895
Even developers need to agree to the terms of service for Melange
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 23:43:16 +0000] rev 894
Corrected the list index parameters in soc/views/models/club_app.py
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 23:18:39 +0000] rev 893
Added Ignored applications to the list view.
Also restored the New Club notification upon application acceptance. That broke in r1483.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 22:47:22 +0000] rev 892
Replaced boolean properties in soc/models/group_app with status property.
This property has 5 choices ['accepted','rejected','ignored','needs review','completed']
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 22:21:40 +0000] rev 891
Move getToSLink() to soc.views.helper.redirects.getToSRedirect().
Fixes a circular import problem that prevented the site-wide ToS link from
being displayed by checkAgreesToSiteToS(). This is now completely implemented.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:41:36 +0000] rev 890
Tighten more checkIsUser() access to checkAgreesToSiteToS() instead.
Update the checkIsHost() comment.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:32:51 +0000] rev 889
Make checkAgreesToSiteToS() the default access check for many other checks.
Replace checkIsUser() with the more-strict checkAgreesToSiteToS(). Also, add
missing args and kwargs parameters to checkAgreesToSiteToS() that were missed
in the merge right before commit.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:25:18 +0000] rev 888
Add checkAgreesToSiteToS() (partially implemented until circular import fixed).
Need to fix a circular import problem before the alternate message will
include a link to the site-wide ToS Document.
Also, fixed the descriptions in the first few check...() functions.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 21:09:52 +0000] rev 887
Take advantage of new "from ... import ... as ..." rules in the style guide.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 20:25:07 +0000] rev 886
Added clean_existing_user_not_equal_to_current to clean the backup Administrator field in an application.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:53:23 +0000] rev 885
Changed the redirect in club application overview to the correct page.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:45:13 +0000] rev 884
Changed checkIsClubAppAccepted into a more generic checkIsApplicationAccepted.
Also fixed a minor bug in club_app view.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:40:39 +0000] rev 883
Changed the collection name and help text for Organization member template.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 19:32:00 +0000] rev 882
Added club_app model and logic.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 18:50:22 +0000] rev 881
Added created and last modified timestamps to the group_app model.
Also edited the templates to show some extra information. The review template has the names for the new properties hard coded because the auto_add and auto_add_now datetimeproperties don't show up in the fields of the entity.
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 18:25:37 +0000] rev 880
Fixed typo in r1446.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 16:13:51 +0000] rev 879
Changes in Role model.
Clarified that we are asking for a shipping adress. Also moved Agrees to ToS to the bottom.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:13:18 +0000] rev 878
Fix trailing whitespace and apply decorators
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:13:03 +0000] rev 877
Fix whitespace damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:48 +0000] rev 876
Make use of the new decorators in all applicable views
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:31 +0000] rev 875
Renamed showReviewOverview to review_overview and reviewOverview
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:16 +0000] rev 874
Fixed two trivial bugs
A "kwargs=kwargs" instead of **kwargs
Missing 'and entity' check
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:12:01 +0000] rev 873
Added a merge_params and check_access decorator
The merge_params decorator is very simple and takes self._params and
merges it with params. It's main purpose is to explicitly mark the
views in which it is intended that self._params is merged raw.
The check_access decorator factors out the access checking process
and passes args and kwargs to the access checking methods.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Wed, 21 Jan 2009 16:11:47 +0000] rev 872
Prepare access to receive args and kwargs as argument
Also use two "magic values" when the sidebar is doing the access
checks, this might be useful later.
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:35:10 +0000] rev 871
Reverted r1457.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:29:58 +0000] rev 870
Changed link in club_app accepted notification.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 15:11:45 +0000] rev 869
Added a new view to help with application -> group process.
The applicant view is available only when there is an accepted application present. This will be checked by the access checker in an upcoming patch. The view uses a special form so that certain fields cannot be edited by the user. These fields correspond to important fields filled in during the application process.
Create access for a club has now been set to Host level.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 14:57:12 +0000] rev 868
onCreate for a Club now marks any application for the same club as completed and invites the admins.
This is useful for when the club has been created without using the application.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 14:36:44 +0000] rev 867
Edited the method used to clean link_id in params.py.
Removed the clean_new_link_id from the logic/cleaning.py module because this is not used anymore.
This method should be replaced by a method that is used after all the fields have been cleaned so that the actual key_name of an entity can be constructed.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 21 Jan 2009 13:55:06 +0000] rev 866
Fixed a typo in the comments of soc/views/helper/forms.py
Patch by: Lennard de Rijk
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:39:29 +0000] rev 865
Fix missing import identified by pylint.
************* Module app.soc.logic.models.user
E0602: 99:Logic.agreesToSiteToS: Undefined variable 'db'
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:37:43 +0000] rev 864
Fix missing import identified by pylint.
************* Module app.soc.logic.models.presence
E0602: 56:Logic.getToS: Undefined variable 'db'
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:34:43 +0000] rev 863
Fix missing import identified by pylint.
************* Module app.soc.views.helper.responses
E0602:187:getToSLink: Undefined variable 'db'
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:31:55 +0000] rev 862
Add agreesToSiteToS() logic method to indicate if User accepts site-wide ToS.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:18:07 +0000] rev 861
Give error messages more room in the existing form field "as_table" templates.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 02:14:05 +0000] rev 860
Add a clean_agrees_to_tos() validator that requires "Yes" if ToS exists.
Also, more user_logic.logic => user_logic fixes. If you are going to import
"as", you might as well make the renaming worthwhile. Maybe we need to add
a section on "import ... from ... as ..." in the style guide?
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 00:32:05 +0000] rev 859
Change "Show" to "Export" missed in r1446 commit.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 21 Jan 2009 00:27:39 +0000] rev 858
Add an export() view, and implement it as text/text for Document.
For every Model except Document, the public() view is displayed for any
attempts to access the export() view.
Currently, the permissions for export() are the same as for public(). This
seems reasonable for Document, since anyone could extract the raw HTML from
the page source anyway. The permissions should probably be different for
other types of exports, such as vCard or iCard exports of profiles, CSV
exports of lists, etc.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 23:13:03 +0000] rev 857
If a site-wide ToS exist, display the User profile "Agrees to ToS" checkbox.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 23:01:24 +0000] rev 856
Set agrees_to_tos example text to link to site-wide ToS (or a warning message).
Also, since a renaming import statement is being used already, change
user_logic.logic to just user_logic.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:33:43 +0000] rev 855
Do not crash on *every* page load if there is no ToS Document.
'tos' ReferenceProperty might be present, but still be None.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:30:21 +0000] rev 854
A better way to add site-wide ToS link to *all* pages on the site.
getUniversalContext() already fetches a copy of the Site settings, so use that
to see if the site-wide ToS exist and produce a link.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 22:21:32 +0000] rev 853
Linux /bin/sh (GNU) is not the same as OS X /bin/sh (BSD), so use /bin/bash.
Fixes:
scripts/pylint/do_pylint.sh: 27: Syntax error: "(" unexpected
on Ubuntu (and possibly other Linux distros).
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 22:01:02 +0000] rev 852
Replace css class 'notice' that is used in User profile template field help text with new 'fieldhelptext' class. Notice is part of CSS for notification bar and we want width limit just for field help text not for notification bar text.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 21:48:28 +0000] rev 851
Add getSingleton() method to return the Site settings entity.
There is always only one Site entity, referred to by DEF_SITE_LINK_ID.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 21:37:30 +0000] rev 850
Return the ToS Document of the supplied Presence entity, if there is one.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 21:26:34 +0000] rev 849
Support HTML tags in form field example_text column.
Improve the Program Model example_text as an example.
Patch by: Todd Larsen
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 21:00:55 +0000] rev 848
Disable R0801 messages in pylintrc. R0801 messages indicates that a set of similar lines has been detected among multiple file. This usually means that the code should be refactored to avoid this duplication but in our case it's useless since it shows a lot of imports code or authors.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 20:52:12 +0000] rev 847
Add calendar widget support for timeline fields. Fix docstring typo in soc.views.models.timeline module. Add timeline edit template which loads necessary javascript files for datetimepicker widget.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 20:49:49 +0000] rev 846
Remove member_template from extra_dynaexclude in soc.views.models.club since member_template is only available in Organization as of recent commit.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 20:16:07 +0000] rev 845
Add the agrees_to_tos property to Roles (as its own changeset this time...).
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 20:04:21 +0000] rev 844
Make getToSLink() an actual method for re-use by others.
Uses the views.helper.redirects module to create the /document/show path,
instead of hard-coding it as a format string.
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 19:40:41 +0000] rev 843
Fixed EOL and whitespace damage
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 17:56:10 +0000] rev 842
This file should not have been included in r1428. Reverting...
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Tue, 20 Jan 2009 17:53:36 +0000] rev 841
Changing ReadOnlyBool to type "text" makes it display "True" or "False".
Patch by: Todd Larsen
Review by: to-be-reviewed
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 17:41:47 +0000] rev 840
When constructing the sidebar don't overide 'sidebar'
Instead specify 'sidebar_additional' and include it even if there
is a 'sidebar' defined.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:31:53 +0000] rev 839
Add datetimepicker javascript widget files and css file.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:27:36 +0000] rev 838
Set notice width to 450px. It was way too long. Notice is displayed with help text on yellow background in User profile.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:12:55 +0000] rev 837
Add missing blank line in soc.views.helper.params module. Fix docstring typo in soc.views.models.role module. Add missing dots at the end of sentences in soc.logic.cleaning and soc.view.models.user_self modules.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:10:04 +0000] rev 836
Add missing 'of' word to list description strings in soc.views.models.club_app module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:09:09 +0000] rev 835
Add missing blank lines and dots in soc.views.helper.templatetags.forms_helpers module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:08:16 +0000] rev 834
Move member_template property from Group to Organization model since it's Organization specific property.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:03:55 +0000] rev 833
Disable R0201 message in pylintrc since we allow for that kind of methods. R0201 tells us that method could be a function. Used when a method doesn't use its bound instance, and so could be written as a function.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 16:00:19 +0000] rev 832
Fix typo in settings.py (missing '>' character).
Patch by: Pawel Solyga
Review by: to-be-reviewed
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 15:59:07 +0000] rev 831
Add missing dots in docstrings. Add sendNotification parameters description to docstring in soc.logic.helper module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 20 Jan 2009 14:12:54 +0000] rev 830
Added missing import to views/models/notification.py
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 20 Jan 2009 14:09:39 +0000] rev 829
Users now have the right to delete their own notifications.
Patch by: Lennard de Rijk
Pawel Solyga <Pawel.Solyga@gmail.com> [Tue, 20 Jan 2009 13:19:45 +0000] rev 828
Load /Users/solydzajs/Downloads/google_appengine into
trunk/thirdparty/google_appengine.
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 01:12:43 +0000] rev 827
Split the notification list in read/unread
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:48:49 +0000] rev 826
Add an unread count indication next to the notification link
Similar to how this is done in gmail.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:48:30 +0000] rev 825
Use 'from .. import .. as ..' in user_self
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:48:16 +0000] rev 824
Fixed whitespace and EOL damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:11:38 +0000] rev 823
Add a 'pending/accepted/denied' seperation to club_app list
This is not only to make it easier to see which applictions have been
accepted, but also to make it possible to redirect to /club/create
for the accepted applications, rather than to /club_app/edit.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Tue, 20 Jan 2009 00:11:21 +0000] rev 822
Fixed whitespace damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:26:09 +0000] rev 821
Send a notifcation if a club application is accepted
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:25:49 +0000] rev 820
Factor out sendNotification from sendInviteNotification
This makes it easier to create different types of notifications,
such as a sendNewClubNotification.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:25:36 +0000] rev 819
Fixed whitespace and EOL damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Mon, 19 Jan 2009 23:25:23 +0000] rev 818
Fixed whitespace damage
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Mon, 19 Jan 2009 16:23:37 +0000] rev 817
Added club_admin templates.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 16 Jan 2009 17:54:46 +0000] rev 816
Added Mario Ferraro to the AUTHORS list.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Fri, 16 Jan 2009 17:52:42 +0000] rev 815
Tooltips now properly disappear when another text box with a tooltip has been highlighted.
Also known as Issue 132.
Patch by: Mario Ferraro
Reviewed by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 15 Jan 2009 17:01:15 +0000] rev 814
Implement the checkIsClubAppAccepted function
Also added a stub for checkIsClubAdminForClub.
Patch by: Sverre Rabbelier
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 22:37:05 +0000] rev 813
Display state (but dis-allow edits) of User's agrees_to_tos boolean Property.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 22:30:24 +0000] rev 812
Add read-only boolean form field widget.
Developers should be able to view, but not change, the User's agrees_to_tos
state.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 22:02:39 +0000] rev 811
Add "agrees to site-wide Terms of Service" boolean property for all Users.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:56 +0000] rev 810
Hide 'tos' pull-down selector from Program profile forms.
Until a way to select Documents for use as the Terms of Service for a Program
exists (see http://code.google.com/p/soc/issues/detail?id=151), there is no
point in hacking in scope_path and link_id fields here. The per-Program ToS
feature will just be unavailable until an appropriate Document selector
exists.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:47 +0000] rev 809
Hide 'tos' pull-down selector from Group profile forms.
Until a way to select Documents for use as the Terms of Service for a Group
exist (see http://code.google.com/p/soc/issues/detail?id=151), there is no
point in hacking in scope_path and link_id fields here. The per-Group ToS
feature will just be unavailable until an appropriate Document selector
exists.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:34 +0000] rev 808
Hide 'tos' pull-down selector from Site Settings forms.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:37:24 +0000] rev 807
Hack in tos_scope_path and tos_link_id to select Terms of Service Document.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:05:15 +0000] rev 806
Show Terms of Service link in footer if tos_link is defined in the context.
Patch by: Todd Larsen
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Wed, 14 Jan 2009 20:05:05 +0000] rev 805
Add a ReferenceProperty pointing to a Terms of Service Document.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 19:11:34 +0000] rev 804
Fixed a bug that was triggered on manual club creation without an application.
Now also sets the application_completed flag upon club creation.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 18:56:54 +0000] rev 803
Fixed missing params in views/models/club_app.py.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:18:10 +0000] rev 802
Added Club Admin model, logic, and view
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:17:44 +0000] rev 801
Invite (backup-)admin when creating a club
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:17:30 +0000] rev 800
Added a create method that uses an existing application
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Sat, 10 Jan 2009 18:17:16 +0000] rev 799
Construct names automatically from base name.
Saves a lot of typing for the common case
Patch by: Sverre Rabbelier
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 14:49:45 +0000] rev 798
Fixed a wrong method being called when accepting/declyning an application.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 14:44:04 +0000] rev 797
Added basic review functionality for club applications.
The access rights are open for discussion.
The review page uses GET data to determine the decision made by the user.
For convenience the Review Club Applications button directs you to a multi-list view so you can see the state of different applications.
The review state will reset whenever the application has been changed using the edit form.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 14:14:38 +0000] rev 796
Fixed a typo in the comment in helper/access.py.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 13:50:41 +0000] rev 795
Added control fields to group_app.
Moved unnecessary fields containing questions about past participation from group_app to org_app.
Updated the club_app public page to show the correct information using twoline layout.
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Sat, 10 Jan 2009 13:28:04 +0000] rev 794
Added _readonly_field_as_twoline_table_row .
Patch by: Lennard de Rijk
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 08 Jan 2009 21:44:03 +0000] rev 793
Resolved a bug when editing a timeline.
Scope path is now set correctly when editing a timeline.
Patch by: Lennard de Rijk
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:24:36 +0000] rev 792
Fixed line-ending and whitespace damage
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:24:27 +0000] rev 791
Added the club_app view, logic and model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:24:10 +0000] rev 790
Removed unneeded params from club
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:52 +0000] rev 789
Moved the member_template field to app and removed 'optional'
Also shortened the verbose_name of the member_template field.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:42 +0000] rev 788
Factored out the clean_existing_user method
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:33 +0000] rev 787
Fix login link
Without the leading slash the link does not work on appspot.
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:24 +0000] rev 786
Fixed a typo in the group_app model
Patch by: Sverre Rabbelier
Sverre Rabbelier <srabbelier@gmail.com> [Thu, 08 Jan 2009 21:23:15 +0000] rev 785
Added a twoline_edit.html page
An as_twoline_edit template tag was added for this purpose. This tag
renders the label field on a seperate line.
Patch by: Sverre Rabbelier
Pawel Solyga <Pawel.Solyga@gmail.com> [Thu, 08 Jan 2009 20:27:21 +0000] rev 784
Fix missing dots at the end of sentences in docstring and fix wrong import sorting in soc.logic.helper.notifications module.
Patch by: Pawel Solyga
Review by: to-be-reviewed
Todd Larsen <tlarsen@google.com> [Thu, 08 Jan 2009 20:09:24 +0000] rev 783
Extract BSD license text into a separate file to make it easier to find.
Patch by: Todd Larsen
Review by: to-be-reviewed
Lennard de Rijk <ljvderijk@gmail.com> [Thu, 08 Jan 2009 17:22:37 +0000] rev 782
Fixed missing files in r1364.
Patch by: Lennard de Rijk
Augie Fackler <durin42@gmail.com> [Thu, 08 Jan 2009 15:31:41 +0000] rev 781
Fix the setup of the test environment, including clearing the datastore
between tests.