Add a test for #3494
Allow users to delete country via backend UI

Fixes #3807
Allow users to create new countries via backend UI

Fixes #3807
Move spree/shared/address partial into frontend

That's the only place Spree uses it

Related to #3758
Clean up backend address forms

Related to #3758
With the change of shipping categories seed to Default, product seed needs to match. References #3795

Fixes #3811
Re-instate DefaultTax calculator's ability to calculate for an order

This needs to be supported for legacy reasons. Orders coming from Spree 2.1 and older have the tax adjustments applied on the order as a whole.
Add migrations to migrate old adjustments to new adjustments system

Part of the work in #3567
Remove binding.pry
Allow recreating deleted stock items

Add deleted_at to uniqueness scope otherwise use cant recreate a stock
item on the same stock location

Fixes #3834
Prefs: don't determine persist? from .connected?

.connected? returns false until a connection is actually attempted. This
meant if the cache was empty, preferences would be set to their default
values and that would be persisted to cache.

This reverts commit 9ca8ef97fb9139a5aecd1f406b21a7fadfdca658.

Fixes #3785
prefs: don't cache fallback when not persisting

When persistence was disabled (for whatever reason), fallback values
were written to the cache if there was no existing value cached.

There is no benefit in doing this. Database lookups will not happen
without persistence being enabled, and there was potential for the
fallback values being incorrectly written to the cache.
Add maximum length validation for promotion description [Fixes #3837]
verify if a user can fire a following event on order or not

Fixes #3818
Reload rules select2 box after picking a PromotionRule

So that the chosen rule no longer is displayed on the select2 box, users
can associate each rule only once with the promotion

Fixes #3572
Fixes #3816
Don't convert list of stock items to an array if all we need to do is sum
Fix redirect loop with redirect_https_to_http

force_non_ssl_redirect was testing if the actions was included in
ssl_{required,allowed}_actions, but didn't consider the case that it was
empty (which should mean all actions). This caused an infinite redirect
loop on admin and checkout pages with the option enabled.

This fixes the issue and simplifies the code by combining the lists of
allowed and required ssl actions. Also added some specs.

Fixes #3813
changed to use display_price whenever possible to allow extension and to simplify code

Fixes #3822
Accept source attributes in PaymentsController to fix backend payment processing.
Add process method to BogusSimple gateway to be able to process payments.

Fixes issue where hitting "process" on payments screen breaks with
BogusSimple gateway.