liquid_feedback_frontend
annotate app/main/help/_action/update.lua @ 11:77d58efe99fd
Version beta7
Important security fixes:
- Added missing HTML encoding to postal address of member
- Link to discussion URL only if it starts with http(s)://
Other bugfixes:
- Fixed wrong display of 2nd level delegating voters for an initiative
- Do not display invited initiators as initiators while voting
- Added missing translation
New features:
- Public message of the day
- Both direct and indirect supporter count is shown in tab heads
- Support shown in initiative lists
Language chooser at the login page has been added (again)
Important security fixes:
- Added missing HTML encoding to postal address of member
- Link to discussion URL only if it starts with http(s)://
Other bugfixes:
- Fixed wrong display of 2nd level delegating voters for an initiative
- Do not display invited initiators as initiators while voting
- Added missing translation
New features:
- Public message of the day
- Both direct and indirect supporter count is shown in tab heads
- Support shown in initiative lists
Language chooser at the login page has been added (again)
| author | bsw |
|---|---|
| date | Fri Jan 22 12:00:00 2010 +0100 (2010-01-22) |
| parents | 80c215dbf076 |
| children |
| rev | line source |
|---|---|
| bsw/jbe@4 | 1 local help_ident = param.get("help_ident") |
| bsw/jbe@4 | 2 local hide = param.get("hide", atom.boolean) |
| bsw/jbe@4 | 3 |
| bsw/jbe@4 | 4 local setting_key = "liquidfeedback_frontend_hidden_help_" .. help_ident |
| bsw/jbe@4 | 5 local setting = Setting:by_pk(app.session.member.id, setting_key) |
| bsw/jbe@4 | 6 |
| bsw/jbe@4 | 7 if hide == true and not setting then |
| bsw/jbe@4 | 8 setting = Setting:new() |
| bsw/jbe@4 | 9 setting.member_id = app.session.member.id |
| bsw/jbe@4 | 10 setting.key = setting_key |
| bsw/jbe@4 | 11 setting.value = "hidden" |
| bsw/jbe@4 | 12 setting:save() |
| bsw/jbe@4 | 13 elseif hide == false and setting then |
| bsw/jbe@4 | 14 setting:destroy() |
| bsw/jbe@4 | 15 end |