liquid_feedback_frontend

diff model/invite_code.lua @ 5:afd9f769c7ae

Version beta1

Final voting with Schulze-Method is now possible

Many bug fixes and code cleanup

Registration with invite codes

More sort and filter options

Seperated display of "supporters" and "potential supporters"

Optical changes

Flood limit / initiative contigent is now checked by frontend

Neccessary changes to access core beta11
author bsw/jbe
date Fri Dec 25 12:00:00 2009 +0100 (2009-12-25)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/model/invite_code.lua	Fri Dec 25 12:00:00 2009 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +InviteCode = mondelefant.new_class()
     1.5 +InviteCode.table = 'invite_code'
     1.6 +InviteCode.primary_key = "code"
     1.7 +
     1.8 +function InviteCode:by_code(code)
     1.9 +  local selector = self:new_selector()
    1.10 +  selector:add_where{'"code" = ?', code }
    1.11 +  selector:optional_object_mode()
    1.12 +  return selector:exec()
    1.13 +end

Impressum / About Us