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
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
Filipe
20107986a6
Merge pull request #13725 from rioug/13642-disable-inventory-not-using
...
[Variant Tags] Enable variant tag for enterprise with no inventory
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
Rachel Arnould
ded139458d
Merge pull request #13759 from drummer83/storno
...
Add a unique translatable string for the button that cancels an order
2025-12-02 15:58:44 +01:00
Maikel
1029b61bb0
Merge pull request #13742 from mkllnk/market-organic
...
Add Market Organic as available platform
2025-11-28 12:15:57 +11:00
Filipe
b3314d7441
Merge pull request #13689 from rahsheen/fix/13396-cloned-order-cycles-not-processed
...
Clear opened_at when cloning order cycle
2025-11-27 18:52:09 +00:00
David Rodríguez
c526e72539
Improve enterprise removal (failure case)
...
Make sure failure to delete due to dependent objects is handled through
activemodel errors and not by rescuing
`ActiveRecord::DeleteRestrictionError` exceptions.
Previously we would display two alert prompts, and we would weirdly
display the content of our 500 error page on top of the screen.
Now, we display a flash error message explaining the reason to fail to
remove it.
2025-11-27 19:10:15 +01:00
David Rodríguez
6aa7ef3c21
Improve enterprise removal (success case)
...
Make enterprise removal use turbo, which provides the following
benefits:
* More responsive removal since there's no full page reload.
* A success flash message (previously nothing was displayed).
* No double alert prompt.
It also goes in the direction of removing mrujs in favor of turbo.
2025-11-27 19:09:35 +01:00
David Rodríguez
bf0e5c0d44
Let "Tag Rule" and "Voucher" be translated in flash messages
2025-11-26 12:18:06 +01:00
David Rodríguez
6bd2f5af8d
Use Spree.t directly for translating the successfully_removed flash message
...
Since none of the current keys have a `%{resource}` parameter.
2025-11-26 12:18:06 +01:00
David Rodríguez
7bf54088a6
Use Spree.t directly for translating the not_found message
...
Since none of the current keys interpolate a `%{resource}` parameter.
2025-11-26 12:18:06 +01:00
Konrad
b113fe08e1
Add a unique translatable string for the button that cancels an order (button at the top of the edit order page) to allow a different translation than the regular 'Cancel' button.
2025-11-25 10:20:16 +01:00
David Rodríguez
e32dcd53b5
Pass media attribute explicitly to stylesheet link tags
...
So that we can enable Rails default behavior for potential future such link
tags without changing current behavior.
2025-11-25 08:08:59 +01:00
David Rodríguez
dc631026d4
Properly handle changes in code attribute when a customer is deleted
...
Previously, `null` and empty value would be confused when a customer is
removed, resulting in incorrect pending changes being added, and thus a
"You have unsaved changes" message getting displayed and the save button
not getting disabled.
2025-11-25 07:44:00 +01:00
Maikel
dc13ef4162
Merge pull request #13743 from deivid-rodriguez/bump-prettier
...
Bump prettier and let Dependabot handle further updates
2025-11-24 12:06:19 +11:00
Maikel
dcb48272f5
Merge pull request #13746 from rioug/security-255-code-injection
...
[Security] Fix potential code injection
2025-11-24 12:01:44 +11:00
Gaetan Craig-Riou
74d2a94181
Add input validation to prevent code injection
...
Plus spec
2025-11-23 13:46:36 +11:00
rahsheen
0b6e7593db
Set oc.opened at nil when cloning service
2025-11-22 10:51:17 -05:00
David Rodríguez
a509d49ec6
Bump prettier to 3.6.2
...
And fix new style issues.
2025-11-21 12:49:06 +01:00
Filipe
dddc945c42
Merge pull request #13679 from deivid-rodriguez/customer-edition
...
Improve `/admin/customers` form handling
2025-11-21 10:51:55 +00:00