-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to 0.28 #270
Upgrade to 0.28 #270
Conversation
* Set decidim version to use develop branch * Update js dependencies * Move ProposalMCellOverride to ProposalLCellOverride * Define set_component_breadcrumb_item in blank_component controller * Set content security policies on iframes controller show action * Redesign awesome iframe component * Replace stylesheet_pack_tag and jasvascript_pack_tag prefixing with append_ * Use tailwind variables * Replace no longer existing variable * Replace snippets use in awesome map helper * Comment deprecated source in awesome_map.js * Small redesign in awesome map js to use default marker * Disable temporarily js and css introduced by awesome * Disable temporarily deface overrides * Update components layouts * Replace modal of admin config constraints with remote modals * Recover custom styles render in front * adapt forms with help_texts * Redefine icons and register missing ones * Refactor admin menus to use redesign * Fix missing wrong icon reference * Disable by default awesome tweaks pending of redesign * refactor tweaks for admin form functionality * replace select2 with tom-select for config/admin * Upgrade faker version in Gemfile * Upgrade Decidim and update Gemfile.lock * Remove deprecated awesome iframe no_margins setting The section container of the iframe does not have margins so this setting is useless applying redesign * Fix awesome iframe tests * Upgrade tests workflow ruby and node versions * style button at the bototm * remove needless colors * better looking list constraints * missing color * restore codemirror * remove unused packs and set properly the order of scripts * refactor menu_hacks * refactor system compat * Adapt scoped admin management tests * Adapt menu overrides admin management tests * Avoid undefined method exception when proposal custom fields feature is disabled in proposals admin * Update expected texts in tests * Update selectors in tests * Update submit interaction in tests * Fix callout selector in tests NOTE: The admin accountability feature is not redesigned yet so the views may appear wrong but the functionality of filter works fine * Add skips to integration tests of features pending to be adapted to Decidim 0.28 * Fix selector in test * Add skips in tests for disabled features * Adapt selectors * Add skip to tests * Force config enabled for controller test * Add skip to tests * Fix renamed organization attribute * Force config enabled for permissions test * Skip tests * Normalize locales * Recover translation removed in 0.28 * Add skips pending of disabled features in configuration * Use current_component in blank_component_controller * Update TargetRubyVersion in rubocop config * Update rubocop configuration * Autocorrect rubocop offenses * Unsafe autocorrect rubocop offenses * Add exclusions in rubocop configuration * Fix rubocop finders offenses * Fix rubocop factories offenses * Recover js dependencies with decidim 0.27 * Fix js and styles linters offenses * Skip tests * Fix association in factories * Skip tests * Add skips to integration tests of features pending to be adapted to 0.28 * Fix expected background in test * Adapt menu hacks tests to 0.28 * Revert "Recover js dependencies with decidim 0.27" This reverts commit c87b2fc. * Add external link behavior to breadcrumb_root_menu_item_presenter * Update test * Fix expected text in examples * Remove proposal from tests which breaks database constraints * Fix selector in test * Add skip to feature not adapted yet to 0.28 * Remove tests-legacy workflow * Rename 0.27 tests * Upgrade Decidim to release/0.28-stable branch * Add home_content_block_menu to awesome configurations * Manage menus using menu_id param * Add submenus for menu hacks * Fix translations * Adapt menu hacks tests to multiple menus * Add tests to home content block menu hacks * Adapt admin spec * Add definition extracted from shared context * Remove references to legacy_version from enabled tests * Don't override active attribute of menu items provided by Decidim * Change menu hacks to keep the breadcrumb original structure * fix the constraint modla form after updates * Apply suggestions from code review Co-authored-by: Ivan Vergés <[email protected]> * Expand limits of COMPAT_DECIDIM_VERSION * Update Gemfile and package.json * Update Gemfile.lock * Update package-lock.json * Fix rubocop-capybara version * Remove unnecesary linter disable directive comment * restore js linting * update versions * remove legacy conditionals * rubocop fix * enforce chromedriver 119 * fix stylelint * use parallel tests * fix gemfile * use parallel tests * debug * debug * debug * fix gemfile location * fixes * add missing binaries * Use multi step actions * fix postgres access * fix postgres access * fix tests * fix excludes * reorganize system tests * syntaxt * fix checks spec --------- Co-authored-by: Hugoren Martinako <[email protected]> Co-authored-by: Ivan Vergés <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #270 +/- ##
===========================================
- Coverage 96.48% 68.06% -28.42%
===========================================
Files 123 77 -46
Lines 3467 2076 -1391
===========================================
- Hits 3345 1413 -1932
- Misses 122 663 +541 ☔ View full report in Codecov by Sentry. |
* ui fixes * fix css * fix dom update after modifying constrains * rubocop fix * fix scripts. let the constraints editor work again * fix some tests * fix autoedit * acab * fix auto edit for multiple * fix test * fix edit button in constraints * linting * more linting * style checks * rubocop fix
* rename image editors * style fix * fix some tests * fix global menu cache. fix tests * remove select2 * remove jqueries * remove markdown modifier * styles * fix tests
* enable custom_redirects accessor * style index view with tailwindcss * fix lint * modify custom_redirect form styles * add help-text class and table styles * remove skip from custom_redirect specs * fix edit view * resolve review comments * add tom-select * add styles to check-custom-redirections button * fix stylelint * update check_redirecions using JS vanilla * fix JS lint * fix javascript --------- Co-authored-by: Ivan Vergés <[email protected]>
* add styles to list global admin button * adjust car divider style * update filter section style * update filter with date section styles * fix export search button * remove unuse scss admin_accountability file * remove outline from buttons * fix system admin_accountability_admin_filtering_spec * fix system admin_accountability_ps_filtering_spec * run npm run stylelint-fix * update filter tags styles * remove outline from export dropdown button * remove extra whitespace detected by linter
* re-enable custom fields * reboot formbuilder * fix css * add loading spinner * fix public styles * render formbuilder * fix multilang editors * add fb locales (wip) * enables custom fields in amendments * fix tests * fix tests * rename quill
* enable intergram_for_admins and for public * enable intergram live chat * add styles to livechat view header * handle nil values for intergram settings * add styles to intergram_for_public constraints-editor * style input text chat_id * add styles to intergram_for_admin * add styles to intergram_for_admin * remove whitespaces mark by erblint * remove skip from admin_spec livechat * fix input color display * apply help-text class to paragraph * remove skip from awesome_intergram_spec * enable auto_save_forms config_accessor * skip livechat spec * update tweaks for surveys styles * remove skip from admin_spec.rb:83 * disable intergram * skip live chat spec * adapt autosave.js with js vanilla * fix lint error * disable eslint line prefer-reflect * stylize messages * styles * remove non belonging mods * additional style fixes --------- Co-authored-by: Ivan Vergés <[email protected]>
* enable intergram_for_admins and for public * enable intergram live chat * add styles to livechat view header * handle nil values for intergram settings * add styles to intergram_for_public constraints-editor * style input text chat_id * add styles to intergram_for_admin * add styles to intergram_for_admin * remove whitespaces mark by erblint * remove skip from admin_spec livechat * fix input color display * apply help-text class to paragraph * remove skip from awesome_intergram_spec * adjust help-text span margin-top * add more steps to admin livechat * remove padding style from constraints * replace gap for row column classes * add scripts * admin styles --------- Co-authored-by: Ivan Vergés <[email protected]>
* enable intergram_for_admins and for public * enable intergram live chat * add styles to livechat view header * handle nil values for intergram settings * add styles to intergram_for_public constraints-editor * style input text chat_id * add styles to intergram_for_admin * add styles to intergram_for_admin * remove whitespaces mark by erblint * remove skip from admin_spec livechat * fix input color display * apply help-text class to paragraph * remove skip from awesome_intergram_spec * disable live chat config accessor * add slyles to meetings map-info popup * add slyles to proposals map-info popup * refactor marker-meeting-popup * add proposal popup dinamic info * run npm run lint-fix * run bundle exec erblint app/**/*.erb * add changes * fix meetings cards in map * style the controls * restore icons * restore custom icons for meetings * fix proposals presentation * hide debugging * cops * handle amendments * fix hashtags * fix i18n location * fix home content block --------- Co-authored-by: Ivan Vergés <[email protected]>
* adapat vote override * add styles to voting cards * add styles to abstain-button * add styles to buttons from vote_proposal_modal * add font-size to h4 * modify voting cards proposal modal * run bundle exec erblint app/**/*.erb * replace jQuery for js vanilla in voting_cards.js * refactor voting_cards_proposal_modal * remove extra whitespace detected * fix html * change dialog trigger * fix script * fix modal clicks * refactor voting_cards.js * add proceed button backgroun-color * remove extra whitespace detected * fix initial actions * add metadata info * fix voting tests * fix summary tests * fix config spec * add cell tests * add lib test to simplecov ignore --------- Co-authored-by: elviabth <[email protected]>
* update awesome map image * updated menu-3 and menu-4 images * update menu-1 and menu-2 images * replace scoped admins images * fix gap between menu_hacks inputs * replace custom-redirections new image * replace custom_validations new image * replace admin_accountability image * replace scope_admins_authorized image * replace custom_styles image * replace intergram image * replace proposal_sorting images * replace weighted_voting image * replace custom_fields images * replace custom-fields-1 gif * replace custom-fields-1 gif extention * replace quill image and proposal image * resolve review comments * remove image.png and image-1.png * replace custom-redirections image * replace admin-editor and scoped_admins_config * update menu-3 and menu-4 images * fix image * spell --------- Co-authored-by: Ivan Vergés <[email protected]>
* New translations en.yml (French) * 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 (Japanese) * New translations en.yml (Lithuanian) * 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 (Catalan) * 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) --------- Co-authored-by: Ivan Vergés <[email protected]>
* New translations en.yml (Czech) * New translations en.yml (Czech)
* fix helper * add tests * fix rubocop * fix tests --------- Co-authored-by: Ivan Vergés <[email protected]>
* 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]> * remove file * fix ca file * change modal * fix rubocop * fic npm lint * undo the changes * fix modal, fix test * fix limit modal override * remove spaces * simplify implementation * fix flaky scoped admins * fix intergram spec * fix specs * amendment image * fix linking the correct amendmentd --------- Co-authored-by: PokeCode Bot <[email protected]> Co-authored-by: Anna Topalidi <[email protected]>
* New translations en.yml (Romanian) * New translations en.yml (French) * New translations en.yml (Spanish) * New translations en.yml (Catalan) * New translations en.yml (German) * New translations en.yml (Basque) * New translations en.yml (Hungarian) * New translations en.yml (Italian) * New translations en.yml (Japanese) * New translations en.yml (Lithuanian) * New translations en.yml (Dutch) * New translations en.yml (Portuguese) * New translations en.yml (Swedish) * New translations en.yml (Portuguese, Brazilian) * 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 (Japanese) * New translations en.yml (Hungarian) * 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 (Catalan) --------- Co-authored-by: Ivan Vergés <[email protected]>
* 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]>
…im_awesome into develop
* add maintenance controller * standarize views * fix gemfile * fix gemfile * fix gemfile * add presenters * add action log * add specs * add specs * add private data info * add specs * add last specs * fix spec
* New translations en.yml (Czech) * New translations en.yml (German) * 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 (Japanese) * New translations en.yml (Lithuanian) * New translations en.yml (Dutch) * New translations en.yml (Swedish) * New translations en.yml (Portuguese, Brazilian) * New translations en.yml (German) * New translations en.yml (German) * 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 (Japanese) * New translations en.yml (Lithuanian) * New translations en.yml (Dutch) * New translations en.yml (Swedish) * New translations en.yml (Portuguese, Brazilian)
…im_awesome into develop
This PR will stay in draft until all the awesome features are properly working with decidim 0.28.
As this is a collaborative effort, all 0.28 upgrade PR should start and point to this branch (
develop
). Once we have all of them working, we will merge tomain
.List of pending tasks (might not be exhaustive):
4. Markdown editor for proposalsImages & Videos in public editors #275 by @microstudi (it's being removed!)Transversal tasks
fixes #251 #257