Skip to content

Releases: decidim/decidim-bulletin-board

v0.11.0

18 Feb 15:56
Compare
Choose a tag to compare

Changed

  • Changed the name of some settings* to improve the readability of the code:
    • BB settings: bulletin_board_server* and bulletin_board_public_key*.
    • Authority settings: authority_api_key*, authority_name and authority_private_key*.
    • Elections settings: scheme_name, number_of_trustees and quorum.
  • KeyCeremonyComponent and TallyComponent now accepts a trusteeWrapperAdapter object.
  • The processMessage method from the TrusteeWrapperAdapter now accepts a messageType instead of a messageIdentifier.

Removed

  • The TrusteeWrapper for the "dummy" voting scheme has been removed from the project.

Added

  • The TrusteeWrapperAdapter abstract class can be used to implement any voting scheme wrapper adapter.

v0.9.0

01 Feb 12:42
Compare
Choose a tag to compare

Changed

  • The open_ballot_box and close_ballot_box are now called start_vote and end_vote and return a pending message.

Added

  • start_key_ceremony method to the Decidim::BulletinBoard::Client.
  • The IdentificationKeys class has been added to the JS library.
  • The TallyComponent has been added. It will be used as a glue code between the tally and the UI.
  • The VoteComponent has been added. It will be used as a glue code between the vote and the UI.

Release v0.5.2 (#50)

21 Dec 12:53
853be1d
Compare
Choose a tag to compare

Fixed

  • Include the schema definition within the gem to avoid extra trips to the server

v0.5.1: Release version 0.5.1 (#49)

20 Dec 12:48
fdaee40
Compare
Choose a tag to compare

Fixed

  • Include the missing close_ballot_box method from the 0.4.0 release.
  • Fixes for the client methods

v0.5.0: Release version 0.5.0 (#48)

20 Dec 12:48
0872fbb
Compare
Choose a tag to compare

Changed

  • Renamed setup_election to create_election and moved election_id from the election_data to a separate argument.

Fixed

  • Include the missing open_ballot_box methods from the 0.4.0 release.
  • Added missing namespace on the seed task

v0.4.0

18 Dec 16:54
7cbb97f
Compare
Choose a tag to compare

Added

  • content_hash field for the LogEntry records with the hash of the content field, if included in the message.
  • Command base class for all the classes representing GraphQL queries or mutations sent to the Bulletin Board.
  • open_ballot_box and close_ballot_box methods to the Decidim::BulletinBoard::Client.

Changed

  • New format for the messages: iat, message_id and Bulletin Board fields in the root message, and content for the Voting Scheme messages.
  • Improved consistency between methods included by Decidim::BulletinBoard::Client.

v0.3.0

10 Dec 11:40
Compare
Choose a tag to compare

Added

  • Decidim::BulletinBoard::Authority namespace that includes commands and forms to get the status of an election.

Changed

  • Decidim::BulletinBoard::Client now includes a get_status method to get the election status using the Authority namespace.

Fixed

  • Decidim::BulletinBoard::Voter::CastVote command uses the encrypted_vote as a String and not as a Hash.

v0.2.0

10 Dec 11:40
Compare
Choose a tag to compare

Added

  • Decidim::BulletinBoard::Voter namespace that includes commands and forms to perform the cast vote action.

Changed

  • Decidim::BulletinBoard::Client now includes a cast_vote method to cast a vote using the Voter namespace.

v0.1.0

10 Dec 11:40
9447799
Compare
Choose a tag to compare

Added

  • Decidim::BulletinBoard::Client class totally configurable using ActiveSupport::Configurable
  • The client now includes a setup_election method that creates the election in the bulletin board.