Commit Graph

35408 Commits

Author SHA1 Message Date
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
David Cook
6c5d49ae33 Merge pull request #14048 from openfoodfoundation/dependabot/npm_and_yarn/jest-environment-jsdom-30.3.0
Bump jest-environment-jsdom from 30.2.0 to 30.3.0
2026-03-18 11:48:31 +11:00
David Cook
7d4389de4a Use same ubuntu version for linters to share bundler cache 2026-03-18 11:26:56 +11:00
David Cook
93c9181c3f Merge pull request #14021 from mkllnk/money
Remove dead code from Spree::Money
2026-03-18 10:50:54 +11:00
David Cook
7473a2f0bd Merge pull request #14020 from mkllnk/flaky-invite-spec
Expect UI change before emails
2026-03-18 10:49:03 +11:00
dependabot[bot]
af8544a4fa Bump mini_portile2 from 2.8.6 to 2.8.9
Bumps [mini_portile2](https://github.com/flavorjones/mini_portile) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/flavorjones/mini_portile/releases)
- [Changelog](https://github.com/flavorjones/mini_portile/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/mini_portile/compare/v2.8.6...v2.8.9)

---
updated-dependencies:
- dependency-name: mini_portile2
  dependency-version: 2.8.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-17 09:39:55 +00:00
dependabot[bot]
be156e5621 Bump aws-sdk-s3 from 1.213.0 to 1.215.0
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.213.0 to 1.215.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-version: 1.215.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-17 09:34:41 +00:00
dependabot[bot]
ec8fcecbd6 Bump jest-environment-jsdom from 30.2.0 to 30.3.0
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) 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-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  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-17 09:32:53 +00:00
Maikel
35ae3a424a Merge pull request #14046 from openfoodfoundation/RachL-patch-1
Update release task template
2026-03-17 10:34:58 +11:00
Maikel
c2c83898a2 Merge pull request #14045 from openfoodfoundation/dependabot/bundler/knapsack_pro-9.2.3
Bump knapsack_pro from 9.2.2 to 9.2.3
2026-03-17 10:33:27 +11:00
Maikel
2879f77aa1 Merge pull request #14044 from openfoodfoundation/dependabot/bundler/json-2.19.1
Bump json from 2.18.1 to 2.19.1
2026-03-17 10:32:57 +11:00
Rachel Arnould
68032657c3 Update release task template
Add a reminder + change the last step
2026-03-16 12:10:17 +01:00
dependabot[bot]
be4037d05a Bump knapsack_pro from 9.2.2 to 9.2.3
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby) from 9.2.2 to 9.2.3.
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v9.2.2...v9.2.3)

---
updated-dependencies:
- dependency-name: knapsack_pro
  dependency-version: 9.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 10:05:34 +00:00
