François Turbelin
b21224d5ff
Allow s3-compatible provider for db2fog configuration
2026-02-11 13:35:22 +01:00
Gaetan Craig-Riou
9a90e46b78
Move mail css back to be managed by wepack
...
It wil allow us to remove dependency on `rails-sass`, and `sass` which
are not maintained anymore.
More or less revert this PR: https://github.com/openfoodfoundation/openfoodnetwork/pull/12743
2026-01-26 14:50:31 +11:00
Gaetan Craig-Riou
dd5db396b4
Merge pull request #13828 from rioug/10298-upgrade-to-shakapaker
...
Upgrade to shakapaker
2026-01-21 16:17:50 +11:00
Maikel
a69528c432
Merge pull request #13803 from pacodelaluna/add-cloud-storage-configuration-for-s3-compatible-alternatives
...
Add a new cloud storage configuration for s3-compatible alternatives
2026-01-09 12:03:08 +11:00
Maikel
9dfecde6a7
Merge pull request #13765 from rioug/variant-tag-clean-old-flipper-groups
...
[Variant tags] Remove flipper groups that are not used anymore
2026-01-09 12:01:08 +11:00
Filipe
c73f28b434
Merge pull request #13815 from mkllnk/secrets
...
Replace deprecated Rails secrets with credentials
2026-01-08 18:46:33 +00:00
François Turbelin
cab4b2fb28
Add a new cloud storage configuration for s3-compatible alternatives
2026-01-08 13:08:09 +00:00
Filipe
d0f48687e2
Merge pull request #13777 from rioug/13481-webhook-payment
...
Payment status change webhook
2026-01-08 11:26:41 +00:00
Gaetan Craig-Riou
98a2bf5d47
image_pack_path is now available from Shackapaker
2026-01-06 14:31:44 +11:00
Maikel Linke
e91fab5702
Remove legacy config for secret key
2025-12-19 14:22:25 +11:00
Maikel Linke
e09853af0c
Replace deprecated Rails secrets
...
Use new credentials interface.
2025-12-19 13:28:05 +11:00
Filipe
caf2ff9bb4
Merge pull request #13752 from deivid-rodriguez/always_generate_button_tags
...
Always generate `<button>` tags, rather than `<input>` of type "button"
2025-12-15 18:46:38 +00: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
Gaetan Craig-Riou
7f961d90c2
Enable active_job.use_big_decimal_serializer
...
It prevents the following deprecation warning:
DEPRECATION WARNING: Primitive serialization of BigDecimal job arguments is deprecated as it may serialize via .to_s using certain queue adapters.
Enable config.active_job.use_big_decimal_serializer to use BigDecimalSerializer instead, which will be mandatory in Rails 7.2.
2025-12-10 10:28:11 +11:00
Gaetan Craig-Riou
7a72121b1b
Remove flipper groups that are not used anymore
2025-12-10 10:25:33 +11:00
Filipe
20107986a6
Merge pull request #13725 from rioug/13642-disable-inventory-not-using
...
[Variant Tags] Enable variant tag for enterprise with no inventory
2025-12-08 20:38:14 +00:00
Gaetan Craig-Riou
172647f1cd
Rework group to enable variant tag and inventory
...
To make it easier to manage, enterprises with no inventory will have
variant tag enabled, and enterprises with inventory will have inventory
enabled.
Add migration to disable old group and enabled new group
2025-11-26 13:29:40 +11:00
David Rodríguez
e32dcd53b5
Pass media attribute explicitly to stylesheet link tags
...
So that we can enable Rails default behavior for potential future such link
tags without changing current behavior.
2025-11-25 08:08:59 +01:00
David Rodríguez
c05532c166
Always generate <button> tags, rather than <input> of type "button"
2025-11-24 12:11:03 +01:00
Gaetan Craig-Riou
6ae47c208a
Per review, don't use one line rescue
...
One line rescue will rescue any exception and doesn't allow for rescuing
specific exception: https://thoughtbot.com/blog/don-t-inline-rescue-in-ruby
2025-11-24 13:47:32 +11:00
Gaetan Craig-Riou
bb0903cd4a
Fix rubocop issue
...
And revert the autoformating of short hand rescue
2025-11-21 16:15:47 +11:00
Gaetan Craig-Riou
e93cb485a1
Per review, use exists? so we run only one query
2025-11-21 16:07:46 +11:00
Gaetan Craig-Riou
7d20eb4fea
Add group to enable variant tag for old enterprise
...
It will allow enterprises with inventory enabled but which are not using
the inventory to have variant tag enable.
2025-11-18 13:56:46 +11:00
Gaetan Craig-Riou
0745028c06
Fix checking if variant tag is enabled
...
variant_tag feature check should happen per enterprise basis, but we
still want super admin to so see variant tag. To do so we check if the
user is amdin or if any of the current user enterprise has variant tag
enable.
2025-11-10 11:14:56 +11:00
David Rodríguez
a75ea5b506
Upgrade cache format version
...
It's supposed to be faster and more compact, and the previous format
will become unsupported in Rails 7.2 as per Rails boot warnings:
> DEPRECATION WARNING: Support for `config.active_support.cache_format_version = 6.1` has been deprecated and will be removed in Rails 7.2.
>
> Check the Rails upgrade guide at https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#new-activesupport-cache-serialization-format
> for more information on how to upgrade.
> (called from <main> at /path/to/config/environment.rb:5)
2025-10-15 12:17:03 +02:00
Maikel Linke
78fdaa68c8
Update config files with Rails 7.1 templates
2025-08-12 20:24:16 +10:00
Maikel Linke
e8813833fa
Add Rails 7.1 framework defaults template
2025-08-12 15:43:45 +10:00
Maikel Linke
a5f44cb9b2
Update inflection config to Rails 7.0 template
2025-08-12 12:49:06 +10:00
Maikel Linke
97d21d8cbe
Update parameter filtering to Rails 7.0 template
2025-08-12 12:45:48 +10:00
Maikel Linke
7afdd13b64
Update CSP config with Rails 7.0 template
2025-08-12 12:41:24 +10:00
Maikel Linke
54c446f0a3
Update asset config to Rails 7.0 templates
2025-08-12 12:30:30 +10:00
Maikel Linke
18b83d2423
Add Rails 7.0 framework defaults templates
2025-08-12 10:42:37 +10:00
David Cook
b8546db1e5
Update date for 11th Aug
2025-07-28 11:43:31 +10:00
Maikel Linke
45a0705379
Disable inventory only for future enterprises
2025-07-24 13:00:14 +10:00
Gaetan Craig-Riou
b28e30cb6c
Inventory is disabled by default
...
It will be enabled on release for existing Enterprises, we can use the
added group "enterprise_created_before_2025_07_04" to do so.
2025-07-09 11:35:27 +10:00
Gaetan Craig-Riou
ba4b241240
Add link to where the patch came from
2025-05-05 14:54:55 +10:00
Gaetan Craig-Riou
3bb0176887
Set up variant tags as searchable
2025-05-05 14:54:54 +10:00
piyush828-design
3202d0ea81
fixed test failure
2025-04-16 18:24:32 +05:30
piyush828-design
da5cef26db
upgraded pagy to latest version
2025-04-16 17:46:31 +05:30
Maikel Linke
007154ef28
Notify Bugsnag on deprecations in staging & production
...
The behaviour was set to `notify` already but we were missing a
notification handler. Now we'll get alerted about deprecations which
were not covered by specs.
2025-03-28 17:01:26 +11:00
Maikel Linke
b23eac1004
Omit setting Bugsnag release stage to default value
2025-02-11 14:59:01 +11:00
Maikel Linke
c90472ebf9
Update Bugsnag config naming
2025-02-11 14:57:46 +11:00
Maikel Linke
b50e711757
Add deployed version to Bugsnag
2025-02-11 13:32:51 +11:00
David Cook
a0833af780
Log rack-timeout ready and completed messages in DEBUG mode
...
Instead of default INFO, because it pollutes the logs unnecessarily.
Error messages will still be logged the same as before.
2025-01-30 10:20:58 +11:00
Maikel Linke
1e13005fb5
Enable Bugsnag testing in any Rails env with ENV var
2024-11-21 15:28:19 +11:00
Maikel Linke
7b8aeb7ef8
Request offline access when connecting OIDC account
2024-10-18 09:39:49 +11:00
Rachel Arnould
f54552f939
Merge pull request #12886 from rioug/12855-VINE-connected-app
...
[Citi OFN Voucher] Add VINE connected app
2024-10-14 15:32:09 +02:00
Gaetan Craig-Riou
b14a1e72f3
Handle api secret
...
The VINE Api require a secret and an API key to be used. The secret is
used to sign the request. The secret is linked to the API key so we need
to store it along side the key.
2024-10-07 15:09:58 +11:00
Gaetan Craig-Riou
22428fc78d
ConnectedApps controller, handle ConnectedApps::Vine
...
Add logiv to connect and disconnect VINE API plus spec
2024-10-02 16:44:27 +10:00
Cillian O'Ruanaidh
f474afaceb
Merge in latest :master and resolve conflict in app/models/enterprise.rb
2024-09-27 10:11:26 +01:00