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