dependabot[bot]
9661e8a53e Bump json from 2.18.1 to 2.19.1
Bumps [json](https://github.com/ruby/json) from 2.18.1 to 2.19.1.
- [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.18.1...v2.19.1)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 10:03:56 +00:00
Maikel Linke
9961578fc1 Don't offer to void a refund 2026-03-16 12:56:38 +11:00
Maikel Linke
53c2ef53d5 Call #credit with right arguments 2026-03-16 12:56:22 +11:00
David Cook
5e93c27277 Merge pull request #14041 from openfoodfoundation/dependabot/bundler/puma-7.2.0
Bump puma from 6.5.0 to 7.2.0
2026-03-16 09:57:17 +11:00
Ahmed Ejaz
2a67b616e8 Update all locales with the latest Transifex translations v5.4.6 2026-03-14 17:26:41 +05:00
Ahmed Ejaz
1708901b01 Merge pull request #13975 from AwsAqh/fix/session-cookie-domain-13974
Fix shared login sessions between staging and production
2026-03-14 17:22:28 +05:00
David Cook
247f144773 Remove string interpolation 2026-03-14 17:07:30 +05:00
AwsAqh
d09e288887 Update session_store.rb 2026-03-14 17:07:30 +05:00
AwsAqh
c8e4911a2d Update session_store.rb 2026-03-14 17:07:30 +05:00
AwsAqh
4cc2390e6d Fix session cookie domain isolation 2026-03-14 17:07:30 +05:00
Rachel Arnould
7fe4717077 Merge pull request #13985 from openfoodfoundation/dependabot/bundler/valid_email2-7.0.15
Bump valid_email2 from 5.2.3 to 7.0.15
2026-03-13 12:31:53 +01:00
dependabot[bot]
fcb3b67efb Bump puma from 6.5.0 to 7.2.0
Bumps [puma](https://github.com/puma/puma) from 6.5.0 to 7.2.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/main/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.5.0...v7.2.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-13 09:33:46 +00:00
Gaetan Craig-Riou
50c0c3f0b6 Merge pull request #14025 from openfoodfoundation/dependabot/npm_and_yarn/webpack-5.105.4
Bump webpack from 5.105.3 to 5.105.4
2026-03-13 11:07:34 +11:00
Maikel
6d65607e3b Merge pull request #14022 from rioug/14014-manual-credit-customer-authorization
[Payment with Credit] Fix manual crediting customer
2026-03-13 09:33:03 +11:00
Maikel
43134223ca Merge pull request #14039 from openfoodfoundation/dependabot/npm_and_yarn/trix-2.1.17
Bump trix from 2.1.16 to 2.1.17
2026-03-13 09:30:32 +11:00
dependabot[bot]
8510a3c70d Bump trix from 2.1.16 to 2.1.17
Bumps [trix](https://github.com/basecamp/trix) from 2.1.16 to 2.1.17.
- [Release notes](https://github.com/basecamp/trix/releases)
- [Commits](https://github.com/basecamp/trix/compare/v2.1.16...v2.1.17)

---
updated-dependencies:
- dependency-name: trix
  dependency-version: 2.1.17
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-12 17:36:40 +00:00
dependabot[bot]
80ffcb9074 Bump webpack from 5.105.3 to 5.105.4
Bumps [webpack](https://github.com/webpack/webpack) from 5.105.3 to 5.105.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.105.3...v5.105.4)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.105.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-12 01:44:14 +00:00
Maikel
cdd6c0f66c Merge pull request #14026 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.213.0
Bump aws-sdk-s3 from 1.208.0 to 1.213.0
2026-03-12 12:44:11 +11:00
Maikel
ebc7dc9bcf Merge pull request #14024 from openfoodfoundation/dependabot/npm_and_yarn/terser-webpack-plugin-5.3.17
Bump terser-webpack-plugin from 5.3.16 to 5.3.17
2026-03-12 12:42:08 +11:00
dependabot[bot]
98c3b0eac4 Bump aws-sdk-s3 from 1.208.0 to 1.213.0
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.208.0 to 1.213.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-version: 1.213.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 09:33:29 +00:00
dependabot[bot]
5e46c35f68 Bump terser-webpack-plugin from 5.3.16 to 5.3.17
Bumps [terser-webpack-plugin](https://github.com/webpack/terser-webpack-plugin) from 5.3.16 to 5.3.17.
- [Release notes](https://github.com/webpack/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack/terser-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/terser-webpack-plugin/compare/v5.3.16...v5.3.17)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-version: 5.3.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 09:32:58 +00:00
Maikel Linke
0629153362 Complete code coverage on Taler error handling 2026-03-11 16:05:54 +11:00
Gaetan Craig-Riou
4946ffc329 Add specs for CustomerAccountTransaction ability 2026-03-11 15:45:33 +11:00
Gaetan Craig-Riou
c134bbf49b Add missing ability for credit customer
Fix the specs to use a non super admin user, so it should catch missing
ability in the future.
2026-03-11 15:34:27 +11:00
Maikel Linke
5e871fc71e Expect UI change before emails
Fixing a flaky spec.
2026-03-11 15:30:39 +11:00
Maikel Linke
35e03ea3c7 Check stock before completing order after Taler payment 2026-03-11 15:12:21 +11:00
Maikel Linke
ee7ed56f44 Remove unused method Spree::Money#format 2026-03-11 14:56:28 +11:00
Maikel Linke
4140209820 Remove unused delegator to Money#cents 2026-03-11 14:56:28 +11:00
Maikel Linke
1bb4fdf294 Remove compatibility redirect for APIv0 2026-03-11 14:52:11 +11:00
Maikel Linke
9ca1a9e33f Allow orders to be paid before checkout
Taler puts the payment completion into the hands of the user. So we
can't strictly finalise the payment and order together.

And in the bigger picture, it should be okay if a payment goes through
but we have to abort checkout due to stock issues. Then we want to be
able to check out again, using the existing complete payment. Any
refunds can be handled later by the shop owner.
2026-03-11 14:46:06 +11:00
Maikel Linke
62af416696 Avoid useless page visit causing spec flakiness 2026-03-11 14:41:40 +11:00
Maikel Linke
bcf39acebc Remove confusing if-branch in shared examples 2026-03-11 14:41:40 +11:00
Maikel Linke
82186118a7 Remove long inactive specs
Several years ago, some checkout features got rewritten and some specs
became invalid. They had been set to pending to keep the option of
rewriting them one day. Some were re-written. But I'm deleting the
remainder.

If we haven't "needed" these specs for several years then I question
their use. System specs are expensive and should only cover the most
common scenarios or the ones we know could go wrong (after a bug
report). We can always write new specs if needed. Otherwise they are
just adding to maintenance cost.
2026-03-11 14:41:40 +11:00
Maikel Linke
7619062ad2 Revert "Move payment action logic to payment"
This reverts commit fdd22bc097.

And it adds the now needed `can_credit?` method to Taler.
It's just a duplicate.
2026-03-11 11:32:08 +11:00
David Cook
18fb1cfa74 Rename variant 'owner' to 'hub'
As discussed by team, and using same nomenclature as VariantOverride.
2026-03-11 11:09:13 +11:00