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