filipefurtad0
cc009ba33f
Update CONTRIBUTING.md
...
Added lines on bundle and yarn install. For context see this thread:
https://openfoodnetwork.slack.com/archives/C2GQ45KNU/p1613393033083800
2021-02-19 13:02:03 +00:00
Maikel Linke
fe3fb78f76
Update from Transifex
2021-02-19 15:56:50 +11:00
Maikel
af832666ff
Merge pull request #6916 from openfoodfoundation/transifex
...
Transifex
2021-02-19 15:50:04 +11:00
Matt-Yorkley
5d1af5620c
Merge pull request #6674 from cillian/include-ready-for-in-producer-notification
...
Include the 'Ready for' time for the order cycle in the Notify Producers email
2021-02-18 22:01:08 +01:00
Transifex-Openfoodnetwork
5c431fa99c
Updating translations for config/locales/en_IE.yml
2021-02-19 04:34:00 +11:00
Pau Pérez Fabregat
1fc21bdcb3
Merge pull request #6903 from openfoodfoundation/transifex
...
Transifex
2021-02-18 13:23:02 +01:00
Pau Pérez Fabregat
3c208a4fe9
Merge pull request #6911 from mkllnk/remove-dead-rails3-code
...
Remove dead code needed for Rails 3
2021-02-18 12:45:03 +01:00
Pau Pérez Fabregat
a21a8b18b1
Merge pull request #6861 from ccozkan/new-product-form-on_hand-field-improvements
...
Remove required field asterisk from on_hand's field on new products form
2021-02-18 12:39:58 +01:00
Transifex-Openfoodnetwork
1e51884cb2
Updating translations for config/locales/en_FR.yml
2021-02-18 21:46:42 +11:00
Transifex-Openfoodnetwork
cb5543ea75
Updating translations for config/locales/fr.yml
2021-02-18 21:43:20 +11:00
Transifex-Openfoodnetwork
ff423a7b7c
Updating translations for config/locales/de_DE.yml
2021-02-18 20:57:34 +11:00
Transifex-Openfoodnetwork
88e8d110b3
Updating translations for config/locales/es.yml
2021-02-18 18:45:06 +11:00
Transifex-Openfoodnetwork
ce501d4715
Updating translations for config/locales/ca.yml
2021-02-18 18:44:58 +11:00
Maikel Linke
29d7596b4e
Remove dead code needed for Rails 3
...
This was initially added to allow unprivileged database users to run the
app but Rails 4 contains that patch already.
References:
b70edd542
719c45b40
2021-02-18 16:18:54 +11:00
Transifex-Openfoodnetwork
a48d8d8a61
Updating translations for config/locales/pt_BR.yml
2021-02-18 10:16:53 +11:00
Andy Brett
f463af327c
Merge pull request #6808 from andrewpbrett/authorize-payment-links
...
Allow a customer to perform further action for a Stripe payment if needed (#4181 )
2021-02-17 10:17:51 -08:00
Pau Pérez Fabregat
8068c6015f
Merge pull request #6836 from coopdevs/customer-balance-reports
...
Customer balance reports
2021-02-17 17:34:37 +01:00
Matt-Yorkley
12dedf8a3b
Merge pull request #6774 from Matt-Yorkley/increase-precision
...
Increase limit on database columns that involve prices
2021-02-17 15:06:19 +01:00
Transifex-Openfoodnetwork
789e2dca7b
Updating translations for config/locales/de_DE.yml
2021-02-17 23:15:21 +11:00
Pau Pérez Fabregat
766acdf75b
Merge pull request #6900 from openfoodfoundation/try-out-gh-actions-as-ci
...
Add Github CI build workflow
2021-02-17 12:45:15 +01:00
Pau Perez
e4c0fa5043
Add Github CI build workflow
...
based on
https://docs.github.com/en/actions/guides/building-and-testing-ruby#starting-with-the-ruby-workflow-template .
Things worth mentioning:
* ruby/setup-ruby reads `.ruby-version` by default. See:
https://github.com/ruby/setup-ruby#supported-version-syntax
* I chose to run on ubuntu-18.04 because that's what we use in
production. This should reduce potential "it runs on machine but fails
in CI" due to different system libraries versions and such.
We're temporarily running only `spec/queries/` specs because we want it
to finish quickly as we iterate on its configuration.
2021-02-17 12:37:11 +01:00
Pau Pérez Fabregat
a88280566c
Merge branch 'master' into increase-precision
2021-02-17 11:36:36 +01:00
Pau Pérez Fabregat
297927c8df
Merge pull request #6897 from openfoodfoundation/transifex
...
Transifex
2021-02-17 11:12:14 +01:00
Pau Pérez Fabregat
16140b7b0b
Merge pull request #6843 from Matt-Yorkley/tax-rates-double-take
...
Also soft-delete tax rates when changing `included_in_price`
2021-02-17 09:41:07 +01:00
Transifex-Openfoodnetwork
4d07faff06
Updating translations for config/locales/es.yml
2021-02-17 19:37:21 +11:00
Transifex-Openfoodnetwork
93bb84ddd0
Updating translations for config/locales/ca.yml
2021-02-17 19:37:10 +11:00
Andy Brett
cfd8403125
Merge pull request #6865 from jibees/6833-bom-fix-display-issue-for-product
...
Fix some display issues on Bulk Order Management page
2021-02-16 19:06:42 -08:00
Maikel
10c86e852f
Merge pull request #6888 from mkllnk/use-google-tiles-with-google-maps
...
Use Google's map tiles with Google Maps
2021-02-17 08:56:03 +11:00
Transifex-Openfoodnetwork
5bd336ac09
Updating translations for config/locales/en_FR.yml
2021-02-17 05:38:48 +11:00
Transifex-Openfoodnetwork
3dd2dd31cd
Updating translations for config/locales/fr.yml
2021-02-17 05:38:37 +11:00
Andy Brett
d444c5d6d4
Merge pull request #6893 from openfoodfoundation/transifex
...
Transifex
v3.5.9
2021-02-16 08:32:07 -08:00
Pau Pérez Fabregat
71c8a62351
Merge pull request #6851 from jibees/6497-show-unit-price-in-shopfront
...
Show unit price in shopfront
2021-02-16 16:33:49 +01:00
Transifex-Openfoodnetwork
6de797c0a4
Updating translations for config/locales/fr_CA.yml
2021-02-17 02:33:21 +11:00
Transifex-Openfoodnetwork
1ceda0c076
Updating translations for config/locales/en_CA.yml
2021-02-17 02:29:14 +11:00
Jean-Baptiste Bellet
a8cc0d1001
add translation for question mark tooltip
2021-02-16 15:26:36 +01:00
Jean-Baptiste Bellet
e509925789
Use question mark with tooltip directive
...
Needs some css customization due to the use of a button element (instead of a basic span)
2021-02-16 15:26:21 +01:00
Jean-Baptiste Bellet
4be2b42fe1
create a new directive: question mark with tooltip
...
- Display a rounded blue question mark icon
- Show (hide) on click a blue tooltip on top of the question mark icon
2021-02-16 15:26:21 +01:00
Jean-Baptiste Bellet
7442d06bed
add new template to manage variant
...
- The aim of this template is to display unit price
- Duplicate the angular directive
- Add a question mark icon and its own file
- Add some needed colors in the branding file
2021-02-16 15:26:21 +01:00
Jean-Baptiste Bellet
8c42388af1
add a randomized unit price for variant
...
unit price is composed with :
- a unit_price_price which is a number that can be localized (depending on the currency)
- a unit_price_unit which can be either `item` of `kg`
@andrewpbrett will do stuff to have a relevant unit price for each variant
2021-02-16 15:26:21 +01:00
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
Matt-Yorkley
3da5c0d7fd
Update TaxRate transition spec
...
Setting a tax rate to included fails a validation if a default zone doesn't exist, so that's added. Also improved the tested scenarios and some of the details checked on the updated objects.
2021-02-16 13:21:57 +00:00
Pau Perez
36ce39a217
Sort OC report orders by completed_at
...
This is then consistent with the ordering we use to list orders in
/admin, which is more useful. As a result, the test is also more robust.
2021-02-16 13:25: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
Maikel Linke
445fae4d09
Use Google's map tiles with Google Maps
...
We started to move to Open Street Maps (OSM) and one simple change was
to show OSM tiles on top of the current Google Maps functionality. This
hybrid use violates Google's terms and conditions though and I'm
reverting it here (basically reverting daa5b00a2 ).
Another branch of work was already started to use OSM without Google
functionality and it's available behind a feature toggle. We can
continue that work in our own time without a license violation. This
change is only changing the tiles, the look of the map and doesn't touch
any functionality which was always provided by Google Maps.
2021-02-16 14:30:24 +11:00
Andy Brett
560ad49057
unit tests for ProcessPaymentIntent
2021-02-15 18:09:07 -08:00
Andy Brett
05e762ff21
add controller specs for confirming payment intent
2021-02-15 17:09:38 -08:00
Çağrı Özkan
dee2095a13
Remove required star from on_hand field
2021-02-16 00:23:53 +03:00