Gaetan Craig-Riou
a934b60f67
Make sure shipping modal gets closed
...
Also check the modal is not showing instead of checking it's hidden
2026-01-13 14:34:50 +11:00
Gaetan Craig-Riou
39245d55e2
Turn defer off when loading javascript script
...
It seems that we have functionality that depends on the order the
scripts are executed. Using defer breaks that.
Using defer is better performance wise so we should try to address this
eventually, might need to wait till we get rid of angular.
2026-01-12 15:56:03 +11:00
Gaetan Craig-Riou
fe8200b7e8
Move babel config back to it's own file
...
It's need for jest to work properly.
2026-01-12 15:56:03 +11:00
Gaetan Craig-Riou
3676acf244
Fix font link
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
caf6b087c1
Clean up wepacker config
...
Disable overlayi, it covers the whole page as we have lots of warning
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
24d6c1e386
Remove support for IE 11
...
Stimulus doesn't support IE 11 : https://stimulus.hotwired.dev/handbook/installing#browser-support
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
a120e390d0
Remove added config, not needed anymore
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
98a2bf5d47
image_pack_path is now available from Shackapaker
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
bb0c1e7a0f
Quiet sass deprecations warning for dependencies
...
We are not planning to upgrade foundation-sites
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
55a15b914c
Upgrade to shakapacker 6.6.0
2026-01-06 14:31:44 +11:00
Gaetan Craig-Riou
8ce14a55c8
Fix dependencies version, and update config
...
Trying to stay as close as possible to the default config
2026-01-06 14:31:43 +11:00
Gaetan Craig-Riou
d1f47f6956
Rename bin scripts to match new name
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
2d50dace20
Move to shakapacker 6 and install dependencies
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
bbbbe71bc4
Remove deprecated ~prefix
...
https://github.com/webpack/sass-loader/blob/main/README.md#the-style-new-api-by-default-since-16-version-and-outputstyle-old-api-options-in-production-mode
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
b3dc76b8cf
Fix configuration and scss to get webpack to compile
...
Move the Postcss config hack to postcss.config.js
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
ad4b26e86d
Add missing dependency for asset compilation
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
c2a7a89381
Move extensions configuration to webpack.config.js
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
68e3623861
Use default babel config, set up on package.json
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
577aa55f98
Move browserlist settings to package.json
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
b8e62b3d84
Add coffeeScript dependency
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
dbb8e07b9a
Add Sass integration
...
We are still using the old `ruby-sass` because it's a dependency from
`rails-sass` which is a dependcy from `select2`. It looks like the
master branch on the ofn fork get rid of the dependency, so we should
upgrading.
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
19550ed4fe
Add postcss integration
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
4d0c710e3b
Add css integration
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
fccde70690
Upgrading to webpacker v6.0.0.rc.6
...
Migration guide : https://github.com/shakacode/shakapacker/blob/main/docs/v6_upgrade.md#how-to-upgrade-to-webpacker-v600rc6-from-v5
Setp 1,2,3,4
2026-01-06 14:31:25 +11:00
Gaetan Craig-Riou
98a25c1c7f
Merge pull request #13805 from openfoodfoundation/dependabot/bundler/newrelic_rpm-9.24.0
...
Bump newrelic_rpm from 9.23.0 to 9.24.0
2025-12-15 09:26:49 +11:00
Ahmed Ejaz
6b78f8b855
Merge pull request #13804 from rioug/13802-revert-enbling-variant-tag-no-inventory
...
[Inventory] display inventory link for user who manage enterprises with inventory and enterprises without inventory
v5.3.9
2025-12-13 01:13:34 +05:00
Ahmed Ejaz
1e2b28c559
Update all locales with the latest Transifex translations
2025-12-13 01:05:55 +05:00
dependabot[bot]
12b86a35af
Bump newrelic_rpm from 9.23.0 to 9.24.0
...
Bumps [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent ) from 9.23.0 to 9.24.0.
- [Release notes](https://github.com/newrelic/newrelic-ruby-agent/releases )
- [Changelog](https://github.com/newrelic/newrelic-ruby-agent/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/newrelic/newrelic-ruby-agent/compare/9.23.0...9.24.0 )
---
updated-dependencies:
- dependency-name: newrelic_rpm
dependency-version: 9.24.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-12 09:02:49 +00:00
Maikel
4577bde692
Merge pull request #13772 from mkllnk/dfc-webhook
...
Import farm data from LiteFarm
2025-12-12 16:59:30 +11:00
Maikel Linke
af6be02ba4
Fix social media import
2025-12-12 16:46:43 +11:00
Maikel Linke
0dabca583f
Set stronger secret password for managers
...
And avoid depending on Devise for this.
2025-12-12 15:17:57 +11:00
Maikel Linke
d7603755bf
Mark Litefarm farms as primary producers
2025-12-12 14:46:11 +11:00
Maikel Linke
f9d255a266
Continue on fail of Litefarm import
...
And report validation errors.
2025-12-12 14:03:37 +11:00
Gaetan Craig-Riou
bcf4507795
Only show hub with inventory enabled
2025-12-12 13:04:44 +11:00
Gaetan Craig-Riou
9967ba2d06
Allow managing inventory and variant tag at the same time
...
For users with enterprise with inventory and enterpises with variant
tag, allow access to the inventory page and display variant tag only for
the enterprises its enabled for.
2025-12-12 12:38:22 +11:00
Maikel Linke
f90f71cf68
Update real Litefarm data
2025-12-10 17:18:17 +11:00
Maikel Linke
fe8a0a908e
Import DFC country by name or ISO code
2025-12-10 17:17:51 +11:00
Maikel Linke
bf6176c883
Test failed image import
2025-12-10 16:24:54 +11:00
Maikel Linke
ffdfb7d450
Doc: explain when OIDC secrets are required
2025-12-10 16:24:54 +11:00
Maikel Linke
3aa4c2a25f
Import more fields from Litefarm
2025-12-10 16:24:54 +11:00
Maikel Linke
3331aaa382
Fetch data from URL provided by Litefarm
...
So we don't have to distinguish between staging and production. They
will provide the right URL.
2025-12-10 16:24:54 +11:00
Maikel Linke
b302dcfbec
Update existing enterprises
2025-12-10 16:24:54 +11:00
Maikel Linke
7dfc4d21ca
Record updated Litefarm data
2025-12-10 16:24:53 +11:00
Maikel Linke
f332a6934b
Move growing enterprise creation to own class
2025-12-10 16:24:53 +11:00
Maikel Linke
baad0135f9
Import enterprises and owners with minimal data
...
Still missing:
* Check for existing enterprises.
* Import all the available data.
2025-12-10 16:24:53 +11:00
Maikel Linke
1973e36634
Extract token and HTTP layer for re-use
...
Calling a webhook as a platform and fetching enterprise data will have
the same auth.
2025-12-10 16:24:53 +11:00
Maikel Linke
2e62531232
Authenticate only as platform to call webhooks
2025-12-10 16:24:53 +11:00
Maikel Linke
d811103a71
Add dummy webhook endpoint for LiteFarm
2025-12-10 16:24:53 +11:00
Gaetan Craig-Riou
f3efed7aeb
Merge pull request #13796 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.206.0
...
Bump aws-sdk-s3 from 1.205.0 to 1.206.0
2025-12-10 10:36:35 +11:00
dependabot[bot]
01278c3ee6
Bump aws-sdk-s3 from 1.205.0 to 1.206.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.205.0 to 1.206.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/commits )
---
updated-dependencies:
- dependency-name: aws-sdk-s3
dependency-version: 1.206.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-09 09:07:25 +00:00