liquid_feedback_core
annotate LICENSE @ 128:5ea2f9c5ba9a
Set "rank" for all "admitted" initiatives after voting is finished; Additional columns in "initiative" table store voting result information
Changes in detail:
- Renamed column "majority" of table "initiative" to "attainable"
- Added columns "favored", "unfavored" and "eligible" to "initiative" table
- Added constraints to "initiative" table, restricting certain value combinations in the the new columns
- Modified "calculate_ranks" function to update the new columns and always write "rank" information
- Marking the final winner is now done utilizing the new "eligible" column
Changes in detail:
- Renamed column "majority" of table "initiative" to "attainable"
- Added columns "favored", "unfavored" and "eligible" to "initiative" table
- Added constraints to "initiative" table, restricting certain value combinations in the the new columns
- Modified "calculate_ranks" function to update the new columns and always write "rank" information
- Marking the final winner is now done utilizing the new "eligible" column
| author | jbe |
|---|---|
| date | Tue May 24 14:58:42 2011 +0200 (2011-05-24) |
| 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. |