Maikel
a4a5586345
Merge pull request #9035 from openfoodfoundation/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-03-28 12:17:08 +11:00
Maikel Linke
742ae761a3
Move helper statement to controller
...
It's not available in concerns.
2022-03-28 11:34:37 +11:00
Maikel Linke
379eda7c41
Add feature toggle for API v1 use
...
Dev, test and staging need to activate the feature toggle now before
it's accessible.
2022-03-28 11:04:30 +11:00
Maikel Linke
3e00ab261e
Spec customer relationships on API
2022-03-28 11:04:30 +11:00
Maikel Linke
5063f377c3
Enable relationship inclusion for customers#show
...
This will allow us to include address records.
2022-03-28 11:04:30 +11:00
Maikel Linke
d789fb32e9
Make customer's address writable on API
2022-03-28 11:04:30 +11:00
Maikel Linke
51420934f3
Add billing and shipping address to customer
2022-03-28 10:58:18 +11:00
Maikel Linke
adc7e97e62
Add tag list to customer endpoint
2022-03-28 10:55:58 +11:00
Maikel Linke
e5e8953a09
Add ToS acceptance to customer endpoint
...
It's another read-only attribute.
Please note that JSON:API specifies a format of `date-time` which we
don't adhere to because it uses a `Z` in front of the timezone offset
which doesn't seem to be included in the default json serialisation.
So I didn't add the format and left it as simple `string`. Problem?
2022-03-28 10:55:58 +11:00
Maikel Linke
aa6e5ae799
Report useful error message in missing parameter
2022-03-28 10:55:57 +11:00
Maikel Linke
8d12c7a692
Permit more customer attributes for update
2022-03-28 10:55:57 +11:00
Maikel Linke
41746459fa
Restrict allow_charges attribute to read-only
...
We want people to use the UI to change this attribute.
2022-03-28 10:55:57 +11:00
Maikel Linke
3baed683b1
Add allow_charges attribute to customers endpoint
2022-03-28 10:55:57 +11:00
Transifex-Openfoodnetwork
5fb94dcb22
Updating translations for config/locales/en_US.yml
2022-03-28 01:54:20 +11:00
Matt-Yorkley
913a4560d1
Update all locales with the latest Transifex translations
v4.1.23
2022-03-25 19:57:51 +00:00
Matt-Yorkley
cc19dc7d03
Merge pull request #9020 from openfoodfoundation/transifex
...
Transifex
2022-03-25 19:55:05 +00:00
Matt-Yorkley
ad5c834342
Merge pull request #8995 from apricot12/7853-deprecation-warnings-1
...
7853 deprecation warnings 1
2022-03-25 19:54:06 +00:00
Jean-Baptiste Bellet
17989b2f90
Update tests as well around order cancellation on item deletion
...
js specs are not that easy to code (needs to spy callback...). Use system spec instead.
2022-03-25 11:52:08 +01:00
Jean-Baptiste Bellet
c9248f872d
Remplace window.confirm by ofnCancelOrderAlert
...
to prevent use that the order will be canceled
2022-03-25 11:28:10 +01:00
Jean-Baptiste Bellet
a71e95da27
ofnCancelOrderAlert can accept i18n key to customize message
2022-03-25 11:10:54 +01:00
Jean-Baptiste Bellet
b9efda9f64
Add custom confirm modal into the BOM interface
2022-03-25 10:58:33 +01:00
Transifex-Openfoodnetwork
4800abf324
Updating translations for config/locales/fr_CA.yml
2022-03-24 22:54:06 +11:00
Transifex-Openfoodnetwork
f73f3b17e1
Updating translations for config/locales/en_CA.yml
2022-03-24 22:49:05 +11:00
Sebastian Castro
66cdd56428
select2-light: make it looks like normal select
2022-03-24 10:44:18 +00:00
dependabot[bot]
d759409e38
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 08:46:20 +00:00
jibees
b9e18a1ec1
Merge pull request #9030 from openfoodfoundation/dependabot/npm_and_yarn/babel-loader-8.2.4
...
Bump babel-loader from 8.2.3 to 8.2.4
2022-03-24 09:19:42 +01:00
jibees
9a5318965c
Use as an helper
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-03-24 09:11:58 +01:00
Maikel
9230329343
Merge pull request #9003 from mkllnk/old-conf
...
Remove old config comments
2022-03-24 11:48:20 +11:00
dependabot[bot]
3901a18b72
Bump babel-loader from 8.2.3 to 8.2.4
...
Bumps [babel-loader](https://github.com/babel/babel-loader ) from 8.2.3 to 8.2.4.
- [Release notes](https://github.com/babel/babel-loader/releases )
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.3...v8.2.4 )
---
updated-dependencies:
- dependency-name: babel-loader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 09:11:17 +00:00
Cristian Bordei
4730bbdc36
[OFN-8459] Added missing translation for model name.
2022-03-23 09:57:57 +02:00
Sebastian Castro
9e55a306ee
select2-multiple: improve style
2022-03-22 16:32:29 +00:00
Transifex-Openfoodnetwork
2758097776
Updating translations for config/locales/ar.yml
2022-03-23 02:14:03 +11:00
Transifex-Openfoodnetwork
f5eb83c483
Updating translations for config/locales/en_FR.yml
2022-03-23 00:18:04 +11:00
Transifex-Openfoodnetwork
aafe7c90a8
Updating translations for config/locales/fr.yml
2022-03-23 00:17:35 +11:00
Transifex-Openfoodnetwork
64ba004e5d
Updating translations for config/locales/de_DE.yml
2022-03-23 00:13:57 +11:00
Filipe
6d0d57a4d2
Merge pull request #8960 from filipefurtad0/covers_default_addresses
...
Covers default billing address checkbox behavior
2022-03-22 09:10:42 +00:00
MrFuku
7c1a4d6791
Fix untranslated flash message
2022-03-22 17:53:57 +09:00
Maikel
877002afd8
Merge pull request #8891 from mkllnk/api-customers
...
Create API v1 with customers endpoint
2022-03-22 19:37:23 +11:00
Nihal Mohammed
cc120aecb6
Add radio buttons to give Enterprise choice on sorting of items by name or supplier in invoice
2022-03-21 20:29:19 +05:30
Nihal Mohammed
992cb9d920
Add invoice_order_by_supplier attribute to enterprise
2022-03-21 20:29:19 +05:30
Transifex-Openfoodnetwork
b9d3eef381
Updating translations for config/locales/en_GB.yml
2022-03-21 21:48:11 +11:00
jibees
532d566308
Merge pull request #9014 from openfoodfoundation/transifex
...
Transifex
v4.1.22
2022-03-21 09:32:27 +01:00
Transifex-Openfoodnetwork
eae8129435
Updating translations for config/locales/en_FR.yml
2022-03-19 02:50:56 +11:00
Transifex-Openfoodnetwork
ed0ed3240e
Updating translations for config/locales/fr.yml
2022-03-19 02:47:16 +11:00
Transifex-Openfoodnetwork
5d8cdc3246
Updating translations for config/locales/de_DE.yml
2022-03-19 01:36:44 +11:00
Transifex-Openfoodnetwork
27e31ae09d
Updating translations for config/locales/de_DE.yml
2022-03-19 01:36:01 +11:00
Transifex-Openfoodnetwork
f4ce08d39c
Updating translations for config/locales/de_DE.yml
2022-03-19 01:31:31 +11:00
Filipe
87c79a5941
Merge pull request #8294 from guidoDutra/8131-cancel-empty-orders-on-BOM-page
...
Cancel empty orders on BOM page
2022-03-18 11:24:26 +00:00
filipefurtad0
7bdf814d7d
Uses change helper to remove before block;
...
Adds a & - Safe Navigation Operator - to the customer object
2022-03-17 19:31:40 +00:00
Filipe
19270f1777
Merge pull request #8987 from jibees/8981-BOM-correct-value-for-current-and-max-fullfilled
...
BOM: correct max and current fulfilled units values
2022-03-17 18:15:59 +00:00