Skip to content

Releases: consuldemocracy/consuldemocracy

v0.13

05 Feb 22:43
Compare
Choose a tag to compare

In CONSUL we are trying to stick to a release every month! So here is v0.13 release with:

  • ⚙️ Budgets feature has gotten lots of improvements
  • 🔴 Important security updates (paperclip & nokogiri gems). Check [Security] section.
  • ⚠️ Two deprecations that will require you to run rake tasks to migrate data from database columns that will be removed on v0.14 release. Check [Deprecated] section.
  • 🙌 Many small fixes, improvements & gem version updates.

Check the Changelog to see all the changes, or just scroll down to "Release changelog". Please take your time reading all referenced PR's and issues to understand new features & changes. We are working on creating a more comprehensive way to digest release features for next releases.

Updating your fork

Check how to keep your fork updated, if you're updating from v0.12 release you can just:

git checkout master
git pull
git checkout -b upstream
git fetch upstream
git merge v0.13

Please run these upgrade commands:
bin/rake budgets:phases:generate_missing
bin/rake investments:internal_comments:migrate_to_thread
See [Deprecated] section for detailed information on these rake tasks

Release changelog

Added

  • Drafting phase to Budgets #2285
  • 'Publish investments price' phase to Budgets #2296
  • Allow admins to destroy budgets without investments #2283
  • CSV download link to budget_investments #2147
  • Actions to edit and delete a budget's headings #1917
  • Allow Budget Investments to be Related to other content #2311
  • New Budget::Phase model to add dates, enabling and more #2323
  • Optional Guide page to help users decide between Proposal & Investment creation #2343
  • Advanced search menu to investments list #2142
  • Admins to edit Budget phases #2353
  • Budget new Information phase #2349
  • Search & sorting options to Admin's Budget Investment list #2378
  • Internal valuation comment thread to replace internal_comments #2403
  • rubocop-rspec gem, enabled cops one by one fixing offenses.
  • Capistrano task to automate maintenance mode #1932

Changed

  • Display proposal and investment image when sharing in social networks #2202
  • Redirect admin to budget lists after edit #2284
  • Improve budget investment form #2280
  • Prevent edition of investments if budget is in the final phase #2223
  • Design Improvements #2327
  • Change concept of current budget to account for multiple budgets #2322
  • Investment valuation finished alert #2324
  • Finished budgets list order #2355
  • Improvements for Admin::Budget::Investment filters #2344
  • Advanced filters design #2379
  • Order Budget group headings by name #2367
  • Show only current budget tags in admin budget page #2387
  • Correctly show finished budgets at budget index #2369
  • Multiple Budgets UI improvements #2297
  • Improved budget heading names at dropdowns #2373
  • Improved Admin list of budget headings #2370
  • Remove usage of Investment's internal_comments #2404
  • Made English the default app locale #2371
  • Improve texts of help page #2405
  • Show error message when relating content to itself #2416
  • Split 'routes.rb' file into multiple small files #1908
  • Removed legislation section arrows and duplicate html tag thanks to xarlybovi #1704
  • Updated multiple minor & patch gem versions thanks to Depfu
  • Clean up Travis logs #2357
  • Updated translations to other languages from Crowdin contributions #2347 especial mention to @ferraniki for 100% Valencian translation!
  • Updated rubocop version and ignored all cops by default

Deprecated

  • Budget's description_* columns will be erased from database in next release. Please run rake task budgets:phases:generate_missing to migrate them. Details at Warning section of #2323
  • Budget::Investment's internal_comments attribute usage was removed, because of #2403, run rake task investments:internal_comments:migrate_to_thread to migrate existing values to the new internal comments thread. In next release database column will be removed.

Removed

  • Spending Proposals urls from sitemap, that model is getting entirely deprecated soon.

Fixed

  • Fix Budget Investment's milestones order #2431
  • Only change budget slugs if its on draft phase #2434
  • Fixed an internal bug that allowed users to remove documents from other user's Proposals & Investments 97ec551#diff-bc7e874fa3fd44e4b6f941b434d1d921
  • Fixed deprecation warning in specs #2293
  • Fix social images meta tags #2153
  • Non translated strings & typos #2279
  • Links to hidden comments on admin & moderation #2395

Security

  • Upgraded Paperclip version up to 5.2.1 to fix security problem #2393
  • Upgraded nokogiri: 1.8.1 → 1.8.2 #2413

v0.12.1

05 Feb 22:42
Compare
Choose a tag to compare

⚠️ This is a Patch release!

If your fork has v0.12 you should update as soon as possible to this release or just cherry-pick the commits.

git checkout master
git pull
git checkout -b upstream
git fetch upstream
git merge v0.12.1

Included changes

Prevent users or admins from removing documents on Proposals & Investment they haven't authored

