Commit Graph

19995 Commits

Author SHA1 Message Date
Sebastia
2c7e44dda1 Merge pull request #5885 from consuldemocracy/erb_lint_deprecations
Fix ERB Lint deprecations
2025-02-19 15:01:06 +00:00
Javi Martín
b557c1d9fc Merge pull request #5887 from consuldemocracy/dependabot/bundler/nokogiri-1.18.3
Bump nokogiri from 1.18.2 to 1.18.3
2025-02-19 15:28:53 +01:00
dependabot[bot]
b9724cd180 Bump nokogiri from 1.18.2 to 1.18.3
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.2 to 1.18.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.18.2...v1.18.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 13:49:31 +00:00
taitus
94e70e9073 Rename executable deprecated erblint to erb_lint
Now executable `erblint` is deprecated, then we will use `erb_lint` instead.
2025-02-14 15:54:28 +01:00
taitus
bec5506c4c Rename config file from .erb-lint.yml to .erb_lint.yml
The config file has been renamed to `.erb_lint.yml` and `.erb-lint.yml` is
deprecated. Please rename your config file to `.erb_lint.yml`.
2025-02-14 15:32:58 +01:00
Sebastia
5809948124 Merge pull request #5884 from consuldemocracy/ruby3.2.7
Upgrade Ruby to version 3.2.7
2025-02-14 14:23:00 +00:00
taitus
352f702947 Upgrade Ruby to version 3.2.7 2025-02-14 14:50:57 +01:00
Sebastia
3c06997b08 Merge pull request #5868 from consuldemocracy/dependabot/bundler/erb_lint-0.9.0
Bump erb_lint from 0.6.0 to 0.9.0
2025-02-14 12:10:00 +00:00
dependabot[bot]
9bfc365a76 Bump erb_lint from 0.6.0 to 0.9.0
Note we aren't bumping the concurrent-ruby gem (which Dependabot
automatically did) because it causes that our workflows/db_schema.yml
fails.

