liquid_feedback_frontend

diff model/timeline.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)
author bsw
date Fri Jan 22 12:00:00 2010 +0100 (2010-01-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/model/timeline.lua	Fri Jan 22 12:00:00 2010 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +Timeline = mondelefant.new_class()
     1.5 +Timeline.table = 'timeline'
     1.6 +
     1.7 +Timeline:add_reference{
     1.8 +  mode          = '11',
     1.9 +  to            = "Member",
    1.10 +  this_key      = 'member_id',
    1.11 +  that_key      = 'id',
    1.12 +  ref           = 'member'
    1.13 +}
    1.14 +
    1.15 +Timeline:add_reference{
    1.16 +  mode          = '11',
    1.17 +  to            = "Issue",
    1.18 +  this_key      = 'issue_id',
    1.19 +  that_key      = 'id',
    1.20 +  ref           = 'issue'
    1.21 +}
    1.22 +
    1.23 +Timeline:add_reference{
    1.24 +  mode          = '11',
    1.25 +  to            = "Initiative",
    1.26 +  this_key      = 'initiative_id',
    1.27 +  that_key      = 'id',
    1.28 +  ref           = 'initiative'
    1.29 +}
    1.30 +
    1.31 +Timeline:add_reference{
    1.32 +  mode          = '11',
    1.33 +  to            = "Draft",
    1.34 +  this_key      = 'draft_id',
    1.35 +  that_key      = 'id',
    1.36 +  ref           = 'draft'
    1.37 +}
    1.38 +
    1.39 +Timeline:add_reference{
    1.40 +  mode          = '11',
    1.41 +  to            = "Suggestion",
    1.42 +  this_key      = 'suggestion_id',
    1.43 +  that_key      = 'id',
    1.44 +  ref           = 'suggestion'
    1.45 +}

Impressum / About Us