See complete diff at v0.12...v0.12.1

v0.11.1

05 Feb 22:41
Compare
Choose a tag to compare

⚠️ This is a Patch release!

If your fork has v0.11 or you have the file app/views/documents/_document.html.erb present in your codebase you should update as soon as possible to this release or just cherry-pick the commits.

git checkout master
git pull
git checkout -b upstream
git fetch upstream
git merge v0.11.1

Included changes

Prevent users or admins from removing documents on Proposals & Investment they haven't authored

See complete diff at v0.11...v0.11.1

v0.12

03 Jan 17:50
Compare
Choose a tag to compare

In CONSUL we wanted to start this new year with the v0.12 release 🎉

Check the Changelog to see all the changes.

Updating your fork

Check how to keep your fork updated, although if you're updating from v0.11 release you can just:

git checkout master
git pull
git checkout -b upstream
git merge v0.12

Release changelog

Added

  • Added Images to Budget Investment's Milestones #2186
  • Added Documents to Budget Investment's Milestones #2191
  • Added Publication Date Budget Investment's Milestones #2188
  • New setting feature.allow_images to allow upload and show images for both (proposals and budget investment projects). Set it manually through console with Setting['feature.allow_images'] = true
  • Related Content feature. Now Debates & Proposals can be related #1164
  • Map validations #2207
  • Added spec for 'rake db:dev_seed' task #2201
  • Adds timestamps to polls #2180 (Run rake polls:initialize_timestamps to initialize attributes created_at and updated_at with the current time for all existing polls, or manually through console set correct values)

Changed

  • Some general Design improvements #2170 #2198
  • Improved Communities design #1904
  • Made Milestones description required & hided title usage #2195
  • Improved generic error message #2217
  • Improved Sitemap for SEO #2215

Fixed

  • Notifications for hidden resources #2172
  • Notifications exceptions #2187
  • Fixed map location update #2213

v0.11

05 Dec 11:13
Compare
Choose a tag to compare

It's been a while since last v0.10 release (5 months), so take your time to check the entire diff and carefully merge conflicts, even report the most important problems you encounter so we can improve the process.

Since last release, a lot of features have been added and improved!. Most notably Proposals and Budget Investments now have Documents, Images, Maps and can be followed by users. Also Legislation Process proposals, new Consul brand & admin redesign, Docker support, Budget improvements and a big ongoing refactor on Polls (check the roadmap, it will be our main focus for next releases).

Check the entire Changelog for the entire list.

Updating your fork

Check how to keep your fork updated, although if you're updating from v0.10 release you can just:

git checkout master
git pull
git checkout -b upstream
git merge v0.11

Tasks to be done at your local/staging/production server:

Run rake task: bin/rake communities:associate_community to associate communities to existing proposals and budget investments.

Add new Settings values by running on your console:

Setting['feature.user.recommendations'] = true # To show recommended proposals and debates to users based in their interests
Setting['feature.community'] = true # To enable communities on proposals & budget investments
Setting['feature.map'] = true # To enable maps on proposals & budget investments
Setting['map_latitude'] = 51.48 # Default map latitude position
Setting['map_longitude'] = 0.0 # Default map longitude position
Setting['map_zoom'] = 10 # Default map zoom

Update your secrets.yml file based on the changes at config/secrets.yml.example, most notable additions are maps variables:

maps: &maps
  map_tiles_provider: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
  map_tiles_provider_attribution: "&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors"

Release changelog

Added

  • Allow social media image meta tags to be overwritten #1756 & #2153
  • Allow users to verify their account against a local Census #1752
  • Make Proposals & Budgets Investments followable by users #1727
  • Show user followable activity on public user page #1750
  • Add Budget results view & table #1748
  • Improved Budget winners calculations #1738
  • Allow Documents to be uploaded to Proposals and Budget Investments #1809
  • Allow Communities creation on Proposals and Budget Investments (Run rake task 'communities:associate_community') #1815 #1833
  • Allow user to geolocate Proposals and Budget Investments on a map #1864
  • Legislation Process Proposals #1906
  • Autocomplete user tags #1905
  • GraphQL API docs #1763
  • Show recommended proposals and debates to users based in their interests #1824
  • Allow images & videos to be added to Poll questions #1835 #1915
  • Add Poll Shifts, to soon replace Poll OfficerAssignments usage entirely (for now just partially)
  • Added dropdown menu for advanced users #1761
  • Help text headers and footers #1807
  • Added a couple of steps for linux installation guidelines #1846
  • Added TotalResult model, to replace Poll::FinalRecount #1866 1885
  • Preview Budget Results by admins #1923
  • Added comments to Polls #1961
  • Added images & videos to Polls #1990 #1989
  • Poll Answers are orderable now #2037
  • Poll Booth Assigment management #2087
  • Legislation processes documents #2084
  • Poll results #2082
  • Poll stats #2075
  • Poll stats on admin panel #2102
  • Added investment user tags admin interface #2068
  • Added Poll comments to GraphQL API #2148
  • Added option to unassign Valuator role #2110
  • Added search by name/email on several Admin sections #2105
  • Added Docker support #2127 & documentation https://consul_docs.gitbooks.io/docs/content/en/getting_started/docker.html
  • Added population restriction validation on Budget Headings #2115
  • Added a /consul.json route that returns installation details (current release version and feature flags status) for a future dashboard app #2164