Bumps [erb_lint](https://github.com/Shopify/erb-lint) from 0.6.0 to 0.9.0.
- [Release notes](https://github.com/Shopify/erb-lint/releases)
- [Commits](https://github.com/Shopify/erb-lint/compare/v0.6.0...v0.9.0)

---
updated-dependencies:
- dependency-name: erb_lint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 12:43:57 +01:00
Sebastia
accd26fb3b Merge pull request #5872 from consuldemocracy/dependabot/bundler/pronto-stylelint-0.11.0
Bump pronto-stylelint from 0.10.3 to 0.11.0
2025-02-14 09:06:57 +00:00
dependabot[bot]
2768263faf Bump pronto-stylelint from 0.10.3 to 0.11.0
Note we aren't bumping the rugged gem (which Dependabot automatically
did) because it causes Pronto to stop working with GitHub Actions.

Bumps [pronto-stylelint](https://github.com/kevinjalbert/pronto-stylelint) from 0.10.3 to 0.11.0.
- [Commits](https://github.com/kevinjalbert/pronto-stylelint/compare/v0.10.3...v0.11.0)

---
updated-dependencies:
- dependency-name: pronto-stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 09:48:26 +01:00
Sebastia
ff8d413d0b Merge pull request #5875 from consuldemocracy/dependabot/npm_and_yarn/stylelint-16.14.1
Bump stylelint from 16.9.0 to 16.14.1
2025-02-12 16:51:11 +00:00
taitus
c52fed64ad Add new stylelint rules
These rules were added in stylelint 16.13.0 and IMHO can be usefull check
this rules.

Note that we are add a new rule value in override section because we are
receiving an error for font-url like:
> Unexpected unknown value "font-url("icons.eot")"
2025-02-12 16:34:57 +01:00
dependabot[bot]
eb53358300 Bump stylelint from 16.9.0 to 16.14.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.9.0 to 16.14.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.9.0...16.14.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 16:34:57 +01:00
Sebastia
9c980d06ff Merge pull request #5874 from consuldemocracy/dependabot/bundler/launchy-3.1.0
Bump launchy from 2.5.2 to 3.1.0
2025-02-12 15:34:22 +00:00
Sebastia
a94b5b8ba4 Merge pull request #5876 from consuldemocracy/dependabot/npm_and_yarn/stylelint-scss-6.11.0
Bump stylelint-scss from 6.7.0 to 6.11.0
2025-02-12 15:03:00 +00:00
dependabot[bot]
41544bfc59 Bump stylelint-scss from 6.7.0 to 6.11.0
Bumps [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss) from 6.7.0 to 6.11.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-scss/compare/v6.7.0...v6.11.0)

---
updated-dependencies:
- dependency-name: stylelint-scss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 18:01:32 +01:00
taitus
c9449190bf Remove unnecessary override rule
Since commit 761f7777, this rule overwrite that was added in commit
444b8c3 is no longer needed.
2025-02-11 18:01:32 +01:00
dependabot[bot]
686055da27 Bump launchy from 2.5.2 to 3.1.0
Bumps [launchy](https://github.com/copiousfreetime/launchy) from 2.5.2 to 3.1.0.
- [Changelog](https://github.com/copiousfreetime/launchy/blob/main/HISTORY.md)
- [Commits](https://github.com/copiousfreetime/launchy/compare/v2.5.2...v3.1.0)

---
updated-dependencies:
- dependency-name: launchy
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 22:39:10 +00:00
Sebastia
be53ce40e9 Merge pull request #5860 from consuldemocracy/set_version_number
Set release 2.3.0 version number
2025-01-29 13:58:50 +01:00
taitus
f67dfcc858 Set version number 2025-01-29 13:51:15 +01:00
Sebastia
a0eec45ce3 Merge pull request #5846 from consuldemocracy/release_2.3.0
Release version 2.3.0
2025-01-29 13:41:30 +01:00
taitus
58b3f98553 Release version 2.3.0 2025-01-29 13:18:53 +01:00
Sebastia
59f9658c33 Merge pull request #5856 from consuldemocracy/i18n_crowdin
Update translations from Crowdin
2025-01-28 17:32:49 +01:00
taitus
7750dfa9f6 Update translations from Crowdin 2025-01-28 17:09:36 +01:00
Sebastia
251ceebbbf Merge pull request #5845 from consuldemocracy/dependabot/bundler/pronto-rubocop-0.11.6
Bump pronto-rubocop from 0.11.5 to 0.11.6
2025-01-27 14:07:00 +01:00
taitus
d8381204f1 Add faraday-retry gem
In order to remove an information text related to Faraday every time we
execute `pronto run`:
> To use retry middleware with Faraday v2.0+, install faraday-retry gem
2025-01-27 13:42:29 +01:00
Sebastia
b8460f2065 Merge pull request #5847 from consuldemocracy/i18n_crowdin
Update translations from Crowdin
2025-01-23 18:41:10 +01:00
taitus
c65495af6e Enable Portuguese (Portugal) by default 2025-01-23 18:22:36 +01:00
taitus
4126f03a58 Update translations from Crowdin 2025-01-23 17:49:58 +01:00
Sebastia
40a81607c2 Merge pull request #5790 from consuldemocracy/cookies_consent
Add GDPR-compliant cookie consent banner with preferences modal
2025-01-23 17:32:15 +01:00
taitus
7c48ba0116 Do not display the cookie banner when JS is disabled 2025-01-23 17:16:57 +01:00
taitus
018b00cd6e Allow managing versions of cookies consent
This can be useful when adding a new cookie or making
modifications that require asking the user again.
2025-01-23 17:16:57 +01:00
taitus
5ffaf7a80e Add scripts component in order to enable/disable vendor scripts 2025-01-23 17:16:57 +01:00
taitus
7407c386a6 Render third party cookies in the management component
Set cookie duration to 365 days based on the AEPD's cookie usage guidelines.

Note from the document: "Cookies with a duration of up to 24 months are
considered acceptable as long as they are periodically updated."
Reference: https://www.aepd.es/guias/guia-cookies.pdf
2025-01-23 17:16:55 +01:00
taitus
dc54fda71b Allow accepting all cookies in consent banner and management component
Create cookie consent "all" when accept all cookies

Set cookie duration to 365 days based on the AEPD's cookie usage guidelines.

Note from the document: "Cookies with a duration of up to 24 months are
considered acceptable as long as they are periodically updated."
Reference: https://www.aepd.es/guias/guia-cookies.pdf
2025-01-23 17:03:30 +01:00
taitus
6753505e7c Allow administrators to define the cookies vendors the application uses 2025-01-23 17:03:30 +01:00
taitus
390c749d24 Add switch to management component for essentials cookies 2025-01-23 16:48:55 +01:00
taitus
c95c80dc32 Create a new component to render checkboxes as switches
https://get.foundation/sites/docs/switch.html
2025-01-23 16:48:55 +01:00
taitus
0121e57fd0 Render more info link in management component 2025-01-23 16:48:55 +01:00
taitus
d35455624f Allow accept essential cookies from management modal 2025-01-23 16:48:55 +01:00
taitus
df34853792 Add link to management modal in footer 2025-01-23 16:48:55 +01:00
taitus
119c4202fe Allow accessing to management modal from cookies consent banner 2025-01-23 16:48:55 +01:00
taitus
5d590a0aee Add modal management for show essential cookies information
Note that in order to avoid display duplicated vertical scroll when
render a modal, we are add an `overflow: unset` rule. This rule
overwrite a vendor rule both in the modal we are adding and in the
modal we already have when creating a budget in admin section.
2025-01-23 16:48:55 +01:00
taitus
0ef7f9f1fa Extract close button definition to mixin 2025-01-23 16:48:54 +01:00
taitus
d7f701cc9a Add an optional setting with the link to the cookies policy page 2025-01-23 16:48:54 +01:00
taitus
1958a77842 Allow accept essential cookies from consent banner
Set cookie duration to 365 days based on the AEPD's cookie usage guidelines.

Note from the document: "Cookies with a duration of up to 24 months are
considered acceptable as long as they are periodically updated."
Reference: https://www.aepd.es/guias/guia-cookies.pdf
2025-01-23 16:48:53 +01:00
taitus
f4c3c4e639 Add cookies methods as support common actions 2025-01-23 16:05:41 +01:00
taitus
4c0b6455f6 Add cookies consent banner
Allow enabling from settings admin section.

Note that we set the z-index to 20 in order to will be greater than
the others z-index elements in the application like <header> on
mobile devices.
2025-01-23 16:05:40 +01:00
taitus
211b3263dc Bump pronto-rubocop from 0.11.5 to 0.11.6
Bumps [pronto-rubocop](https://github.com/mmozuras/pronto-rubocop) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/mmozuras/pronto-rubocop/releases)
- [Commits](prontolabs/pronto-rubocop@v0.11.5...v0.11.6)

NOTE:
Keeping the current version of the rugged gem instead of upgrading seems to solve the issue,
as mentioned in prontolabs/pronto#447.
2025-01-22 16:29:13 +01:00