Luis Ramos
78651012bb
Merge pull request #6177 from santakadev/fix-docker-setup
...
Fix docker local environment setup
2020-10-21 08:45:07 +01:00
Luis Ramos
d01f9b7aa1
Merge pull request #6227 from jhsu802701/fix_docker_scripts
...
docker-compose run --rm web -> docker-compose run web
2020-10-21 08:44:37 +01:00
Jason Hsu
a9feb53294
docker-compose run --rm web -> docker-compose run web
2020-10-20 17:48:46 -05:00
Matt-Yorkley
f5ce0d501d
Merge pull request #5870 from luisramos0/prefs
...
[Bye bye Spree] Bring models app_configuration and preference from spree_core
2020-10-20 21:12:54 +02:00
Luis Ramos
b267f542d1
Merge pull request #5980 from luisramos0/spree_clean_up
...
[Bye bye spree] Some clean up fixes to make it all work without spree
2020-10-20 18:52:54 +01:00
Luis Ramos
9f568c1e9d
Merge pull request #5928 from luisramos0/spree_core_js
...
[Bye bye spree] Bring final bits of js and css from spree_core
2020-10-20 13:20:41 +01:00
Luis Ramos
c291639962
Merge pull request #6156 from razanjoshi/add_simplecov
...
Add coverage threshold for simplecov.
2020-10-20 09:40:07 +01:00
Luis Ramos
c0880a1b9a
Merge pull request #6191 from mkllnk/draft-release
...
Add script to draft release notes
2020-10-19 12:22:24 +01:00
Luis Ramos
e6baca37c4
Merge pull request #6215 from Matt-Yorkley/states-filepath
...
Fix deployments
2020-10-18 23:16:53 +01:00
Matt-Yorkley
58c0d90575
Fix error in countries.rb
2020-10-18 19:49:48 +01:00
Matt-Yorkley
dc06f60d2c
Merge pull request #6211 from openfoodfoundation/dependabot/bundler/webmock-3.9.3
...
Bump webmock from 3.9.2 to 3.9.3
2020-10-18 12:22:07 +02:00
Matt-Yorkley
4cd645b60e
Merge pull request #6150 from openfoodfoundation/luisramos0-patch-1
...
Make the release notes intructions a bit more clear so new contributors make them short
2020-10-18 00:44:06 +02:00
Matt-Yorkley
961fbd22cf
Merge pull request #6183 from openfoodfoundation/dependabot/bundler/activerecord-import-1.0.7
...
Bump activerecord-import from 1.0.6 to 1.0.7
2020-10-18 00:42:17 +02:00
Matt-Yorkley
b7c8bae9e8
Merge pull request #6185 from openfoodfoundation/dependabot/bundler/i18n-js-3.8.0
...
Bump i18n-js from 3.7.1 to 3.8.0
2020-10-18 00:41:09 +02:00
Matt-Yorkley
3612386463
Make loading of Zones in db:seed idempotent (and avoid fatal errors if run twice)
2020-10-17 18:08:28 +01:00
Matt-Yorkley
e9e7bdc6cd
Set Spree::Config[:default_country_id]` from ENV vars if default country specified.
2020-10-17 17:54:48 +01:00
Matt-Yorkley
d1c066d360
Move states.yml back to it's former filepath
2020-10-17 17:14:26 +01:00
Rajan Joshi
13fe8b6198
Add more directories to filter.
2020-10-17 15:55:22 +01:00
dependabot-preview[bot]
b2e14b36dd
Bump webmock from 3.9.2 to 3.9.3
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.9.2...v3.9.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-10-17 07:47:24 +00:00
Luis Ramos
05bb75db00
Merge pull request #6089 from luisramos0/seed_data
...
[Bye bye spree] Prepare seed data for bye bye spree
2020-10-16 11:55:27 +01:00
Luis Ramos
22bd0f3a52
Merge pull request #6187 from jhsu802701/spec_support_request_stripe_helper
...
Updated RuboCop (spec/support/request/stripe_helper.rb)
2020-10-16 08:49:17 +01:00
Luis Ramos
94713522e5
Merge pull request #6189 from jhsu802701/update_db_schema
...
Updated db/schema.rb by running database migrations
2020-10-16 08:40:18 +01:00
Luis Ramos
49947614b3
Merge pull request #6190 from jhsu802701/rubocop_calculator_factory
...
Updated spec/factories/calculator_factory.rb for RuboCop
2020-10-16 08:36:53 +01:00
Jason Hsu
c39e238e83
Updated spec/factories/calculator_factory.rb to remove unnecessary space; reduces number of RuboCop offenses from 91 to 90
2020-10-16 00:08:19 -05:00
Maikel Linke
6c1139c296
Add script to draft release notes
2020-10-16 16:03:26 +11:00
Jason Hsu
0119d9d0eb
Updated db/schema.rb by running bundle exec rake db:migrate
2020-10-15 23:56:43 -05:00
Maikel Linke
3679e0fac9
Copy all translations from Transifex
2020-10-16 15:34:24 +11:00
Maikel
960da1e7e9
Merge pull request #6179 from openfoodfoundation/transifex
...
Transifex
2020-10-16 15:33:11 +11:00
Maikel
8c65498661
Merge pull request #5998 from andrewpbrett/shipping-per-pound
...
Per-pound shipping calculator
2020-10-16 15:27:57 +11:00
Maikel
07780c5663
Merge pull request #6146 from openfoodfoundation/dependabot/bundler/geocoder-1.6.4
...
Bump geocoder from 1.6.3 to 1.6.4
2020-10-16 15:26:41 +11:00
Jason Hsu
bdf0cb1364
Exclude spec/support/request/stripe_helper.rb from Metrics/ModuleLength cop; reduces number of offenses from 90 to 89
2020-10-15 23:25:32 -05:00
Matt-Yorkley
f260a2d114
Merge pull request #6141 from Matt-Yorkley/mobile-shops-list
...
Make shops index page usable on mobile
2020-10-16 03:21:32 +02:00
Matt-Yorkley
25ee38cb9a
Merge pull request #6128 from luisramos0/stripe_bo
...
Add feature specs to stripe payments in the BackOffice
2020-10-16 02:53:42 +02:00
Matt-Yorkley
248633e14f
Merge pull request #6161 from Matt-Yorkley/add-polish-momentjs
...
Add polish translations with momentjs
2020-10-16 01:49:51 +02:00
dependabot-preview[bot]
66cde06cf8
Bump i18n-js from 3.7.1 to 3.8.0
...
Bumps [i18n-js](https://github.com/fnando/i18n-js ) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/fnando/i18n-js/releases )
- [Changelog](https://github.com/fnando/i18n-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fnando/i18n-js/compare/v3.7.1...v3.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-10-15 23:24:41 +00:00
dependabot-preview[bot]
4fa6070353
Bump activerecord-import from 1.0.6 to 1.0.7
...
Bumps [activerecord-import](https://github.com/zdennis/activerecord-import ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/zdennis/activerecord-import/releases )
- [Changelog](https://github.com/zdennis/activerecord-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zdennis/activerecord-import/compare/v1.0.6...v1.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-10-15 23:14:21 +00:00
Luis Ramos
6bacc2f627
Fix group_buy_report_spec by avoiding orders with duplicate line items
2020-10-15 18:33:56 +01:00
Luis Ramos
4c9e4ee926
Fix problem in calculator spec
...
I am not sure why this started failing on this branch only and not in master but this fix is correct because line_items are created with order defined already, an order.reload is enough to load them into the order
2020-10-15 17:19:39 +01:00
Matt-Yorkley
7de98e74b8
Use #setup_stripe helper in tests to ensure Stripe keys are present
2020-10-15 17:09:24 +01:00
Luis Ramos
5141723b21
Re-add restart checkout specs
...
These were breaking because of the class_evals on the checkout_spec
2020-10-15 16:06:27 +01:00
Luis Ramos
fb3f35100f
Remove specs related to subsclassing the order class
...
This is not something we will do
2020-10-15 16:06:27 +01:00
Luis Ramos
249b4d124f
Remove more specs related to dynamic order checkout workflow
2020-10-15 16:06:27 +01:00
Luis Ramos
07b3c100e8
Remove code and specs related to dynamic checkout workflow, we have a static workflow defines in the Order class
2020-10-15 16:06:27 +01:00
Andy Brett
ca24068d37
use case-insensitive sql query
2020-10-15 07:55:19 -07:00
Transifex-Openfoodnetwork
5bd7000f58
Updating translations for config/locales/en_US.yml
2020-10-16 01:19:20 +11:00
Transifex-Openfoodnetwork
d9c107f282
Updating translations for config/locales/en_US.yml
2020-10-16 01:16:13 +11:00
Luis Ramos
6046b0f6e4
Fix typo
2020-10-15 14:54:42 +01:00
Luis Ramos
62a54e5f17
Add spec to cover stripe SCA refunds in the backoffice
2020-10-15 14:54:42 +01:00
Luis Ramos
bce81d27dd
Move spec to end of file so we can extend this case with refunds and cancelations
2020-10-15 14:54:42 +01:00
Luis Ramos
a6ed003cb9
Extract redirect stub to stripe_helper
2020-10-15 14:54:42 +01:00