Pau Pérez Fabregat
6db80e837b
Merge pull request #6361 from andrewpbrett/fix-gateway-error-error
...
move gateway_error require to lib/spree/core.rb
2020-11-13 13:15:13 +01:00
Matt-Yorkley
cec295a113
Merge pull request #6373 from andrewpbrett/fix-admin-users
...
specify Spree routes for pagination, fix 500 on admin/users
2020-11-13 11:30:16 +01:00
Maikel Linke
a553547403
Update translations
2020-11-13 14:15:45 +11:00
Maikel
1e4edc671a
Merge pull request #6364 from openfoodfoundation/transifex
...
Transifex
2020-11-13 14:05:12 +11:00
Maikel
b2113c96a2
Merge pull request #6317 from openfoodfoundation/dependabot/bundler/kaminari-0.17.0
...
Bump kaminari from 0.14.1 to 0.17.0
2020-11-13 13:58:25 +11:00
Maikel
408103516e
Merge pull request #6321 from openfoodfoundation/dependabot/bundler/awesome_nested_set-3.2.1
...
Bump awesome_nested_set from 3.0.3 to 3.2.1
2020-11-13 13:30:18 +11:00
Maikel
d96216b8d7
Merge pull request #6268 from yihyang/master-yy-added-product-sorting
...
Sort products alphabetically in OC edit/create page
2020-11-13 13:29:54 +11:00
Maikel
d4ff9055c0
Merge pull request #6351 from efgalvao/issue#6249
...
Fixes Issue#6249
2020-11-13 13:28:55 +11:00
Maikel
591ba34eb6
Merge pull request #6335 from cillian/reset-on-demand-on-inventory-import
...
When resetting stock to 0 on absent products in inventory import also reset the on demand setting
2020-11-13 13:28:17 +11:00
Andy Brett
8dfd3f624d
paginate zones using spree routes as well
2020-11-12 14:24:04 -08:00
Andy Brett
9cf30b431a
specify Spree routes for pagination
2020-11-12 14:09:59 -08:00
Pau Pérez Fabregat
777cedd90d
Merge pull request #6305 from efgalvao/issue#6292
...
Fixed issue #6292 .
2020-11-12 17:42:42 +01:00
Transifex-Openfoodnetwork
b80d15b672
Updating translations for config/locales/pt_BR.yml
2020-11-13 02:43:56 +11:00
Transifex-Openfoodnetwork
228c7cc13a
Updating translations for config/locales/pt_BR.yml
2020-11-13 02:40:55 +11:00
Pau Pérez Fabregat
7c4691ab33
Merge pull request #6339 from andrewpbrett/fix-instance-unit-picker
...
Fix #6304 (Product edit: Cannot change Variant unit scale of an existing product)
2020-11-12 16:15:00 +01:00
Matt-Yorkley
3d4f0ebb7b
Ensure variants don't end up with invalid data when a product's variant_unit is changed
...
Fixes an issue where a product's variant_unit value is changed from "weight" to "items" and some of the product's variants can be left in an invalid state, which in turn breaks cloning of order cycles (with fatal errors).
2020-11-11 20:24:21 +00:00
Pau Pérez Fabregat
692adb0113
Merge pull request #6336 from coopdevs/fix-shop-layout
...
Fix .top-bar-section not to wrap the icons-menu
2020-11-11 17:29:53 +01:00
Matt-Yorkley
58e34b5ad6
Allow mail_auth_type to be set
2020-11-11 15:51:08 +00:00
Transifex-Openfoodnetwork
694bc6a598
Updating translations for config/locales/ar.yml
2020-11-12 02:18:05 +11:00
Transifex-Openfoodnetwork
e06b82f335
Updating translations for config/locales/ar.yml
2020-11-12 02:14:55 +11:00
Pau Perez
f9869d4360
Remove unused truncate_html gem
...
It seems that we don't use this gem in OFN. It was used in Spree in
https://github.com/openfoodfoundation/spree/blob/2-1-0-stable/core/app/helpers/spree/orders_helper.rb
to truncate the product description. We don't because we show it in
the product modal, and there's no trace of that helper method in our
codebase nor I see the gem used at all.
2020-11-11 13:18:23 +01:00
Matt-Yorkley
1cad631bdb
Replace secret_token and update comments
...
`secret_token` is apparently still called directly in other places...
2020-11-11 01:30:52 +00:00
Andy Brett
17202ff39c
move gateway_error require to lib/spree/core.rb
2020-11-10 14:55:56 -08:00
Luis Ramos
5d93180081
Move subs tasks into subs:test namespace
2020-11-10 22:03:36 +00:00
Luis Ramos
fdfc0b330f
Remove some duplicated code
2020-11-10 22:03:36 +00:00
Luis Ramos
63d62d7ce4
Improve subs task by making it handle open and close times of the Order Cycle being tested
2020-11-10 22:03:36 +00:00
Luis Ramos
51451292bd
Add task to closse OC and confirm orders
2020-11-10 22:03:36 +00:00
Luis Ramos
2bb22fb7f4
Add task to reset Orders inside a specific Order Cycle by repeating the
...
placement job
2020-11-10 22:03:36 +00:00
Luis Ramos
5289a5b381
Add namespace to all sample data factories
...
These factories are not used in testing and this way we avoid collisions on the root namespace as it was happening already with OrderFactory
2020-11-10 22:03:36 +00:00
Matt-Yorkley
03d49c7987
Update secret key base
...
`secret_token` is no longer used in Rails 4+
2020-11-10 20:46:15 +00:00
Andy Brett
d5037abbe7
add specs for new/edit product pages
2020-11-10 10:49:14 -08:00
Pau Perez
5ddfc54b2b
Install any missing gems when booting docker
...
This runs `bundle install` if there are any missing gems when booting
the containers. `bundle check` ensures we don't unnecessarily run
`bundle install`, which is rather slow.
This avoids having to build the entire image (painfully slow) or having
to bring up a container just to install the gems. I used to do this
with `docker-compose run --rm web bundle install`.
2020-11-10 18:08:34 +01:00
Pau Pérez Fabregat
bea8982085
Merge pull request #6329 from openfoodfoundation/transifex
...
Transifex
2020-11-10 17:37:00 +01:00
Pau Pérez Fabregat
fc06cc242b
Merge pull request #6210 from ipalo/feature/update-docker-image-to-ubuntu-20-04
...
Update the base Ubuntu Docker image from 18.04 to 20.04
2020-11-10 17:30:03 +01:00
Pau Pérez Fabregat
b70c349b05
Merge pull request #6352 from openfoodfoundation/dependabot/bundler/webmock-3.9.5
...
Bump webmock from 3.9.4 to 3.9.5
2020-11-10 16:47:44 +01:00
Pau Perez
634ab5ca6a
Don't scale logo image
...
The trick using `width: 100%` and a set `max-width` doesn't work if we
can't know the image width as it can be uploaded by superadmins. There's
no need though because the media query breakpoint triggers just before that.
2020-11-10 09:51:41 +01:00
Matt-Yorkley
a802fe29be
Fix typo in initializer
2020-11-10 00:07:06 +00:00
Luis Ramos
88ac5dc955
Fix rubocop issues by refactoring code
2020-11-10 00:03:34 +00:00
Luis Ramos
e879aa1bed
Switch to s3_alias_url that enabble virtual host type of path
2020-11-10 00:03:33 +00:00
Luis Ramos
94a815a9ef
Upgrade aws-sdk and set s3 host name using the provided url config.
...
This will enable us to set hostnames with the s3 region defined and that
will make our image upload work for all s3 regions.
2020-11-10 00:03:33 +00:00
Luis Ramos
c7c5a95407
Merge pull request #6345 from Matt-Yorkley/flaky-oc-spec
...
Improve flaky order cycle spec
2020-11-09 21:59:41 +00:00
dependabot-preview[bot]
1825c90a5f
Bump webmock from 3.9.4 to 3.9.5
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.9.4 to 3.9.5.
- [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.4...v3.9.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-11-09 19:14:30 +00:00
efgalvao
307b1ca9f9
Fixes Issue#6249
2020-11-09 14:06:37 -03:00
Pau Perez
17abb3e345
Fix feature specs
...
The underlying markup and CSS changed but the tests did not.
2020-11-09 15:43:54 +01:00
Pau Perez
1903c575ff
Reorder properties alphabetically
...
As Hound demands.
2020-11-09 15:40:25 +01:00
Pau Perez
9a885173b9
Remove element from class selector
...
Fixes Hound error `Avoid qualifying class selectors with an element.`.
2020-11-09 15:39:09 +01:00
Transifex-Openfoodnetwork
3167e5ae2b
Updating translations for config/locales/ru.yml
2020-11-10 01:29:44 +11:00
Transifex-Openfoodnetwork
7f968b2b10
Updating translations for config/locales/ru.yml
2020-11-10 01:26:34 +11:00
Transifex-Openfoodnetwork
b08299e83a
Updating translations for config/locales/ru.yml
2020-11-10 01:23:23 +11:00
Matt-Yorkley
d9e2a80a4f
Improve flaky order cycle spec
...
There are various points in this spec where content is dynamically added to the DOM, but Capybara is jumping ahead to start interacting with it before it as actually finished loading.
2020-11-09 11:26:12 +00:00