liquid_feedback_frontend

diff app/main/opinion/_action/update.lua @ 6:8d91bccab0bf

Version beta2

Possibility to browse voters of a closed issue

Registration with invite code

Email confirmation and password recovery

Download function (for database dumps) added

Critical bug solved, which made it impossible to select your opinion on other peoples suggestions

Catching error, when trying to set an opinion on a suggestion which has been meanwhile deleted

Fixed wrong sorting order for "supporters" or "potential supporters"

Added format info for birthday (Error when entering dates in wrong format is NOT fixed in this release)

Strip space characters from certain fields and ensure they contain at least 3 characters

Showing grade in opinion/list as clear text instead of integer value

More information on initiative is displayed while voting

Colored notification box shown on pages of issues or initiatives which are currently in voting state

Changed default filter for issues to "Open"

Back link on suggestion page

Some optical changes

Removed wrong space character in LICENSE file
author bsw/jbe
date Sat Jan 02 12:00:00 2010 +0100 (2010-01-02)
parents afd9f769c7ae
children 6a12fb7e4963
line diff
     1.1 --- a/app/main/opinion/_action/update.lua	Fri Dec 25 12:00:00 2009 +0100
     1.2 +++ b/app/main/opinion/_action/update.lua	Sat Jan 02 12:00:00 2010 +0100
     1.3 @@ -4,8 +4,15 @@
     1.4  
     1.5  local opinion = Opinion:by_pk(member_id, suggestion_id)
     1.6  
     1.7 +local suggestion = Suggestion:by_id(suggestion_id)
     1.8 +
     1.9 +if not suggestion then
    1.10 +  slot.put_into("error", _"This suggestion has been meanwhile deleted")
    1.11 +  return false
    1.12 +end
    1.13 +
    1.14  -- TODO important m1 selectors returning result _SET_!
    1.15 -local issue = opinion.initiative:get_reference_selector("issue"):for_share():single_object_mode():exec()
    1.16 +local issue = suggestion.initiative:get_reference_selector("issue"):for_share():single_object_mode():exec()
    1.17  
    1.18  if issue.closed then
    1.19    slot.put_into("error", _"This issue is already closed.")

Impressum / About Us