luisramos0
bc8bca074c
Switch object in the ability to access reports. This adapts to this change in Spree: 3685569db4
...
Adapt NavigationHelper to return the controller object for reports so that Reports tab works correctly.
2019-03-29 22:16:39 +00:00
luisramos0
1fc4b7fd2a
Add manual shipping adjustment
...
For some reason this adjustment is not being added to order through the callbacks as it was before. See PR #3371
2019-03-29 22:16:39 +00:00
luisramos0
d713c755e6
Uncomment report specs so we can make them work in v2
2019-03-29 22:16:38 +00:00
Maikel
7348987567
Merge pull request #3315 from luisramos0/2-0-phase2-pi
...
[Spree Upgrade] Phase 2 - Product Import ready - all specs running and green
2019-03-29 15:16:35 +11:00
Maikel
6978e3fdb6
Merge pull request #3658 from mkllnk/3582-shipping-method-spec
...
Wait for entered tag before submitting
2019-03-28 13:46:56 +11:00
Maikel
74aea76c4c
Merge pull request #3609 from luisramos0/2-0-delete-acct-invoices-last-bit
...
[Spree Upgrade] Finish up deleting account invoices
2019-03-28 13:42:01 +11:00
Maikel Linke
ef882b8293
Wait for entered tag before submitting
...
The changed spec was failing from time to time. This change seems to
make it stable. It may be worth moving tag entering into a helper that
verifies that the tag was entered (waits for it).
2019-03-27 10:58:00 +11:00
Pau Pérez Fabregat
a8f81ae7a2
Merge pull request #3652 from kristinalim/fix/3410-address_proxy_orders_controller_failing_specs
...
3410 [Spree Upgrade] Address spec failures for Admin::ProxyOrdersController
2019-03-26 15:55:13 +01:00
luisramos0
5ce762a600
Uncomment product import specs so we can make them work in v2
2019-03-26 11:34:04 +00:00
Luis Ramos
c68b0d768a
Merge pull request #3640 from luisramos0/2-0-stable-Mar22
...
[Spree Upgrade] Merging master into 2-0-stable (3rd run in Mar2019)
2019-03-26 10:42:27 +00:00
luisramos0
f35972cee9
Remove deleted menu entry product distributions
2019-03-26 09:08:52 +00:00
luisramos0
010007a2c7
Merge branch '2-0-stable' into 2-0-stable-Mar22
2019-03-26 09:07:48 +00:00
Luis Ramos
9a771ecbb8
Merge pull request #3613 from luisramos0/2-0-update-variants-stock
...
[Spree Upgrade] Add on_hand and on_demand to the variants create and edit pages
2019-03-26 08:55:34 +00:00
Kristina Lim
db6dab2e54
Address failing specs for ProxyOrdersController
2019-03-26 00:56:02 +08:00
luisramos0
a8c0eef3d3
Improve admin variants controller create action, it doesn't try to set on_hand and on_demand if there are previous errors in the variant
2019-03-22 23:23:10 +00:00
luisramos0
78ea16c684
Remove unnecessary data-hooks from stock management deface override
2019-03-22 21:30:25 +00:00
luisramos0
01f82e5214
Move OrderSyncer spec to xdescribe until it is fixed as part of spree upgrade phase 2. This is a subscriptions specific spec
2019-03-22 13:06:45 +00:00
luisramos0
287ea6038a
Remove distributors from product in completed_order_with_fees factory. This setter is no longer available after product distributions has been deleted
2019-03-22 11:50:24 +00:00
luisramos0
c1d14686a6
Merge branch 'master' into 2-0-stable-Mar22
2019-03-22 10:55:17 +00:00
Luis Ramos
6cd07cd107
Merge pull request #3605 from kristinalim/fix/2788-improve_specs_for_order_syncer
...
[Subscriptions] (v1) Fix assertions in specs for OrderSyncer
2019-03-22 10:31:01 +00:00
Luis Ramos
8d2d5a8708
Merge pull request #3579 from luisramos0/sanitize_data
...
Add sanitize and truncate data tasks
2019-03-22 10:29:57 +00:00
Pau Pérez Fabregat
846e6fdd90
Merge pull request #3560 from kristinalim/fix/2788-shipping_method_id_in_shipments
...
2696,2788 [Spree Upgrade] Fix use of shipping method ID for subscriptions
2019-03-22 11:08:23 +01:00
Pau Pérez Fabregat
deec4f83f8
Merge pull request #3633 from mkllnk/remove-product-distribution-from-sample-data
...
Remove usage of ProductDistribution which is dead
2019-03-22 10:54:59 +01:00
Pau Pérez Fabregat
4595ea033f
Merge pull request #3624 from mkllnk/2873-spec-register-link
...
Add spec for registration link on Spree pages
2019-03-22 10:47:43 +01:00
Pau Pérez Fabregat
5b06f580e2
Merge pull request #3614 from mkllnk/3335-localized-number-for-weight-calculator
...
Support international decimals in weight calculator
2019-03-22 10:35:37 +01:00
Pau Pérez Fabregat
87f0ddabe7
Merge pull request #3548 from luisramos0/2-0-remove-unused-new-v2-features
...
[Spree Upgrade] Remove unused spree v2 features
2019-03-22 10:35:15 +01:00
Kristina Lim
c222971e26
Clean up setup data for some OrderSyncer specs
2019-03-22 03:30:50 +08:00
Kristina Lim
0c2a75a227
Randomize bill and ship address of sample subscriptions
...
This also fixes some phone references in OrderSyncer specs.
2019-03-22 02:47:12 +08:00
Kristina Lim
7be669e1dd
Add address factory with randomized attributes
...
Randomizing all addresses generated will be explored separately.
2019-03-22 02:45:50 +08:00
Kristina Lim
d047e04e33
Customize addresses for subscriptions in specs
...
This forces us to write correct assertions when adding specs affected by
subscription addresses.
2019-03-22 01:58:27 +08:00
Kristina Lim
94606025c9
Separate call and call! for AdvanceOrderService
2019-03-21 20:34:51 +08:00
luisramos0
61433ee395
Make anonimize and truncate tasks respect rubocop rules
2019-03-21 11:16:56 +00:00
Maikel Linke
0b7192b82a
Remove usage of ProductDistribution which is dead
...
Sample data was failing since:
https://github.com/openfoodfoundation/openfoodnetwork/pull/3570
2019-03-21 17:37:16 +11:00
Maikel Linke
3803094409
Add more examples to LocalizedNumber spec
2019-03-21 12:49:19 +11:00
Maikel Linke
3ef6878233
Avoid global state change by using config stub
2019-03-21 12:49:19 +11:00
Maikel Linke
1ea2f37c18
Support international decimals in weight calculator
...
A previous pull request added support for flexible decimal characters
when editing money amounts.
https://github.com/openfoodfoundation/openfoodnetwork/pull/1831
This pull request applies the same principle to the weight calculator
which was missed in the previous pull request.
2019-03-21 12:49:19 +11:00
Maikel
130ba64f2f
Merge pull request #3619 from openfoodfoundation/dependabot/bundler/dalli-2.7.10
...
Bump dalli from 2.7.9 to 2.7.10
2019-03-21 12:47:29 +11:00
Maikel
f1ac33f304
Merge pull request #3590 from mkllnk/3576-bulk-order-spec
...
3576 Fix bulk order management race condition
2019-03-21 12:40:41 +11:00
Maikel Linke
d62908fd2d
Add spec for registration link on Spree pages
...
The `registration_path` helper resolves to `/signup` in Spree
controllers due to spree_auth_device > config > routes.rb.
We worked around that in:
https://github.com/openfoodfoundation/openfoodnetwork/pull/3174
Here we add a spec for this so that we can test more easily if we
remove that workaround or detect it's accidental removal.
2019-03-21 10:06:15 +11:00
Kristina Lim
d3c2d1859c
Update all locales with the latest Transifex translations
v1.29.0
2019-03-21 01:56:45 +08:00
Kristina Lim
b942dc1074
Merge pull request #3628 from openfoodfoundation/transifex
...
Transifex
2019-03-21 01:52:58 +08:00
Transifex-Openfoodnetwork
08894c242c
Updating translations for config/locales/en_GB.yml
2019-03-21 04:04:33 +11:00
Transifex-Openfoodnetwork
eeb8f12b4e
Updating translations for config/locales/en_GB.yml
2019-03-21 04:01:27 +11:00
Transifex-Openfoodnetwork
79eb89ac0b
Updating translations for config/locales/en_GB.yml
2019-03-21 03:58:20 +11:00
Luis Ramos
61c778eeac
Merge pull request #3555 from luisramos0/2-0-fix-order-state-translations
...
[Spree Upgrade] Improve order state translations in v2
2019-03-20 12:26:35 +00:00
Luis Ramos
59af77eb0e
Merge pull request #3620 from mkllnk/3520-customers-spec
...
Fix flaky spec by waiting for modal animation
2019-03-20 12:02:11 +00:00
luisramos0
3841656979
Rename data sanitize task to data anonymize
2019-03-20 11:58:26 +00:00
luisramos0
fefced5400
Improve sanitize data: keep customers connected to users and let addresses' city and zipcode remain as they are
2019-03-20 11:49:55 +00:00
luisramos0
804375d1aa
Delete obsolete pending delayed jobs related to the deleted account invoices feature
2019-03-20 11:24:57 +00:00
luisramos0
78d7222364
Drop account invoices and billable periods tables, the feature has been deleted
2019-03-20 11:19:48 +00:00