Jean-Baptiste Bellet
d97b46cd5b
add new feature for beta testers: unit_price
...
The aim of this "feature toggle" is to enable the unit price display for each product/variants.
By default activate on both development and staging environment.
2021-02-16 15:26:21 +01:00
Pau Pérez Fabregat
77dc6b7d57
Merge pull request #6890 from openfoodfoundation/dependabot/bundler/rubocop-1.10.0
...
Bump rubocop from 1.9.1 to 1.10.0
2021-02-16 09:51:15 +01:00
Pau Pérez Fabregat
fc25a921d3
Merge pull request #6891 from openfoodfoundation/transifex
...
Transifex
2021-02-16 09:50:13 +01:00
Transifex-Openfoodnetwork
67a201de55
Updating translations for config/locales/en_GB.yml
2021-02-16 18:07:29 +11:00
dependabot[bot]
e87550f1e9
Bump rubocop from 1.9.1 to 1.10.0
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.9.1...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-16 05:32:38 +00:00
Pau Pérez Fabregat
897a0c7779
Merge pull request #6880 from openfoodfoundation/transifex
...
Transifex
2021-02-15 16:47:51 +01:00
Transifex-Openfoodnetwork
8277093fa9
Updating translations for config/locales/de_DE.yml
2021-02-15 23:32:14 +11:00
Pau Pérez Fabregat
ffc850a794
Merge pull request #6876 from openfoodfoundation/transifex
...
Transifex
2021-02-15 11:50:41 +01:00
Transifex-Openfoodnetwork
347f193aeb
Updating translations for config/locales/es.yml
2021-02-15 19:56:52 +11:00
Transifex-Openfoodnetwork
0084aff9d4
Updating translations for config/locales/ca.yml
2021-02-15 19:56:38 +11:00
Transifex-Openfoodnetwork
03d8ecbb56
Updating translations for config/locales/en_FR.yml
2021-02-15 19:27:01 +11:00
Transifex-Openfoodnetwork
41defd3d2f
Updating translations for config/locales/fr.yml
2021-02-15 19:26:36 +11:00
Andy Brett
01293a3a3a
Merge pull request #6863 from turinglabsorg/master
...
deleting only OFN related Docker containers and images
2021-02-13 09:24:00 -08:00
Andy Brett
1b2416652f
update translations
2021-02-12 10:45:54 -08:00
Andy Brett
538dfb1e59
Merge pull request #6868 from openfoodfoundation/transifex
...
Transifex
2021-02-12 10:36:46 -08:00
Andy Brett
0a7396eb1c
Merge pull request #6713 from andrewpbrett/sca-subs-emails
...
Send emails when subscription payments require SCA auth
2021-02-12 08:23:32 -08:00
Transifex-Openfoodnetwork
2981be7013
Updating translations for config/locales/en_US.yml
2021-02-12 12:56:39 +11:00
Maikel
9aa7dd3206
Merge pull request #6714 from luisramos0/rails5-new
...
[Rails 5] Update Gemfile_next.lock and fix app/services/permissions/order.rb
2021-02-12 12:32:39 +11:00
Andy Brett
7c2febdd78
Merge pull request #6813 from jibees/6795-missing-cases-for-loading-spinner
...
Make loading spinner visible
2021-02-11 10:55:05 -08:00
Andy Brett
b5e9c935e9
Merge pull request #6821 from cillian/admin-product-sorting-bug
...
Include sort direction parameter during bulk product update to prevent JS error causing 'Saving' text to hang
2021-02-11 10:54:24 -08:00
Andy Brett
5a8a3b8d6b
Merge pull request #6822 from arku/chore/cost-price-removal
...
Remove cost price field field from product variant form
2021-02-11 10:48:00 -08:00
Andy Brett
96a746175d
update spec with new behavior
2021-02-11 10:36:50 -08:00
Pau Pérez Fabregat
7f882bfe92
Merge pull request #6295 from luisramos0/remove_pin
...
Remove Pin Payments
2021-02-11 18:04:59 +01:00
Transifex-Openfoodnetwork
96dea93745
Updating translations for config/locales/en_FR.yml
2021-02-12 03:56:37 +11:00
Transifex-Openfoodnetwork
6d87861efc
Updating translations for config/locales/fr.yml
2021-02-12 03:55:05 +11:00
Transifex-Openfoodnetwork
69724cfc24
Updating translations for config/locales/ru.yml
2021-02-12 02:51:41 +11:00
Transifex-Openfoodnetwork
09575b20bd
Updating translations for config/locales/de_DE.yml
2021-02-12 02:51:40 +11:00
Transifex-Openfoodnetwork
e168393662
Updating translations for config/locales/es.yml
2021-02-12 02:37:16 +11:00
Transifex-Openfoodnetwork
ae8488da92
Updating translations for config/locales/ca.yml
2021-02-12 02:35:35 +11:00
turinglabsorg
07a42e8a21
deleting only OFN related Docker containers and images
2021-02-11 14:30:07 +01:00
Pau Pérez Fabregat
99dbd8afa7
Merge pull request #6791 from filipefurtad0/customers_spec
...
enhances customers_spec.rb to check customer balance, after additional payments were added to an order
2021-02-11 11:36:30 +01:00
Pau Pérez Fabregat
5fd1bc3604
Merge pull request #6862 from openfoodfoundation/dependabot/bundler/geocoder-1.6.5
...
Bump geocoder from 1.6.4 to 1.6.5
2021-02-11 11:23:13 +01:00
Pau Pérez Fabregat
7fe79eccea
Merge pull request #6691 from jibees/6664-new-datetimepicker
...
6664 new datetimepicker
2021-02-11 11:21:19 +01:00
Pau Pérez Fabregat
34ce3c0db1
Merge branch 'master' into remove_pin
2021-02-11 11:19:18 +01:00
Pau Perez
23b0885f4b
Turn ivars into private attr_readers
...
This makes them more changeable and robust. Ruby will raise
NoMethodError on typos while it'll silently create a new ivar without
us noticing. Also, in my experience, a reader method gives more room to
future refactorings and eases testing because methods are easier to
stub.
2021-02-11 11:04:39 +01:00
Pau Perez
e2853b9afb
Do not load order twice
...
The controller already does so, then, we can pass it to the service and
avoid that extra round-trip to the DB and save some memory. Spree::Order
is a rather bulky object (God object code smell perhaps) and it'll
surely make a difference.
2021-02-11 11:04:21 +01:00
Pau Perez
e703113c08
Fix typo in test wording
2021-02-11 10:29:56 +01:00
filipefurtad0
33f7335c02
splitted testcases into different context blocks
2021-02-11 10:29:56 +01:00
filipefurtad0
82b93fc757
declared relevant variables with let!
2021-02-11 10:29:56 +01:00
filipefurtad0
3160d723b0
checks whether second payment was added correctly to the order
2021-02-11 10:29:56 +01:00
filipefurtad0
467b9e71a2
adds additional test case, in which a negative payment is added to an order
2021-02-11 10:29:56 +01:00
filipefurtad0
c722e1c082
declares variables for orders using let; prepares additional test cases
2021-02-11 10:29:56 +01:00
dependabot[bot]
f3d1206de8
Bump geocoder from 1.6.4 to 1.6.5
...
Bumps [geocoder](https://github.com/alexreisner/geocoder ) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/alexreisner/geocoder/releases )
- [Changelog](https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alexreisner/geocoder/compare/v1.6.4...v1.6.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-11 09:29:01 +00:00
Pau Pérez Fabregat
752421cd8b
Merge pull request #6814 from jibees/6797-to-much-white-space-when-editing-subscription
...
6797 Too much white space when editing subscription
2021-02-11 10:18:31 +01:00
Andy Brett
891874995b
refactor ProcessPaymentIntent to service
2021-02-10 11:22:29 -08:00
Andy Brett
ef6d1a3afb
refactor flag param to module
2021-02-10 11:06:01 -08:00
Pau Pérez Fabregat
3a3485614d
Merge pull request #6839 from openfoodfoundation/transifex
...
Transifex
2021-02-10 18:52:35 +01:00
Pau Pérez Fabregat
38da86c65b
Merge pull request #6857 from andrewpbrett/remove-variant-migration
...
Remove variant migration
2021-02-10 18:45:03 +01:00
Pau Pérez Fabregat
8af805d10c
Merge pull request #6840 from coopdevs/temp-skip-flaky-specs
...
Temporarily skip very flaky specs
2021-02-10 18:42:43 +01:00
Andy Brett
9104ca72a9
refactor to descriptive method authorization_action_required?
2021-02-10 09:36:35 -08:00