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