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