Gaetan Craig-Riou
31b8fe16cb
Merge pull request #13623 from deivid-rodriguez/follow-up-to-old-rename
...
Follow up to old ofnEmptiesCart to ofnChangeHub rename
2025-10-20 10:53:47 +11:00
Gaetan Craig-Riou
cbffea8d30
Merge pull request #13616 from openfoodfoundation/dependabot/bundler/state_machines-activerecord-0.31.0
...
Bump state_machines-activerecord from 0.9.0 to 0.31.0
2025-10-20 09:50:30 +11:00
filipefurtad0
7320fa3f09
Update all locales with the latest Transifex translations
v5.3.2
2025-10-17 10:17:14 +01:00
David Rodríguez
50578647ee
Follow up to old ofnEmptiesCart to ofnChangeHub rename
...
This happened back in 2015 through
9c9051498b , but two places were missed.
One was a code comment so did not affect anything (other than confused
code readers I guess?). The other one did create a regression but was
later fixed by 18d966f0de in 2021.
2025-10-16 12:56:17 +02:00
Rachel Arnould
c4c266246c
Merge pull request #13507 from rioug/tag-rules-remove-angular
...
[Variant Tags] Remove angular from tag rule admin page
2025-10-15 23:16:05 +02:00
dependabot[bot]
7f937fd4b1
Bump state_machines-activerecord from 0.9.0 to 0.31.0
...
Bumps [state_machines-activerecord](https://github.com/state-machines/state_machines-activerecord ) from 0.9.0 to 0.31.0.
- [Release notes](https://github.com/state-machines/state_machines-activerecord/releases )
- [Changelog](https://github.com/state-machines/state_machines-activerecord/blob/master/CHANGELOG.md )
- [Commits](https://github.com/state-machines/state_machines-activerecord/compare/v0.9.0...state_machines-activerecord/v0.31.0 )
---
updated-dependencies:
- dependency-name: state_machines-activerecord
dependency-version: 0.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-15 09:02:41 +00:00
Gaetan Craig-Riou
b4a64185dd
Merge pull request #13576 from dacook/test-log-level
...
Add env var option for test log level
2025-10-15 13:40:23 +11:00
Gaetan Craig-Riou
a905acb56e
Merge pull request #13601 from openfoodfoundation/dependabot/bundler/redis-5.4.1
...
Bump redis from 5.2.0 to 5.4.1
2025-10-15 13:22:37 +11:00
Ahmed Ejaz
067fa80d0f
Merge pull request #13458 from rioug/docker-upgrade-postgres
...
Docker upgrade postgres
2025-10-15 02:24:16 +05:00
dependabot[bot]
980cc9c724
Bump redis from 5.2.0 to 5.4.1
...
Bumps [redis](https://github.com/redis/redis-rb ) from 5.2.0 to 5.4.1.
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/redis-rb/compare/v5.2.0...v5.4.1 )
---
updated-dependencies:
- dependency-name: redis
dependency-version: 5.4.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-14 09:01:55 +00:00
Maikel
49d345e608
Merge pull request #13597 from deivid-rodriguez/fix-rspec-warning
...
Fix RSpec warning when running `Reporting::ReportRenderer.render_as` unit spec
2025-10-14 14:02:42 +11:00
David Cook
12a6f9ac40
Merge pull request #13593 from openfoodfoundation/dependabot/bundler/flipper-1.3.6
...
Bump flipper from 1.3.0 to 1.3.6
2025-10-14 14:02:01 +11:00
Maikel
7d4efe75c3
Merge pull request #13596 from deivid-rodriguez/upgrade-caniuse-lite-to-fix-webpack-warnings
...
Update caniuse-lite to fix `bin/webpack-dev-server` warnings
2025-10-14 14:01:39 +11:00
Maikel
2cd41f3b8f
Merge pull request #13595 from deivid-rodriguez/migrate-old-rspec-syntax
...
Use supported RSpec syntax
2025-10-14 13:52:40 +11:00
Maikel
436d919fc3
Merge pull request #13594 from deivid-rodriguez/typo
...
Fix typo in getting started guide
2025-10-14 13:51:43 +11:00
Maikel Linke
7a12e7426f
Pass actors instead of AR associations to Flipper
...
Apparently they removed support for checking collections of actors.
2025-10-14 13:32:51 +11:00
David Cook
bd58969fb5
Reduce test logging by default
...
These logs are rarely checked, and can take up a lot of disk space.
I wanted to reduce the dev log level too, but then realised it also affects the dev server stdout. So now the other suggestions seem like a good idea.. (eg link development.log to /dev/null)
Oh well, this change will at least reduce one source of unnecessary disk usage in a default installation, so I think worth doing.
2025-10-14 12:30:36 +11:00
David Cook
0a385cc67c
Use same variable name as prod, staging and test
2025-10-14 12:07:12 +11:00
David Cook
be5a630b9d
[fixup] shorter variable name
2025-10-14 12:06:14 +11:00
David Rodríguez
98889365f1
Fix RSpec warning when running Reporting::ReportRenderer.render_as unit spec
...
Before:
```
$ bundle exec rspec -e ".render_as"
(...)
Run options: include {:full_description=>/\.render_as/}
WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<ActionController::BadRequest: report_format should be in [:csv, :json, :html, :xlsx, :pdf]>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /path/to/spec/lib/reports/report_renderer_spec.rb:34:in `block (3 levels) in <main>'.
.
Finished in 0.02544 seconds (files took 4.08 seconds to load)
1 example, 0 failures
```
After this patch:
```
$ bundle exec rspec -e ".render_as"
(...)
Run options: include {:full_description=>/\.render_as/}
.
Finished in 0.02488 seconds (files took 4.09 seconds to load)
1 example, 0 failures
```
2025-10-13 20:46:15 +02:00
David Rodríguez
9227660faf
Update caniuse-lite to fix bin/webpack-dev-server warnings
...
This is the result of running:
$ npx update-browserslist-db@latest
And fixes warnings like
> Browserslist: caniuse-lite is outdated. Please run:
> npx update-browserslist-db@latest
> Why you should do it regularly: https://github.com/browserslist/update-db#readme
when running `bin/webpack-dev-server`.
2025-10-13 20:27:22 +02:00
David Rodríguez
bdafc1ff02
Use supported RSpec syntax
...
This spec was using a very old syntax no longer supported by RSpec. It's
not currently influencing specs result because the spec running into
the error is currently set as "pending". However, the spec is still run
and the error is still visible.
Fixing the syntax does not fix the spec, but lets it get a bit further.
2025-10-13 16:05:59 +02:00
David Rodríguez
9457b0505d
Fix typo in getting started guide
2025-10-13 15:54:43 +02:00
dependabot[bot]
755116e713
Bump flipper from 1.3.0 to 1.3.6
...
Bumps [flipper](https://github.com/flippercloud/flipper ) from 1.3.0 to 1.3.6.
- [Release notes](https://github.com/flippercloud/flipper/releases )
- [Changelog](https://github.com/flippercloud/flipper/blob/main/Changelog.md )
- [Commits](https://github.com/flippercloud/flipper/compare/v1.3.0...v1.3.6 )
---
updated-dependencies:
- dependency-name: flipper
dependency-version: 1.3.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-13 09:20:50 +00:00
David Cook
4852ee2c6e
Merge pull request #13587 from mkllnk/json-response
...
Clean up request specs testing JSON
2025-10-13 14:24:26 +11:00
Maikel
9ba215316b
Merge pull request #13513 from mkllnk/add-cqcm-staging-server
...
Add CQCM staging server to platforms to share data with
2025-10-13 13:42:12 +11:00
Maikel
084f7a8a47
Merge pull request #13590 from openfoodfoundation/dependabot/bundler/newrelic_rpm-9.22.0
...
Bump newrelic_rpm from 9.9.0 to 9.22.0
2025-10-13 10:05:50 +11:00
Gaetan Craig-Riou
7c60dfb75c
Merge pull request #13591 from openfoodfoundation/dependabot/bundler/rack-2.2.20
...
Bump rack from 2.2.19 to 2.2.20
2025-10-13 09:55:05 +11:00
dependabot[bot]
e2410105ce
Bump rack from 2.2.19 to 2.2.20
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.19 to 2.2.20.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/v2.2.19...v2.2.20 )
---
updated-dependencies:
- dependency-name: rack
dependency-version: 2.2.20
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-10 18:59:10 +00:00
dependabot[bot]
8b0207f4b1
Bump newrelic_rpm from 9.9.0 to 9.22.0
...
Bumps [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent ) from 9.9.0 to 9.22.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.9.0...9.22.0 )
---
updated-dependencies:
- dependency-name: newrelic_rpm
dependency-version: 9.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-10 09:02:15 +00:00
Maikel Linke
d3319cfd69
Replace global spec helpers with faster let
2025-10-10 16:44:50 +11:00
Maikel Linke
378b5e656e
Use already parsed JSON in specs
...
Existing helpers provide indifferent access already.
2025-10-10 16:44:08 +11:00
Maikel Linke
b2da57b496
Publish supplier of catalog item
2025-10-10 16:18:22 +11:00
Maikel Linke
c6a34cfe34
Move catalog_item builder into the right module
2025-10-10 16:18:22 +11:00
Maikel Linke
591a279927
DRY controller
2025-10-10 16:18:22 +11:00
Maikel Linke
86774b3e4e
Tell data proxy the enterprise to update
2025-10-10 16:18:22 +11:00
Maikel Linke
2761cee5e6
Publish coordinates of addresses
2025-10-10 16:18:22 +11:00
Maikel Linke
9460d17417
Publish DFC endpoints as JSON
2025-10-10 16:18:22 +11:00
Maikel Linke
404c07a590
Spec DFC endpoint configuration
...
It looks like puma finds the file only under `/.well-known/dfc` and not
`/.well-known/dfc/` with a slash in staging environment while it works
here in dev and test.
And in any case, just placing the file in `public/` doesn't produce the
right content type.
2025-10-10 16:18:22 +11:00
Maikel Linke
f2f0d954c6
Move source of truth of platforms into one place
...
The first test tokens had an inconsistent client_id and I had to
introduce multiple mappings to get the right config. But that has been
harmonised and we can put the config in one place.
2025-10-10 16:18:22 +11:00
Maikel Linke
1028d42e35
Update test token for new dev client id
2025-10-10 16:18:22 +11:00
Maikel Linke
91ad63d1ed
Use test token as source of truth for validity
2025-10-10 16:18:22 +11:00
Maikel Linke
2780ae78f7
Add CQCM production servers
2025-10-10 16:18:21 +11:00
Maikel Linke
bf661159c6
Notify data proxy of permission changes
2025-10-10 16:18:21 +11:00
Maikel Linke
ad78ef14ef
Automate replacement of generated image URLs in Swagger doc
2025-10-10 16:18:21 +11:00
Maikel Linke
c7efa43cdb
Add well-known config for SiB directory proxy
2025-10-10 16:18:21 +11:00
Maikel Linke
df6e553661
Add SuppliedProducts index endpoint
2025-10-10 16:18:21 +11:00
Maikel Linke
4d59343f6c
List enterprises on DFC API
2025-10-10 16:18:21 +11:00
Maikel Linke
44d29e98e0
Fix publishing all enterprises when listing catalog
2025-10-10 16:18:21 +11:00
Maikel Linke
06c27d6aaf
Spec current publish of catalog of all enterprises
2025-10-10 16:18:21 +11:00