Skip to content

Commit

Permalink
Add private fields to proposal components (#314)
Browse files Browse the repository at this point in the history
* admin form_builder private fields

* chore: CustomFieldsBuilders is a [public, private] array

* fixup! chore: CustomFieldsBuilders is a [public, private] array

* refacto: CustomFieldsBuilders is a hash of editor

* chore: handle renaming key with private fields

* logs: remove debugging

* chore: show private fields form

* chore: show private fields on create form

* chore: display private field editors in proposals

* chore: save private body in DB and display it admin side

* fix: migration on decidim 0.24

* fix: more robust way to know if a proposal is new

* fix: edit proposal private fields

* wip: move 024 fixes to 026

* chore: improve UX on editor

* fix: export custom fields

* compat: simple_proposal fields

* fix: private fields isolation

* New Crowdin updates (#294)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* Allow to limit non-accepted amendments in proposals (#261)

* add admin config option in proposals

* add amendments controller concern

* limit amendments on controller

* limit only new and create methods

* add modal explanation window

* do not show modal if amendments limit disabled

* add test cases

* fx locales

* add readme

* fix locales

* remove quotes

* remove space

* New Crowdin updates (#264)

* New translations en.yml (Romanian)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Basque)

* New translations en.yml (Hungarian)

* New translations en.yml (Italian)

* New translations en.yml (Dutch)

* New translations en.yml (Swedish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Japanese)

* New translations en.yml (German)

* New translations en.yml (Romanian)

* New translations en.yml (Basque)

* New translations en.yml (Dutch)

* New translations en.yml (Swedish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Hungarian)

* New translations en.yml (German)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (Czech)

* New translations en.yml (Japanese) (#269)

* skip hidden emendations

---------

Co-authored-by: PokeCode Bot <[email protected]>

* fix hidden images in public proposals (#301)

* fix hidden images in public proposals

* fix offences

* fix 27 configuration

* fix overrides

* fix: default to english on custom proposal fields

* lint: automatic rubocop corrections

* lint: fix offenses

* fix: don't update custom_fields_renderer

* fix: en locales

* refactor: rename export name for explicit trad

* New Crowdin updates (#303)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* chore: move private_fields to decidim_awesome_proposal_extra_fields

* fix: rubocop ofenses

* clean PR

* chore: handle empty fieldsets

* chore: improve admin readability

* chore: remove cards where it makes no sense to have card

* chore: encrypt private data

* revert: leave package-lock untouch

* fixup! revert: leave package-lock untouch

* fix: rubocop

* chore: prettier on eslint on packs

* fix: tests

* fix: rubocop

* add proposal_custom_fields submenu

* add proposal_private_custom_fields view

* delete unused migration

* fix rubocop

* add disclosure for proposal_private_custom_fields

* apply styles to proposal_private_custom_fields

* refactor views

* use standard attribute encryptors

* add custom fields specs

* remove wrong deface

* fix styles on form

* clean form

* add commands specs

* fix rendering

* fix javascript

* ffi

* summary fixes

* fix more specs

* convert to polymorphic

* fix specs, fix amendments

* fix specs

* fix serialzier specs

* fix export specs

* version bump

* readme image

* add private display in admin

* fix checksums

* add notes export

* handle translations

* add docs

* changelog

---------

Co-authored-by: Renato <[email protected]>
Co-authored-by: Hadrien Froger <[email protected]>
Co-authored-by: PokeCode Bot <[email protected]>
Co-authored-by: Ivan Vergés <[email protected]>
Co-authored-by: elviabth <[email protected]>
  • Loading branch information
6 people authored and antopalidi committed Aug 8, 2024
1 parent 058af7d commit bcfd99b
Show file tree
Hide file tree
Showing 117 changed files with 10,808 additions and 4,873 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
CHANGELOG
=========

v0.10.3
------

Compatibility:
- Decidim v0.27.4

Features:
- Added Private Custom Fields feature
- Added GraphQL types for weighted voting in the API
- Added GraphQL types for custom fields in the API
- Adds parsed information about custom fields in the Proposals export
- Adds parsed information bout private custom fields when admins exports private data

v0.10.2
------

Expand Down Expand Up @@ -56,7 +69,7 @@ Compatibility:

Features:
- Fixes for the menu hacker

v0.9.1
------

Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ruby RUBY_VERSION
DECIDIM_VERSION = "0.27.6"

gem "decidim", DECIDIM_VERSION
# this causes failures if not enabled (check if still necessary in the future)
gem "decidim-decidim_awesome", path: "."
gem "decidim-templates", DECIDIM_VERSION

gem "bootsnap", "~> 1.4"

Expand Down
Loading

0 comments on commit bcfd99b

Please sign in to comment.