liquid_feedback_frontend
annotate app/main/supporter/show_incoming.lua @ 52:88ac7798b562
Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
| author | bsw/jbe | 
|---|---|
| date | Thu Apr 15 19:58:25 2010 +0200 (2010-04-15) | 
| parents | 80c215dbf076 | 
| children | b9c8503feff7 | 
| rev | line source | 
|---|---|
| bsw@3 | 1 local initiative = Initiative:by_id(param.get("initiative_id", atom.integer)) | 
| bsw@3 | 2 local issue = initiative.issue | 
| bsw@3 | 3 local member = Member:by_id(param.get("member_id", atom.integer)) | 
| bsw@3 | 4 | 
| bsw@3 | 5 local members_selector = Member:new_selector() | 
| bsw/jbe@4 | 6 :join("delegating_interest_snapshot", nil, "delegating_interest_snapshot.member_id = member.id") | 
| bsw/jbe@4 | 7 :add_where{ "delegating_interest_snapshot.issue_id = ?", issue.id } | 
| bsw/jbe@4 | 8 :add_where{ "delegating_interest_snapshot.event = ?", issue.latest_snapshot_event } | 
| bsw/jbe@4 | 9 :add_where{ "delegating_interest_snapshot.delegate_member_ids[1] = ?", member.id } | 
| bsw/jbe@4 | 10 :add_field{ "delegating_interest_snapshot.weight" } | 
| bsw@3 | 11 | 
| bsw@3 | 12 execute.view{ | 
| bsw@3 | 13 module = "member", | 
| bsw@3 | 14 view = "_list", | 
| bsw@3 | 15 params = { | 
| bsw@3 | 16 members_selector = members_selector, | 
| bsw@3 | 17 issue = issue, | 
| bsw@3 | 18 trustee = member | 
| bsw@3 | 19 } | 
| bsw@3 | 20 } |