Masha
94cbac00a5
& replaced by OR when multiple property filters are selected
2019-05-08 15:00:59 +01:00
Pau Pérez Fabregat
b443f5ece9
Merge pull request #3789 from hughbric/remove_payment_enterprise_id_refs
...
references to payment_enterprise_id removed, new migration created
2019-05-05 12:30:19 +01:00
Luis Ramos
17f126d80c
Merge pull request #3788 from stveep/3249-display-name-on-edit-variant-page
...
Add display_name and display_as to admin edit variant page
2019-05-05 11:31:27 +01:00
stveep
7090281da5
Reorganise defaces so that display name fields come first
2019-05-04 21:48:32 +01:00
Pau Pérez Fabregat
958b144948
Merge pull request #3787 from eelcodevlieger/issue_3777-Make_all_map_icons_green
...
issue 3777 - Make all map icons green
2019-05-04 19:54:02 +02:00
Pau Pérez Fabregat
e3d9cab02b
Merge pull request #3785 from kkoomin/3687-missing-translation-on-demand
...
changed string into translation key & add 'infinity' key
2019-05-04 19:01:39 +02:00
stveep
a959702905
Add display_name and display_as to admin edit variant page
2019-05-04 17:20:12 +01:00
Michael Hughes
9e56198092
references to payment_enterprise_id removed, new migration created
2019-05-04 16:32:48 +01:00
Eelco de Vlieger
4b2114c1e4
issue 3777 - Make all map icons green
2019-05-04 14:44:16 +01:00
kkoomin
f65ce82778
changed string into translation key & add 'infinity' key
2019-05-04 14:40:45 +01:00
Luis Ramos
6f0d155508
Merge pull request #3742 from openfoodfoundation/2-0-stable
...
Merge 2-0-stable to master
2019-05-04 00:06:27 +01:00
Luis Ramos
4afa0cdca1
Merge pull request #3589 from kristinalim/fix/2788-ship_address_changed
...
2788 [Subscriptions] Fix address issues when syncing subscriptions and orders
2019-05-03 23:48:32 +01:00
Luis Ramos
4f0930b77c
Merge pull request #3717 from luisramos0/2-0-update-aws-sdk
...
[Spree Upgrade] Update to spree revision that depends on aws-sdk 1.11.1
2019-05-03 23:47:30 +01:00
luisramos0
53788625db
Update to spree revision that depends on aws-sdk 1.11.1 making ofn gemfile.lock compatile with ofn/spree 2-0-4 gemspec
2019-05-03 13:16:25 +01:00
Luis Ramos
22a60e4fa9
Merge pull request #3769 from amers185/fix_rebase_error
...
Closes translation bug for enterprise fee settings
v1.31.0
2019-05-03 12:53:52 +01:00
luisramos0
d7596b4066
Merge branch 'master' into fix_rebase_error
2019-05-03 12:10:57 +01:00
Pau Pérez Fabregat
969d3e863a
Merge pull request #3768 from luisramos0/2-0-fix-on-demand
...
[Spree Upgrade] Migrate spree_variants.on_demand to spree_stock_items.backorderable
2019-05-03 10:52:16 +02:00
Luis Ramos
637e99367d
Merge pull request #3747 from luisramos0/2-0-vo-ctrl-bug
...
[Spree Upgrade] Fix bug in Variant Overrides controller
2019-05-02 17:31:13 +01:00
luisramos0
4a9570b1a1
Merge branch '2-0-stable' into fix/2788-ship_address_changed
2019-05-02 16:17:53 +01:00
Luis Ramos
3b2e614c57
Merge pull request #3734 from luisramos0/2-0-validate-distribution
...
Removing a variant from OC will prevent user with that variant in the cart from checking out
2019-05-02 16:12:41 +01:00
Pau Pérez Fabregat
046d6ebdfc
Merge pull request #3771 from luisramos0/2-0-stable-May2
...
[Spree Upgrade] LAST merge master into 2-0-stable 🎉
2019-05-02 14:26:24 +02:00
luisramos0
85cf4fa3e6
Merge branch 'master' into 2-0-stable-May2
2019-05-02 11:27:53 +01:00
Luis Ramos
edaf2479dc
Merge pull request #3741 from luisramos0/2-0-stable-Apr15
...
[Spree Upgrade] Merging master into 2-0-stable (1st run in Apr2019)
2019-05-02 11:26:54 +01:00
luisramos0
f0f08f7cd3
Update all locales with the latest Transifex translations
2019-05-02 11:22:37 +01:00
Pau Pérez Fabregat
5f47a37fac
Merge pull request #3763 from coopdevs/allow-passing-s3-region
...
Allow passing s3 region
2019-05-02 12:17:58 +02:00
luisramos0
340cbe5947
Eager load variants with variant overrides to avoid n+1 in the following line
2019-05-02 11:10:53 +01:00
luisramos0
116650595e
Move test setup code to before block
2019-05-02 11:08:31 +01:00
luisramos0
42d1d3eff6
Migrate spree_variants.on_demand to spree_stock_items.backorderable
2019-05-02 10:59:27 +01:00
Pau Pérez Fabregat
2d77605e59
Merge pull request #3764 from Matt-Yorkley/s3_backups_without_images
...
Don't use s3 for images unless images bucket has been provisioned.
2019-05-01 17:55:01 +02:00
Syed Usama Amer
75a7745736
Closes translation bug for enterprise fee settings
2019-05-01 10:43:35 -05:00
Kristina Lim
19726061e4
Make Order#address_from_distributor public
2019-05-01 07:17:50 +08:00
Kristina Lim
92dc43d7a2
Make OrderUpdater#shipping_address_from_distributor public
2019-05-01 07:16:56 +08:00
Kristina Lim
0933d53134
Extract method OrderSyncer#update_ship_address_for
2019-05-01 07:16:56 +08:00
Kristina Lim
14d407879c
Rename method OrderSyncer#update_ship_address_for
...
This method has become only a small part of the logic for updating the
order's ship address. This no longer follows the method naming
convention within OrderSyncer where update_*_for describes almost the
complete logic for updating the association.
This is renamed in preparation for extraction of the complete update
logic for ship_address. The new method will be named
update_ship_address_for.
2019-05-01 07:16:56 +08:00
Kristina Lim
6952f4ecd1
Improve readability of conditions in OrderSyncer
2019-05-01 07:16:55 +08:00
Kristina Lim
71f379a318
Uncomment passing specs for SubscriptionPlacementJob
2019-05-01 07:16:55 +08:00
Kristina Lim
b4b24931d9
Remove ignore for OrderSyncer spec file
2019-05-01 07:16:55 +08:00
Kristina Lim
46d63f43b9
Update check for pickup address manipulation
...
The way that the bill contact details and distributor address are set
for pickup orders has changed. At this point, after before_save_hook is
called, the bill contact details have already been set as well.
2019-05-01 07:16:54 +08:00
Kristina Lim
78aa9da2cf
Uncomment and update OrderSyncer failing specs
...
This still achieves a logic issue before the Spree upgrade, where
switching from pick-up to delivery affects whether simultaneous changes
to shipping address are ignored or not.
This behaviour can be fixed in a separate PR.
2019-05-01 07:16:54 +08:00
Kristina Lim
bdf4132e01
Fix order shipment references in OrderUpdater
2019-05-01 07:16:54 +08:00
Pau Pérez Fabregat
88cbf5bd36
Merge pull request #3753 from openfoodfoundation/dependabot/bundler/whenever-0.11.0
...
Bump whenever from 0.10.0 to 0.11.0
2019-04-30 18:38:52 +02:00
Matt-Yorkley
732d0f7cf4
Don't use s3 for images unless images bucket has been provisioned.
...
Sets the "use_s3" (for images) option based on presence of `s3_images_bucket` from ofn-install instead of presence of s3 keys, for instances that use s3 for backups but not for images.
2019-04-30 17:06:42 +01:00
Pau Perez
d5b08c602a
Allow passing a specific AWS region to S3 settings
...
This solves the error showed below when executed `bundle exec rake
db2fog:backup RAILS_ENV=staging` on Katuma staging
```
Excon::Error::BadRequest: Expected(200) <=> Actual(400 Bad Request)
excon.error.response
:body => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-central-1'</Message><Region>eu-central-1</Region><RequestId>3DE2763883FC601D</RequestId><HostId>1E6UapnblBqVZM0SeeLrdPNDd+VaQ0nxCWwrQ9mi8HjRo2xevAUwtSq5V3fxhsj4Cj9ynnDroco=</HostId></Error>"
```
2019-04-30 13:31:36 +02:00
Pau Perez
f36646d0a3
Store S3 keys in Config before calling db2fog
...
This ensures that Db2fog always picks up the latest value of the S3_*
env vars and not the one that was persisted last time. Now you can do
things like `S3_BUCKET=xxx bundle exec rake db2fog:backup` if you had
to.
2019-04-30 13:31:36 +02:00
Pau Pérez Fabregat
010f058618
Merge pull request #3744 from openfoodfoundation/dependabot/bundler/oj-3.7.12
...
Bump oj from 3.7.11 to 3.7.12
2019-04-30 11:53:44 +02:00
Pau Pérez Fabregat
6c9101dffa
Merge pull request #3745 from openfoodfoundation/transifex
...
Transifex
2019-04-30 11:46:17 +02:00
dependabot[bot]
2c536c29c5
Bump whenever from 0.10.0 to 0.11.0
...
Bumps [whenever](https://github.com/javan/whenever ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/javan/whenever/releases )
- [Changelog](https://github.com/javan/whenever/blob/master/CHANGELOG.md )
- [Commits](https://github.com/javan/whenever/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-23 19:18:23 +00:00
Pau Pérez Fabregat
380a9c561e
Merge pull request #3725 from coopdevs/add-specs-for-cache-variant-deletion
...
Add specs for the cache refresh on variant removal
2019-04-19 19:02:04 +02:00
Maikel
99a4878bdf
Merge pull request #3653 from mkllnk/2520-spree2-order-subscription
...
2520 Remove `process_payments!` override
2019-04-19 07:34:30 +10:00
Maikel
736ac49581
Merge pull request #3701 from luisramos0/2-0-fix-order-edit-issues
...
[Spree Upgrade] Fix two issues in admin orders edit page
2019-04-19 07:33:26 +10:00