Matt-Yorkley
21ed136e00
Enable opening login modal via broadcasted DOM Event
2022-01-19 13:14:10 +00:00
Matt-Yorkley
8ce27bed86
Move guest checkout handling to the frontend
2022-01-19 13:14:10 +00:00
Jean-Baptiste Bellet
8455d79f9b
Use the last payment method instead of the first for the Payment Method Report
2022-01-18 20:35:08 +01:00
filipefurtad0
9ef8e86e59
Removes xpath within blocks on spec file
2022-01-18 18:09:14 +00:00
filipefurtad0
f250f6dc53
Updates mandatory field error count after merging #8691
2022-01-18 15:12:15 +00:00
filipefurtad0
63ae159091
Changes assertion from URL to page content on spec file
2022-01-18 15:10:31 +00:00
filipefurtad0
3b6bb1c9a8
Removes within blocks; replaces field names by ids
2022-01-18 14:39:24 +00:00
filipefurtad0
ee601bb357
Uses reload to fetch bill/ship address ids
2022-01-18 14:39:24 +00:00
filipefurtad0
25244725e9
Changes assertion from URL to page content
2022-01-18 14:39:24 +00:00
filipefurtad0
ab2d92ab8f
Applies helper change on spec file
2022-01-18 14:39:24 +00:00
filipefurtad0
22d9da9edc
Changes helper name
2022-01-18 14:39:24 +00:00
filipefurtad0
ec4ec66051
Corrects rubocop offense
2022-01-18 14:39:24 +00:00
filipefurtad0
f3e0799205
Adds DB validation for same ship and bill addresses
2022-01-18 14:39:24 +00:00
filipefurtad0
3ad8e2df4f
Adds coverage on mandatory fields - details/billing/shipping
2022-01-18 14:39:24 +00:00
filipefurtad0
0da2d6e469
Adds coverage for required fields - address shipping
2022-01-18 14:39:24 +00:00
filipefurtad0
01f870b818
Adds coverage on ship_address_same_as_billing option
2022-01-18 14:39:24 +00:00
Matt-Yorkley
6b0d5e01d5
Move preview pages to fixtures
2022-01-18 12:22:06 +00:00
Matt-Yorkley
accb9228ee
Tidy up embedding specs
2022-01-18 12:22:06 +00:00
Matt-Yorkley
d691940623
Simplify header checking in tests
2022-01-18 12:22:06 +00:00
Matt-Yorkley
e8f3fe8510
Update header checks in tests
2022-01-18 12:22:06 +00:00
Matt-Yorkley
dfbd384c95
Refactor embedding to a Concern
2022-01-18 12:22:06 +00:00
Matt-Yorkley
05abb63036
Remove X-Frame-Options header
...
This header is largely deprecated, and is functionally replaced here by use of the frame-ancestors CSP configuration
2022-01-18 12:19:54 +00:00
Matt-Yorkley
3bfea510b2
Update spec/services/url_generator_spec.rb
...
Co-authored-by: Maikel <maikel@email.org.au >
2022-01-18 08:45:46 +00:00
Maikel
7fb227710f
Merge pull request #8728 from shen-sat/6056-improve-auto-test-coverage-on-order-customer-details
...
[6045] Add test for hiding billing address form and adding new customer on o…
2022-01-18 11:46:11 +11:00
Filipe
067f90b17c
Merge pull request #8712 from Matt-Yorkley/oc-mails
...
OC notifications
2022-01-17 20:30:40 +00:00
Filipe
8114eb1c9f
Merge pull request #8666 from openfoodfoundation/stripe-controller
...
Extract new StripeController
2022-01-17 20:21:40 +00:00
Filipe
62f0de75ee
Merge pull request #8679 from Matt-Yorkley/drop-jquery-ujs
...
Drop jquery_ujs
2022-01-17 16:30:25 +00:00
Filipe
dfdeb7368e
Merge pull request #8681 from SarvarKh/translation-correction
...
Add flash message translation for log out
2022-01-15 14:55:26 +00:00
Matt-Yorkley
18ac9b5335
Add support for generating valid/unique permalinks for Enterprises with non-roman characters in their name
2022-01-15 13:21:09 +00:00
Matt-Yorkley
0ef35b319c
Create UrlGenerator service
2022-01-15 13:21:09 +00:00
Shen Sat
c8e8308f22
Add test for hiding billing address form and adding new customer on orders page
2022-01-15 12:37:02 +00:00
Matt-Yorkley
11c6ce16ea
Move payment-authorizing tests to stripe controller spec
2022-01-14 19:41:08 +00:00
Matt-Yorkley
2f39f5bac4
Add re-routing for any unprocessed payments still using old return URL
2022-01-14 19:41:08 +00:00
Matt-Yorkley
5a70664a6a
Pull stripe-related tests into new controller spec
2022-01-14 19:41:08 +00:00
Matt-Yorkley
48c4ecde08
Update checkout specs using deleted OrderCompletionReset
2022-01-14 19:41:08 +00:00
Matt-Yorkley
7b8e1f5c30
Update/improve paypal controller specs
2022-01-14 19:41:08 +00:00
Matt-Yorkley
9583a3cc3d
Use order token param in specs
2022-01-14 19:41:08 +00:00
Matt-Yorkley
9b2801db24
Fix calls to private method #expire_current_order in specs
2022-01-14 19:41:08 +00:00
Matt-Yorkley
7fe770a855
Add route to catch pre-existing payments which may still use Checkout#edit as return URL
2022-01-14 19:41:08 +00:00
Matt-Yorkley
02995530e2
Pull apart OrderCompletionReset service
2022-01-14 19:41:08 +00:00
Matt-Yorkley
67b8a55273
Separate OrderCompletionReset from Checkout::PostCheckoutActions and don't pass controller objects to Checkout::PostCheckoutActions
...
We need to separate some of these bits to make them easier to call in different contexts. Also there's some weird stuff happening here with the controller being passed in to the service, and it seems like a code smell to me...
2022-01-14 19:41:08 +00:00
Matt-Yorkley
b850fd6fda
Add controller spec for split checkout
2022-01-13 13:55:33 +00:00
Filipe
7709e86d41
Merge pull request #8676 from jibees/8668-split-checkout-as-guest
...
Handle checkout as guest feature on split checkout
2022-01-12 20:22:01 +00:00
Filipe
cc0de4618c
Merge pull request #8692 from jibees/8691-make-first-name-and-last-name-fields-mandatory
...
Validate the presence of first/last name if there is no company
2022-01-12 19:48:35 +00:00
Matt-Yorkley
9be37b0aaa
Reset flags when cloning an OC
2022-01-12 11:44:21 +00:00
Matt-Yorkley
54e1a8807a
Use mails_sent flag for tracking mails
2022-01-12 11:44:21 +00:00
Sebastian Castro
115dfe445b
loading-message: make them all look the same in admin
...
use font awesome spinner instead of an image
2022-01-11 21:55:07 +01:00
Filipe
d66dac4ccb
Merge pull request #8621 from apricot12/Unit-value-shop-front
...
Update units when variant unit name is edited
2022-01-11 17:41:20 +00:00
Filipe
4978c95e75
Merge pull request #8467 from SarvarKh/validate-social-links
...
Fix the issue with 'at' in enterprise twitter and instagram
2022-01-11 12:53:11 +00:00
Filipe
f2b14beea9
Merge pull request #8541 from jibees/8506-improve-shiped-email
...
Improve shipped email design
2022-01-11 11:36:32 +00:00