Commit Graph

35319 Commits

Author SHA1 Message Date
Maikel Linke
23a4ca5933 Add additional Taler token requests to specs 2026-03-20 15:52:41 +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
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
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
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
Maikel Linke
d56790b71e Remove unneeded context blocks
Best viewed ignoring whitespace.
2026-03-18 13:23:54 +11:00
Maikel Linke
c2f725b20c Remove redundant language setup
We tested earlier already that we have the needed languages available.
2026-03-18 13:21:27 +11:00
Maikel Linke
b939d41bf5 Remove useless negative spec
Any change in markup would invalidate the test.

It is unlikely to ever fail and then it would not be a big problem.
2026-03-18 13:18:15 +11:00
Maikel Linke
91c4ba03cd Remove more expensive specs 2026-03-18 13:15:35 +11:00
Maikel Linke
3f29cdab3c Combine specs and add detail 2026-03-18 13:14:57 +11:00
Maikel Linke
60a4d36408 Remove expensive without really new coverage 2026-03-18 13:08:24 +11:00
Maikel Linke
9513c07c2f Remove ineffective test
It would pass even if locales were broken.
2026-03-18 13:05:23 +11:00
Maikel Linke
4b5fd2495f Restore multilingual spec 2026-03-18 13:03:48 +11:00
David Cook
939ae20081 Merge pull request #14053 from chahmedejaz/fix/wkhtmltopdf-binary-install-issue
Fix wkhtmltopdf-binary installation error
2026-03-18 12:44:10 +11:00
David Cook
78e9524767 Add comment 2026-03-18 12:41:28 +11:00
Maikel
3f5b7aaea9 Merge pull request #14051 from openfoodfoundation/dependabot/bundler/mini_portile2-2.8.9
Bump mini_portile2 from 2.8.6 to 2.8.9
2026-03-18 12:20:40 +11:00
Maikel
00ab4379c9 Merge pull request #14050 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.215.0
Bump aws-sdk-s3 from 1.213.0 to 1.215.0
2026-03-18 12:19:39 +11:00
Maikel
9dec68032c Merge pull request #14049 from openfoodfoundation/dependabot/npm_and_yarn/jest-30.3.0
Bump jest from 30.2.0 to 30.3.0
2026-03-18 12:18:52 +11:00
Maikel
e449ae95d5 Merge pull request #14052 from dacook/linter-ubuntu-version
Use same ubuntu version for linters to share bundler cache
2026-03-18 12:17:27 +11:00
Ahmed Ejaz
d0af6ddcc1 Fix wkhtmltopdf-binary installation by specifying the original source in Gemfile 2026-03-18 06:07:59 +05:00
dependabot[bot]
a17d3f34d9 Bump jest from 30.2.0 to 30.3.0
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.2.0 to 30.3.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.3.0/packages/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 00:49:46 +00:00