Maikel Linke
3aa4c2a25f
Import more fields from Litefarm
2025-12-10 16:24:54 +11:00
Maikel Linke
3331aaa382
Fetch data from URL provided by Litefarm
...
So we don't have to distinguish between staging and production. They
will provide the right URL.
2025-12-10 16:24:54 +11:00
Maikel Linke
b302dcfbec
Update existing enterprises
2025-12-10 16:24:54 +11:00
Maikel Linke
7dfc4d21ca
Record updated Litefarm data
2025-12-10 16:24:53 +11:00
Maikel Linke
f332a6934b
Move growing enterprise creation to own class
2025-12-10 16:24:53 +11:00
Maikel Linke
baad0135f9
Import enterprises and owners with minimal data
...
Still missing:
* Check for existing enterprises.
* Import all the available data.
2025-12-10 16:24:53 +11:00
Maikel Linke
1973e36634
Extract token and HTTP layer for re-use
...
Calling a webhook as a platform and fetching enterprise data will have
the same auth.
2025-12-10 16:24:53 +11:00
Maikel Linke
2e62531232
Authenticate only as platform to call webhooks
2025-12-10 16:24:53 +11:00
Maikel Linke
d811103a71
Add dummy webhook endpoint for LiteFarm
2025-12-10 16:24:53 +11:00
Gaetan Craig-Riou
e1f4210aa8
Upgrade stripe to version 15
2025-12-10 16:16:32 +11:00
Gaetan Craig-Riou
f3efed7aeb
Merge pull request #13796 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.206.0
...
Bump aws-sdk-s3 from 1.205.0 to 1.206.0
2025-12-10 10:36:35 +11:00
Gaetan Craig-Riou
584b976dff
Per review, small code improvment
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
4073238654
Per review, fix test webhook
...
- only show button for payment status changed webhook
- update translation
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
d7505bcef4
Add Payments::WebhookPayload to manage payload data
...
It includes test data so any change in the payload should not affect
the test webhook enpoint functionality
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
f6a7225c47
Per review, remove the ensure
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
377f33b64f
Use a better selector to pick table row
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
73b27f14ab
Per review, fix comment
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
0b497fbb77
Fix order payment spec
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
5e4df41ec8
Add button to send test data to endpoint
...
It will allow a user to easily test the endpoint
2025-12-10 10:28:12 +11:00
Gaetan Craig-Riou
72085be896
Format account.scss with prettier
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
e0bc8f9cdc
Fix webhook endpoints controller spec
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
efcb442a80
Add spec to test notification is triggered
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
a38023475c
Trigger payment webhook when a payment status changes
...
It used ActiveSupport::Notifications and a listener :
StatusChangedListenerService to trigger the WebhookService
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
4a6ba29b99
Add Payments::WebhookService
...
It enqueues jobs to post the generated payload to the various configured
webhook endpoints for payment status change
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
7f961d90c2
Enable active_job.use_big_decimal_serializer
...
It prevents the following deprecation warning:
DEPRECATION WARNING: Primitive serialization of BigDecimal job arguments is deprecated as it may serialize via .to_s using certain queue adapters.
Enable config.active_job.use_big_decimal_serializer to use BigDecimalSerializer instead, which will be mandatory in Rails 7.2.
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
0ac4021729
Update spec to include payment status webhook
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
ac662de789
Fix spec use actual translation
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
23c57cb354
Add UI to manage payment staus webhook endpoint
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
d6ef56af6e
Fix existing code to support webhook_type
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
059e36318e
Add type to WebhookEnpoints
...
Add migration to update existing endpoint to "order_cycle_opened" type
2025-12-10 10:28:08 +11:00
Gaetan Craig-Riou
7a72121b1b
Remove flipper groups that are not used anymore
2025-12-10 10:25:33 +11:00
dependabot[bot]
01278c3ee6
Bump aws-sdk-s3 from 1.205.0 to 1.206.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.205.0 to 1.206.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.206.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-09 09:07:25 +00:00
Prikesh Savla
c01cca33c7
Fix encoding issue for Producer name to allow special characters in the text using ng-bind-html
2025-12-09 11:43:12 +05:30
Prikesh Savla
631306cfb3
Extended imageImport and ImageBuilder to get the content type of the file for the attacment for avoiding issues for files without extensions.
...
Updated config/locale/en.yml for the active_storage_validations related error messages
2025-12-09 08:06:29 +05:30
Gaetan Craig-Riou
da7f46de1f
Merge pull request #13792 from openfoodfoundation/dependabot/bundler/rubocop-rspec_rails-2.32.0
...
Bump rubocop-rspec_rails from 2.31.0 to 2.32.0
2025-12-09 10:47:10 +11:00
Filipe
20107986a6
Merge pull request #13725 from rioug/13642-disable-inventory-not-using
...
[Variant Tags] Enable variant tag for enterprise with no inventory
v5.3.8
2025-12-08 20:38:14 +00:00
Prikesh Savla
f4d59305d7
Upgraded gem active_storage_validations from 1.1.2 to 3.0.2 and fixed any upgrade related issues
...
Changed all references of processable_image to processable_file which was a breaking change from v1 to v2 https://github.com/igorkasyanchuk/active_storage_validations/tree/3.0.2?tab=readme-ov-file#upgrading-from-1x-to-2x
Also it upgraded the way of validating files from just the file name and content type, so tests also needed to change for file upload checks
Refactored all the similar file image validator content type in Spree::Image::ACCEPTED_CONTENT_TYPES and Updated ImageBuilder.import method to use the url.path when getting filename.
2025-12-08 22:12:01 +05:30
filipefurtad0
dbd0100044
Update all locales with the latest Transifex translations
2025-12-08 10:59:33 +00:00
dependabot[bot]
7f108353e3
Bump rubocop-rspec_rails from 2.31.0 to 2.32.0
...
Bumps [rubocop-rspec_rails](https://github.com/rubocop/rubocop-rspec_rails ) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec_rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec_rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec_rails/compare/v2.31.0...v2.32.0 )
---
updated-dependencies:
- dependency-name: rubocop-rspec_rails
dependency-version: 2.32.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 09:06:45 +00:00
Gaetan Craig-Riou
e1775eaad8
Merge pull request #13788 from openfoodfoundation/dependabot/bundler/jwt-2.10.2
...
Bump jwt from 2.8.1 to 2.10.2
2025-12-08 09:49:04 +11:00
Gaetan Craig-Riou
ad9ebc2f92
Merge pull request #13787 from openfoodfoundation/dependabot/bundler/undercover-0.8.3
...
Bump undercover from 0.8.2 to 0.8.3
2025-12-08 09:39:32 +11:00
dependabot[bot]
fa4351599f
Bump jwt from 2.8.1 to 2.10.2
...
Bumps [jwt](https://github.com/jwt/ruby-jwt ) from 2.8.1 to 2.10.2.
- [Release notes](https://github.com/jwt/ruby-jwt/releases )
- [Changelog](https://github.com/jwt/ruby-jwt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.8.1...v2.10.2 )
---
updated-dependencies:
- dependency-name: jwt
dependency-version: 2.10.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-05 09:05:46 +00:00
dependabot[bot]
e5ba0843d8
Bump undercover from 0.8.2 to 0.8.3
...
Bumps [undercover](https://github.com/grodowski/undercover ) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/grodowski/undercover/releases )
- [Changelog](https://github.com/grodowski/undercover/blob/master/CHANGELOG.md )
- [Commits](https://github.com/grodowski/undercover/compare/v0.8.2...v0.8.3 )
---
updated-dependencies:
- dependency-name: undercover
dependency-version: 0.8.3
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-05 09:05:03 +00:00
Maikel
71fe5bc107
Merge pull request #13780 from openfoodfoundation/dependabot/bundler/rubocop-rails-2.34.2
...
Bump rubocop-rails from 2.33.4 to 2.34.2
2025-12-05 15:27:29 +11:00
Gaetan Craig-Riou
3c3b591655
Updated rubocop_todo to include new cops
2025-12-05 11:32:33 +11:00
dependabot[bot]
39c7fbef46
Bump rubocop-rails from 2.33.4 to 2.34.2
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.33.4 to 2.34.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.33.4...v2.34.2 )
---
updated-dependencies:
- dependency-name: rubocop-rails
dependency-version: 2.34.2
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-05 11:32:33 +11:00
Gaetan Craig-Riou
cff52beb06
Merge pull request #13783 from openfoodfoundation/dependabot/bundler/rubocop-rspec-3.8.0
...
Bump rubocop-rspec from 3.7.0 to 3.8.0
2025-12-05 09:40:43 +11:00
Gaetan Craig-Riou
c4fec2ee76
Merge pull request #13782 from openfoodfoundation/dependabot/bundler/spreadsheet_architect-5.1.0
...
Bump spreadsheet_architect from 5.0.0 to 5.1.0
2025-12-05 09:37:59 +11:00
dependabot[bot]
952fc15a64
Bump rubocop-rspec from 3.7.0 to 3.8.0
...
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.7.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: rubocop-rspec
dependency-version: 3.8.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 09:02:31 +00:00
dependabot[bot]
2cbd5b5255
Bump spreadsheet_architect from 5.0.0 to 5.1.0
...
Bumps [spreadsheet_architect](https://github.com/westonganger/spreadsheet_architect ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/westonganger/spreadsheet_architect/releases )
- [Changelog](https://github.com/westonganger/spreadsheet_architect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/westonganger/spreadsheet_architect/compare/v5.0.0...v5.1.0 )
---
updated-dependencies:
- dependency-name: spreadsheet_architect
dependency-version: 5.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 09:01:45 +00:00