Rachel Arnould
b731f9b9e4
Merge pull request #12997 from wandji20/wb-OFN-12794-user
...
Remove Cable Ready responses from User related controllers
2026-02-03 15:51:11 +01:00
Maikel Linke
b3a1d1269a
Add Taler as payment method
...
It doesn't take payments yet but can be selected during checkout.
2026-01-29 15:07:27 +11:00
Rachel Arnould
2a7e8816c0
Merge pull request #13834 from mkllnk/pay-methods
...
Simplify code listing available payment method types
2026-01-23 22:52:29 +01:00
David Cook
30804da259
Fix spec
...
The controller now responds with a standard HTTP redirect, instead of an app-specific redirect encoded in the body.
2026-01-22 12:45:07 +11:00
David Cook
88a0737916
Return correct http code for bad login params
...
This tells our generic ajax (Turbo) error handling to ignore the error and let the application display the response as usual.
2026-01-22 12:26:24 +11:00
wandji20
3fd007fa3d
Handle user password with turbo stream
2026-01-22 12:06:56 +11:00
wandji20
e3431c7954
Handle user sessions with turbo stream
2026-01-22 12:06:56 +11:00
wandji20
9fa715c709
Handle user registration with turbo stream
2026-01-22 12:06:56 +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
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
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
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
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
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
Rachel Arnould
94bda6d0f8
Merge pull request #13592 from rioug/13266-tag-variant-tag-rule
...
[Variant tags] Add tag rules for variant
2025-11-07 14:14:50 +01:00
Filipe
1422b440e4
Merge pull request #13493 from dacook/bump-stripe-v13
...
Bump stripe to v13
2025-11-06 13:48:52 +00:00
Filipe
95ad87d840
Merge pull request #13666 from chahmedejaz/bugfix/13519-order-disappear-from-orders-page
...
Order lines are deleted when one tries to capture a payment after order cycle is closed
2025-11-06 13:07:36 +00:00
David Cook
8e5fac9fb3
Merge pull request #13632 from rioug/security-247-code-injection
...
[security] Fix potential code injection
2025-11-05 16:34:37 +11:00
Ahmed Ejaz
913dded766
Refactor order cycle handling to simplify closed cycle checks and improve redirection messaging
2025-11-05 02:50:01 +05:00
David Cook
81796db6e5
Fix date-dependent spec
2025-11-04 15:17:45 +00:00
Gaetan Craig-Riou
bb8ecccc31
Fix variant tag rules endpoint
...
It now returns tag rules filtered on the preferred variant tags and not
the prefered customer tags
2025-11-03 15:50:12 +11:00
Gaetan Craig-Riou
ffd5817749
Add spec for variant_tag_rules
2025-11-03 14:25:48 +11:00
Gaetan Craig-Riou
c38c8bcff2
Pass the variant_tag_enbabled options to relevant services
...
Plus add integration testing for variant tag rule filtering.
2025-11-03 14:25:05 +11:00
Ahmed Ejaz
3794f69cad
Add shared examples to handle closed order cycle in checkout process
2025-11-02 01:48:10 +05:00
Ahmed Ejaz
243190491b
Fix specs
2025-10-31 04:40:44 +05:00
David Rodríguez
4c6d894bc0
Bump RuboCop to 1.86.6
...
There were a few changes needed:
* Plugins are now specified through `plugin:` config keyword.
* All plugin gems need to be specified explicitly in Gemfile since they
are no longer dependencies of plugins already specified explicitly.
* All plugin gems need to be updated in other to use the new APIs.
* One cop was renamed.
* New offenses safe to correct were corrected directly with `bundle exec
rubocop -a`.
* New offenses unsafe to correct were added to the TODO configuration
with `bundle exec rubocop --auto-gen-config --auto-gen-only-exclude
--exclude-limit 1400 --no-auto-gen-timestamp`.
2025-10-27 11:30:33 +01:00
Gaetan Craig-Riou
8d4a1ff320
Update spec to cover new code path
2025-10-21 15:48:27 +11:00
Gaetan Craig-Riou
1f0e541743
Update spec description wording
2025-10-21 15:48:27 +11:00
Rachel Arnould
c4c266246c
Merge pull request #13507 from rioug/tag-rules-remove-angular
...
[Variant Tags] Remove angular from tag rule admin page
2025-10-15 23:16:05 +02:00
Gaetan Craig-Riou
6790cad089
Add deleting tag rule
...
TagRuleController is now a subclass of Spree::Admin::BaseController
because Admin::ResourceController did not play well with turbo_stream.
And to be honest we did not need all the functionality provided by the
ResourceController
2025-09-24 10:38:53 +10:00
Gaetan Craig-Riou
7087d1b290
Add default tag rule
...
I tried to leverage turbo as much as possible
2025-09-24 10:38:53 +10:00
Ahmed Ejaz
ac06126f59
replace cvv_response_message usage with redirect_auth_url
2025-09-22 11:55:43 +05:00
Maikel
bdae8e6478
Merge pull request #13475 from mkllnk/dfc-sib-tokens
...
Accept tokens from Startin'Blox OIDC server
2025-08-27 14:55:30 +10:00
Maikel Linke
1d2115766a
Show product groups to platform user
...
I removed the caching of `managed_enterprises` in Permissions because
it's just a scope and calling it again is very cheap. And that makes the
method a lot easier to read now that we have a conditional here.
Accessing the managed enterprises via the user instead of a separate
scope on the Enterprise model also reduce the SQL queries. We may want
to use this method in more places. I prefer to keep the
admin-conditional in a permissions class instead of in the model.
2025-08-13 15:06:31 +10:00
Gaetan Craig-Riou
66041061fb
Redeem VINE voucher before redirecting to payment url
...
When using paypal, we need to redeem the voucher before redirecting to
the payment gateway url, otherwise the voucher will never get redeemed.
2025-08-11 16:28:04 +10:00
Ahmed Ejaz
75b2fe1dd4
revert API removals
2025-08-01 01:48:21 +05:00
Ahmed Ejaz
df4cf4b768
Fix specs
2025-07-27 07:58:04 +05:00
Gaetan Craig-Riou
7450f8a530
Fix spec, enable inventory when needed
2025-07-09 13:43:18 +10:00
Gaetan Craig-Riou
ddc45e1cd8
Post rebase, fix inventory landing page spec
2025-07-09 11:35:26 +10:00
Gaetan Craig-Riou
29a24b7305
Scope variant to hub only when inventory enabled
2025-07-09 11:35:26 +10:00
Gaetan Craig-Riou
7c31c951a1
Refactor spec to use instance_double
2025-07-09 11:35:26 +10:00
Gaetan Craig-Riou
33bac6f816
Fix specs to take into account inventory feature
2025-07-09 11:35:26 +10:00
Gaetan Craig-Riou
a6f0a36b6d
Enable inventory feature for inventory related specs
2025-07-09 11:35:26 +10:00
Gaetan Craig-Riou
f30b899569
Disable inventory option for product import
2025-07-09 11:35:26 +10:00
Gaetan Craig-Riou
cd8b7cd239
First step disable inventory
2025-07-09 11:35:26 +10:00
Ahmed Ejaz
1b9d64ad5e
Refactor search functionality in variants controller spec to include order_id for improved filtering
2025-06-21 16:39:15 +05:00
Ahmed Ejaz
8e8878e43a
Add search_variants_as parameter to variant search functionality
2025-06-21 16:19:31 +05:00
Maikel Linke
da5b147d29
Style Metrics/ModuleLength in spec file
...
Best viewed without whitespace changes.
2025-06-16 16:51:50 +10:00
Maikel Linke
b2fd4ccb11
Style Metrics/ModuleLength in spec file
...
Best viewed without whitespace changes.
2025-06-16 16:50:38 +10:00