Changed

  • Gem versions locked & cleanup #1730
  • Upgraded many minor versions #1747
  • Rails 4.2.10 #2128
  • Updated Code of Conduct to use contributor covenant 1.4 #1733
  • Improved consistency to all "Go back" buttons #1770
  • New CONSUL brand #1808
  • Admin panel redesign #1875 #2060
  • Swapped Poll White/Null/Total Results for Poll Recount #1963
  • Improved Poll index view #1959 #1987
  • Update secrets and deploy secrets example files #1966
  • Improved Poll Officer panel features
  • Consistency across all admin profiles sections #2089
  • Improved dev_seeds with more Poll content #2121
  • Comment count now updates live after publishing a new one #2090

Removed

  • Removed Tolk gem usage, we've moved to Crowdin service #1729
  • Removed Polls manual recounts (model Poll::FinalRecount) #1764
  • Skipped specs for deprecated Spending Proposal model #1773
  • Moved Documentation to https://github.com/consul/docs #1861
  • Remove Poll Officer recounts, add Final & Totals votes #1919
  • Remove deprecated Poll results models #1964
  • Remove deprecated Poll::Question valid_answers attribute & usage #2073 #2074

Fixed

  • Foundation settings stylesheet #1766
  • Budget milestone date localization #1734
  • Return datetime format for en locale #1795
  • Show bottom proposals button only if proposals exists #1798
  • Check SMS verification in a more consistent way #1832
  • Allow only YouTube/Vimeo URLs on 'video_url' attributes #1854
  • Remove empty comments html #1862
  • Fixed admin/poll routing errors #1863
  • Display datepicker arrows #1869
  • Validate presence poll presence on Poll::Question creation #1868
  • Switch flag/unflag buttons on use via ajax #1883
  • Flaky specs fixed #1888
  • Fixed link back from moderation dashboard to root_path #2132
  • Fixed Budget random pagination order #2131
  • Fixed direct_messages_max_per_day set to nil #2100
  • Fixed notification link error when someone commented a Topic #2094
  • Lots of small UI/UX/SEO/SEM improvements

Localization files reorganization & More

05 Jul 12:47
Compare
Choose a tag to compare

Localization files reorganization:

What & Why

  • To allow non-tech people easily contribute with translations (without using github/code) we've got Crowdin project configured. We're planning to add to consul project as many as we can (already grabbed some of the files we found across the forks). Please register as translator and contribute! We'll be happy to give Proofreader permissions to those that contact us about it 🙂

Changes & Instructions:

  • For that to happen we've restructured the /config/locales directory to hold all language files in subdirectories for each language. We'll use ISO 639-1 codes when possible, but still we support 4 letter locales (pt-BR, es-PE, etc...). This means:
    ./config/locales/admin.en.yml => ./config/locales/en/admin.yml (with an special case: en.yml is renamed on to general.yml)

  • If you have custom languages on your fork's /config/locales directory, you can to the same file structure migration with the help of rake task: rake locales:migrate_structure['it'] (if you have italian translations).

  • Custom localization files will keep working, but we recommend to migrate any existing file in that subdirectory to the same structure to be consistent.

  • We've removed Spanish from i18n-tasks config file, so no longer test will fail if spanish translation are not present. We recommend you to modify that file on your fork to add your languages and get the help of spec/i18n_spec.rb test and i18n-tasks missing & i18n-tasks unused tasks to findout missing translations on your languages.

  • Related PR #1718

New features:

  • Budget Investment's Milestones

  • Enabling/Disabling Legislative Processes

  • Locale site pages customization

  • Incompatible investments

  • UPGRADE to Rails 4.2.9 #1707

  • Some small improvements & Rubocop 🤖 issues fixed

Legislation, Budgets, GraphQL API

15 Jun 09:57
Compare
Choose a tag to compare

This versions includes new modules:

  • Budgets
  • Basic polls
  • Collaborative legistlation
  • Custom pages
  • GraphQL API
  • Improved admin section

v0.8 Custom structure

21 Jul 11:30
Compare
Choose a tag to compare

This release adds support for customization schema, vía specific custom files, assets and folders.

v0.7

25 Apr 17:31
Compare
Choose a tag to compare
updates dependencies