Gaetan Craig-Riou
a0c23825b8
Top level dir is not stripped anymore for static assets
2026-01-23 16:23:14 +01: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
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
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
82f6484031
Add comment explaning why defer loading is disabled
2026-01-16 12:30:57 +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
David Cook
26702e6f0d
Remove unused file
...
Low-hanging fruit 🍇
2026-01-13 14:59:26 +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
Gaetan Craig-Riou
39245d55e2
Turn defer off when loading javascript script
...
It seems that we have functionality that depends on the order the
scripts are executed. Using defer breaks that.
Using defer is better performance wise so we should try to address this
eventually, might need to wait till we get rid of angular.
2026-01-12 15:56:03 +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
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
Gaetan Craig-Riou
3676acf244
Fix font link
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
8ce14a55c8
Fix dependencies version, and update config
...
Trying to stay as close as possible to the default config
2026-01-06 14:31:43 +11:00
Gaetan Craig-Riou
bbbbe71bc4
Remove deprecated ~prefix
...
https://github.com/webpack/sass-loader/blob/main/README.md#the-style-new-api-by-default-since-16-version-and-outputstyle-old-api-options-in-production-mode
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
b3dc76b8cf
Fix configuration and scss to get webpack to compile
...
Move the Postcss config hack to postcss.config.js
2026-01-06 14:31:32 +11:00
piyyu
ad4ce14486
Fix import multiple products button route
2025-12-26 00:11:09 +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
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
2025-12-13 01:13:34 +05: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
Gaetan Craig-Riou
bcf4507795
Only show hub with inventory enabled
2025-12-12 13:04:44 +11:00
Gaetan Craig-Riou
9967ba2d06
Allow managing inventory and variant tag at the same time
...
For users with enterprise with inventory and enterpises with variant
tag, allow access to the inventory page and display variant tag only for
the enterprises its enabled for.
2025-12-12 12:38:22 +11:00
Maikel Linke
b302dcfbec
Update existing enterprises
2025-12-10 16:24:54 +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
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
73b27f14ab
Per review, fix comment
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
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
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
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