liquid_feedback_core

log core.sql

age author description
2016-04-04 jbe Revised notification system; Dropped tables "selected_event_seen_by_member" and "event_seen_by_member"
2016-04-03 jbe Corrected comparison operator in view "newsletter_to_send"
2016-04-03 jbe Added view "newsletter_to_send"
2016-04-03 jbe New table "newsletter"
2016-04-03 jbe Removed NOT NULL constraint for column "last_suggestion_id" in table "initiative_notification_sent" (NULL means that no suggestion existed)
2016-04-03 jbe Another bugfix in function "get_initiatives_for_notification"
2016-04-03 jbe Bugfix in function "get_initiatives_for_notification"
2016-04-03 jbe New function "get_initiatives_for_notification"
2016-04-03 jbe Require new drafts or new suggestion in area for view "initiative_for_notification"
2016-04-03 jbe Fill columns "new_draft" and "new_suggestion_count" in views "updated_or_featured_initiative" and "leading_complement_initiative"
2016-04-03 jbe Ignore suggestions with opinion also in returned column "new_suggestion_count" of view "updated_initiative"
2016-04-03 jbe Ignore suggestions with opinion
2016-04-02 jbe New table "initiative_notification_sent"
2016-04-01 jbe Fixed further mistake in views "updated_initiative" and "updated_or_featured_initiative"
2016-04-01 jbe Sort harmonic_weight of NULL after zero in updated_or_featured_initiative
2016-04-01 jbe Fixed typo in "featured_initiative" function
2016-04-01 jbe Bugfix in function "featured_initiative"
2016-04-01 jbe Fixed wrong calculation of "leading" column
2016-04-01 jbe Removed wrong "ISNULL" in view "updated_initiative"
2016-03-30 jbe New columns "supported", "new_draft", "new_suggestion_count", "featured", "leading" in view "initiative_for_notification" and associated helper views
2016-03-30 jbe Function "featured_initiative" simplified
2016-03-30 jbe Added missing EXIT statement in featured_initiative function
2016-03-30 jbe New view "initiative_for_notification" using helper views/functions "updated_initiative", "featured_initiative", and "leading_complement_initiative"
2016-03-29 jbe New view "updated_initiative"
2016-03-28 jbe Removed experimental algorithm for determining issues to be included in notification mails
2016-03-27 jbe Bugfix in view "new_updated_issue_for_notification"
2016-03-27 jbe Work on view "new_updated_issue_for_notification"
2016-03-26 jbe New view "new_issue_for_notification" (helper view for "issue_for_notification")
2016-03-26 jbe Work on "issue_for_notification" table
2016-03-26 jbe Stub VIEW that selects issues which are to be included in notifications
2016-03-26 jbe Added TODO (regarding possibly unnecessary DISTINCT clause)
2016-03-26 jbe Changed table/column order
2016-03-25 jbe Removed empty line
2016-03-18 jbe Use ERRCODE and HINT when raising exceptions
2016-03-17 jbe Added tables "subscription_time" and "advertisement" (work on notification system)
2016-03-17 jbe Changed reference to "member_id" in two tables to INT4 (was INT8)
2016-03-16 jbe Work on new notification system: new column "disable_notifications" in "member" table, new tables "subscription" and "ignored_area", dropped view "selected_event_seen_by_member"
2015-12-12 jbe Absolute first supporter quorum (in addition to admission_rule/holdoff_time mechanism)
2015-12-11 jbe Draft for an alternative mechanism to the first (issue) quorum
2015-12-03 jbe Require "min_admission_time" to be smaller than or equal to "max_admission_time" in "policy" table
2015-12-03 jbe Added parenthesis in constraint "admission_time_not_null_unless_instantly_accepted"
2015-12-03 jbe Shortened constraint names to be less than 64 characters long
2015-12-01 jbe Removed "initiative"."discussion_url"
2015-12-01 jbe Removed deprecated API tables
2015-12-01 jbe Re-added removed deprecated API tables (already accidentally removed in previous commit)
2015-11-27 jbe Added "min_admission_time"; Renamed "admission_time" to "max_admission_time"; Added parenthesis (trouble with operator precedence in PostgreSQL 9.5 alpha2)
2015-07-18 jbe Added support for storing external references (opaque data field) to "unit", "area", "issue", "initiative", "draft", and "suggestion" tables
2015-04-03 jbe Code cleanup: write single occurrence of "if" in upper case ("IF")
2014-07-23 jbe Delete authority_* information from members in functions "delete_member" and "delete_private_data"v3.0.4
2014-07-22 jbe Added data structures to support externally managed accounts (e.g. LDAP)
2014-07-16 jbe Improved previous fix of "close_voting" function
2014-07-16 jbe 2 bugfixes: Error in core-update.v2.2.6-v3.0.1.sql fixed; Always set "initiative"."first_preference_votes" (also if no votes are found)
2014-06-11 jbe Bugfix in "close_voting" function that only affected PostgreSQL versions prior 9.1v3.0.2
2014-05-22 jbe Bugfix in tie-breaking: Type for worst possible link strength must be "link_strength", not "INT8"
2014-05-22 jbe Re-added experimental "no_reverse_beat_path" feature for next minor version (provides backward compatibility)
2014-05-22 jbe Code cleanup regarding new tie-breaking
2014-05-22 jbe Implemented tie-breaking according to chapter 5 of schulze1.pdf (draft, 2 July 2012)
2014-05-21 jbe Use a composite type of two INT8's to describe the strength of a link for the Schulze method (necessary for tie-breaking of the links); Removed "no_reverse_beat_path" option
2014-04-14 jbe Generalized comment on "defeat_strength" function
2014-04-14 jbe Separate configuration options for "defeat_strength" and "tie_breaking"
2014-04-10 jbe Work on configuration of complexity of counting of the votes (extent of tie-breaking):
2014-04-05 jbe Merged from v2.2.6: Marked "no_reverse_beat_path" and "no_multistage_majority" as experimental; Disabled "no_reverse_beat_path" by defaultv3.0.1
2014-04-05 jbe Marked "no_reverse_beat_path" and "no_multistage_majority" as experimental; Disabled "no_reverse_beat_path" by defaultv2.2.6
2014-03-26 jbe Added update script to introduce "first_preference_votes"
2014-03-26 jbe When marking first preferences, use JOIN via "initiative" table due to missing index on "vote"."issue_id"
2014-03-26 jbe Calculation of "first_preference" votes
2014-01-31 jbe Marked version as v3.0.0v3.0.0
2013-12-23 jbe "schulze_rank" includes tie-breaking by "id"
2013-10-14 jbe Proportional Runoff for issues both based on single areas and single units
2013-10-14 jbe Secondary sorting key for issues in admission phase
2013-10-14 jbe core.sql: Removed "order_in_open_states"
2013-10-12 jbe Remove referential integrity from "issue_order" table to avoid performance/locking issues
2013-10-11 jbe New table "issue_order" for ordering fields to avoid a bottleneck with locking
2013-10-11 jbe Added helper view "open_issues_ordered_with_minimum_position" for lf_update_issue_order.c
2013-10-11 jbe Update script to v2.2.6
2013-10-10 jbe Adjusted indentation of "issue" field comments in source code
2013-10-10 jbe Work on new issue sorting algorithm
2013-08-11 jbe Added column "admin_notice" to "issue" table, and value 'canceled_by_admin' to "issue_state" type
2013-04-20 jbe Added support for delegation checks and login recovery; Removed unnecessary join in event viewsv2.2.4
2013-03-23 jbe Code cleanup regarding temporary storage of session/transaction data to disable protection triggersv2.2.3
2013-03-22 jbe Fixed an error, which occurred when deleting votes from voters, which lost their voting right during voting phasev2.2.2
2013-03-18 jbe Bugfix regarding "proportional_order" of suggestions:
2013-03-17 jbe Update script to v2.2.1
2013-03-16 jbe Support for proportional ordering of suggestions in core.sql; Begin of work on "lf_update_suggestion_order" (a second background job for sorting suggestions based on a proportional preferential voting system)
2013-03-09 jbe Bugfix for calculation of harmonic_weight, when there are initiatives without supporters
2013-02-21 jbe Added comments for functions "require_transaction_isolation"() and "dont_require_transaction_isolation"()
2013-02-21 jbe Changed indentation in "check_issue" function code
2013-02-21 jbe Removed unnecessary code, because multiple phase changes at once are no longer possible
2013-02-21 jbe Write "NOW()" as "now()"
2013-02-21 jbe Code formatting of constraint "valid_state" in table "issue"
2013-02-21 jbe Removed setting of "ranks_available" column in function "clean_issue"
2013-02-20 jbe Removed deprecated timeline views
2013-02-20 jbe Cleanup of new code for allowing "lf_update" to run without extensive locking
2013-02-15 jbe Completely removed table locking in favor of transaction isolation requirements
2013-02-15 jbe Bugfixes for new system to allow the background job (lf_update) run without intensive locking
2013-02-14 jbe Work on new system to allow the background job (lf_update) run without intensive locking (incomplete yet)
2013-02-11 jbe Removed locking system
2013-02-10 jbe Added comment in "clean_issue" function
2013-02-10 jbe Stub (no implementation yet) for "phase_finished" field, allowing calculations to take more time without database locking
2013-02-10 jbe Correct index usage when calculating "harmonic_weight"
2013-02-10 jbe merge
2013-02-10 jbe Bugfix regarding index usage (speeds up lf_update)
2013-02-10 jbe Removed update script to v2.1.1 due to upcoming major changes
2013-02-09 jbe Removed "harmonic_weight" for suggestions, because another proportional ranking algorithm is needed there
2013-02-08 jbe Calculate "harmonc_weight" after all other calculations in an issue (as calculation depends on the "admitted" flag now)
2013-02-08 jbe Require "satisfied" support for "admitted" initiatives when calculating "harmonic_weight"
2013-02-08 jbe Calculate "harmonic_weight" to be used as a secondary sorting key, while the "admitted" flag shall be used as the primary sorting key for initiatives
2013-02-02 jbe Bugfix in view "remaining_harmonic_suggestion_weight_summands"
2013-02-02 jbe Bugfix in view "remaining_harmonic_opinion_weight"
2013-02-02 jbe Count non-fulfilled suggestions with positive opinion and fulfilled suggestions with negative opinion for "harmonic_weight" of suggestions
2013-02-02 jbe Set "harmonic_weight" to zero instead of null, where there are no supporters
2013-02-01 jbe Minor fix in comment
2013-02-01 jbe Changed rounding behaviour for "harmonic_weight"
2013-02-01 jbe Added "harmonic_weight" for suggestions; Bugfix in function "set_harmonic_initiative_weights" (clear weights prior calculation)
2013-02-01 jbe Removed debug notice in function "set_harmonic_initiative_weights"
2013-02-01 jbe "harmonic_weight" for initiatives
2012-10-05 jbe Merged fix from v2.0.12: Removed unwanted (and broken) tie-breaking by approval rate
2012-10-05 jbe Removed unwanted (and broken) tie-breaking by approval ratev2.0.12
2012-09-30 jbe Removed broken tie-breaking implementation
2012-09-30 jbe Added TODO for broken implementation of tie-breaking
2012-09-29 jbe Better tie-breaking
2012-09-25 jbe merge: Switched order of row-level and table-level member locking
2012-09-25 jbe Switched order of row-level and table-level member locking
2012-09-25 jbe merge: In function "lock_issue"("issue"."id"): Instead of accquiring a table-level EXCLUSIVE lock, use a table-level SHARE lock in combination with row-level SHARE locks
2012-09-25 jbe In function "lock_issue"("issue"."id"): Instead of accquiring a table-level EXCLUSIVE lock, use a table-level SHARE lock in combination with row-level share locks
2012-09-25 jbe Different locking levels and different locking order in function "lock_issue"("issue"."id") to avoid deadlocks
2012-09-24 jbe Use SHARE MODE table locks in function "lock_issue"("issue"."id") for tables neither referenced nor changed
2012-09-13 jbe Use EXCLUSIVE MODE table locks in function "lock_issue"("issue"."id")
2012-08-25 jbe Split contingent into polling and non-polling contingent
2012-08-20 jbe No "issue_quorum" for polling policies
2012-08-20 jbe Issues may have an admission_time set to NULL
2012-08-19 jbe Modified function "forbid_changes_on_closed_issue_trigger" to allow voting comments to be changed after voting has finished
2012-08-19 jbe Updated comments for polling mode in core.sql and core-update.v2.0.11-v2.1.0.sql
2012-08-19 jbe Moved voting comment to table "direct_voter"
2012-08-19 jbe "non_voter" deletes "direct_voter" and vice versa
2012-08-19 jbe Removed preliminary API tables for upcoming release (will be included later)
2012-08-15 jbe URL for registered (web) API clients
2012-08-15 jbe Unique "client_identifier" for "registered_client", No foreign key in table "authorized_client"
2012-08-15 jbe Work on tables for OAuth2
2012-08-10 jbe Included old API tables maked as "deprecated" to allow testing with alpha api and preliminary authorization interface after core update to v2.1
2012-08-10 jbe Marked API tables as preliminary
2012-08-10 jbe Added field "code_grant_multiple" to "api_client"
2012-08-09 jbe Renamed "token_grant" to "implicit_grant" and fixed comments
2012-08-09 jbe Hint in function "delete_private_data" for cases where different data shall be deleted
2012-08-09 jbe Changed comments in table "api_client" to specify that certain values are maximum values
2012-08-09 jbe Work on OAuth2
2012-08-08 jbe Removed "parallel_access" flag from API tables; Copy access_level and validity_period to table "api_access"
2012-08-08 jbe Added "parallel_access" and "old_refresh_token" to API tables
2012-08-08 jbe API client name not unique; Use OAuth2 client identifier as redirection endpoint
2012-08-08 jbe Work on OAuth 2.0 authorization support
2012-08-08 jbe API system clients and redundancy in API access table
2012-08-08 jbe Draft for OAuth 2.0 authorization support
2012-07-15 jbe For "polling" policies "admission_time" is always NULL
2012-07-15 jbe Polling mode
2012-07-15 jbe Policies with "free_timing"
2012-07-15 jbe Removed "issue_comment"
2012-06-20 jbe Simulation of default delegation in functions "delegation_chain" and "delegation_info"
2012-05-20 jbe Added field "participating_member_id" to result of "delegation_info" functionv2.0.10
2012-05-15 jbe Allow "calculate_ranks" to work properly, even if there was a previous counting of votes (due to manual reset of issue state)
2012-05-12 jbe Bugfix in view "unit_member_count"
2012-05-11 jbe Function "delegation_info": Do not set "other_trustee_id" when overriden by previous participation
2012-05-10 jbe Update script to v2.0.9
2012-05-10 jbe Comments on delegation information functions
2012-05-10 jbe Support closed issues in "delegation_chain" function; Work on "delegation_info" function
2012-05-10 jbe Function "delegation_chain" returns unknown participation for other members during voting
2012-05-10 jbe New function "delegation_info"
2012-03-15 jbe Bugfix: Delete member fields "lang", "notify_level" and "formatting_engine" in function "delete_private_data"; Update script to v2.0.8v2.0.8
2012-03-13 jbe Delete sessions:
2012-03-10 jbe Added column "invite_code_expiry" to table "member"
2012-03-10 jbe Bugfix in function "write_event_initiative_revoked_trigger": Set "draft_id" in "event" table
2012-03-05 jbe Bugfix: Do not write history entries for non-activated members
2012-03-05 jbe Delete "admin_comment" in function "delete_private_data"; Update script for v2.0.5v2.0.5
2012-02-28 jbe Delete non-activated members in function "delete_private_data"v2.0.4
2012-02-28 jbe No generic NOT NULL constraints on columns "name" and "notify_level" in table "member"
2012-02-25 jbe Update script for v2.0.4
2012-02-25 jbe Added index on "event"."occurrence"
2012-02-25 jbe Changes in event system:
2012-02-25 jbe Added column "lang" to table "member"
2012-02-25 jbe Re-added "session" table to the core
2012-02-22 jbe Update script to v2.0.3v2.0.3
2012-02-22 jbe Change in "rank" order of admitted initiatives:
2012-02-22 jbe Bugfix: Set "eligible" to FALSE for all non-eligible admitted initiatives
2012-02-17 jbe Added new column "authentication to table "member"; Added update script to v2.0.2v2.0.2
2012-01-28 jbe Fixed comment on column "unit"."active"; Cleanup and documentation of update script from v2.0.0 to v2.0.1v2.0.1
2011-12-27 jbe Minor fixes in initiative comments
2011-11-14 jbe Clarified comments, added warnings in comments about correct usage of indicies
2011-11-14 jbe Use "invite_code" column instead of "invite_code" table in function "delete_private_data"
2011-10-08 jbe Added column "draft_id" to table "direct_supporter_snapshot"
2011-10-08 jbe Added table "unit_setting"
2011-09-10 jbe mergev2.0.0
2011-09-10 jbe Changed version 1.4.0_rc4 to 1.4.0 in core.sql
2011-09-10 jbe Renamed v1.5.0 to v2.0.0
2011-07-30 jbe UNIQUE constraint for "member_application"."key"
2011-07-30 jbe Renamed core-update.v1.4.0-v1.5.0.sql to core-update.v1.4.0_rc4-v1.5.0_rc1.sql; Set version info to v1.5.0_rc1
2011-07-29 jbe New table "member_application" for API
2011-07-29 jbe Member deactivation based on last_activity instead of last_login
2011-07-29 jbe Dropped session table (it is up to frontends to have their own session store)
2011-07-29 jbe Removed trigger "set_activated_timestamp"; Updated update script
2011-07-06 jbe Removed table "invite_code" (invite codes are now stored in "member" table)
2011-06-08 jbe Added constraint "eligible_at_first_rank_is_winner" to "initiative" table
2011-06-07 jbe Added constraints on table "initiative"; Added comment for column "initiative"."rank"
2011-06-07 jbe Ordering for final rank: 1st winner, 2nd initiatives fultilling direct AND indirect majority, rest ordered by schulze_rank and id
2011-06-07 jbe Added final "rank" column to table "initiative", which contains a unique order of all admitted initiatives
2011-06-07 jbe Bugfix: Set winner to FALSE for all non-winning admitted initiatives
2011-06-07 jbe Simplify one UPDATE in function "calculate_ranks"
2011-06-07 jbe Save Schulze rank of status quo in "issue" table
2011-06-07 jbe Complete removal of autoreject feature
2011-06-07 jbe Fixed comment on column "issue"."half_frozen"
2011-06-05 jbe Allow to require BOTH direct AND indirect (super)majorities in combination
2011-06-05 jbe merge
2011-06-05 jbe Backported fixes in "clean_issue" (deleting "issue_comment" and "voting_comment" entries) to v1.4.0_rcX
2011-06-04 jbe Delete entries from "issue_comment" and "voting_comment" tables in function "clean_issue"
2011-06-04 jbe Delete entries from "issue_autoreject" table in function "clean_issue"
2011-06-04 jbe Added reference from "suggestion" to "draft_id"; Changed reference from "supporter" to "draft_id" to DELETE NO ACTION
2011-06-04 jbe Wiki formatting for member statements and suggestions
2011-06-04 jbe Changed comments on some columns
2011-06-04 jbe Do not ignore the "policy"."no_multistage_majority" flag: It does not affect the winner but affects the "initiative"."eligible" flag
2011-06-03 jbe Ignore "policy"."no_multistage_majority", if "policy"."majority_indirect" is set
2011-06-03 jbe Added configuration option to allow indirect supermajority requirements
2011-06-03 jbe Configurable supermajority requirements related to "disqualification" of initiatives for stability reasons
2011-06-02 jbe merge
2011-06-02 jbe Backported bugfixes in functions "close_voting" and "clean_issue" to v1.4.0_rcX
2011-06-02 jbe Bugfix in function "clean_issue": Temporarily update "issue"."state" to avoid constraint violation
2011-06-02 jbe Bugfix in "close_voting": Only add autoreject votes for admitted issues
2011-06-02 jbe Dropped backwards compatiblity functions "array_init_string" and "square_matrix_init_string"
2011-06-02 jbe Placed issue based autoreject feature inside own relation "issue_autoreject" to allow autoreject without interest
2011-06-02 jbe Merged bugfix in function "close_voting": Create autoreject ballots only for members with "voting_right" in the unit
2011-06-02 jbe Bugfix in function "close_voting": Create autoreject ballots only for members with "voting_right" in the unitv1.4.0_rc3
2011-06-02 jbe Removed vote_now/vote_later feature
2011-06-01 jbe Added columns "majority_positive" and "majority_non_negative" to table "policy",
2011-06-01 jbe Use an improved definition for "disqualified" initiatives
2011-05-29 jbe Removed unneccessary JOIN in function "calculate_ranks"
2011-05-29 jbe Bugfix in function "calculate_ranks": Use simple majorities for disqualification
2011-05-29 jbe Always ensure stable voting results by disqualifying certain initiatives, and bugfix related to setting "issue_state" in "calculate_ranks"
2011-05-28 jbe Fixed syntax error
2011-05-28 jbe Added column "majority_indirect" to table "policy" and changed function "close_voting" to respect indirect (super)majorities when configured in policy
2011-05-28 jbe Minor code-cleanup in calculation of "promising" attribute in function "close_voting"
2011-05-25 jbe Changed definition/behaviour of "promising" attribute
2011-05-24 jbe Added new column "promising" to table "initiative"; Simplified tie-breaking
2011-05-24 jbe Backed out changeset 3d5e38ea2fab due to incomplete commit message

Impressum / About Us