Skip to content

Always allow image upload in WYSWYG editor#10011

Merged
ahukkanen merged 3 commits intodevelopfrom
fix/quilljs-allways-image-upload
Nov 9, 2022
Merged

Always allow image upload in WYSWYG editor#10011
ahukkanen merged 3 commits intodevelopfrom
fix/quilljs-allways-image-upload

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

While reviewing #9639, I found out that we still were allowing base64 image upload in WYSWYG editor. This PR enables it by default always when there's an editor, so the images are upload with ActiveStorage.

I can't come up with any reason for allowing base64 images. If there ̇'s any please let me know.

📌 Related Issues

Testing

  1. Sign in as admin
  2. Enable "Enable rich text editor for participants" on http://localhost:3000/admin/organization/edit?locale=en
  3. Go to a proposals component settings, enable "Participants can create proposals"
  4. Create a new proposal in the admin panel. Drag and drop an image, see with the inspector that the image is uploaded to the server
  5. Create a new proposal in the frontend. Drag and drop an image, see with the inspector that the image is uploaded to the server (until now was base64)

♥️ Thank you!

@andreslucena andreslucena marked this pull request as draft November 4, 2022 09:49
@andreslucena andreslucena changed the title Allow allways image upload in WYSWYG editor Allways allow image upload in WYSWYG editor Nov 4, 2022
@andreslucena andreslucena marked this pull request as ready for review November 4, 2022 14:20
@andreslucena andreslucena changed the title Allways allow image upload in WYSWYG editor Always allow image upload in WYSWYG editor Nov 4, 2022
@ahukkanen ahukkanen merged commit 43240be into develop Nov 9, 2022
@ahukkanen ahukkanen deleted the fix/quilljs-allways-image-upload branch November 9, 2022 12:22
Crashillo pushed a commit that referenced this pull request Nov 10, 2022
* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses
entantoencuanto added a commit that referenced this pull request Nov 10, 2022
* develop:
  Fix running DB commands consecutively (#9607)
  Always allow image upload in WYSWYG editor (#10011)
  Fix usages of sanitize helper methods for editable content provided by admins (#10007)
  Show only ToS acceptance when admin hasn't accepted it (#9907)
  Redesign: accountability (#9772)
  Update the gitignore statement for development app (#10045)
  Improve RSpec configuration  (#9931)
  Refactor the meeting list item title display (#10043)
entantoencuanto added a commit that referenced this pull request Nov 14, 2022
…staging_new

* feature/redesign-action-buttons: (66 commits)
  Add initial value to some functions and fix references to document
  fix erblint
  Make blog posts reportable
  Move flag modal to report_button cell
  Remove redesigned_flag_modal from layout
  limit scope of frame-render initializer
  limit the scope of th einitializer js function
  Call renamed attribute correctly
  change social share manifest attribute
  fix stylelint
  refactor conversations modal
  fix share modal mobile
  update modals markup
  modal resposive refactor
  this block removal is within 38ac609, but it would contains conflicts to cherrypick it
  move action button to the right if it's the only child
  shared html styles for modals
  Always allow image upload in WYSWYG editor (#10011)
  Fix usages of sanitize helper methods for editable content provided by admins (#10007)
  Show only ToS acceptance when admin hasn't accepted it (#9907)
  ...
Crashillo pushed a commit that referenced this pull request Nov 17, 2022
* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses
Quentinchampenois pushed a commit to Quentinchampenois/decidim that referenced this pull request Nov 23, 2022
* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses
ahukkanen added a commit that referenced this pull request Dec 16, 2022
* create new cells

* replace hard-coded blog buttons with cells

* remove externalized component from blogs

* extract css component & general fixes for cells

* endorsers list toggle

* Refactor endorsers_list cell to inherit from RedesignedButtonCell

* Refactor comments_button cell to inherit from RedesignedButtonCell

* Refactor share and flag buttons to inherit from RedesignedButtonCell

* Simplify redesigned button cell

* share modal redesign

* Remove unused translations

* Fix linter offense

* Split social share button and related tests in redesigned and not redesigned versions

* provide social network icon colors

* report button triggers flag modal

* don't use an anchor if no href

* identity modal

* endorsement auth modals

* Merge branch 'develop' into feature/redesign-action-buttons

* mark old script as deprecated in jsdoc

* allow remote, jquery-free modals 🎉

* Fix modal

* Disable dropdown behavior if no endorsements present in endorsers list

* Move remote modal initialization to redesigned_index

* Include Decidim::FiltersHelper at application controller level

* Split authorization modal in redesigned and legacy versions

* override dropdown defaults in endorsers-list

* Split authorization modal in redesigned and legacy versions

* Move parts of redesigned authorizations modal content to controller

* Sanitize translations

* Fix linter offense

* Fix tests providing redesign_enabled? method

* Update tests and social_share_button_tag method

* Add parameters to Dialog initializer optionally to avoid accesibility errors

* Avoid blank elements in verifications of authorization modal

* Ensure main tag presence in layout_center

* Fix usages of `reorder` and `paginate` (#9926)

* Fix organization SMTP password not saved (became blank) in system panel (#9925)

* Fix organization SMTP password not saved (became blank) in system panel

* Fix organization SMTP password not saved (became blank) in system panel - refactoring

* Reformat CSV help for import files on Accountability and Proposals (#9891)

* Move explanation in accountability's admin import CSV results

We also remove the 'import-process-info' class and its CSS definition,
as it isn't necessary anymore.

* Add HTML support to ImportForm help text

* Reformat help text to proposals' answers import

* Reformat help text to proposals' import

* Remove links with link word

* Add nested list in explanation

* Add an example for English language on i18n attributes

* Refactor cell titles (#10032)

* Refactor HTML escaping in cell titles

* Add specs to test the cell titles

* Fix meetings spec

* Split CHANGELOG and RELEASE_NOTES (#10031)

* Split CHANGELOG and RELEASE_NOTES to their own documents

* Fix the heading levels in the changelog generator

* Update releases documentation about CHANGELOG and RELEASE_NOTES

* Rename to "changelog" instead of "change log"

* Update the RELEASE_NOTES structure to make it easier to copy-paste

* Update the RELEASE_NOTES instructions in releases documentation

* Fix the previous versions link in CHANGELOG

* Fix the release title

* Refactor admin listing titles (#10042)

* Refactor the meeting list item title display (#10043)

* Refactor the meeting list item title display

* Remove unnecessary method

* Refactor meeting list item

* Update the meeting list item spec

* Add spec for the highlighted list item cell

* Improve RSpec configuration  (#9931)

* Improve RSpec configuration

* Bump version for Antora

* Update the gitignore statement for development app (#10045)

* Redesign: accountability (#9772)

* home accountability desktop

* extract filters to component

* index accountability desktop

* add headers & updated sidebar widget

* refactor status, mark as deprecated

* extract css components

* generalize drawer

* use all the core assets from app-design

* larger scope for stylelint overrides in gem stylesheets (not only core)

* missing semicolon stylelint

* home acc. mobile design

* filters redesigned for mobile (also profile)

* update dropdown/filters component

* update filters in user_activity

* enhance auto-close for dropdowns

* fix erblint

* move drawer to normal app

* refactor list of projects

* move generic metadata to css component

* remove deprecated

* cancel out padding right on reverse layouts

* Fix global moderation types not translated (#9662)

* Fix unpublished processes shown in the group process count (#9682)

* Fix a typo in the logic customization manual (#9831)

* Extract status to a cell

* Move filter items calculation to a helper method

* Fix test to not use removed stylesheets imports

* Update selector in test

* Fix tags selectors in tests

* Fix linter offenses

* Remove unused translations

* Normalize translations file

* add inner-button default styles

* remove CSS duplicated as of 695e68a

* extract css filters

* Define a cell to display results data

* Define a category item in result cell

* Define a dates_item_compact element in result cell

* Add a variant of project cell with different template and items

* Allow status cell to accept models different to categories

* Fix condition to build items array

* Extend the use of status cell

* Define linked_resources_for at cell level

* Refactor results and projects views to use cells

* Remove unused partials

* Remove unecessary line in push notifications spec (#9833)

* Fix updating organization settings in case there were errors (#9634)

* Fix source format in the data consent docs for the example (#9837)

* Redesign: conversations (#9469)

* conversations index

* conversation show

* reformat scroll to bottom no jquery

* fix naming

* allow only one initialization on load

* scroll to last child fix on reloads

* conversations shows + first approach form validation no-abide

* Recover form-error class in error messages in forms

* Fix translations

* Call author cell with context actions

* Replace TODOs with REDESIGN_PENDING

* Fix rubocop offense

* Refactor conversations to allow creation

* Recover jQuery use

* Update test after abide removal

* Fix tests

* Allow set novalidate in decidim_form_for helper method

* Recover novalidate to true by default in decidim_form_for

* Move messages to controller and remove duplicated @Conversations

* Validate initiative fill_data form in front

* Fix typo and add validation_messages as helper_method

* extract conversation styles

* update markup

* generalization form error

* new redesign conversations

* new index conversations

* generalization character counter

* input moji feature

* fix messages layout

* fix wrapper char counter

* fix style issues

* update conversations/new mockup

* responsive aside adaptations

* aside buttons conversations

* reorder time in conversations

* unread condition

* ignore stylelint

* mobile conversations

* position emoji

* fix position helper messages on generic forms

* add character counter fix

* Recover abide in forms

* Fix reply js replacement after creating a conversation

* Remove unused translations

* Fix recovering of abide in forms

* Fix selectors in tests

* Recover old modal behavior

* Update expected texts in tests

* Hide test that may no longer be needed

* Update selector in test

* Update selectors in test

* Comment maybe deprecated example

* Remove redesign pending comments

* remove redupe dep

* Force id of new conversation modal form

* Replace main with div in wrapper layout part

This avoids accessibility errors testing redesigned parts using old
layouts

* tune aside layout for allow different setups in mobile

* Use an identifier for main section to be used in tests

* Update selector in tests looking for main

* Recover main element in legacy wrapper

* add css classes to shrink icon size

* fix desktop sidebar layout

* Extract display_name method in author cell

* Hide messages button in profile actions when user has muted conversations

* Display unread pending indicator in redesigned layout main links when there are unread conversations also

* Enable full redesign feature in conversations integration tests

* Fix tests of pending conversations

* Update tests with redesigned author cell

* Update tests of messages in profile

* Skip temporarily accessibility tests in conversations due to pending redesign issues

* Skip test pending of another PR merge to pass

* Recover skipped test

* Fix footer h sequence

* Fix not allowed “no-external-link” on element “a” accessibility error

* Replace class to hide dataconsent-warning element

* Replace time with invalid value format with div

* Replace invalid div inside summary with span

* Add alt to image tag

* Fix h sequence

* Avoid having too much elements inside label tag

* Remove repeated line

* Recover accessibility tests in conversations

* Recover move hidden class to attribute in dataconsent-warning element and fix javascript

* Recover hide class for compatibility with old design

* Change tag in two cols layout to ensure accessibility with old design

* Add extra check

* Define set_redesign using environment

* Attempt to enable redesign in tests

* Attempt to enable redesign in tests using configuration persisted in database

* Change primary color to improve contrast

* Force new commit

* Force redesign_active

* Redefine primary color

* Disable tweak_bootsnap

* Allow forcing redesign in controllers

* Adapt test to parts with redesign not enabled

* Revert "Force redesign_active"

This reverts commit 556172c.

* modal required files

* conversations modal and redesigned_icon jquery-free 🎉

* Replace div tag with span to ensure accesibility

* Replace div tag with span to ensure accesibility

* Fix linter offense

* Remove unused translation

* Revert "Disable tweak_bootsnap"

This reverts commit b23a400.

* Prepare follow feature related tests to both redesigned and not redesigned versions

* missing omniauth buttons

* fix initializer multiple-mentions

* fix autocomplete styles

* add disabled for buttons

* Add missing id

* Disable automatic id

* Remove deprecated tests

* Skip test using old modal inside a page that will be removed

* Recover hide class in condition for compatibility with old design

* Remove commented code

* Fix announce threshold calculation bug

* Move reply form to a partial and reuse it

* add i18n button title

* remove autofocus

* alter order buttons + shrink size

* move styles to file

* Fix translation alphabetical order

* reduce size button modal & align center sidebar buttons

* order aside actions

* add border transparent to default button

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Fix i18n-tasks issues

* move filter search to css component

* restore search element

* Define a new kind of card to use for component resources in lists and create one for accountability results

* Update test

* Add metadata cell, use it in card_l and refactor some parts

* Refactor results card_l using metadata

* Update styles

* Recover drawer layout

* Update categories hierarchy display in filtered projects indexes

* Update the CHANGELOG template and fix detailed changes heading levels (#9843)

* Update the changelog template and fix detailed changes heading levels

* Make the same updates to the current CHANGELOG

* Fix the heading level for the API change sub sections

* Add tailwind as an API change

* Fix typo

* Fix moderations for comments that are mapped to deleted resources (#9621)

* Return nil for reported content url if the commentable is deleted

* Show "deleted resource" instead of the visit URL when URL is not returned

* Add system specs testing that moderations for comments with deleted resources work

* Fix issue hiding comments for deleted debates

* Add moderation test to hide comments for deleted resources

* Add manage moderations shared examples for debates

* Fix specs after merging with develop

* Do not import resources multiple times (#9644)

* Fix form answer attachments breaking the answer view (#9653)

* Improve release process (#9492)

* Improve the release related comands

- Abort the process if there are uncommitted changes
- Abort the process in case the official locales are not complete
  or clean
- Do not release NPM packages in case some of the gem releases
  fail
- Add a feature to retry the commands and make it configurable
- Enable retrying the commands by default assuming using OTP
  authentication

* Disable the GemManager retries for the generators specs

* Configure retry times env variable not to retry infinitely

* Configure the RETRY_TIMES env var for the gem installations in spec

* Move the RETRY_TIMES configuration to the spec helper

* Rubocop

* Fix user related absolute URLs (#9596)

* Fix the user related URLs to contain the correct port

* Add a spec for the profile_url method in UserPresenter

* Fix default_avatar_url in UserPresenter

* Fix specs broken by the port change

* Fix broken specs

* Call the same method in both cases

* Fix "disappearing" underscores with comments (#9654)

The underscores were actually converted into `<em>`s which is not
desired.

* Fix editor content saving when the content has only one video (#9629)

* Allow only videos on the rich text editor

* Add a spec testing adding only a video through Quill

* Fix date/time formats at component forms (#9632)

* Fix the localized date and time with zone with ISO formats

* Fix the datetime_field with Time and DateTime

* Change the component time to TimeWithZone attribute type

* Fix the conferences admin update controller spec

* Fix last activity page showing recently updated records (#9844)

* Fix last activity page showing recently updated records

* Fix missing verb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Fix collaborative drafts page when there are errors on the form (#9656)

* Fix the finite value on the debate form when editing an existing debate (#9645)

* Fix importing participatory process from legacy format (#9646)

* Fix exporting and importing a page component (#9638)

* Fix webpacker crashes on missing icons (#9636)

* Remove GIF and BMP from the default file formats (#9641)

* Remove gif and bmp from the default allowed file formats

* Remove gif from the core examples

* Add results metadata in show footer

* Fix argument in meetings panel

* Hide progress when not present in status cell

* Allow displaying status on results breadcrumb even if there are no results

* Display attachments in result show (resesign pending)

* Hide scope filter when component has no subscopes

* hide global status from home if progress disabled in component

* Update selector to work in redesigned parts

* Skip test pending of redesign

* Change selectors in tests

* Remove not expected result in test

* Add interaction to tests

* Update expected content in test

* Skip comments tests pending of redesign

* Fix selector in test

* add CSS component drawer_metadata

* Remove unused argument of helper method

* Add missing semicolon in scss file

* Fix linter offense

* Add documentation page for accessibility tips (#9608)

* Add page for accessibility tips

* Add the example for accessible icon links

* Typo fixes and refinements

* Refer to the accessibility guide from the styles customization

* Document common accessibility mistakes

* Valid example HTML

* Generalize list styling

* Add tips about headings

* Fix typo

* Update the page with the points from #6207

* Apply suggestions from code review

Fixing typos and grammatical mistakes.

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Code review formatting

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Add a link to the data consent section at the customize index (#9828)

* Add a link to the data consent section at the customize index

* Add link to customize logic page

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Fix preserving bold text in the rich text editor when pasting content (#9640)

* Fix editor clipboard pasting losting bold types

* Add a spec testing the rich text editor clipboard pasting

* Add the license notes for the Quill clipboard overrides

* Fix importing a page component without a body (#9863)

* Add page in AssemblyImporter JSON example

* Add spec for pages imported without body

* Add guard clause for pages imported without body

* Fix duplicate stats on home page and participatory space main page (#9624)

* Fix home page and participatory space duplicate stats

* Test that there are no duplicate stats with the presenters

* Remove `axe-core-rspec` dependency to get fully rid of `virtus` dependency (#9758)

* Remove axe-core-rspec dependency and add a custom matcher instead

In order to get rid of the `virtus` dependency, remove
axe-core-rspec and replace it with a custom matcher implementing
essentially the same functionality.

* Rake bundle

* Load the axe JS library always to make it available for the view

* Do not print indented blank lines for blank messages

* Add a spec for the axe matchers

* Add 2 levels of indentation to the node messages

To better match the output with the old format.

* Fix the expected message format in the spec after changing it

* Format the code slightly better

* Replace social-share-button gem with social share services API (#9545)

* Remove social-share-button gem

* fixup! Remove social-share-button gem

* Add SocialShareServiceManifest

* Add social share services registry with the social networks

* Add configuration in generated apps (initializer and secrets)

* Add social share button helper

* Add documentation

* Add CHANGELOG entry for existing apps

* s/Share on/Share to/g

* Extract render_social_share_button to its own method

* Escape URLs when sharing

* Add optional params support

* Fix typo

* Add spec for  render_social_share_button (Email and Twitter)

* Refactor regexp

* Remove unsupported logos for social share services

* Add documentation

* Fix method signature after Ruby 3 upgrade

* Fix rubocop offense

* Remove social-share-button gem javascript

* Remove unused social services from SCSS

* Remove unecessary use of the double-splat operator

* Remove social-share-button gem javascript from the redesign pack

* Fix issue with optional parameter value provided as nil

* Resque from KeyError when calling the format method in the manifest

* Do not render the social share URL if required parameters are not provided

* Update the return statement documentation correctly

* Add alt attribute to the social share images

* Add the meta tags to the dummy resources show view

In order to make the meta URL available and to show the social
share buttons on the page.

* Do not compact the arguments in the excape method

To avoid any side-effects, compact the arguments already when
passing them to the method.

* Add line break at the end of the the CHANGELOG section

* Fix the WhatsApp related specs in the social share button specs

- Target the WhatsApp element correctly according to the new API
- Remove the different cases for mobile and desktop because the
  new API shows the same button for both devices

* Unify naming for the social media services registry and registering

Use the same convention for the social media services registry as
with other manifest registries.

* Rubocop

* Add the `DECIDIM_SOCIAL_SHARE_SERVICES` config to the env vars docs

* Proofreading social shares docs

* Markdownlint

* Fix merge issue with CHANGELOG and add relevant section number

* Run rake bundle

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* hide progress bar on subcategories

* item-list metadata mobile

* remove deprecated

* no changes for design-app in accountability

* remove category description

* remove deprecated file

* fix a11y issues

* Display component name in header instead of generic accountability name

* Fix path of first element of breadcrumb

* upgrade heading tag

* Return blank in linked_resources_for cell if no linked_resources found

* Hide tabs on project cell when associated panel is blank

* Add status to results card_l

* Fix metadata item_list styles

* new adjustment list metadata

* fix icon method

* Replace -> separator with -

* set color progress indicator

* Change scopes default icon and use resource_type_icon_key for categories and scopes

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: Sina Eftekhar <104360479+sinaeftekhar@users.noreply.github.com>
Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: #9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* shared html styles for modals

* move action button to the right if it's the only child

* this block removal is within 38ac609, but it would contains conflicts to cherrypick it

* modal resposive refactor

* update modals markup

* fix share modal mobile

* refactor conversations modal

* fix stylelint

* change social share manifest attribute

* Call renamed attribute correctly

* limit the scope of th einitializer js function

* limit scope of frame-render initializer

* Remove redesigned_flag_modal from layout

* Move flag modal to report_button cell

* Make blog posts reportable

* fix erblint

* Add initial value to some functions and fix references to document

* standarize jsdoc

* fix social icon name

* Fix partial to include class in div conditionally

* add documentation for social share setup

* close modals on click outside

* keep modal focus

* Recover old options in redesign_authorized_to

* Use button instead of link in redesigned_follow_button

* Remove not required translation

* Replace endorse with like in button

* Remove report button from blog posts

* Revert reportable concern inclusion in blog posts

This reverts partially commit eb76be2.

* Make cache_hash private in report button

* add copy text to button

* add id to trigger button endorsement cell

* Move authorizations modal to a cell

* handle external link warning modal

* Fix expected button texts on endosement tests

* Use link processed by controller instead of using param directly

* Remove unused translation

* Disable temporarily test after redesign

* replace modal warning if already exists

* don't use rails helper on simple view

* remove deprecated helper

* Clarify comment

* hide button if no endorsements

* button translations

* show the plus indicator conditionally

* toggle icons like/dislike

* move icon keys to icon_helper

* fix debates test

* Update decidim-blogs/config/locales/en.yml

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* replace identity list with a11y code

* remove no necessary

* Define a cell to wrap the block of endorsers and endorse button

* Move content of endorse button to a partial inside cell

* Define action to refresh endorse button content and endorsers list

* Use default implementation for comments button

* Define function in js.erb only if redesign is enabled to avoid errors

* handle remote modals special case

* fix linter

* short line

* fix fix fix

* Fix linter offense

* iterate over children with no variable mutation

* Don't display dialog modal trigger if remote_url blank

* add button to the remote loader

* clearer buttons

* Set nil as default for method in redesigned_button cell

* replace all available h3 dialog with h2

* add tabindex by default to titles

* set focus on title & better handling remote-modals

* Avoid initialize twice on turbo events

* dont show svg on hover/focus

* Change selector to identify like button

* Update whole like button if user doesn't have to select an identity

* Extract part of cell to template

* Display elements of endorsers button and list even when there are no endorsers

* wrap text into a span for truncate purposes

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Sergei Krylov <sergei.krylov@yahoo.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: Sina Eftekhar <104360479+sinaeftekhar@users.noreply.github.com>
Co-authored-by: Fernando Blat <fernando@blat.es>
ferblape pushed a commit that referenced this pull request Feb 10, 2023
* initial setup processes

* floating help styles

* isolate component, provide js functionality

* reuse cards for index

* add metadata to the cards

* responsive index titles

* use new layout for redesigned process

* include paginator

* remove debug code

* filters (mockup) index process

* cherry pick frontend rearrangement

* remove partial in favour of cell

* add callout flow

* main distribution in blocks

* process info metadata

* process metadata block

* phases modal

* phase steps connection line

* assets in show are loaded in their layout

* mobile introduction block

* navigation bar process

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: #9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* Fix running DB commands consecutively (#9607)

* Reset column information before seeds on loaded record classes

* Add spec for running db commands consecutively

* Load the templates engine in the surveys engine

Otherwise the templates migrations are not copied to the app
unless the templates module is define in the Gemfile, although
it is a requirement ofr surveys.

* Try sub-command without bundle exec in CI

* Revert "Try sub-command without bundle exec in CI"

This reverts commit 66e4361.

* Try running sub-command with original env

* Fix ActiveRecord descendants checks for abstrac test classes

* New Crowdin updates (#9486)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Basque)

* New translations en.yml (Basque)

* New translations en.yml (Greek)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (Arabic)

* New translations en.yml (Basque)

* New translations en.yml (Spanish)

* New translations en.yml (Latvian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Dutch)

* New translations en.yml (Galician)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Hungarian)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Bulgarian)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Irish)

* New translations en.yml (Danish)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovenian)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Galician)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Sinhala)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Czech)

* New translations en.yml (Guarani)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Bulgarian)

* New translations en.yml (Arabic)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (Danish)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Irish)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Italian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Norwegian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Slovak)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Serbian (Latin))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Russian with many plural form)

* New translations en.yml (French)

* New translations en.yml (French, Canada)

* New translations en.yml (Swedish)

* New translations en.yml (Basque)

* New translations en.yml (Romanian)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Turkish)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Swedish)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Polish)

* New translations en.yml (Portuguese)

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (Basque)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* Add note to merge the Crowdin PRs in all releases (#10076)

* Clarify the changelog instructions in the release process documentation (#10066)

* Redesign: upload modal (#9858)

* prepare update-modal cell

* clean conversations modal as of the shared styles

* shared html styles for modals

* workaround: redesign_enabled? not working on cells called from helper

* full refactor upload modal files

* fix linters

* fix styles dropzone

* handle asynchronous validations

* general fixes and new casuistics

* fix dragover highlight & remove files on cancel

* update dropzone when errors

* add space to files

* Prepare button to open login modal to work with redesigned and legacy layouts

* Split upload modal cell in legacy and redesigned versions and allow to call it passing a redesign option

* Call upload method passing the redesigned option based on the context

* Fix linter offense

* Normalize locale file

* eslint consistent-return

* eslint consistent-return

* Update test

* move action button to the right if it's the only child

* rearrangement frontend libraries

* fix upload modal after redesigned assets

* remove current image block (fix removal error)

* preview image

* good version files.erb

* Fix external_link initialization in legacy design index.js

* Force flaky test

* Fix attachment blob call

* Remove unused attachment label method

* Display default image if defined and no uploaded attachments

* Update test

* Update selector in test

* Revert "Force flaky test"

This reverts commit 075f6eb.

* Improve deprecation after redesign documentation in js file

* overflow dropzone auto

* disabled form submit when there are erorrs on the files

* reset dropzone on cancel

* pass argument multiple

* update translation

* better looking responsive

* disable save only when errors & mark as removable

* include logic to remove the current uploaded item

* Delegate redesign_enabled? to template in form builder

* fixes frontend upload modal

* Fix form_builder spec to take redesign into account

* avoid drag flickering on webkit browsers

* Avoid errors in determine_filename when attachment class is ActionDispatch::Http::UploadedFile

* avoid string commas in errors array

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Implement ToS summary (#9222)

* feat(privacy_policy): Manage privacy policy as a content_block

* feat(privacy_policy): add summary to sign up

* chore(sign_up): privacy_policy link target blank

* fix rubocop issues

* fix: privacy_policy unused_manifests method

* feat(core): add seed for privacy policy summary

* feat(spec): add system/admin_manages_organization_privacy_policy_spec.rb

* refactor: move from settings to static_pages, rename to ToS

* chore(css): tweak sign_up ToS text styles

* fix(i18n): remove unused keys

* feat(seeds): add ToS summary content_block

* fix specs

* add summary content block to tabbed page view

* Fix rubocop offenses

* Add migration to move terms and conditions page content to content_block

* Keep the content of the tos page even with summary content block active

* Fix test

* Show summary section in ToS page

Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>

* Run ERBlinter on modified files (#9868)

* boost the ERBlinter filtering the scanned files

* Test simpler setup

* Test another syntax

* handle no files exit code

* Get back the initial command

* Add erblint to package.json of design app

* remove linter from npm

* lint all views for merges

* Update run_erblint.sh

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Improve the release_all rake task with multiple remotes (#10077)

- Add check that we have decidim/decidim as one of the remotes
- Fetch the existing tags before doing the release
- Define the release remote to the correct remote (decidim/decidim)

* Enable newsletters for admin on seeds (#10073)

* Enable newsletters for admin on seeds

* Enable newsletters for a couple more users on seeds

* Allow blocking a UserGroup (#10021)

* Fix comment (probably a copypasta)

* Make Users find compatible with UserGroups

* Add specs for blocking/unblocking a User or a UserGroup

* Recover user_name from extended_data when unblocking

* Redirect to users moderation panel instead of users/officializations

* Return 404 when the UserGroup is blocked

* Move the associations to the UserBaseEntity model

* Fix override of extended_data attribute in UserGroups factory

* Fix spec

* Add slash in PR linter configuration (#10074)

To only catch when someones leave the default title when working with
`hub` or `gh`, that's the default branch, and not when someone uses
"Refactor XXX" as title.

* Enhance templates engine (#10015)

* Refactor templates engine

* Running linters

* Apply review Recommendations

* Implement last review reccomendations

* Apply the latest recommendation changes

* Apply clarified review recommendations

* Fix wrong capitalization in i18n values and add missing keys (#10072)

* Fix wrong capitalization in i18n values

* Add missing i18n keys

* Replace 'Weight' with 'Order position'

So its consistent in all the forms.

* Fix key for meeting agenda item

* Remove unused attribute for show_embedded_iframe

* Fix key for scope

* Normalize :en locale

* Fix spec

* Fix typo

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* Fix column reference on Topic

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* merge item-list into card css component

* remove redesigned card cell (deprecated)

* landing processes

* give some margin to any sibling of a callout

* do not style dynamic content inside the cards

* floating help default status as tip, not block

* add card "G" cell for process card grids

* set content blocks for processes & accountability

* Revert "remove redesigned card cell (deprecated)"

This reverts commit 9300a1a.

* Remove redesigned_process cell and define process size l card

* add reference code to the bototm

* block activity (pending integration)

* blog section

* missing block title

* handle full layout html block

* reduce description characters

* create post_g cell

* set color only to the title, not the whole block

* don't use custom editor text for card descriptions

* update markup modal steps

* add process description page

* add metrics content block

* prepare assemblies assets (orgchart removed)

* fix hover floating help

* update index files dependencies

* assembly cell type G

* move new filters view to shared

* mark as deprecated

* move results to partials

* update tests & references

* update js returned results

* assemblies show

* replace attachments_for with atomic content

* set margins for container

* add link to index in assemblies

* remove helper for assemblies

* refactor the way to draw the charts

* demo cell activities

* move activity styles from profile to independent component

* replace custom css with component class

* fix erblint

* update the floating help for conferneces from processes

* Fix key used to get url in process_nav_item partial

* include author conditionally

* don't enforce font-size on component

* remove spaces from the component, set them in the container

* Use an option to hide participatory space on activities cell

* Adapt test selectors

* Unify method changing behavior with redesign and adapt shared example to both cases

* Skip test pending of integration of breadcrumb

* Recover partial used by legacy design

* Fix linter offenses

* Skip some tests deprecated after redesign

* Remove deprecated partials en assemblies and processes

* Remove unused translations

* Add redesign pending comments

* Fix nav items generation in assembly space

* Use snippets to include assets in cell

* Remove unused translations

* remove old code

* hide endorsers on mobile

* style glitches

* Remove unused translations

* switch flex to grid for responsiveness

* grow time container

---------

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Sergei Krylov <sergei.krylov@yahoo.com>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: decidim-bot <decidim-bot@users.noreply.github.com>
Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Agusti B.R <agustibr@users.noreply.github.com>
Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
ferblape added a commit that referenced this pull request Mar 7, 2023
* initial setup processes

* floating help styles

* isolate component, provide js functionality

* reuse cards for index

* add metadata to the cards

* responsive index titles

* use new layout for redesigned process

* include paginator

* remove debug code

* filters (mockup) index process

* cherry pick frontend rearrangement

* remove partial in favour of cell

* add callout flow

* main distribution in blocks

* process info metadata

* process metadata block

* phases modal

* phase steps connection line

* assets in show are loaded in their layout

* mobile introduction block

* navigation bar process

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: #9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* Fix running DB commands consecutively (#9607)

* Reset column information before seeds on loaded record classes

* Add spec for running db commands consecutively

* Load the templates engine in the surveys engine

Otherwise the templates migrations are not copied to the app
unless the templates module is define in the Gemfile, although
it is a requirement ofr surveys.

* Try sub-command without bundle exec in CI

* Revert "Try sub-command without bundle exec in CI"

This reverts commit 66e4361.

* Try running sub-command with original env

* Fix ActiveRecord descendants checks for abstrac test classes

* New Crowdin updates (#9486)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Basque)

* New translations en.yml (Basque)

* New translations en.yml (Greek)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (Arabic)

* New translations en.yml (Basque)

* New translations en.yml (Spanish)

* New translations en.yml (Latvian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Dutch)

* New translations en.yml (Galician)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Hungarian)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Bulgarian)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Irish)

* New translations en.yml (Danish)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovenian)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Galician)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Sinhala)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Czech)

* New translations en.yml (Guarani)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Bulgarian)

* New translations en.yml (Arabic)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (Danish)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Irish)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Italian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Norwegian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Slovak)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Serbian (Latin))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Russian with many plural form)

* New translations en.yml (French)

* New translations en.yml (French, Canada)

* New translations en.yml (Swedish)

* New translations en.yml (Basque)

* New translations en.yml (Romanian)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Turkish)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Swedish)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Polish)

* New translations en.yml (Portuguese)

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (Basque)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* Add note to merge the Crowdin PRs in all releases (#10076)

* Clarify the changelog instructions in the release process documentation (#10066)

* Redesign: upload modal (#9858)

* prepare update-modal cell

* clean conversations modal as of the shared styles

* shared html styles for modals

* workaround: redesign_enabled? not working on cells called from helper

* full refactor upload modal files

* fix linters

* fix styles dropzone

* handle asynchronous validations

* general fixes and new casuistics

* fix dragover highlight & remove files on cancel

* update dropzone when errors

* add space to files

* Prepare button to open login modal to work with redesigned and legacy layouts

* Split upload modal cell in legacy and redesigned versions and allow to call it passing a redesign option

* Call upload method passing the redesigned option based on the context

* Fix linter offense

* Normalize locale file

* eslint consistent-return

* eslint consistent-return

* Update test

* move action button to the right if it's the only child

* rearrangement frontend libraries

* fix upload modal after redesigned assets

* remove current image block (fix removal error)

* preview image

* good version files.erb

* Fix external_link initialization in legacy design index.js

* Force flaky test

* Fix attachment blob call

* Remove unused attachment label method

* Display default image if defined and no uploaded attachments

* Update test

* Update selector in test

* Revert "Force flaky test"

This reverts commit 075f6eb.

* Improve deprecation after redesign documentation in js file

* overflow dropzone auto

* disabled form submit when there are erorrs on the files

* reset dropzone on cancel

* pass argument multiple

* update translation

* better looking responsive

* disable save only when errors & mark as removable

* include logic to remove the current uploaded item

* Delegate redesign_enabled? to template in form builder

* fixes frontend upload modal

* Fix form_builder spec to take redesign into account

* avoid drag flickering on webkit browsers

* Avoid errors in determine_filename when attachment class is ActionDispatch::Http::UploadedFile

* avoid string commas in errors array

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Implement ToS summary (#9222)

* feat(privacy_policy): Manage privacy policy as a content_block

* feat(privacy_policy): add summary to sign up

* chore(sign_up): privacy_policy link target blank

* fix rubocop issues

* fix: privacy_policy unused_manifests method

* feat(core): add seed for privacy policy summary

* feat(spec): add system/admin_manages_organization_privacy_policy_spec.rb

* refactor: move from settings to static_pages, rename to ToS

* chore(css): tweak sign_up ToS text styles

* fix(i18n): remove unused keys

* feat(seeds): add ToS summary content_block

* fix specs

* add summary content block to tabbed page view

* Fix rubocop offenses

* Add migration to move terms and conditions page content to content_block

* Keep the content of the tos page even with summary content block active

* Fix test

* Show summary section in ToS page

Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>

* Run ERBlinter on modified files (#9868)

* boost the ERBlinter filtering the scanned files

* Test simpler setup

* Test another syntax

* handle no files exit code

* Get back the initial command

* Add erblint to package.json of design app

* remove linter from npm

* lint all views for merges

* Update run_erblint.sh

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Improve the release_all rake task with multiple remotes (#10077)

- Add check that we have decidim/decidim as one of the remotes
- Fetch the existing tags before doing the release
- Define the release remote to the correct remote (decidim/decidim)

* Enable newsletters for admin on seeds (#10073)

* Enable newsletters for admin on seeds

* Enable newsletters for a couple more users on seeds

* Allow blocking a UserGroup (#10021)

* Fix comment (probably a copypasta)

* Make Users find compatible with UserGroups

* Add specs for blocking/unblocking a User or a UserGroup

* Recover user_name from extended_data when unblocking

* Redirect to users moderation panel instead of users/officializations

* Return 404 when the UserGroup is blocked

* Move the associations to the UserBaseEntity model

* Fix override of extended_data attribute in UserGroups factory

* Fix spec

* Add slash in PR linter configuration (#10074)

To only catch when someones leave the default title when working with
`hub` or `gh`, that's the default branch, and not when someone uses
"Refactor XXX" as title.

* Enhance templates engine (#10015)

* Refactor templates engine

* Running linters

* Apply review Recommendations

* Implement last review reccomendations

* Apply the latest recommendation changes

* Apply clarified review recommendations

* Fix wrong capitalization in i18n values and add missing keys (#10072)

* Fix wrong capitalization in i18n values

* Add missing i18n keys

* Replace 'Weight' with 'Order position'

So its consistent in all the forms.

* Fix key for meeting agenda item

* Remove unused attribute for show_embedded_iframe

* Fix key for scope

* Normalize :en locale

* Fix spec

* Fix typo

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* Fix column reference on Topic

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* merge item-list into card css component

* remove redesigned card cell (deprecated)

* landing processes

* give some margin to any sibling of a callout

* do not style dynamic content inside the cards

* floating help default status as tip, not block

* add card "G" cell for process card grids

* set content blocks for processes & accountability

* Revert "remove redesigned card cell (deprecated)"

This reverts commit 9300a1a.

* Remove redesigned_process cell and define process size l card

* add reference code to the bototm

* block activity (pending integration)

* blog section

* missing block title

* handle full layout html block

* reduce description characters

* create post_g cell

* set color only to the title, not the whole block

* don't use custom editor text for card descriptions

* update markup modal steps

* add process description page

* add metrics content block

* prepare assemblies assets (orgchart removed)

* fix hover floating help

* update index files dependencies

* assembly cell type G

* move new filters view to shared

* mark as deprecated

* move results to partials

* update tests & references

* update js returned results

* assemblies show

* replace attachments_for with atomic content

* set margins for container

* add link to index in assemblies

* remove helper for assemblies

* refactor the way to draw the charts

* demo cell activities

* move activity styles from profile to independent component

* replace custom css with component class

* fix erblint

* update the floating help for conferneces from processes

* Fix key used to get url in process_nav_item partial

* include author conditionally

* don't enforce font-size on component

* remove spaces from the component, set them in the container

* Use an option to hide participatory space on activities cell

* Adapt test selectors

* Unify method changing behavior with redesign and adapt shared example to both cases

* Skip test pending of integration of breadcrumb

* Recover partial used by legacy design

* Fix linter offenses

* Skip some tests deprecated after redesign

* Remove deprecated partials en assemblies and processes

* Remove unused translations

* Add redesign pending comments

* Fix nav items generation in assembly space

* Use snippets to include assets in cell

* Remove unused translations

* remove old code

* hide endorsers on mobile

* style glitches

* Remove unused translations

* switch flex to grid for responsiveness

* grow time container

* Define a cell to wrap all content blocks content

* Add query to get action_log entries associated with a participatory space

* Add tests

* Define parent cell to display main data of a participatory space

* Pass participatory space as argument to process_nav_item helper method

* Define main data content block of a participatory process

* Register main_data content block of a process

* Move methods to parent class

* Rename method

* Define last activity content block

* Reuse last activity content block element to display data in main content block

* Register last activity cell in participatory processes

* Display content blocks in processes show page

* WIP Hide parts of process show pending integration

* Allow content block cells inherited from base to define data attributes

* Define generic stats content block for participatory spaces

* Register stats block for processes

* Define generic metrics content block for participatory spaces

* Register metrics block for processes

* Allow setting a component_manifest_name attribute in content block registry

* Define a concern to get components associated to a content block

* Define a settings form cell for highlighted elements with component selection

* Make inherit highlighted elements cell from base content blocks cell

* Change published components to use HasRelatedComponents concern

* Adapt HighlightedResultsForComponentCell to content blocks

* Remove the section tag
* Allow it to receive an order option
* Allow it to receive a single component or a relation of them

* Use highlighted_results_for_component cell in accountability highlighted_results content block

* Register highlighted_results content block on processes

* Include an optional block_id in content_blocks base cell

* Use snippets to include assets in cell

* Register only one html content block in processes homepage

* Simplify highligthted elements cell and associated content block and cells for results

* Integrate meetings content block using highlighted_meetings_for_component cell

* Ignore order setting in admin form for content block if not declared in the register

* Register highlighted meetings content block in processes homepage

* Integrate proposals content block adapting highlighted_proposals_for_component cell

* Register highlighted proposals content block in processes homepage

* Integrate blogs posts content block

* Register highlighted blog posts content block in processes homepage

* Display section disabled in process show

* Remove unused partials

* Create a cell to display a list of processes inside a content block

* Define and register a content block for related participatory processes in processes landing page

* Create a cell to display a list of assemblies inside a content block

* Define and register a content block for related assemblies in processes landing page

* Define content block to display documents in participatory spaces and define cell particularized to processes

* Register documents content block on processes landing page

* Define content block to display images in participatory spaces and define cell particularized to processes

* Register images content block on processes landing page

* Include component name in content block on admin when block affects to one

* Fix breadcrumb call conflicting with content blocks

* Change default size of card in highlighted processes homepage content block

* Update selector

* Change test to check results block inside a process

* Include section tag calling directly statistics cell from spaces show view

* Add missing space

* Change test to check meetings block inside a process

* Hide highlighted results content block if no results present

* Hide highlighted meetings content block if no meetings present

* Hide highlighted proposals content block if no proposals present

* Change test to check proposals block inside a process

After redesigning cards in proposals the test must be adapted to the new
cards. For the moment it checks the card-m

* Avoid unused translation warning

* Fix unused translation warnings and unify content blocks keys

* Normalize locales

* Split main data content block and separate metadata block

* Recover parent assemblies nav breadcrumb

* Remove process_g show and use parent card_g view

* Fix expected text in test

* Avoid exceptions when active_step in a process is not present

* Remove static blocks from process landing page

* Test process page enabling content blocks and checking expected output

* Remove trailing newline

* Fix selectors in cells tests

* Update selectors and expected texts in tests

* Skip tests for filters in participatory processes pending of integration

* Add comment to tests which maybe should be deleted

* Add a data-metrics attribute to metrics content block

* Adapt metrics content block test

This commit skips 2 REDESIGN_PENDING examples which has to be removed or
implemented and adapted

* Adapt statistics content block test

* Remove not longer required show_metrics and show_statistics attributes from test

These attributes are not required to display/hide stats and metrics
content blocks inside a process and should be removed from model also

* Update selectors of processes index tests

* Adapt related processes and assemblies content blocks tests

* Skip tests about CTA on processes that should be removed or implemented and adapted

* Adapt test to check components navigation items in a process

* Adapt test to check group a process belongs to including metadata content block

* Remove checks from test in process show

The full description and metadata will be moved to a details view and is
not expected to be shown in the main data content block

* Remove expected css input examples from metrics content block

These elements must appear in the metrics page to download the data, but
the download is not available in the content block

* Improve skip tests messages

* Add missing translation

* Replace count with size

Co-authored-by: Fernando Blat <fernando@blat.es>

* Remove redundant presence call

* Move query to controller

* Move calendar months to a method

* Show active step in processes card-g metadata

* fix styles content-block main

* modal phases responsive

* Replace prefixed process class names with generic participatory-space

* Replace missing process__ prefixed classes

* Remove deprecated partials

* isolate participatory space styles, move 'em to the core

* missing class renaming

* highlight active phase

* Extract hero image to a content block in processes

* Fix translation

* Quit reference to removed partial in old processes layout

* use the correct block and expand the hero

* Include hero content block in test

* Mark shared examples to be checked on other page

* Add main content blocks to process in test

* Recover hero on old layout of processes for components inside them

* Extract announcement in participatory processes to a content block

* Update announcement shared examples in processes using content blocks

* ignore floating tip in layout

* Update decidim-core/app/cells/decidim/content_blocks/participatory_space_last_activity/recent_avatars.erb

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>

* Move translation to core

* Allow to configure the number of avatars to show in last activity content block

* Configure content block scope name associations with models

* Use associations configuration of content blocks and manifest to not call models directly in has_related_components concern

* Fix translation call

* Create content block for highlighted content blocks which make use of other cells

* Fix counter

* Remove unused translation

* Add comments

---------

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Sergei Krylov <sergei.krylov@yahoo.com>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: decidim-bot <decidim-bot@users.noreply.github.com>
Co-authored-by: Agusti B.R <agustibr@users.noreply.github.com>
Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
Co-authored-by: Fernando Blat <fernando@blat.es>
@ahukkanen ahukkanen mentioned this pull request Apr 12, 2023
alecslupu added a commit that referenced this pull request Jul 10, 2023
* Update JS tests

* Apply initializer to changed comments from polling

* Proper JS reprocessing when create comment

* Safer execution

* Prevent multiple execution of external links

* Trailing space

* create a fake id for accorions and dropdown if has none

* Typo

* Typo

* better paddings to dropdown items

* extract the styles from modal to modal_flag

* Offense

* Remove unused translations

* Redesign: meetings (#9830)

* Use version date in author cell

* Link to the last version show from meeting

* Remove index action on versions of meetings

* Simplify code and remove unused methods in versions cells

* turn the partial month into a cell

* include map in meetings block

* remove sticky from filter-container component

* Add a callback to replace url con drawer close event

* Allow passing a path argument to diff cell

* Use turbo to update diff view selection options

* Change method not present yet

* Add icons support to highlighted_meetings_for_component_cell

* Add path to year calendar inside component to cell

* Refactor meeting_month cell and update params

* Define year param and use it in year_calendar partial

* Update link

* Allow to redefine the item list default class

* Define meeting_l card and use it in lists

* Remove wrong file

* move logic to fuction

* Define duration of meeting metadata

* Display official metadata only when required

* Update meeting metadata in show action

* Extract dates and map of show to a cell

* Remove deprecations

* Fix announcement messages in meetings index

* Add redesigned filter form builder to generate redesigned filters, including nested ones

* Change the way to pass filter options to templates

* Integrate shared filters template

* Update values for filters in meetings index to use icons

* Fix value of root input hidden element

* Move filters list generation

* Fix generation of checkboxes_tree_id

* update item-list* classes with card__list*

* merge item-list into card css component

* Don't enable dropdown behaviour for blank root component of an item

* Put depending elements at the same level if the main leaf is blank ('all' option)

* Prevent errors if filter_text_form is called from a not redesinged part of application

* Add icons to filters options in meetings and general

* Setup meetings filters for index both in component and directory

* Remove unused partial

* Refactor month cell

* Fix id for panel-dropdown behavior at first level in filters

* Clean deprecations

* clean meetings content-block

* Fix year_calendar to work both in global and component context

* truncate large categories

* filters duplication on redesign

* Make data conditional in dropdown_label

* adapt script y markup to check/uncheck children

* Define a helper method to build a tree of checkboxes an array of values and labels

* Use trees for filter options in directory

* Fix linters and clean code

* Change default

* Use turbo_frames in meetings show

* better js-doc

* Define a Decidim::TurboHelper and use turbo in versions show view

* Refresh versions views using turbo

* Add missing translations to duration metadata format

* Avoid using filter_params in close filtered path of drawer when no params for filter exist

* filters checkbox recursives & indeterminates

* Fix element to refresh in filters

* Recover par page hidden field tag

* include note about the funtionality

* Remove commented turbo frame tag

* Remove not required turbo_frame_tag

* Add tabs to meeting drawer

* Add missing translations

* refactor images component

* Avoid errors if result l card is called from other component

* Use card_l on linked resources of accountability results

* Refactor generation of items

* Use meeting_l card on linked_meetings template

* Change translations and icons of tabs

* Add calendar modal (styles pending)

* Add styles to calendar modal

* duplicate layout live meetings

* live meetings header

* use the redesigned scripts

* Remove jQuery from script

* Move javascript to head to prevent Turbo issue

* Move foot scripts to body

* Remove broken links

* set max height for images

* Unify origin values for meetings filters

* Avoid initialize twice on turbo events

* Avoid initialize twice on turbo events

* Wrap drawer content inside a frame

* Wrap drawer content inside a frame

* Improve navigation between projects inside frames

* Launch a visit on onClose event of drawer

* Launch a visit on onClose event of drawer

* Change target frame on meetings navigation inside a drawer

* Move meeting frame from index to partial

* edit form inside live events

* Fix call to partial from cell

* fix registration modal markup

* fix cancelation modal markup

* editor content spans to max space

* change order cookies and stuff

* Move images and documents tabs content to cells to be shared in decidim-core

* Use unique ids for calendar share modals

* Update class of private meeting badge

* responsive drawer

* mark links in dynamic content

* increase calendar lg width

* create new meeting form

* Remove calendar link

* Avoid visit after drawer close

* Remove preview in meetings

* Set main frame

* Don't use a in close drawer element

* make form element block when they're surrounded by form__wrapper class

* adapt scripts to the head due to #10090

* add space after map

* minimal fixes live events

* Fix linter offenses

* block background scroll #10135

* fix scss lint

* fix stylelint

* Remove unused translations

* Add ignored keys to i18n-tasks

* Refactor highlighted meeetings content block to show past meetings and hide calendar link

* Fix translations calls

* actions flow meeting drawer aside

* close meeting form

* add more space desktop

* discard blocking the page when the drawer is open

* handle special case moving out of the drawer through links

* Disable turbo on meetings filter

* fix admin bar answer live event

* replace missing styles

* Move method to appropriate helper

* Consider redesign in test

* replace missing styles

* Add extra param required by decidim/version cell

* Fix tests of diff cell

* Fix tests of diff partials on some modules  [WIP]

Updated on:
 * Accountability
 * Debates
 * Initiatives

* Fix test about meetings in initiatives

* Normalize locales

* Fix package tests

* remove dummy map

* update read-only condition

* Fix expected selector in meeting_cell spec

* Add category metadata to meeting cell

* Remove disable_dynamic_change data option in meetings filter

* Replace url_calendar_url to share on refresh instead of removing modal

* Adapt tests in explore_meeting_directory

* Skip some tests when redesign is not fully enabled

* Adapt tests to redesign in meetings exploration

* Fix accountability tests

* Display correctly author of version when added as string

* Skip test with redesign disabled

* Move redesign_prepared skips to a helper

* Quick fix for filters with 'All' option marked

* Fix minutes format

* Fix tests and skip redesign dependent ones

* Fix selector in tests

* hide creation date on author

* remove border calendar small

* Skip redesign dependent tests

* Add comments count and withdrawn badge to metadata

* Enable redesign explicitly in meetings controllers

* Recover withdrawn feature in meetings list

* Add withdraw meeting button in meeting drawer

* Remove duplicated visits

* Create tests for attachments in drawers

* Fix selector in tests

* Skip redesign dependent tests

* Fix tests

* Remove deprecated test

* Remove unnecessary content_for

* Move js_content to body

* Remove preview of results

* Wrap results index in main frame

* Replace document with element in redesigned_index.js

* Move meeting_frame out of main_frame

* Move project_frame out of main_frame

* Update filtered path on index update

* Update filtered path on index update

* update filtered path on index.js

* avoid duplicates & ignore children if parent checked

* Update URL on results filter changes

* Add turbo_stream_action tag when main_frame is updated with filters to refresh filtered path and clear drawer

* Revert "Quick fix for filters with 'All' option marked"

This reverts commit 8fd154e526f7c6dcfd6a4b7aebaf32fd15d2f6b2.

* Remove unused translation

* Skip redesign dependent tests

* Update selectors

* Remove deprecated test

* Add missing dependency

* Allow calling diff cell without a path

* Add some test skips dependant of redesign

* Fix selectors in tests and remove deprecated ones

* Add some skips related with redesign

* Prevent errors ordering versions when calculated as an array instead of a relation

* Adapt proposals versions tests

* Fix tests

* Recover announcement callout in meetings index

* Disable Turbo when switching to admin

* Restore service worker pack

* Avoid visit after drawer close

* Don't refresh filter when index is called from show action

* Update test

* Ignore comments tests in meetings drawer pending of redesign integration

* Adapt meetings versions tests

* Update selector in test

* Update selectors in tests

* Fix tests of meetings edition

* Disable test pending of integration

* Fix tests

* Fix selector in test

* Fix tests

* Skip tests dependant of redesign

* Fix tests

* Skip deprecated tests

* Skip redesign pending tests about reporting in meetings drawer

* update translation

* Rename comments_count item in card metadata

* update tests with new literal

* fix meetings tests

* fix meetings tests

* Change header

* Display component name in meetings aside partial when the index refers to a component

* Use correct partial to display documents inside a meeting drawer

* add button for withdrawn meetings

* fulfill a11y

* Rename partial to be used in cells also

* fix overflowing mobile

* fix tests

* fix tests accountability

* fix tests meetings

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Implement card g (#10219)

* Define card_g cell

* Define progress item in metadata

* Define processes g cell

* Define post grid card

* Adjust description in card g cell

* Improve id generation in card g cell

* Hide metadata block from card_g if not defined or empty

* Define assemblies g cell

* Define conferences g cell

* Leave interactions item pending in process metadata

* Use highlighted card g for promoted assemblies conferences and processes in their indexes

* Correct PostGCell inheritance

* Don't use sanitize_editor on description

* avoid tailwind purging

* Fix linter offense

* Simplify progress span

* Enable process and process_group g cells and force it on promoted items of index

* Skip redesign pending accesibility tests

* Skip deprecated tests

* Fix tests in processes

* Enable assembly g cell and force it on promoted items of index

* Fix assembly test for highlighted items in index

* Fix conferences test for highlighted items in index

* Remove unused translations

* Fix typo

Co-authored-by: Fernando Blat <fernando@blat.es>

* Rename method to make purpose clearer

* Update decidim-assemblies/app/cells/decidim/assemblies/assembly_metadata_g_cell.rb

Co-authored-by: Fernando Blat <fernando@blat.es>

* Add deprecation redesign comments

* Revert delegation

* Use date instead of time for current date in metadata

* Remove wrong parentheses

* Delegate method

* Simplify method

* Remove partials

* Remove redundant condition

* Move values to constants

* Remove partials and invoke card-g from views directly

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Fix dependency resolver trying to fetch gem paths from lazy specifications (#10220)

* Ensure we are not returning lazy specifications

The lazy specification is not responding to the `#full_gem_path`
method which causes the dependency resolving to fail under newer
bundler versions and also in the situation that the newest
installed bundler version differs from the locked bundler version.

* Fix the expecation in the dependency resolver spec

* Added Reporting time in Global Moderation / Users (#10213)

* added-reported-time-to-user-moderations

* deleted-extra-line

* locale-changes

* fields reorder/contentmoderations - localizations revert

* fixed tests

* Removed "disabled" status from proposals' main categories (#10216)

* removed-main-category-disabling

* fixed-a-typo

* Fix double parentheses in the titled upload modal with existing attachment (#10221)

* Fix pipeline asset absolute URLs (#9597)

* Rename Decidim::AssetRouter to Decidim::AssetRouter::Storage

* Implement pipeline asset router

* Fetch the avatar default URLs through Decidim::AssetRouter::Pipeline

* Add specs for the avatar uploader

* Fix failing spec for NilPresenter

* Rubocop

* Fix spec after merge

* Fix the pipeline spec after merge

* Improve link handling of the redirect engine (#10235)

* Added links and nickname fields to User Group Admin panel (#10236)

* added-nickname-field-to-usergroups

* Added missing localizations (#10210)

* added-missing-localizations

* test-fixes

* additional-localizations-added

* comment-edit/date-format

* Switch to GitHub concurrency in CI (#10133)

* Switch to GitHub concurrency

* Rename the API CI workflow name

* Revert "Rename the API CI workflow name"

This reverts commit defe599bdcb16defa3d8589bdc7610d3c8a60279.

* send notifications after transaction (#10211)

* Fix Pipeline after #10211 (#10240)

* Fix initiatives count in initiatives index page (#10150)

* Multi content blocks with the same manifest for the same page and section content block for ToS (#10166)

* Multiple content blocks for landing page and add sections to static page

* Fix two-pane section view

* Fix rubocop offense and normalize locales

* Fix static page update method

* Add class to content blocks card

* Fix spec/system/admin_manages_static_page_content_blocks_spec.rb tests

* Fix spec/system/admin_manages_organization_homepage_spec.rb tests

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/forms/static_page_form_spec.rb tests

* Fix spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb tests

* Add new tests for deleting content blocks and creating multiple with the same manifest on the same page

* Fix unused argument

* Suggestions after review applied

* Remove unused i18n keys

* Add summary content block seed only for terms-and-conditions page

* Fix where to show content blocks on tabbed view

* Configuration to allow content blocks on specific pages

* Move commands and concern into a new Decidim::Admin::ContentBlocks namespace

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/commands/decidim/admin/create_newsletter_spec.rb tests

* Fix commands tests

* Move content of page_blocks config_accessor to decidim-generators

* User's group endorsement no longer disappears after personal endorsement removed (#10223)

* Fixed group endorsement removal when personal endorsement removed & tests

* test-fixes

* Redesign: main header layout glitches (#10182)

* extract all CSS from main-bar to header CSS file

* do not override dropdown styles

* crop images to the circle bounds

* add hover interaction for home links

* add notification in dropdown

* add styles to notification

* typo

* responsive adjustments

* restore file from develop

* apply 12-cols pattern

* replace details-summary

* replace details-summary mobile

* fix a11y tests

* replace accordion with dropdown

* replace accordion with dropdown (mobile)

* fix avatar menu trigger

* Participatory processes manage content blocks (#10230)

* Add content blocks admin management for participatory processes

* Reuse html content blocks defined in process groups for processes also

* Define redesigned html content block

* Add shared tests for landing page admin and use them for groups and processes

* Fix tests

* Adapt management of content blocks for participatory processes landing page

* Update tests

* Redesign: menu breadcrumb (#10200)

* Add FooterMenuPresenter to display menu items in footer

* Set fixed links in redesigned_main_legal partial

* Fix translation call

* Define a cell for static_pages and topics configured to appear in footer

* Reorder elements in main links of footer and define links and texts

* Fix path method call

* Fix translation

* Replace h5 with h2 in footer pages cells topics titles

* Use redesigned participatory space layout with a content_for block

* Add dynamic breadcrumb root menu elements

* Recover menu

* Move content to partial

* Remove fixed text

* Allow passing options to activity cell from activities cell and define layout and author layout

* Define a cell for last activities in breadcrumb root

* Add comment

* Fix deprecated method use

* Allow action buttons in menu to be defined from participatory spaces layouts

* Allow definition of extra breadcrumb elements from participatory spaces

* Define current space item and dropdown from participatory processes

* Remove :participatory_space_menu content_for element

* Integrate menu breadcrumb for mobile and tablet

* Remove unused partials

* Fix link and translation

* Fix linter offense and indentation

* Avoid accessibility validation errors in mobile version when secondary dropdown is blank

* Add links to breadcrumbs when url defined

* Fix headers hierarchy

* Define generic participatory space dropdown metadata cell

* Inherit process_dropdown metadata cell from generic cell

* Define assembly dropdown metadata cell

* Define current_participatory_space_breadcrumb_item for assemblies

* Remove useless blank line

* Define conference dropdown metadata cell

* Define current_participatory_space_breadcrumb_item for conferences

* refactor breadcrumb desktop

* refacto main dropdown

* refactor secondary dropdown

* Reorder methods

* Use diferent id for repeated element of breadcrumb

* style glitches breadcrumb

* Remove layout in activities cell and include author

* Revert changes in activity cell

* generalize font size

* fix erblint

* fix a11y test

* replace details-summary mobile

* Use an option to hide participatory space on activities of secondary dropdown

* Use a different id prefix to cache and generate ids of activities depending on the participatory space

* Disable links on breadcrumb items when current path is the same

* Revert hide_participatory_space option in activity cell

The changes come from processes branch

* replace accordion with dropdown

* replace accordion with dropdown (mobile)

* remove dummy code

* Fix typo

Co-authored-by: Fernando Blat <fernando@blat.es>

* Mark partial to be integrated with redesign

* Add comment to explain current_participatory_space_breadcrumb_item

* fix user interaction glitches

---------

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Rebase Develop branch into feature/redesign (#10322)

* Fix dependency resolver trying to fetch gem paths from lazy specifications (#10220)

* Ensure we are not returning lazy specifications

The lazy specification is not responding to the `#full_gem_path`
method which causes the dependency resolving to fail under newer
bundler versions and also in the situation that the newest
installed bundler version differs from the locked bundler version.

* Fix the expecation in the dependency resolver spec

* Added Reporting time in Global Moderation / Users (#10213)

* added-reported-time-to-user-moderations

* deleted-extra-line

* locale-changes

* fields reorder/contentmoderations - localizations revert

* fixed tests

* Removed "disabled" status from proposals' main categories (#10216)

* removed-main-category-disabling

* fixed-a-typo

* Fix double parentheses in the titled upload modal with existing attachment (#10221)

* Fix pipeline asset absolute URLs (#9597)

* Rename Decidim::AssetRouter to Decidim::AssetRouter::Storage

* Implement pipeline asset router

* Fetch the avatar default URLs through Decidim::AssetRouter::Pipeline

* Add specs for the avatar uploader

* Fix failing spec for NilPresenter

* Rubocop

* Fix spec after merge

* Fix the pipeline spec after merge

* Improve link handling of the redirect engine (#10235)

* Added links and nickname fields to User Group Admin panel (#10236)

* added-nickname-field-to-usergroups

* Added missing localizations (#10210)

* added-missing-localizations

* test-fixes

* additional-localizations-added

* comment-edit/date-format

* Switch to GitHub concurrency in CI (#10133)

* Switch to GitHub concurrency

* Rename the API CI workflow name

* Revert "Rename the API CI workflow name"

This reverts commit defe599bdcb16defa3d8589bdc7610d3c8a60279.

* send notifications after transaction (#10211)

* Fix Pipeline after #10211 (#10240)

* Fix initiatives count in initiatives index page (#10150)

* Multi content blocks with the same manifest for the same page and section content block for ToS (#10166)

* Multiple content blocks for landing page and add sections to static page

* Fix two-pane section view

* Fix rubocop offense and normalize locales

* Fix static page update method

* Add class to content blocks card

* Fix spec/system/admin_manages_static_page_content_blocks_spec.rb tests

* Fix spec/system/admin_manages_organization_homepage_spec.rb tests

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/forms/static_page_form_spec.rb tests

* Fix spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb tests

* Add new tests for deleting content blocks and creating multiple with the same manifest on the same page

* Fix unused argument

* Suggestions after review applied

* Remove unused i18n keys

* Add summary content block seed only for terms-and-conditions page

* Fix where to show content blocks on tabbed view

* Configuration to allow content blocks on specific pages

* Move commands and concern into a new Decidim::Admin::ContentBlocks namespace

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/commands/decidim/admin/create_newsletter_spec.rb tests

* Fix commands tests

* Move content of page_blocks config_accessor to decidim-generators

* User's group endorsement no longer disappears after personal endorsement removed (#10223)

* Fixed group endorsement removal when personal endorsement removed & tests

* test-fixes

* Add Backports documentation process explanation (#10248)

* Add Backports documentation process explanation

* Add link to backporter script

* Fix typo

Suggested by code review

* Add example and documentation for backporter script

* Sync release branch with remote before backporting (#10222)

* Fix notifications page when vapid is not available (#10286)

* User's group endorsement no longer disappears after personal endorsement removed

* Fixed group endorsement removal when personal endorsement removed & tests

* test-fixes

* Fix the notification settings when vapid keys are not present

---------

Co-authored-by: JoonasAapro <110532525+JoonasAapro@users.noreply.github.com>

* Update picmo to 5.7.3 (#10291)

* Replace webpush with web-push to support OpenSSL V3 (#10207)

* Replace webpush with web-push to support OpenSSL V3

* Restore Ruby version

* Export proposal body without HTML tags (#9913)

* Remove HTML tags in proposal body in exports

* Light proposal serializer specs refactor

* Remove proposal body HTML tags using decidim_sanitize

* Implement HTMLToPlainText in proposal serializer

* Remove SanitizeHelper from proposal serializer

* Refactor proposal serializer spec

* Strip tags recursively for proposal body

* Refactor specs file

* Refactor proposal serializer service

* Prevent aria-describedby attribute being added to hidden inputs (#10022)

* Add ability to pass extra attributes for authorization creation (#10320)

---------

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: JoonasAapro <110532525+JoonasAapro@users.noreply.github.com>
Co-authored-by: Ivan Vergés <ivan@platoniq.net>
Co-authored-by: Heiner Sameisky <hei.sam@gmail.com>
Co-authored-by: Fran Bolívar <francisco.bolivar@nazaries.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Quentin Champenois <26109239+Quentinchampenois@users.noreply.github.com>

* Redesign: tooltips (#10212)

* tooltip variations

* keep the tooltip visible on hover

* refactor tooltips logic and helper

* Update decidim-core/app/helpers/decidim/tooltip_helper.rb

Co-authored-by: Fernando Blat <fernando@blat.es>

* fix code reviews

* restore argument

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: Content block - Hero (#10318)

* hero block styles

* fix erblint

* remove unnecessary specs, if there was no link, click_link will fail as now does

* set aspect-ratio for the hero image

* adapt test to allow multiple values

* ignore tests due to old design

* Redesign: Skip to content (#10317)

* include link in header to main content

* remove deprecated file

* restore default outline

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: statistics as content-block (#10324)

* refactor statistics cell to be reusable

* move the container outside of the cell

* wrong file references

* fix specs after block modification

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: last activities (#10327)

* refactor last activities views

* show empty message

* add vertical flow

* update dropdown when filtering is called

* fix i18n

* fix failing tests

* remove unnecessary class

* all items at first position

* Move activities filter to a cell and use it in user public profile and site activities

* Fix translation reference

* Fix translation

* Fix test

* Move mocked method

* Redefine method and avoid memoization

* Avoid exceptions when a constant name passed to resource_types_filter_cell is undefined

---------

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Feature/redesign revert drawers (#10329)

* Remove drawers and references to turbo

* Add comment for redesign in drawer layout

* Update selector in tests

* Update references to drawer in comments and names

* Don't change the cell name when redesign is disabled if redesigned_ prefix is used explicitly

* Recover test

* Unify tests to expect the same behavior with redesign enabled and not

* Fix selectors in tests

* Recover skipped tests working with redesign enabled and not

* Use redesigned cell version always and recover skipped tes

* Remove turbo gem dependency

* Remove turbo packages dependencies

* Remove turbo-rails gem from Gemfile.lock files in app-design and generators

* Add comments to remaining code using drawer term

* Move before block to context to ensure creation of group

* Ensure initialization on remote-modal:loaded event

* Avoid picmo regression

* Fix package version

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: proposals block & card L (#10170)

* proposals block

* add space to span

* Normalize locales

* Add comments count and official? to card metadata cell

* Reorder methods

* Add endorsements count to default card metadata cell

* Allow calling a cell as card metadata item

* Add authorship items to card metadata cell

* Define metadata proposal card cell based on generic attributes

* Sanitize title ind card l cell

* Fix selectors in proposals cards tests

* Add an emendation label to card_metadata_cell

* Add state item to proposal metadata card

* Add an extra class to proposals l card

* Update tests

* replace CSS classes by ids

* Sanitize participatory space title in metadata item

* Reduce if-else nesting

* Update selectors in tests

* Skip maybe deprecated tests

* Remove methods duplicated after merge

---------

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: processes & assemblies (static blocks) (#10005)

* initial setup processes

* floating help styles

* isolate component, provide js functionality

* reuse cards for index

* add metadata to the cards

* responsive index titles

* use new layout for redesigned process

* include paginator

* remove debug code

* filters (mockup) index process

* cherry pick frontend rearrangement

* remove partial in favour of cell

* add callout flow

* main distribution in blocks

* process info metadata

* process metadata block

* phases modal

* phase steps connection line

* assets in show are loaded in their layout

* mobile introduction block

* navigation bar process

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: https://github.com/decidim/decidim/issues/9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* Fix running DB commands consecutively (#9607)

* Reset column information before seeds on loaded record classes

* Add spec for running db commands consecutively

* Load the templates engine in the surveys engine

Otherwise the templates migrations are not copied to the app
unless the templates module is define in the Gemfile, although
it is a requirement ofr surveys.

* Try sub-command without bundle exec in CI

* Revert "Try sub-command without bundle exec in CI"

This reverts commit 66e4361df6a5e423773b6c1ed2316d209dbaccb4.

* Try running sub-command with original env

* Fix ActiveRecord descendants checks for abstrac test classes

* New Crowdin updates (#9486)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Basque)

* New translations en.yml (Basque)

* New translations en.yml (Greek)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (Arabic)

* New translations en.yml (Basque)

* New translations en.yml (Spanish)

* New translations en.yml (Latvian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Dutch)

* New translations en.yml (Galician)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Hungarian)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Bulgarian)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Irish)

* New translations en.yml (Danish)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovenian)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Galician)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Sinhala)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Czech)

* New translations en.yml (Guarani)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Bulgarian)

* New translations en.yml (Arabic)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (Danish)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Irish)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Italian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Norwegian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Slovak)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Serbian (Latin))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Russian with many plural form)

* New translations en.yml (French)

* New translations en.yml (French, Canada)

* New translations en.yml (Swedish)

* New translations en.yml (Basque)

* New translations en.yml (Romanian)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Turkish)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Swedish)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Polish)

* New translations en.yml (Portuguese)

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (Basque)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* Add note to merge the Crowdin PRs in all releases (#10076)

* Clarify the changelog instructions in the release process documentation (#10066)

* Redesign: upload modal (#9858)

* prepare update-modal cell

* clean conversations modal as of the shared styles

* shared html styles for modals

* workaround: redesign_enabled? not working on cells called from helper

* full refactor upload modal files

* fix linters

* fix styles dropzone

* handle asynchronous validations

* general fixes and new casuistics

* fix dragover highlight & remove files on cancel

* update dropzone when errors

* add space to files

* Prepare button to open login modal to work with redesigned and legacy layouts

* Split upload modal cell in legacy and redesigned versions and allow to call it passing a redesign option

* Call upload method passing the redesigned option based on the context

* Fix linter offense

* Normalize locale file

* eslint consistent-return

* eslint consistent-return

* Update test

* move action button to the right if it's the only child

* rearrangement frontend libraries

* fix upload modal after redesigned assets

* remove current image block (fix removal error)

* preview image

* good version files.erb

* Fix external_link initialization in legacy design index.js

* Force flaky test

* Fix attachment blob call

* Remove unused attachment label method

* Display default image if defined and no uploaded attachments

* Update test

* Update selector in test

* Revert "Force flaky test"

This reverts commit 075f6eb77d46193d0977d37d1e8e7942e08ca3c4.

* Improve deprecation after redesign documentation in js file

* overflow dropzone auto

* disabled form submit when there are erorrs on the files

* reset dropzone on cancel

* pass argument multiple

* update translation

* better looking responsive

* disable save only when errors & mark as removable

* include logic to remove the current uploaded item

* Delegate redesign_enabled? to template in form builder

* fixes frontend upload modal

* Fix form_builder spec to take redesign into account

* avoid drag flickering on webkit browsers

* Avoid errors in determine_filename when attachment class is ActionDispatch::Http::UploadedFile

* avoid string commas in errors array

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Implement ToS summary (#9222)

* feat(privacy_policy): Manage privacy policy as a content_block

* feat(privacy_policy): add summary to sign up

* chore(sign_up): privacy_policy link target blank

* fix rubocop issues

* fix: privacy_policy unused_manifests method

* feat(core): add seed for privacy policy summary

* feat(spec): add system/admin_manages_organization_privacy_policy_spec.rb

* refactor: move from settings to static_pages, rename to ToS

* chore(css): tweak sign_up ToS text styles

* fix(i18n): remove unused keys

* feat(seeds): add ToS summary content_block

* fix specs

* add summary content block to tabbed page view

* Fix rubocop offenses

* Add migration to move terms and conditions page content to content_block

* Keep the content of the tos page even with summary content block active

* Fix test

* Show summary section in ToS page

Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>

* Run ERBlinter on modified files (#9868)

* boost the ERBlinter filtering the scanned files

* Test simpler setup

* Test another syntax

* handle no files exit code

* Get back the initial command

* Add erblint to package.json of design app

* remove linter from npm

* lint all views for merges

* Update run_erblint.sh

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Improve the release_all rake task with multiple remotes (#10077)

- Add check that we have decidim/decidim as one of the remotes
- Fetch the existing tags before doing the release
- Define the release remote to the correct remote (decidim/decidim)

* Enable newsletters for admin on seeds (#10073)

* Enable newsletters for admin on seeds

* Enable newsletters for a couple more users on seeds

* Allow blocking a UserGroup (#10021)

* Fix comment (probably a copypasta)

* Make Users find compatible with UserGroups

* Add specs for blocking/unblocking a User or a UserGroup

* Recover user_name from extended_data when unblocking

* Redirect to users moderation panel instead of users/officializations

* Return 404 when the UserGroup is blocked

* Move the associations to the UserBaseEntity model

* Fix override of extended_data attribute in UserGroups factory

* Fix spec

* Add slash in PR linter configuration (#10074)

To only catch when someones leave the default title when working with
`hub` or `gh`, that's the default branch, and not when someone uses
"Refactor XXX" as title.

* Enhance templates engine (#10015)

* Refactor templates engine

* Running linters

* Apply review Recommendations

* Implement last review reccomendations

* Apply the latest recommendation changes

* Apply clarified review recommendations

* Fix wrong capitalization in i18n values and add missing keys (#10072)

* Fix wrong capitalization in i18n values

* Add missing i18n keys

* Replace 'Weight' with 'Order position'

So its consistent in all the forms.

* Fix key for meeting agenda item

* Remove unused attribute for show_embedded_iframe

* Fix key for scope

* Normalize :en locale

* Fix spec

* Fix typo

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* Fix column reference on Topic

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* merge item-list into card css component

* remove redesigned card cell (deprecated)

* landing processes

* give some margin to any sibling of a callout

* do not style dynamic content inside the cards

* floating help default status as tip, not block

* add card "G" cell for process card grids

* set content blocks for processes & accountability

* Revert "remove redesigned card cell (deprecated)"

This reverts commit 9300a1af2d7f2f6000cf747fc0290f71ac73e57b.

* Remove redesigned_process cell and define process size l card

* add reference code to the bototm

* block activity (pending integration)

* blog section

* missing block title

* handle full layout html block

* reduce description characters

* create post_g cell

* set color only to the title, not the whole block

* don't use custom editor text for card descriptions

* update markup modal steps

* add process description page

* add metrics content block

* prepare assemblies assets (orgchart removed)

* fix hover floating help

* update index files dependencies

* assembly cell type G

* move new filters view to shared

* mark as deprecated

* move results to partials

* update tests & references

* update js returned results

* assemblies show

* replace attachments_for with atomic content

* set margins for container

* add link to index in assemblies

* remove helper for assemblies

* refactor the way to draw the charts

* demo cell activities

* move activity styles from profile to independent component

* replace custom css with component class

* fix erblint

* update the floating help for conferneces from processes

* Fix key used to get url in process_nav_item partial

* include author conditionally

* don't enforce font-size on component

* remove spaces from the component, set them in the container

* Use an option to hide participatory space on activities cell

* Adapt test selectors

* Unify method changing behavior with redesign and adapt shared example to both cases

* Skip test pending of integration of breadcrumb

* Recover partial used by legacy design

* Fix linter offenses

* Skip some tests deprecated after redesign

* Remove deprecated partials en assemblies and processes

* Remove unused translations

* Add redesign pending comments

* Fix nav items generation in assembly space

* Use snippets to include assets in cell

* Remove unused translations

* remove old code

* hide endorsers on mobile

* style glitches

* Remove unused translations

* switch flex to grid for responsiveness

* grow time container

---------

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Sergei Krylov <sergei.krylov@yahoo.com>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: decidim-bot <decidim-bot@users.noreply.github.com>
Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Agusti B.R <agustibr@users.noreply.github.com>
Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>

* Feature/redesign proposals tests fixes (#10377)

* Fix test

* Use a data-author attribute in redesigned author cell

* Force the use of redesigned author cell in other cells using it

* Update have_author matcher in test

* Update selectors in test

* Use presenter version of title on proposal l cell

* Skip temporarily tests related with proposals votes

REDESIGN_PENDING - The mechanism to vote proposals from index is pending
and also the metadata displaying the votes count

* Exclude file with TODOs in decidim_app-design from codeclimate checks

* Change selector in tests

* Update have_author matchers in tests

* Change selector of author in cells tests

* Change test to check proposals block inside a process

* Skip test of redesign pending behaviour

* Remove Turbo references

* Add missing locale

* Fix pending comment

* Update test selectors

* Update keys sent to server

* Redesign: timeout modal (#10373)

* adapt timeout controller to use new dialogs library

* duplicate files to avoid error on admin part

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Offense

* Adjust specs

* Offenses

* Skip debates and proposals report spec

* Redesign: fonts (#10417)

* include the updated file fonts (new glyphs)

* fix stylelint

* move the flag modal outside of the comment header

* Skip tests until redesign is enabled

* replace details-summary into a11y component

* better design comments

* better mobile comments

* opinion on comments

* override default styles

* update html markup on tests

* avoid external link when polling is triggered

* Fix focusGuard setup on scoped elements

* add explanations for a future development

* Redesign: Newsletter modal (#10428)

* ensure tos modal

* add a11y description

* remove linebreaks

* Redesign: cookies (#10366)

* update & adapt application layout from develop

* floating bottom banner

* handle click cookies banner

* refactor cookies modal

* set cursor only to the accordion trigger

* footer triggers cookie modal

* make the title + arrow clickable

* change structure to a11y

* fix stylelint

* do not include a div inside button

* do not use button

* better responsiveness for modal actions

* fix stylelint

* fix core tests (skip for redesigning)

* fix rubocop

* fix tests

* Fix spec

* Update selector

* Fix var name, use redesigned assets

* remove transition needless

* Fix test

---------

Co-authored-by: Fernando Blat <fernando@blat.es>
Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Redesign: floating tip turns into modal (#10388)

* fix odd positioning tip

* adapt tip to the button styles & fix mobile position

* turns tip helper into a modal

* place tip relative to data-content block

* Redesign: map popup (#10335)

* include custom popup content for meetings

* increase map size on mobile

* overwrite custom styles for leaflet popup

* keep the map icons setup simple (remove legacy stuff)

* show disfferent texts based on the meeting duration

* fix icon anchor position

* fix linter

* fix i18n

* use decidim date formats

* Include DateHelper in the correct cell

* Fix calculation of progress value

* Move dates and duration item to generic metadata cell

* Add tests for card-l and card_metadata cells

* let the popup transition by default

* wrap elements in leaflet popup

---------

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Offense

* Ignore visible check

* Skip test when redesign is disabled, because causes a JS error

* Skip tests for old design

* move the opinion block into the form

* add space between label-opinion and comment

* add text-decoration:underline if user select neutral opinion

* styles edited comment

* add dispatchEvent to add a comment

* remove profile and cell author

* remove a[href*=/users/sign_] styles

* add type="button" to opinion buttons to avoid the form submit when clicking on them

* replace div with button and remove tabindex

* clean duplicated class

* Redesign: Refuse TOS modal (#10431)

* style refuse tos modal

* fix i18n

* overwrite modal defaults

* Fix locale

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Participatory spaces landing page content blocks (#10234)

* initial setup processes

* floating help styles

* isolate component, provide js functionality

* reuse cards for index

* add metadata to the cards

* responsive index titles

* use new layout for redesigned process

* include paginator

* remove debug code

* filters (mockup) index process

* cherry pick frontend rearrangement

* remove partial in favour of cell

* add callout flow

* main distribution in blocks

* process info metadata

* process metadata block

* phases modal

* phase steps connection line

* assets in show are loaded in their layout

* mobile introduction block

* navigation bar process

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: https://github.com/decidim/decidim/issues/9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* Fix running DB commands consecutively (#9607)

* Reset column information before seeds on loaded record classes

* Add spec for running db commands consecutively

* Load the templates engine in the surveys engine

Otherwise the templates migrations are not copied to the app
unless the templates module is define in the Gemfile, although
it is a requirement ofr surveys.

* Try sub-command without bundle exec in CI

* Revert "Try sub-command without bundle exec in CI"

This reverts commit 66e4361df6a5e423773b6c1ed2316d209dbaccb4.

* Try running sub-command with original env

* Fix ActiveRecord descendants checks for abstrac test classes

* New Crowdin updates (#9486)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Basque)

* New translations en.yml (Basque)

* New translations en.yml (Greek)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (Arabic)

* New translations en.yml (Basque)

* New translations en.yml (Spanish)

* New translations en.yml (Latvian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Dutch)

* New translations en.yml (Galician)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Hungarian)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Bulgarian)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Irish)

* New translations en.yml (Danish)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovenian)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Galician)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Sinhala)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Czech)

* New translations en.yml (Guarani)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Bulgarian)

* New translations en.yml (Arabic)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (Danish)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Irish)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Italian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Norwegian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Slovak)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New tran…
andreslucena added a commit that referenced this pull request Jul 18, 2023
* Update JS tests

* Apply initializer to changed comments from polling

* Proper JS reprocessing when create comment

* Safer execution

* Prevent multiple execution of external links

* Trailing space

* create a fake id for accorions and dropdown if has none

* Typo

* Typo

* better paddings to dropdown items

* extract the styles from modal to modal_flag

* Offense

* Remove unused translations

* Redesign: meetings (#9830)

* Use version date in author cell

* Link to the last version show from meeting

* Remove index action on versions of meetings

* Simplify code and remove unused methods in versions cells

* turn the partial month into a cell

* include map in meetings block

* remove sticky from filter-container component

* Add a callback to replace url con drawer close event

* Allow passing a path argument to diff cell

* Use turbo to update diff view selection options

* Change method not present yet

* Add icons support to highlighted_meetings_for_component_cell

* Add path to year calendar inside component to cell

* Refactor meeting_month cell and update params

* Define year param and use it in year_calendar partial

* Update link

* Allow to redefine the item list default class

* Define meeting_l card and use it in lists

* Remove wrong file

* move logic to fuction

* Define duration of meeting metadata

* Display official metadata only when required

* Update meeting metadata in show action

* Extract dates and map of show to a cell

* Remove deprecations

* Fix announcement messages in meetings index

* Add redesigned filter form builder to generate redesigned filters, including nested ones

* Change the way to pass filter options to templates

* Integrate shared filters template

* Update values for filters in meetings index to use icons

* Fix value of root input hidden element

* Move filters list generation

* Fix generation of checkboxes_tree_id

* update item-list* classes with card__list*

* merge item-list into card css component

* Don't enable dropdown behaviour for blank root component of an item

* Put depending elements at the same level if the main leaf is blank ('all' option)

* Prevent errors if filter_text_form is called from a not redesinged part of application

* Add icons to filters options in meetings and general

* Setup meetings filters for index both in component and directory

* Remove unused partial

* Refactor month cell

* Fix id for panel-dropdown behavior at first level in filters

* Clean deprecations

* clean meetings content-block

* Fix year_calendar to work both in global and component context

* truncate large categories

* filters duplication on redesign

* Make data conditional in dropdown_label

* adapt script y markup to check/uncheck children

* Define a helper method to build a tree of checkboxes an array of values and labels

* Use trees for filter options in directory

* Fix linters and clean code

* Change default

* Use turbo_frames in meetings show

* better js-doc

* Define a Decidim::TurboHelper and use turbo in versions show view

* Refresh versions views using turbo

* Add missing translations to duration metadata format

* Avoid using filter_params in close filtered path of drawer when no params for filter exist

* filters checkbox recursives & indeterminates

* Fix element to refresh in filters

* Recover par page hidden field tag

* include note about the funtionality

* Remove commented turbo frame tag

* Remove not required turbo_frame_tag

* Add tabs to meeting drawer

* Add missing translations

* refactor images component

* Avoid errors if result l card is called from other component

* Use card_l on linked resources of accountability results

* Refactor generation of items

* Use meeting_l card on linked_meetings template

* Change translations and icons of tabs

* Add calendar modal (styles pending)

* Add styles to calendar modal

* duplicate layout live meetings

* live meetings header

* use the redesigned scripts

* Remove jQuery from script

* Move javascript to head to prevent Turbo issue

* Move foot scripts to body

* Remove broken links

* set max height for images

* Unify origin values for meetings filters

* Avoid initialize twice on turbo events

* Avoid initialize twice on turbo events

* Wrap drawer content inside a frame

* Wrap drawer content inside a frame

* Improve navigation between projects inside frames

* Launch a visit on onClose event of drawer

* Launch a visit on onClose event of drawer

* Change target frame on meetings navigation inside a drawer

* Move meeting frame from index to partial

* edit form inside live events

* Fix call to partial from cell

* fix registration modal markup

* fix cancelation modal markup

* editor content spans to max space

* change order cookies and stuff

* Move images and documents tabs content to cells to be shared in decidim-core

* Use unique ids for calendar share modals

* Update class of private meeting badge

* responsive drawer

* mark links in dynamic content

* increase calendar lg width

* create new meeting form

* Remove calendar link

* Avoid visit after drawer close

* Remove preview in meetings

* Set main frame

* Don't use a in close drawer element

* make form element block when they're surrounded by form__wrapper class

* adapt scripts to the head due to #10090

* add space after map

* minimal fixes live events

* Fix linter offenses

* block background scroll #10135

* fix scss lint

* fix stylelint

* Remove unused translations

* Add ignored keys to i18n-tasks

* Refactor highlighted meeetings content block to show past meetings and hide calendar link

* Fix translations calls

* actions flow meeting drawer aside

* close meeting form

* add more space desktop

* discard blocking the page when the drawer is open

* handle special case moving out of the drawer through links

* Disable turbo on meetings filter

* fix admin bar answer live event

* replace missing styles

* Move method to appropriate helper

* Consider redesign in test

* replace missing styles

* Add extra param required by decidim/version cell

* Fix tests of diff cell

* Fix tests of diff partials on some modules  [WIP]

Updated on:
 * Accountability
 * Debates
 * Initiatives

* Fix test about meetings in initiatives

* Normalize locales

* Fix package tests

* remove dummy map

* update read-only condition

* Fix expected selector in meeting_cell spec

* Add category metadata to meeting cell

* Remove disable_dynamic_change data option in meetings filter

* Replace url_calendar_url to share on refresh instead of removing modal

* Adapt tests in explore_meeting_directory

* Skip some tests when redesign is not fully enabled

* Adapt tests to redesign in meetings exploration

* Fix accountability tests

* Display correctly author of version when added as string

* Skip test with redesign disabled

* Move redesign_prepared skips to a helper

* Quick fix for filters with 'All' option marked

* Fix minutes format

* Fix tests and skip redesign dependent ones

* Fix selector in tests

* hide creation date on author

* remove border calendar small

* Skip redesign dependent tests

* Add comments count and withdrawn badge to metadata

* Enable redesign explicitly in meetings controllers

* Recover withdrawn feature in meetings list

* Add withdraw meeting button in meeting drawer

* Remove duplicated visits

* Create tests for attachments in drawers

* Fix selector in tests

* Skip redesign dependent tests

* Fix tests

* Remove deprecated test

* Remove unnecessary content_for

* Move js_content to body

* Remove preview of results

* Wrap results index in main frame

* Replace document with element in redesigned_index.js

* Move meeting_frame out of main_frame

* Move project_frame out of main_frame

* Update filtered path on index update

* Update filtered path on index update

* update filtered path on index.js

* avoid duplicates & ignore children if parent checked

* Update URL on results filter changes

* Add turbo_stream_action tag when main_frame is updated with filters to refresh filtered path and clear drawer

* Revert "Quick fix for filters with 'All' option marked"

This reverts commit 8fd154e526f7c6dcfd6a4b7aebaf32fd15d2f6b2.

* Remove unused translation

* Skip redesign dependent tests

* Update selectors

* Remove deprecated test

* Add missing dependency

* Allow calling diff cell without a path

* Add some test skips dependant of redesign

* Fix selectors in tests and remove deprecated ones

* Add some skips related with redesign

* Prevent errors ordering versions when calculated as an array instead of a relation

* Adapt proposals versions tests

* Fix tests

* Recover announcement callout in meetings index

* Disable Turbo when switching to admin

* Restore service worker pack

* Avoid visit after drawer close

* Don't refresh filter when index is called from show action

* Update test

* Ignore comments tests in meetings drawer pending of redesign integration

* Adapt meetings versions tests

* Update selector in test

* Update selectors in tests

* Fix tests of meetings edition

* Disable test pending of integration

* Fix tests

* Fix selector in test

* Fix tests

* Skip tests dependant of redesign

* Fix tests

* Skip deprecated tests

* Skip redesign pending tests about reporting in meetings drawer

* update translation

* Rename comments_count item in card metadata

* update tests with new literal

* fix meetings tests

* fix meetings tests

* Change header

* Display component name in meetings aside partial when the index refers to a component

* Use correct partial to display documents inside a meeting drawer

* add button for withdrawn meetings

* fulfill a11y

* Rename partial to be used in cells also

* fix overflowing mobile

* fix tests

* fix tests accountability

* fix tests meetings

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Implement card g (#10219)

* Define card_g cell

* Define progress item in metadata

* Define processes g cell

* Define post grid card

* Adjust description in card g cell

* Improve id generation in card g cell

* Hide metadata block from card_g if not defined or empty

* Define assemblies g cell

* Define conferences g cell

* Leave interactions item pending in process metadata

* Use highlighted card g for promoted assemblies conferences and processes in their indexes

* Correct PostGCell inheritance

* Don't use sanitize_editor on description

* avoid tailwind purging

* Fix linter offense

* Simplify progress span

* Enable process and process_group g cells and force it on promoted items of index

* Skip redesign pending accesibility tests

* Skip deprecated tests

* Fix tests in processes

* Enable assembly g cell and force it on promoted items of index

* Fix assembly test for highlighted items in index

* Fix conferences test for highlighted items in index

* Remove unused translations

* Fix typo

Co-authored-by: Fernando Blat <fernando@blat.es>

* Rename method to make purpose clearer

* Update decidim-assemblies/app/cells/decidim/assemblies/assembly_metadata_g_cell.rb

Co-authored-by: Fernando Blat <fernando@blat.es>

* Add deprecation redesign comments

* Revert delegation

* Use date instead of time for current date in metadata

* Remove wrong parentheses

* Delegate method

* Simplify method

* Remove partials

* Remove redundant condition

* Move values to constants

* Remove partials and invoke card-g from views directly

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Fix dependency resolver trying to fetch gem paths from lazy specifications (#10220)

* Ensure we are not returning lazy specifications

The lazy specification is not responding to the `#full_gem_path`
method which causes the dependency resolving to fail under newer
bundler versions and also in the situation that the newest
installed bundler version differs from the locked bundler version.

* Fix the expecation in the dependency resolver spec

* Added Reporting time in Global Moderation / Users (#10213)

* added-reported-time-to-user-moderations

* deleted-extra-line

* locale-changes

* fields reorder/contentmoderations - localizations revert

* fixed tests

* Removed "disabled" status from proposals' main categories (#10216)

* removed-main-category-disabling

* fixed-a-typo

* Fix double parentheses in the titled upload modal with existing attachment (#10221)

* Fix pipeline asset absolute URLs (#9597)

* Rename Decidim::AssetRouter to Decidim::AssetRouter::Storage

* Implement pipeline asset router

* Fetch the avatar default URLs through Decidim::AssetRouter::Pipeline

* Add specs for the avatar uploader

* Fix failing spec for NilPresenter

* Rubocop

* Fix spec after merge

* Fix the pipeline spec after merge

* Improve link handling of the redirect engine (#10235)

* Added links and nickname fields to User Group Admin panel (#10236)

* added-nickname-field-to-usergroups

* Added missing localizations (#10210)

* added-missing-localizations

* test-fixes

* additional-localizations-added

* comment-edit/date-format

* Switch to GitHub concurrency in CI (#10133)

* Switch to GitHub concurrency

* Rename the API CI workflow name

* Revert "Rename the API CI workflow name"

This reverts commit defe599bdcb16defa3d8589bdc7610d3c8a60279.

* send notifications after transaction (#10211)

* Fix Pipeline after #10211 (#10240)

* Fix initiatives count in initiatives index page (#10150)

* Multi content blocks with the same manifest for the same page and section content block for ToS (#10166)

* Multiple content blocks for landing page and add sections to static page

* Fix two-pane section view

* Fix rubocop offense and normalize locales

* Fix static page update method

* Add class to content blocks card

* Fix spec/system/admin_manages_static_page_content_blocks_spec.rb tests

* Fix spec/system/admin_manages_organization_homepage_spec.rb tests

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/forms/static_page_form_spec.rb tests

* Fix spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb tests

* Add new tests for deleting content blocks and creating multiple with the same manifest on the same page

* Fix unused argument

* Suggestions after review applied

* Remove unused i18n keys

* Add summary content block seed only for terms-and-conditions page

* Fix where to show content blocks on tabbed view

* Configuration to allow content blocks on specific pages

* Move commands and concern into a new Decidim::Admin::ContentBlocks namespace

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/commands/decidim/admin/create_newsletter_spec.rb tests

* Fix commands tests

* Move content of page_blocks config_accessor to decidim-generators

* User's group endorsement no longer disappears after personal endorsement removed (#10223)

* Fixed group endorsement removal when personal endorsement removed & tests

* test-fixes

* Redesign: main header layout glitches (#10182)

* extract all CSS from main-bar to header CSS file

* do not override dropdown styles

* crop images to the circle bounds

* add hover interaction for home links

* add notification in dropdown

* add styles to notification

* typo

* responsive adjustments

* restore file from develop

* apply 12-cols pattern

* replace details-summary

* replace details-summary mobile

* fix a11y tests

* replace accordion with dropdown

* replace accordion with dropdown (mobile)

* fix avatar menu trigger

* Participatory processes manage content blocks (#10230)

* Add content blocks admin management for participatory processes

* Reuse html content blocks defined in process groups for processes also

* Define redesigned html content block

* Add shared tests for landing page admin and use them for groups and processes

* Fix tests

* Adapt management of content blocks for participatory processes landing page

* Update tests

* Redesign: menu breadcrumb (#10200)

* Add FooterMenuPresenter to display menu items in footer

* Set fixed links in redesigned_main_legal partial

* Fix translation call

* Define a cell for static_pages and topics configured to appear in footer

* Reorder elements in main links of footer and define links and texts

* Fix path method call

* Fix translation

* Replace h5 with h2 in footer pages cells topics titles

* Use redesigned participatory space layout with a content_for block

* Add dynamic breadcrumb root menu elements

* Recover menu

* Move content to partial

* Remove fixed text

* Allow passing options to activity cell from activities cell and define layout and author layout

* Define a cell for last activities in breadcrumb root

* Add comment

* Fix deprecated method use

* Allow action buttons in menu to be defined from participatory spaces layouts

* Allow definition of extra breadcrumb elements from participatory spaces

* Define current space item and dropdown from participatory processes

* Remove :participatory_space_menu content_for element

* Integrate menu breadcrumb for mobile and tablet

* Remove unused partials

* Fix link and translation

* Fix linter offense and indentation

* Avoid accessibility validation errors in mobile version when secondary dropdown is blank

* Add links to breadcrumbs when url defined

* Fix headers hierarchy

* Define generic participatory space dropdown metadata cell

* Inherit process_dropdown metadata cell from generic cell

* Define assembly dropdown metadata cell

* Define current_participatory_space_breadcrumb_item for assemblies

* Remove useless blank line

* Define conference dropdown metadata cell

* Define current_participatory_space_breadcrumb_item for conferences

* refactor breadcrumb desktop

* refacto main dropdown

* refactor secondary dropdown

* Reorder methods

* Use diferent id for repeated element of breadcrumb

* style glitches breadcrumb

* Remove layout in activities cell and include author

* Revert changes in activity cell

* generalize font size

* fix erblint

* fix a11y test

* replace details-summary mobile

* Use an option to hide participatory space on activities of secondary dropdown

* Use a different id prefix to cache and generate ids of activities depending on the participatory space

* Disable links on breadcrumb items when current path is the same

* Revert hide_participatory_space option in activity cell

The changes come from processes branch

* replace accordion with dropdown

* replace accordion with dropdown (mobile)

* remove dummy code

* Fix typo

Co-authored-by: Fernando Blat <fernando@blat.es>

* Mark partial to be integrated with redesign

* Add comment to explain current_participatory_space_breadcrumb_item

* fix user interaction glitches

---------

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Rebase Develop branch into feature/redesign (#10322)

* Fix dependency resolver trying to fetch gem paths from lazy specifications (#10220)

* Ensure we are not returning lazy specifications

The lazy specification is not responding to the `#full_gem_path`
method which causes the dependency resolving to fail under newer
bundler versions and also in the situation that the newest
installed bundler version differs from the locked bundler version.

* Fix the expecation in the dependency resolver spec

* Added Reporting time in Global Moderation / Users (#10213)

* added-reported-time-to-user-moderations

* deleted-extra-line

* locale-changes

* fields reorder/contentmoderations - localizations revert

* fixed tests

* Removed "disabled" status from proposals' main categories (#10216)

* removed-main-category-disabling

* fixed-a-typo

* Fix double parentheses in the titled upload modal with existing attachment (#10221)

* Fix pipeline asset absolute URLs (#9597)

* Rename Decidim::AssetRouter to Decidim::AssetRouter::Storage

* Implement pipeline asset router

* Fetch the avatar default URLs through Decidim::AssetRouter::Pipeline

* Add specs for the avatar uploader

* Fix failing spec for NilPresenter

* Rubocop

* Fix spec after merge

* Fix the pipeline spec after merge

* Improve link handling of the redirect engine (#10235)

* Added links and nickname fields to User Group Admin panel (#10236)

* added-nickname-field-to-usergroups

* Added missing localizations (#10210)

* added-missing-localizations

* test-fixes

* additional-localizations-added

* comment-edit/date-format

* Switch to GitHub concurrency in CI (#10133)

* Switch to GitHub concurrency

* Rename the API CI workflow name

* Revert "Rename the API CI workflow name"

This reverts commit defe599bdcb16defa3d8589bdc7610d3c8a60279.

* send notifications after transaction (#10211)

* Fix Pipeline after #10211 (#10240)

* Fix initiatives count in initiatives index page (#10150)

* Multi content blocks with the same manifest for the same page and section content block for ToS (#10166)

* Multiple content blocks for landing page and add sections to static page

* Fix two-pane section view

* Fix rubocop offense and normalize locales

* Fix static page update method

* Add class to content blocks card

* Fix spec/system/admin_manages_static_page_content_blocks_spec.rb tests

* Fix spec/system/admin_manages_organization_homepage_spec.rb tests

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/forms/static_page_form_spec.rb tests

* Fix spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb tests

* Add new tests for deleting content blocks and creating multiple with the same manifest on the same page

* Fix unused argument

* Suggestions after review applied

* Remove unused i18n keys

* Add summary content block seed only for terms-and-conditions page

* Fix where to show content blocks on tabbed view

* Configuration to allow content blocks on specific pages

* Move commands and concern into a new Decidim::Admin::ContentBlocks namespace

* Fix spec/commands/decidim/admin/reorder_content_blocks_spec.rb tests

* Fix spec/commands/decidim/admin/create_newsletter_spec.rb tests

* Fix commands tests

* Move content of page_blocks config_accessor to decidim-generators

* User's group endorsement no longer disappears after personal endorsement removed (#10223)

* Fixed group endorsement removal when personal endorsement removed & tests

* test-fixes

* Add Backports documentation process explanation (#10248)

* Add Backports documentation process explanation

* Add link to backporter script

* Fix typo

Suggested by code review

* Add example and documentation for backporter script

* Sync release branch with remote before backporting (#10222)

* Fix notifications page when vapid is not available (#10286)

* User's group endorsement no longer disappears after personal endorsement removed

* Fixed group endorsement removal when personal endorsement removed & tests

* test-fixes

* Fix the notification settings when vapid keys are not present

---------

Co-authored-by: JoonasAapro <110532525+JoonasAapro@users.noreply.github.com>

* Update picmo to 5.7.3 (#10291)

* Replace webpush with web-push to support OpenSSL V3 (#10207)

* Replace webpush with web-push to support OpenSSL V3

* Restore Ruby version

* Export proposal body without HTML tags (#9913)

* Remove HTML tags in proposal body in exports

* Light proposal serializer specs refactor

* Remove proposal body HTML tags using decidim_sanitize

* Implement HTMLToPlainText in proposal serializer

* Remove SanitizeHelper from proposal serializer

* Refactor proposal serializer spec

* Strip tags recursively for proposal body

* Refactor specs file

* Refactor proposal serializer service

* Prevent aria-describedby attribute being added to hidden inputs (#10022)

* Add ability to pass extra attributes for authorization creation (#10320)

---------

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: JoonasAapro <110532525+JoonasAapro@users.noreply.github.com>
Co-authored-by: Ivan Vergés <ivan@platoniq.net>
Co-authored-by: Heiner Sameisky <hei.sam@gmail.com>
Co-authored-by: Fran Bolívar <francisco.bolivar@nazaries.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Quentin Champenois <26109239+Quentinchampenois@users.noreply.github.com>

* Redesign: tooltips (#10212)

* tooltip variations

* keep the tooltip visible on hover

* refactor tooltips logic and helper

* Update decidim-core/app/helpers/decidim/tooltip_helper.rb

Co-authored-by: Fernando Blat <fernando@blat.es>

* fix code reviews

* restore argument

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: Content block - Hero (#10318)

* hero block styles

* fix erblint

* remove unnecessary specs, if there was no link, click_link will fail as now does

* set aspect-ratio for the hero image

* adapt test to allow multiple values

* ignore tests due to old design

* Redesign: Skip to content (#10317)

* include link in header to main content

* remove deprecated file

* restore default outline

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: statistics as content-block (#10324)

* refactor statistics cell to be reusable

* move the container outside of the cell

* wrong file references

* fix specs after block modification

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: last activities (#10327)

* refactor last activities views

* show empty message

* add vertical flow

* update dropdown when filtering is called

* fix i18n

* fix failing tests

* remove unnecessary class

* all items at first position

* Move activities filter to a cell and use it in user public profile and site activities

* Fix translation reference

* Fix translation

* Fix test

* Move mocked method

* Redefine method and avoid memoization

* Avoid exceptions when a constant name passed to resource_types_filter_cell is undefined

---------

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Feature/redesign revert drawers (#10329)

* Remove drawers and references to turbo

* Add comment for redesign in drawer layout

* Update selector in tests

* Update references to drawer in comments and names

* Don't change the cell name when redesign is disabled if redesigned_ prefix is used explicitly

* Recover test

* Unify tests to expect the same behavior with redesign enabled and not

* Fix selectors in tests

* Recover skipped tests working with redesign enabled and not

* Use redesigned cell version always and recover skipped tes

* Remove turbo gem dependency

* Remove turbo packages dependencies

* Remove turbo-rails gem from Gemfile.lock files in app-design and generators

* Add comments to remaining code using drawer term

* Move before block to context to ensure creation of group

* Ensure initialization on remote-modal:loaded event

* Avoid picmo regression

* Fix package version

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: proposals block & card L (#10170)

* proposals block

* add space to span

* Normalize locales

* Add comments count and official? to card metadata cell

* Reorder methods

* Add endorsements count to default card metadata cell

* Allow calling a cell as card metadata item

* Add authorship items to card metadata cell

* Define metadata proposal card cell based on generic attributes

* Sanitize title ind card l cell

* Fix selectors in proposals cards tests

* Add an emendation label to card_metadata_cell

* Add state item to proposal metadata card

* Add an extra class to proposals l card

* Update tests

* replace CSS classes by ids

* Sanitize participatory space title in metadata item

* Reduce if-else nesting

* Update selectors in tests

* Skip maybe deprecated tests

* Remove methods duplicated after merge

---------

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Fernando Blat <fernando@blat.es>

* Redesign: processes & assemblies (static blocks) (#10005)

* initial setup processes

* floating help styles

* isolate component, provide js functionality

* reuse cards for index

* add metadata to the cards

* responsive index titles

* use new layout for redesigned process

* include paginator

* remove debug code

* filters (mockup) index process

* cherry pick frontend rearrangement

* remove partial in favour of cell

* add callout flow

* main distribution in blocks

* process info metadata

* process metadata block

* phases modal

* phase steps connection line

* assets in show are loaded in their layout

* mobile introduction block

* navigation bar process

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: https://github.com/decidim/decidim/issues/9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* Fix running DB commands consecutively (#9607)

* Reset column information before seeds on loaded record classes

* Add spec for running db commands consecutively

* Load the templates engine in the surveys engine

Otherwise the templates migrations are not copied to the app
unless the templates module is define in the Gemfile, although
it is a requirement ofr surveys.

* Try sub-command without bundle exec in CI

* Revert "Try sub-command without bundle exec in CI"

This reverts commit 66e4361df6a5e423773b6c1ed2316d209dbaccb4.

* Try running sub-command with original env

* Fix ActiveRecord descendants checks for abstrac test classes

* New Crowdin updates (#9486)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Basque)

* New translations en.yml (Basque)

* New translations en.yml (Greek)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (Arabic)

* New translations en.yml (Basque)

* New translations en.yml (Spanish)

* New translations en.yml (Latvian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Dutch)

* New translations en.yml (Galician)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Hungarian)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Bulgarian)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Irish)

* New translations en.yml (Danish)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovenian)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Galician)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Sinhala)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Czech)

* New translations en.yml (Guarani)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Bulgarian)

* New translations en.yml (Arabic)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (Danish)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Irish)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Italian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Norwegian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Slovak)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Serbian (Latin))

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Russian with many plural form)

* New translations en.yml (French)

* New translations en.yml (French, Canada)

* New translations en.yml (Swedish)

* New translations en.yml (Basque)

* New translations en.yml (Romanian)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Turkish)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Swedish)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Polish)

* New translations en.yml (Portuguese)

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (Basque)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* Add note to merge the Crowdin PRs in all releases (#10076)

* Clarify the changelog instructions in the release process documentation (#10066)

* Redesign: upload modal (#9858)

* prepare update-modal cell

* clean conversations modal as of the shared styles

* shared html styles for modals

* workaround: redesign_enabled? not working on cells called from helper

* full refactor upload modal files

* fix linters

* fix styles dropzone

* handle asynchronous validations

* general fixes and new casuistics

* fix dragover highlight & remove files on cancel

* update dropzone when errors

* add space to files

* Prepare button to open login modal to work with redesigned and legacy layouts

* Split upload modal cell in legacy and redesigned versions and allow to call it passing a redesign option

* Call upload method passing the redesigned option based on the context

* Fix linter offense

* Normalize locale file

* eslint consistent-return

* eslint consistent-return

* Update test

* move action button to the right if it's the only child

* rearrangement frontend libraries

* fix upload modal after redesigned assets

* remove current image block (fix removal error)

* preview image

* good version files.erb

* Fix external_link initialization in legacy design index.js

* Force flaky test

* Fix attachment blob call

* Remove unused attachment label method

* Display default image if defined and no uploaded attachments

* Update test

* Update selector in test

* Revert "Force flaky test"

This reverts commit 075f6eb77d46193d0977d37d1e8e7942e08ca3c4.

* Improve deprecation after redesign documentation in js file

* overflow dropzone auto

* disabled form submit when there are erorrs on the files

* reset dropzone on cancel

* pass argument multiple

* update translation

* better looking responsive

* disable save only when errors & mark as removable

* include logic to remove the current uploaded item

* Delegate redesign_enabled? to template in form builder

* fixes frontend upload modal

* Fix form_builder spec to take redesign into account

* avoid drag flickering on webkit browsers

* Avoid errors in determine_filename when attachment class is ActionDispatch::Http::UploadedFile

* avoid string commas in errors array

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Implement ToS summary (#9222)

* feat(privacy_policy): Manage privacy policy as a content_block

* feat(privacy_policy): add summary to sign up

* chore(sign_up): privacy_policy link target blank

* fix rubocop issues

* fix: privacy_policy unused_manifests method

* feat(core): add seed for privacy policy summary

* feat(spec): add system/admin_manages_organization_privacy_policy_spec.rb

* refactor: move from settings to static_pages, rename to ToS

* chore(css): tweak sign_up ToS text styles

* fix(i18n): remove unused keys

* feat(seeds): add ToS summary content_block

* fix specs

* add summary content block to tabbed page view

* Fix rubocop offenses

* Add migration to move terms and conditions page content to content_block

* Keep the content of the tos page even with summary content block active

* Fix test

* Show summary section in ToS page

Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>

* Run ERBlinter on modified files (#9868)

* boost the ERBlinter filtering the scanned files

* Test simpler setup

* Test another syntax

* handle no files exit code

* Get back the initial command

* Add erblint to package.json of design app

* remove linter from npm

* lint all views for merges

* Update run_erblint.sh

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Update .github/run_erblint.sh

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>

* Improve the release_all rake task with multiple remotes (#10077)

- Add check that we have decidim/decidim as one of the remotes
- Fetch the existing tags before doing the release
- Define the release remote to the correct remote (decidim/decidim)

* Enable newsletters for admin on seeds (#10073)

* Enable newsletters for admin on seeds

* Enable newsletters for a couple more users on seeds

* Allow blocking a UserGroup (#10021)

* Fix comment (probably a copypasta)

* Make Users find compatible with UserGroups

* Add specs for blocking/unblocking a User or a UserGroup

* Recover user_name from extended_data when unblocking

* Redirect to users moderation panel instead of users/officializations

* Return 404 when the UserGroup is blocked

* Move the associations to the UserBaseEntity model

* Fix override of extended_data attribute in UserGroups factory

* Fix spec

* Add slash in PR linter configuration (#10074)

To only catch when someones leave the default title when working with
`hub` or `gh`, that's the default branch, and not when someone uses
"Refactor XXX" as title.

* Enhance templates engine (#10015)

* Refactor templates engine

* Running linters

* Apply review Recommendations

* Implement last review reccomendations

* Apply the latest recommendation changes

* Apply clarified review recommendations

* Fix wrong capitalization in i18n values and add missing keys (#10072)

* Fix wrong capitalization in i18n values

* Add missing i18n keys

* Replace 'Weight' with 'Order position'

So its consistent in all the forms.

* Fix key for meeting agenda item

* Remove unused attribute for show_embedded_iframe

* Fix key for scope

* Normalize :en locale

* Fix spec

* Fix typo

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* Fix column reference on Topic

Suggested by code review

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>

* merge item-list into card css component

* remove redesigned card cell (deprecated)

* landing processes

* give some margin to any sibling of a callout

* do not style dynamic content inside the cards

* floating help default status as tip, not block

* add card "G" cell for process card grids

* set content blocks for processes & accountability

* Revert "remove redesigned card cell (deprecated)"

This reverts commit 9300a1af2d7f2f6000cf747fc0290f71ac73e57b.

* Remove redesigned_process cell and define process size l card

* add reference code to the bototm

* block activity (pending integration)

* blog section

* missing block title

* handle full layout html block

* reduce description characters

* create post_g cell

* set color only to the title, not the whole block

* don't use custom editor text for card descriptions

* update markup modal steps

* add process description page

* add metrics content block

* prepare assemblies assets (orgchart removed)

* fix hover floating help

* update index files dependencies

* assembly cell type G

* move new filters view to shared

* mark as deprecated

* move results to partials

* update tests & references

* update js returned results

* assemblies show

* replace attachments_for with atomic content

* set margins for container

* add link to index in assemblies

* remove helper for assemblies

* refactor the way to draw the charts

* demo cell activities

* move activity styles from profile to independent component

* replace custom css with component class

* fix erblint

* update the floating help for conferneces from processes

* Fix key used to get url in process_nav_item partial

* include author conditionally

* don't enforce font-size on component

* remove spaces from the component, set them in the container

* Use an option to hide participatory space on activities cell

* Adapt test selectors

* Unify method changing behavior with redesign and adapt shared example to both cases

* Skip test pending of integration of breadcrumb

* Recover partial used by legacy design

* Fix linter offenses

* Skip some tests deprecated after redesign

* Remove deprecated partials en assemblies and processes

* Remove unused translations

* Add redesign pending comments

* Fix nav items generation in assembly space

* Use snippets to include assets in cell

* Remove unused translations

* remove old code

* hide endorsers on mobile

* style glitches

* Remove unused translations

* switch flex to grid for responsiveness

* grow time container

---------

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Sergei Krylov <sergei.krylov@yahoo.com>
Co-authored-by: Antti Hukkanen <antti.hukkanen@mainiotech.fi>
Co-authored-by: decidim-bot <decidim-bot@users.noreply.github.com>
Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>
Co-authored-by: Agusti B.R <agustibr@users.noreply.github.com>
Co-authored-by: Francisco Bolívar <francisco.bolivar@nazaries.com>
Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>

* Feature/redesign proposals tests fixes (#10377)

* Fix test

* Use a data-author attribute in redesigned author cell

* Force the use of redesigned author cell in other cells using it

* Update have_author matcher in test

* Update selectors in test

* Use presenter version of title on proposal l cell

* Skip temporarily tests related with proposals votes

REDESIGN_PENDING - The mechanism to vote proposals from index is pending
and also the metadata displaying the votes count

* Exclude file with TODOs in decidim_app-design from codeclimate checks

* Change selector in tests

* Update have_author matchers in tests

* Change selector of author in cells tests

* Change test to check proposals block inside a process

* Skip test of redesign pending behaviour

* Remove Turbo references

* Add missing locale

* Fix pending comment

* Update test selectors

* Update keys sent to server

* Redesign: timeout modal (#10373)

* adapt timeout controller to use new dialogs library

* duplicate files to avoid error on admin part

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Offense

* Adjust specs

* Offenses

* Skip debates and proposals report spec

* Redesign: fonts (#10417)

* include the updated file fonts (new glyphs)

* fix stylelint

* move the flag modal outside of the comment header

* Skip tests until redesign is enabled

* replace details-summary into a11y component

* better design comments

* better mobile comments

* opinion on comments

* override default styles

* update html markup on tests

* avoid external link when polling is triggered

* Fix focusGuard setup on scoped elements

* add explanations for a future development

* Redesign: Newsletter modal (#10428)

* ensure tos modal

* add a11y description

* remove linebreaks

* Redesign: cookies (#10366)

* update & adapt application layout from develop

* floating bottom banner

* handle click cookies banner

* refactor cookies modal

* set cursor only to the accordion trigger

* footer triggers cookie modal

* make the title + arrow clickable

* change structure to a11y

* fix stylelint

* do not include a div inside button

* do not use button

* better responsiveness for modal actions

* fix stylelint

* fix core tests (skip for redesigning)

* fix rubocop

* fix tests

* Fix spec

* Update selector

* Fix var name, use redesigned assets

* remove transition needless

* Fix test

---------

Co-authored-by: Fernando Blat <fernando@blat.es>
Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Redesign: floating tip turns into modal (#10388)

* fix odd positioning tip

* adapt tip to the button styles & fix mobile position

* turns tip helper into a modal

* place tip relative to data-content block

* Redesign: map popup (#10335)

* include custom popup content for meetings

* increase map size on mobile

* overwrite custom styles for leaflet popup

* keep the map icons setup simple (remove legacy stuff)

* show disfferent texts based on the meeting duration

* fix icon anchor position

* fix linter

* fix i18n

* use decidim date formats

* Include DateHelper in the correct cell

* Fix calculation of progress value

* Move dates and duration item to generic metadata cell

* Add tests for card-l and card_metadata cells

* let the popup transition by default

* wrap elements in leaflet popup

---------

Co-authored-by: Eduardo Martinez Echevarria <eduardomech@gmail.com>

* Offense

* Ignore visible check

* Skip test when redesign is disabled, because causes a JS error

* Skip tests for old design

* move the opinion block into the form

* add space between label-opinion and comment

* add text-decoration:underline if user select neutral opinion

* styles edited comment

* add dispatchEvent to add a comment

* remove profile and cell author

* remove a[href*=/users/sign_] styles

* add type="button" to opinion buttons to avoid the form submit when clicking on them

* replace div with button and remove tabindex

* clean duplicated class

* Redesign: Refuse TOS modal (#10431)

* style refuse tos modal

* fix i18n

* overwrite modal defaults

* Fix locale

---------

Co-authored-by: Fernando Blat <fernando@blat.es>

* Participatory spaces landing page content blocks (#10234)

* initial setup processes

* floating help styles

* isolate component, provide js functionality

* reuse cards for index

* add metadata to the cards

* responsive index titles

* use new layout for redesigned process

* include paginator

* remove debug code

* filters (mockup) index process

* cherry pick frontend rearrangement

* remove partial in favour of cell

* add callout flow

* main distribution in blocks

* process info metadata

* process metadata block

* phases modal

* phase steps connection line

* assets in show are loaded in their layout

* mobile introduction block

* navigation bar process

* Show only ToS acceptance when admin hasn't accepted it (#9907)

* Don't show the 'Activity' card in dashboard if admin didn't accepted the ToS

* Don't show the 'Global moderations' menu if admin didn't accepted the ToS

* Extract spec to a shared example

* Don't show the 'Participants' menu if admin didn't accepted the ToS

* Fix CTA button copy

* Don't show the 'Templates' menu if admin didn't accepted the ToS

* Don't show the 'Initiatives' menu if admin didn't accepted the ToS

* Add system spec

* Fix specs

* Add example for ToS acceptance in 'Global moderations'

* Fix spec

* Add example for ToS acceptance in 'Space moderations'

* Fix guard clause when admin is managing users

* Fix usages of sanitize helper methods for editable content provided by admins (#10007)

* Fix usages of sanitize helper methods for editable content provided by admins.

Related issue: https://github.com/decidim/decidim/issues/9927

Fixes usages of sanitize for `description` of `ParticipatoryProcess` and `ParticipatoryProcessGroup`.

* Fix usages of sanitize for `description` of assembly, conference and voting. Unify spec test.

* Fix usages of sanitize for `short_description` of conference.

* Always allow image upload in WYSWYG editor (#10011)

* Disable editor_images option in WYSWYG editor

* Correct rubocop offenses

* Fix running DB commands consecutively (#9607)

* Reset column information before seeds on loaded record classes

* Add spec for running db commands consecutively

* Load the templates engine in the surveys engine

Otherwise the templates migrations are not copied to the app
unless the templates module is define in the Gemfile, although
it is a requirement ofr surveys.

* Try sub-command without bundle exec in CI

* Revert "Try sub-command without bundle exec in CI"

This reverts commit 66e4361df6a5e423773b6c1ed2316d209dbaccb4.

* Try running sub-command with original env

* Fix ActiveRecord descendants checks for abstrac test classes

* New Crowdin updates (#9486)

* New translations en.yml (Italian)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Basque)

* New translations en.yml (Basque)

* New translations en.yml (Greek)

* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (Arabic)

* New translations en.yml (Basque)

* New translations en.yml (Spanish)

* New translations en.yml (Latvian)

* New translations en.yml (Indonesian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Dutch)

* New translations en.yml (Galician)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Norwegian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Finnish)

* New translations en.yml (French)

* New translations en.yml (Japanese)

* New translations en.yml (French, Canada)

* New translations en.yml (Romanian)

* New translations en.yml (Dutch)

* New translations en.yml (Italian)

* New translations en.yml (Japanese)

* New translations en.yml (Japanese)

* New translations en.yml (Lithuanian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Dutch)

* New translations en.yml (Norwegian)

* New translations en.yml (Hungarian)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Czech)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Bulgarian)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Czech)

* New translations en.yml (Irish)

* New translations en.yml (Danish)

* New translations en.yml (German)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Slovak)

* New translations en.yml (Portuguese)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Slovenian)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Galician)

* New translations en.yml (Icelandic)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Luxembourgish)

* New translations en.yml (Sinhala)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (French)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Guarani)

* New translations en.yml (Czech)

* New translations en.yml (Guarani)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Polish)

* New translations en.yml (Romanian)

* New translations en.yml (Spanish)

* New translations en.yml (French)

* New translations en.yml (Bulgarian)

* New translations en.yml (Arabic)

* New translations en.yml (Czech)

* New translations en.yml (Catalan)

* New translations en.yml (German)

* New translations en.yml (Danish)

* New translations en.yml (Greek)

* New translations en.yml (Basque)

* New translations en.yml (Irish)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Japanese)

* New translations en.yml (Italian)

* New translations en.yml (Lithuanian)

* New translations en.yml (Norwegian)

* New translations en.yml (Dutch)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Slovak)

* New translations en.yml (Chinese Simplified)

* New translations en.yml (Turkish)

* New translations en.yml (Swedish)

* New translations en.yml (Icelandic)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Latvian)

* New translations en.yml (French, Canada)

* New tran…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants