Matt-Yorkley
4ed34bb942
Add javascript debug option to test suite
2020-09-18 21:20:47 +01:00
Jason Hsu
560577827f
Upgraded the bundler version in the Dockerfile to be consistent with that specified in Gemfile.lock
2020-09-18 15:07:44 -05:00
Andy Brett
b9ee945062
fix nomethod error by interpolating integer inside string
2020-09-18 10:10:27 -07:00
Andy Brett
dc7b9ed8fa
use sql query to update weight calculator prefs
2020-09-18 09:55:29 -07:00
Luis Ramos
9c1a7c13dc
Adding the russian language
2020-09-18 16:43:57 +01:00
Luis Ramos
fe7d7b54d1
Make version number 1.0.0 as we dont want to mantain the app version here and update AGPL to v3
2020-09-18 16:20:09 +01:00
Luis Ramos
2fae7e0df3
Use moment js min and locale files from node_modules
...
In this commit fil and nl-be are also added
We could use moment/min/locales.min.js but that would add all locales available in moment which would be a move in size from current 30k in moment locales to 300k
2020-09-18 16:18:24 +01:00
Luis Ramos
d4c4bcaa50
Make node_modules available for code in app/assets
2020-09-18 15:53:34 +01:00
Luis Ramos
5b3f700fb4
Move momentjs from a Gemfile dependeny to a package.jons dependency and upgrade it from 2.20.1 to 2.28.0
2020-09-18 15:29:38 +01:00
Luis Ramos
a872667912
Add yarn.lock after yarn was added in ofn-install and installed in all servers, every ofn deploy will run yarn install now
2020-09-18 15:28:43 +01:00
Transifex-Openfoodnetwork
9cb7275250
Updating translations for config/locales/ar.yml
2020-09-18 19:49:55 +10:00
Transifex-Openfoodnetwork
3bf98e295d
Updating translations for config/locales/en_FR.yml
2020-09-18 17:36:38 +10:00
Transifex-Openfoodnetwork
678e0be0a5
Updating translations for config/locales/fr.yml
2020-09-18 17:36:29 +10:00
Andy Brett
843f43eb78
delete cached per_kg preference for all weight calculators
2020-09-17 17:30:43 -07:00
Andy Brett
96fb65600e
refactor views to oneliners without single letter variable names
2020-09-17 16:45:55 -07:00
Andy Brett
fdb1019ee2
fix styles per rubocop
2020-09-17 16:41:49 -07:00
Andy Brett
0ef4dec15e
specs for product import using pounds and ounces
2020-09-17 09:34:22 -07:00
Andy Brett
bd25e8b40d
Revert "schema update"
...
This reverts commit 73149dc695 .
2020-09-17 08:46:03 -07:00
Andy Brett
66099239aa
add translation for calculator preferred unit error
2020-09-17 08:42:08 -07:00
Andy Brett
988abf7a8c
update preference field interface to be more clear
2020-09-17 08:27:45 -07:00
Transifex-Openfoodnetwork
880ef9cf4f
Updating translations for config/locales/es.yml
2020-09-18 01:01:34 +10:00
Transifex-Openfoodnetwork
095633f21e
Updating translations for config/locales/ca.yml
2020-09-18 00:59:40 +10:00
Pau Pérez Fabregat
3a894a1cdb
Merge pull request #6002 from openfoodfoundation/dependabot/bundler/unicorn-5.7.0
...
Bump unicorn from 5.6.0 to 5.7.0
v3.2.8
2020-09-17 16:57:16 +02:00
Transifex-Openfoodnetwork
ee862891c1
Updating translations for config/locales/en_FR.yml
2020-09-18 00:51:30 +10:00
Transifex-Openfoodnetwork
9dccb641c7
Updating translations for config/locales/fr.yml
2020-09-18 00:50:02 +10:00
Andy Brett
73149dc695
schema update
2020-09-17 07:36:38 -07:00
Andy Brett
977e4e46f3
remove explicit raise from convert_weight
2020-09-17 07:36:28 -07:00
Andy Brett
6466829bdc
fix typo in weight calculator migration
2020-09-17 07:17:25 -07:00
Andy Brett
d1a87f7ba0
add oz and lb as allowed units in product import
2020-09-17 06:34:07 -07:00
Luis Ramos
455111093d
Fix easy rubocop issues
2020-09-17 14:18:51 +01:00
Luis Ramos
ecdba1fa4e
For some reason the factory create(:admin_user) is not working here, this new version works
2020-09-17 14:18:51 +01:00
Luis Ramos
8234ad0906
Ensure test order cycle coordinator is really an enterprise not managed by the user instead of relying on the factory logic
2020-09-17 14:18:51 +01:00
Luis Ramos
60ef32300b
No need to test code with different ability setup, this was a good spec for spree, in ofn we use and test the static auth config in Ability
2020-09-17 14:18:51 +01:00
Luis Ramos
405b317726
Merge ability and ability decorator
2020-09-17 14:18:45 +01:00
Luis Ramos
22eac6200c
Add needed fake ability
2020-09-17 14:10:37 +01:00
Luis Ramos
32649cb25a
Transpec ability_spec
2020-09-17 14:10:37 +01:00
Luis Ramos
895ab62ba9
Bring ability helpers from spree_core and fix ability_spec
2020-09-17 14:10:37 +01:00
Luis Ramos
37c7d254e1
Fix rubocop issues
2020-09-17 14:10:37 +01:00
Luis Ramos
051ee0fd14
Run rubocop -a
2020-09-17 14:10:37 +01:00
Luis Ramos
c00c03737e
Bring user and ability related files from spree_core
2020-09-17 14:10:37 +01:00
Luis Ramos
a16dc4d720
Move ability decorator specs to specific file
2020-09-17 14:10:36 +01:00
Luis Ramos
4b597ada12
Fix easy rubocop issues
2020-09-17 14:06:51 +01:00
Luis Ramos
fe7cf0cf44
Remove reference to FactoryGirl
2020-09-17 14:06:51 +01:00
Luis Ramos
f81d4596aa
Use correct updater
2020-09-17 14:06:51 +01:00
Luis Ramos
e0d731b92b
Remove unused email validator
2020-09-17 14:06:51 +01:00
Luis Ramos
a5ff4d6853
Remove unneeded setup code and remove unnecessary reference to FactoryGirl
2020-09-17 14:06:51 +01:00
Luis Ramos
03419bbc35
Remove all and use find_each instead!
2020-09-17 14:06:51 +01:00
Luis Ramos
c49dbec85a
Adapt order_spec to new updater code
2020-09-17 14:06:51 +01:00
Luis Ramos
7884dbfeb1
Revert rubocop autocorrect, each is needed here for find_each is not available for Arrays
2020-09-17 14:06:51 +01:00
Luis Ramos
4215dcb927
Run transpec on the new specs from spree_core
2020-09-17 14:06:50 +01:00