Maikel Linke
93f2af7e7d
Lazy load payment method classes
...
This avoids any class reloading issues in dev, simplifies most of the
code path and opens up for refactoring.
The only reason we still load the class is to call `clean_name` on it
for the translation key. We can probably do better.
2026-01-09 16:54:02 +11:00
Maikel Linke
cb7a4b67ce
Replace custom lookup with default Rails feature
...
Rails renders an error when you try to supply an invalid value. Our code
is safe without an allow-list and the UX doesn't allow you to select an
invalid value.
2026-01-09 16:53:06 +11:00
Maikel Linke
41a8d06326
Remove duplicate definition of payment providers
2026-01-09 15:16:36 +11:00
Maikel Linke
a957df1205
Use I18n API for readability
2026-01-09 15:16:36 +11:00
Maikel Linke
a1bdfa0a20
Move list of payment methods to where it is used
2026-01-09 15:16:36 +11:00
Maikel Linke
1adf94093e
Merge related initializer code
...
The division came likely from Spree times.
2026-01-09 15:16:35 +11:00
Maikel Linke
18ef5cc69a
Update all locales with the latest Transifex translations
v5.3.10
2026-01-09 12:04:46 +11:00
Maikel
a69528c432
Merge pull request #13803 from pacodelaluna/add-cloud-storage-configuration-for-s3-compatible-alternatives
...
Add a new cloud storage configuration for s3-compatible alternatives
2026-01-09 12:03:08 +11:00
Maikel
9dfecde6a7
Merge pull request #13765 from rioug/variant-tag-clean-old-flipper-groups
...
[Variant tags] Remove flipper groups that are not used anymore
2026-01-09 12:01:08 +11:00
Filipe
c73f28b434
Merge pull request #13815 from mkllnk/secrets
...
Replace deprecated Rails secrets with credentials
2026-01-08 18:46:33 +00:00
Filipe
0cd9fa91a8
Merge pull request #13798 from rioug/13790-upgrade-stripe
...
Upgrade stripe to version 15
2026-01-08 18:25:11 +00:00
François Turbelin
252943e9de
Adjust context using allow method for Application Record spec
2026-01-08 13:08:09 +00:00
François Turbelin
cab4b2fb28
Add a new cloud storage configuration for s3-compatible alternatives
2026-01-08 13:08:09 +00:00
Filipe
80bd6defcb
Merge pull request #13789 from prikeshsavla/13537-upgrade-active-storage-validations-gem
...
Upgraded gem active_storage_validations to 3.0.2 and fixed any upgrade related issues
2026-01-08 13:06:53 +00:00
Filipe
bd367cb154
Merge pull request #13795 from prikeshsavla/13392-fix-producer-name-text-encoding
...
Fix encoding issue using ng-bind-html
2026-01-08 12:03:00 +00:00
Filipe
d0f48687e2
Merge pull request #13777 from rioug/13481-webhook-payment
...
Payment status change webhook
2026-01-08 11:26:41 +00:00
Filipe
25063d2c4d
Merge pull request #13649 from deivid-rodriguez/fix-removal-flash-message-translations
...
Improve translations of some flash messages
2026-01-07 16:33:34 +00:00
Maikel
bad04b70a9
Merge pull request #13832 from dacook/pr-template-headings
...
Increase PR headings to level 2
2026-01-07 17:19:36 +11:00
David Cook
5479572a08
Increase headings to level 2
...
h4 is rendered as bold text the same size as content.
2026-01-07 17:00:34 +11:00
Gaetan Craig-Riou
06bfd07fec
Merge pull request #13824 from openfoodfoundation/dependabot/npm_and_yarn/trix-2.1.16
...
Bump trix from 2.1.15 to 2.1.16
2026-01-05 11:12:11 +11:00
Maikel
e98cf78b4c
Merge pull request #13819 from openfoodfoundation/dependabot/bundler/haml_lint-0.68.0
...
Bump haml_lint from 0.67.0 to 0.68.0
2026-01-02 16:50:21 +11:00
dependabot[bot]
13229cc0c1
Bump trix from 2.1.15 to 2.1.16
...
Bumps [trix](https://github.com/basecamp/trix ) from 2.1.15 to 2.1.16.
- [Release notes](https://github.com/basecamp/trix/releases )
- [Commits](https://github.com/basecamp/trix/compare/v2.1.15...v2.1.16 )
---
updated-dependencies:
- dependency-name: trix
dependency-version: 2.1.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-31 09:01:27 +00:00
dependabot[bot]
3173c79e8f
Bump haml_lint from 0.67.0 to 0.68.0
...
Bumps [haml_lint](https://github.com/sds/haml-lint ) from 0.67.0 to 0.68.0.
- [Release notes](https://github.com/sds/haml-lint/releases )
- [Changelog](https://github.com/sds/haml-lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sds/haml-lint/compare/v0.67.0...v0.68.0 )
---
updated-dependencies:
- dependency-name: haml_lint
dependency-version: 0.68.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-22 09:04:24 +00:00
David Cook
ca14d557c1
Merge pull request #13814 from mkllnk/dfc-events-unauthorised
...
Correctly respond to unauthorised requests on DFC events endpoint
2025-12-22 10:42:23 +11:00
Gaetan Craig-Riou
59a3a5bd92
Merge pull request #13816 from openfoodfoundation/dependabot/bundler/dotenv-3.2.0
...
Bump dotenv from 3.1.8 to 3.2.0
2025-12-22 09:44:15 +11:00
dependabot[bot]
a226088f5c
Bump dotenv from 3.1.8 to 3.2.0
...
Bumps [dotenv](https://github.com/bkeepers/dotenv ) from 3.1.8 to 3.2.0.
- [Release notes](https://github.com/bkeepers/dotenv/releases )
- [Changelog](https://github.com/bkeepers/dotenv/blob/main/Changelog.md )
- [Commits](https://github.com/bkeepers/dotenv/compare/v3.1.8...v3.2.0 )
---
updated-dependencies:
- dependency-name: dotenv
dependency-version: 3.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-19 09:04:48 +00:00
Maikel Linke
e91fab5702
Remove legacy config for secret key
2025-12-19 14:22:25 +11:00
Maikel Linke
e09853af0c
Replace deprecated Rails secrets
...
Use new credentials interface.
2025-12-19 13:28:05 +11:00
Maikel
c65fcc1072
Merge pull request #13812 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.208.0
...
Bump aws-sdk-s3 from 1.207.0 to 1.208.0
2025-12-19 10:41:27 +11:00
Maikel
3bb68ec07e
Merge pull request #13811 from openfoodfoundation/dependabot/bundler/webmock-3.26.1
...
Bump webmock from 3.25.1 to 3.26.1
2025-12-19 10:39:45 +11:00
Maikel Linke
2c97638aa1
Enhance readability
2025-12-19 10:21:02 +11:00
Maikel Linke
ceee9671d9
Replace method with name conflict causing error
2025-12-19 10:16:46 +11:00
dependabot[bot]
6b494be7ff
Bump aws-sdk-s3 from 1.207.0 to 1.208.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.207.0 to 1.208.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.208.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-18 19:38:08 +00:00
dependabot[bot]
a6855e6bc1
Bump webmock from 3.25.1 to 3.26.1
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.25.1 to 3.26.1.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.25.1...v3.26.1 )
---
updated-dependencies:
- dependency-name: webmock
dependency-version: 3.26.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-17 09:01:49 +00:00
Gaetan Craig-Riou
7ca43eb4a1
Merge pull request #13810 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.207.0
...
Bump aws-sdk-s3 from 1.206.0 to 1.207.0
2025-12-17 10:21:50 +11:00
dependabot[bot]
74b5ac559f
Bump aws-sdk-s3 from 1.206.0 to 1.207.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.206.0 to 1.207.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.207.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-16 09:02:51 +00:00
Maikel
07c236497c
Merge pull request #13808 from openfoodfoundation/dependabot/bundler/vcr-6.3.1
...
Bump vcr from 6.2.0 to 6.3.1
2025-12-16 14:50:27 +11:00
Filipe
caf2ff9bb4
Merge pull request #13752 from deivid-rodriguez/always_generate_button_tags
...
Always generate `<button>` tags, rather than `<input>` of type "button"
2025-12-15 18:46:38 +00:00
Filipe
1b2a17d7e4
Merge pull request #13754 from deivid-rodriguez/no-changes-after-delete-customer
...
Properly handle changes in `code` attribute when a customer is deleted
2025-12-15 17:58:04 +00:00
Filipe
ce46115139
Merge pull request #13648 from deivid-rodriguez/improve-enterprise-removal
...
Improve enterprise removal
2025-12-15 16:54:05 +00:00
dependabot[bot]
9fd2ff7620
Bump vcr from 6.2.0 to 6.3.1
...
Bumps [vcr](https://github.com/vcr/vcr ) from 6.2.0 to 6.3.1.
- [Release notes](https://github.com/vcr/vcr/releases )
- [Changelog](https://github.com/vcr/vcr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vcr/vcr/compare/v6.2.0...v6.3.1 )
---
updated-dependencies:
- dependency-name: vcr
dependency-version: 6.3.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-15 09:02:43 +00:00
Gaetan Craig-Riou
98a25c1c7f
Merge pull request #13805 from openfoodfoundation/dependabot/bundler/newrelic_rpm-9.24.0
...
Bump newrelic_rpm from 9.23.0 to 9.24.0
2025-12-15 09:26:49 +11:00
Ahmed Ejaz
6b78f8b855
Merge pull request #13804 from rioug/13802-revert-enbling-variant-tag-no-inventory
...
[Inventory] display inventory link for user who manage enterprises with inventory and enterprises without inventory
v5.3.9
2025-12-13 01:13:34 +05:00
Ahmed Ejaz
1e2b28c559
Update all locales with the latest Transifex translations
2025-12-13 01:05:55 +05:00
dependabot[bot]
12b86a35af
Bump newrelic_rpm from 9.23.0 to 9.24.0
...
Bumps [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent ) from 9.23.0 to 9.24.0.
- [Release notes](https://github.com/newrelic/newrelic-ruby-agent/releases )
- [Changelog](https://github.com/newrelic/newrelic-ruby-agent/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/newrelic/newrelic-ruby-agent/compare/9.23.0...9.24.0 )
---
updated-dependencies:
- dependency-name: newrelic_rpm
dependency-version: 9.24.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-12 09:02:49 +00:00
Maikel
4577bde692
Merge pull request #13772 from mkllnk/dfc-webhook
...
Import farm data from LiteFarm
2025-12-12 16:59:30 +11:00
Maikel Linke
af6be02ba4
Fix social media import
2025-12-12 16:46:43 +11:00
Maikel Linke
0dabca583f
Set stronger secret password for managers
...
And avoid depending on Devise for this.
2025-12-12 15:17:57 +11:00
Maikel Linke
d7603755bf
Mark Litefarm farms as primary producers
2025-12-12 14:46:11 +11:00
Maikel Linke
f9d255a266
Continue on fail of Litefarm import
...
And report validation errors.
2025-12-12 14:03:37 +11:00