Commit Graph

35362 Commits

Author SHA1 Message Date
dependabot[bot]
8250029eb7 Bump private_address_check from 0.5.0 to 0.6.0
Bumps [private_address_check](https://github.com/jtdowney/private_address_check) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/jtdowney/private_address_check/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: private_address_check
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 10:02:55 +00:00
David Cook
5e92fa9a17 Merge pull request #14078 from rioug/fix-flacky-order-cylcle-spec
[Spec] Fix flaky order cycle spec
2026-03-23 12:24:05 +11:00
Maikel
d23ad9c8ad Merge pull request #14079 from openfoodfoundation/dependabot/bundler/i18n-tasks-1.1.2
Bump i18n-tasks from 1.0.15 to 1.1.2
2026-03-23 11:27:59 +11:00
David Cook
d80249da2d Merge pull request #14064 from openfoodfoundation/dependabot/bundler/taler-0.3.0
Bump taler from 0.2.0 to 0.3.0
2026-03-23 10:52:08 +11:00
Gaetan Craig-Riou
d6c69fdc2c Fix code typo
Co-authored-by: Maikel <maikel@email.org.au>
2026-03-23 10:48:27 +11:00
Rachel Arnould
06d6db5a07 Merge pull request #14075 from gbathree/13688-fix-button-font-consistency
Fix: unify font-family across all .button elements
2026-03-20 11:03:51 +01:00
Rachel Arnould
3f81883bc7 Merge pull request #14061 from mvanhorn/fix/enterprise-user-inline-error-style
Fix inline error style in Add Manager dialog
2026-03-20 11:03:32 +01:00
Rachel Arnould
27be0f6fd1 Merge pull request #13912 from dacook/sourced-variant1-13887
Create linked variants
2026-03-20 10:59:46 +01:00
dependabot[bot]
8880f83d09 Bump i18n-tasks from 1.0.15 to 1.1.2
Bumps [i18n-tasks](https://github.com/glebm/i18n-tasks) from 1.0.15 to 1.1.2.
- [Release notes](https://github.com/glebm/i18n-tasks/releases)
- [Changelog](https://github.com/glebm/i18n-tasks/blob/main/CHANGES.md)
- [Commits](https://github.com/glebm/i18n-tasks/compare/v1.0.15...v1.1.2)

---
updated-dependencies:
- dependency-name: i18n-tasks
  dependency-version: 1.1.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-20 09:33:07 +00:00
Maikel Linke
23a4ca5933 Add additional Taler token requests to specs 2026-03-20 15:52:41 +11:00
Gaetan Craig-Riou
4dc44c6156 Fix code syntax 2026-03-20 15:49:41 +11:00
Gaetan Craig-Riou
8defb2f4c8 Improve EnterpriseFee loading
Request is only send if there isn't another currently running, and also
ensure that filtered enterprise fees are loaded only when not other
request is running.
2026-03-20 14:38:49 +11:00
dependabot[bot]
067349f742 Bump taler from 0.2.0 to 0.3.0
Bumps [taler](https://github.com/openfoodfoundation/taler-ruby) from 0.2.0 to 0.3.0.
- [Changelog](https://github.com/openfoodfoundation/taler-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openfoodfoundation/taler-ruby/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: taler
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-20 01:24:38 +00:00
Maikel Linke
74fd019863 Update all locales with the latest Transifex translations v5.4.7 2026-03-20 12:23:59 +11:00
Maikel
1207bb5f8f Merge pull request #14023 from mkllnk/api-v0-redirect
Remove compatibility redirect for APIv0
2026-03-20 12:21:26 +11:00
Maikel
d25eea660e Merge pull request #14054 from mkllnk/devise
Bump devise from 4.9.4 to 5.0.3
2026-03-20 12:18:48 +11:00
Maikel
fdfb155682 Merge pull request #14077 from openfoodfoundation/dependabot/npm_and_yarn/flatted-3.4.2
Bump flatted from 3.3.3 to 3.4.2
2026-03-20 12:17:30 +11:00
Maikel Linke
66d6627c89 Spec recently changed code path 2026-03-20 11:51:50 +11:00
Maikel Linke
c5d38d684b Remove repeated navigation to speed up spec 2026-03-20 11:51:50 +11:00
Maikel Linke
c2907b839a Remove ineffective sorting spec
The spec was not really testing the order of users appearing on the
page. It's also a UX detail only visible to super admins which is not
important to test. So I'm not investing time to fix it.
2026-03-20 11:51:50 +11:00
Maikel Linke
ee653bb825 Remove redundant spec description
Admin users are the only one who can manage users.
2026-03-20 11:51:50 +11:00
Maikel Linke
75616e69e7 Bump devise from 4.9.4 to 5.0.3 2026-03-20 11:51:47 +11:00
Maikel Linke
b4b3e21cf6 Replace deprecated option bypass
- https://github.com/heartcombo/devise/pull/5803
2026-03-20 11:32:49 +11:00
Maikel Linke
ce90ec0f5b Ignore unused authentication_token column 2026-03-20 11:32:49 +11:00
Maikel Linke
2998432744 Remove use of devise token_authenticable
Our production servers don't show any use of this feature. The
associated column is nil for all users.

The gem has not been updated in seven years and it's blocking an
important upgrade of devise.
2026-03-20 11:32:48 +11:00
Maikel
c5aaecf76a Merge pull request #13961 from mkllnk/taler-checkout-stock-error
Taler checkout stock error
2026-03-20 11:29:58 +11:00
Gaetan Craig-Riou
2e64f54740 Merge pull request #14076 from openfoodfoundation/dependabot/bundler/bcrypt-3.1.22
Bump bcrypt from 3.1.20 to 3.1.22
2026-03-20 10:24:54 +11:00
Gaetan Craig-Riou
c7de67a14f Merge pull request #14074 from openfoodfoundation/dependabot/bundler/json-2.19.2
Bump json from 2.19.1 to 2.19.2
2026-03-20 10:05:19 +11:00
dependabot[bot]
545e69835d Bump flatted from 3.3.3 to 3.4.2
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 22:57:24 +00:00
Gaetan Craig-Riou
e3a757bd2d Merge pull request #14070 from openfoodfoundation/dependabot/bundler/loofah-2.25.1
Bump loofah from 2.25.0 to 2.25.1
2026-03-20 09:55:44 +11:00
dependabot[bot]
8223d1ce52 Bump bcrypt from 3.1.20 to 3.1.22
Bumps [bcrypt](https://github.com/bcrypt-ruby/bcrypt-ruby) from 3.1.20 to 3.1.22.
- [Release notes](https://github.com/bcrypt-ruby/bcrypt-ruby/releases)
- [Changelog](https://github.com/bcrypt-ruby/bcrypt-ruby/blob/master/CHANGELOG)
- [Commits](https://github.com/bcrypt-ruby/bcrypt-ruby/compare/v3.1.20...v3.1.22)

---
updated-dependencies:
- dependency-name: bcrypt
  dependency-version: 3.1.22
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 18:48:18 +00:00
Greg Austic
032953e7d6 Fix: unify font-family across all .button elements
<button> elements don't inherit font-family from parent by default
in all browsers, causing a visible font mismatch between the
link-based buttons (Back To Store, Back To Website, Cancel Order)
and the button-tag-based Save Changes button on the order
confirmation page.

Add `font-family: inherit` to the base `.button, button` rule so
all button elements use the inherited page font (Roboto). Remove the
now-redundant `font-family: $body-font` from the `.primary` rule.

Fixes #13688

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 10:22:59 -04:00
dependabot[bot]
167846138f Bump json from 2.19.1 to 2.19.2
Bumps [json](https://github.com/ruby/json) from 2.19.1 to 2.19.2.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.19.1...v2.19.2)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.19.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 13:02:05 +00:00
Matt Van Horn
1878a39188 Fix inline error style in Add Manager dialog to match product list
Add .field class to the email row in the user invitation modal so
the .formError styles (icon, color, font-size) defined in forms.scss
apply consistently with the product list inline errors.

Fixes #13993
2026-03-18 21:46:21 -07:00
Maikel
243e70427d Merge pull request #14065 from openfoodfoundation/dependabot/bundler/debug-1.11.1
Bump debug from 1.11.0 to 1.11.1
2026-03-19 13:54:54 +11:00
Maikel
0ae3c8d668 Merge pull request #14063 from openfoodfoundation/dependabot/npm_and_yarn/mini-css-extract-plugin-2.10.1
Bump mini-css-extract-plugin from 2.10.0 to 2.10.1
2026-03-19 13:54:17 +11:00
Maikel
c8f46e52d3 Merge pull request #14062 from openfoodfoundation/dependabot/npm_and_yarn/sass-embedded-1.98.0
Bump sass-embedded from 1.97.3 to 1.98.0
2026-03-19 13:53:40 +11:00
dependabot[bot]
131a916d99 Bump loofah from 2.25.0 to 2.25.1
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.25.0...v2.25.1)

---
updated-dependencies:
- dependency-name: loofah
  dependency-version: 2.25.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 21:07:53 +00:00
dependabot[bot]
9dd9e08694 Bump debug from 1.11.0 to 1.11.1
Bumps [debug](https://github.com/ruby/debug) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/ruby/debug/releases)
- [Commits](https://github.com/ruby/debug/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: debug
  dependency-version: 1.11.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 09:34:28 +00:00
dependabot[bot]
e7180e956f Bump mini-css-extract-plugin from 2.10.0 to 2.10.1
Bumps [mini-css-extract-plugin](https://github.com/webpack/mini-css-extract-plugin) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/webpack/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack/mini-css-extract-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/mini-css-extract-plugin/compare/v2.10.0...v2.10.1)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-version: 2.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 09:33:00 +00:00
dependabot[bot]
7f312caa25 Bump sass-embedded from 1.97.3 to 1.98.0
Bumps [sass-embedded](https://github.com/sass/embedded-host-node) from 1.97.3 to 1.98.0.
- [Changelog](https://github.com/sass/embedded-host-node/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/embedded-host-node/compare/1.97.3...1.98.0)

---
updated-dependencies:
- dependency-name: sass-embedded
  dependency-version: 1.98.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 09:32:55 +00:00
Maikel Linke
8f0d4d23a7 Restore Stripe spec stubs as todo list 2026-03-18 14:54:44 +11:00
Maikel Linke
d56b4b4109 Make locale spec more accurate 2026-03-18 14:49:35 +11:00
Maikel Linke
7a01409f5c Save time by avoiding page visit 2026-03-18 14:49:34 +11:00
Maikel Linke
5c634c269b Remove unused helpers from spec 2026-03-18 14:49:34 +11:00
Maikel Linke
bf22484add Add default locale to fallbacks
The comment about falling back to the default locale came from the first
commit, when the config was just `fallbacks = true`. The fallback logic
is a lot more sophisticated now and we can supply the country's default
locale as first fallback and our source locale `en` as last resort. It
should contain everything.

In the future, we may want to support maps like Canadian French can fall
back to original French. I18n supports this but providing the config per
isntance may be a bit tricky.
2026-03-18 14:49:34 +11:00
Maikel Linke
1696dd2de6 DRY language fallback config 2026-03-18 14:49:34 +11:00
Maikel Linke
63988fff4f Configure test locales like other envs
The locale config is set in application.rb from environment variables
already. We don't need to repeat that logic in test.rb. And because it
was outdated, the language switcher was actually broken in the test
environment. We did have an English selector for the fallback `en` even
though we were already displaying English as en_TST. And after
switchting to Spanish, we could switch back because en_TST was not in
the available locales.

I now fixed the test with the right assumption and the config to solve
the problem.
2026-03-18 14:49:15 +11:00
David Cook
8e6f1c4e99 Show display name 2026-03-18 14:30:27 +11:00
David Cook
2004934399 Register only necessary elements
This should be more efficient.

Best viewed with whitespace ignored.
2026-03-18 14:30:23 +11:00