David Cook
c00e7eeecf
Add missing spec
2026-02-06 12:17:03 +11:00
Ashish Gaur
b98552003c
13220 Add Product name in Order LineItem and update it during order creation
...
13220 Fixes affiliate sales spec
13220 Use before_create to update product name
13220 Fixes rubocop warnings
13220 Update product_name in line_item in specs
13220 Fix before_create lint
13220 Add spec for checking product_name is not set in reports
13220 Fixes rubocop issue
13220 Add migrations for updating the existing line items
13220 Fixing lint issues
13220 Set product_name in line_item before doing validation
13220 Fix linter issues
13220 Fixes spec
13220 Fixes linter issues
13220 Review comments
13220 Review comments
13220 Add default product name
13220 Use product_name instead of variant product name when using line item
13220 Fix specs
13220 Revert change in affiliate_sales_data_spec
CL-13220 Store variant name in line_item
13220 Default variant name to original variant's full name for line_items
13220 Add missing frozen string literal
13220 Add spec for full_variant_name
13220 Remove UpdateProductNameInLineItems and AddNotNullToProductNameInLineItems migrations
13220 Remove presence validation for product_name
13220 Use full_product_name which defaults to variant product name if empty
2026-02-06 12:17:03 +11:00
Sigmund Petersen
f8c88ea8c7
Merge pull request #13859 from rioug/10298-upgrade-to-shakapaker_v8
...
Upgrade to shakapaker v8
2026-02-04 12:51:42 +01:00
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
c115ab7a0d
Translate Taler payment status to error message
2026-01-29 15:07:28 +11:00
Maikel Linke
f3428494fc
Better name method spec
2026-01-29 15:07:28 +11:00
Maikel Linke
b9c7925008
Complete Taler payment success scenario
2026-01-29 15:07:28 +11:00
Maikel Linke
c11b93a4dc
Demo Taler flow without validating payment yet
2026-01-29 15:07:28 +11:00
Maikel Linke
61e0688392
Demonstrate retrieving the payment Taler URL
2026-01-29 15:07:27 +11: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
Gaetan Craig-Riou
cd956dadda
Use factory to create address
...
It removes dependency on hard coded country and state id
2026-01-27 09:23:32 +11:00
Rachel Arnould
2a3b076170
Merge pull request #13826 from chahmedejaz/task/13744-add-none-option-in-tags-filter
...
Allow to select "none" in variant tags dropdown
2026-01-26 22:29:59 +01:00
Gaetan Craig-Riou
e6d556c809
Update locale cache key to invalidate cache
2026-01-26 14:56:10 +11:00
Maikel
7bfe51d067
Merge pull request #13849 from rioug/10298-upgrade-to-shakapaker_v7
...
Upgrade to shakapaker v7
2026-01-26 11:14:31 +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
Gaetan Craig-Riou
988f903164
Update locale cache key to invalidate cache
2026-01-23 16:23:14 +01:00
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
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
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 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
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
Ahmed Ejaz
b8de75b1ef
Add "None" option to tags filter and update search functionality
...
- Implemented apply_tags_filter method to handle "None" option in tag searches.
- Updated tags select field to include "None" option in the filters.
- Enhanced search_by_tag method in specs to accept multiple tags and raise an error if none are provided.
- Added tests for searching by "None" tag and combinations with other tags.
2026-01-06 02:39:56 +05:00
piyyu
0f59333cd9
Fix import multiple products button route
2025-12-26 02:10:46 +05:30