liquid_feedback_core

annotate LICENSE @ 139:e3bfa2d7954c

Always ensure stable voting results by disqualifying certain initiatives, and bugfix related to setting "issue_state" in "calculate_ranks"

- Removed column "majority_indirect" from table "policy"
- Removed column "eligible" from table "initiative" ("eligible" can be calculated as "attainable"=TRUE AND "favored"=TRUE AND "disqualified"=FALSE)
- Split "rank" column of table "initiative" into columns "preliminary_rank" and "final_rank"
- Added column "disqualified" to table "initiative"
- Removed column "promising" from table "initiative"
- Removed constraints from table "initiative"
- Updated functions "close_voting" and "calculate_ranks"
- Added TODO notice in function "clean_issue"
author jbe
date Sun May 29 19:51:16 2011 +0200 (2011-05-29)
parents ea4928ccc8eb
children 8809f1202ee0
rev   line source
jbe@108 1 Copyright (c) 2009-2011 Public Software Group e. V., Berlin, Germany
jbe@0 2
jbe@0 3 Permission is hereby granted, free of charge, to any person obtaining a
jbe@0 4 copy of this software and associated documentation files (the "Software"),
jbe@0 5 to deal in the Software without restriction, including without limitation
jbe@0 6 the rights to use, copy, modify, merge, publish, distribute, sublicense,
jbe@0 7 and/or sell copies of the Software, and to permit persons to whom the
jbe@0 8 Software is furnished to do so, subject to the following conditions:
jbe@0 9
jbe@0 10 The above copyright notice and this permission notice shall be included in
jbe@0 11 all copies or substantial portions of the Software.
jbe@0 12
jbe@0 13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jbe@0 14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jbe@0 15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jbe@0 16 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
jbe@0 17 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
jbe@0 18 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
jbe@0 19 DEALINGS IN THE SOFTWARE.

Impressum / About Us