Rachel Arnould
601c921b4b
Merge pull request #13831 from dacook/affiliate-sales-data
...
[DFC Anonymized orders endpoint] Fix unit_type for affiliate sales data
2026-01-23 15:59:49 +01:00
Gaetan Craig-Riou
a1f363c53b
Merge pull request #13868 from mkllnk/spec-helper
...
Merge and simplify rspec config
2026-01-23 10:14:53 +11:00
Gaetan Craig-Riou
dd5db396b4
Merge pull request #13828 from rioug/10298-upgrade-to-shakapaker
...
Upgrade to shakapaker
2026-01-21 16:17:50 +11:00
David Cook
5dfef4a3ae
Add specs for data, with product and variant grouping
...
Oh and by the way, we missed something in the product refactor.
2026-01-21 16:10:30 +11:00
David Cook
8236603f76
Add ability to specify variant for order
...
I will need this in the following commit. For existing specs where no variant is specified, a product with variant will be created (I think this is what the line item factory would have done before).
2026-01-21 16:10:30 +11:00
Gaetan Craig-Riou
315d52961a
Add "v1" to locale cache key
...
This is to invalidate existing locale cache key, so it will pick up
image path changes in cached fragment with locale
2026-01-21 14:29:46 +11:00
Maikel Linke
dcb6f4676d
Remove all unnecessary spec_helper require statements
...
The `.rspec` file is doing this for us.
2026-01-21 12:35:34 +11:00
Maikel Linke
3455ceb722
Use standard spec_helper filename
2026-01-21 12:09:12 +11:00
Maikel Linke
7361b2da0b
Move related rspec config to one place
2026-01-21 12:09:12 +11:00
Maikel Linke
3ebacbc31a
Move require statement to the right file
2026-01-21 12:09:11 +11:00
David Cook
c0bcf177e7
Merge pull request #13861 from mkllnk/bump-ruby
...
Bump Ruby from 3.3.10 to 3.4.8
2026-01-20 16:34:31 +11:00
Maikel Linke
bac123f223
Remove unused switch to allow checkout on failures
...
The inherited payment logic is complicated enough. Removing this dead
code makes it slightly simpler.
2026-01-19 14:35:54 +11:00
Maikel Linke
fdc775ae6d
Style arguments forwarding
2026-01-19 10:55:24 +11:00
David Cook
feed223ab4
Merge pull request #13528 from dacook/vine-expiry-message-13495
...
[VINE] Show helpful message if voucher expired
2026-01-19 09:20:18 +11:00
Gaetan Craig-Riou
82f40d2e93
Merge pull request #13821 from piyyu/fix-import-multiple-products
...
Fix “Import multiple products” button route on empty products page
2026-01-16 09:55:33 +11:00
Gaetan Craig-Riou
a934b60f67
Make sure shipping modal gets closed
...
Also check the modal is not showing instead of checking it's hidden
2026-01-13 14:34:50 +11:00
David Cook
368da19993
Display more specific invalid_voucher message to customer
...
It was implemented with error code 409 in https://github.com/openfoodfoundation/vine/pull/112
2026-01-12 17:14:57 +11:00
David Cook
419f4490d6
Recognise certain voucher errors
...
I considered using the vine error message as the translation key (ie I18n.t(vine_voucher_validator_service.errors.#{message.parameterize.underscore}), but thought it might be more predictable to have keys explicitly defined and whitelisted like this.
These error message are still squashed by the controller, we'll deal with that next.
2026-01-12 16:25:57 +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
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
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
piyyu
0f59333cd9
Fix import multiple products button route
2025-12-26 02:10:46 +05:30
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
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
Maikel Linke
f9d255a266
Continue on fail of Litefarm import
...
And report validation errors.
2025-12-12 14:03:37 +11:00
Maikel Linke
f90f71cf68
Update real Litefarm data
2025-12-10 17:18:17 +11:00
Maikel Linke
3aa4c2a25f
Import more fields from Litefarm
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
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
Gaetan Craig-Riou
e1f4210aa8
Upgrade stripe to version 15
2025-12-10 16:16:32 +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
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
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
0ac4021729
Update spec to include payment status webhook
2025-12-10 10:28:11 +11:00