Sigmund Petersen
f8c88ea8c7
Merge pull request #13859 from rioug/10298-upgrade-to-shakapaker_v8
...
Upgrade to shakapaker v8
2026-02-04 12:51:42 +01:00
Maikel
79af9efd29
Merge pull request #13857 from rioug/10298-remove-rails-sass
...
Remove rails-sass dependency
2026-02-04 09:55:29 +11:00
Rachel Arnould
b731f9b9e4
Merge pull request #12997 from wandji20/wb-OFN-12794-user
...
Remove Cable Ready responses from User related controllers
2026-02-03 15:51:11 +01:00
Gaetan Craig-Riou
cc9cb966b5
Fix images/font path
...
Now `additional_paths` are stripped like `source_path`
2026-01-26 14:54:48 +11: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
a0c23825b8
Top level dir is not stripped anymore for static assets
2026-01-23 16:23:14 +01:00
David Cook
1e2b8bad3f
Fix linter error
2026-01-22 12:32:12 +11:00
wandji20
d9453979b1
Small improvements
2026-01-22 12:06:56 +11:00
wandji20
3fd007fa3d
Handle user password with turbo stream
2026-01-22 12:06:56 +11:00
wandji20
e3431c7954
Handle user sessions with turbo stream
2026-01-22 12:06:56 +11:00
wandji20
9fa715c709
Handle user registration with turbo stream
2026-01-22 12:06:56 +11:00
Gaetan Craig-Riou
82f6484031
Add comment explaning why defer loading is disabled
2026-01-16 12:30:57 +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
3676acf244
Fix font link
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
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
Konrad
db3a8a6b30
Header: Improve logo, resizing and styles
...
Use the site's main logo instead of footer logo to allow for better contrast on gray background (dark text on gray instead of white text on gray)
The table's background color is defined in the parent table already
Limit the max width and max height of the logo and resize the logo accordingly instead of forcing it to squeeze into a fixed size
2025-04-01 18:11:13 +02:00
Ahmed Ejaz
216348d361
fix base urls for assets in development
2025-02-19 05:09:19 +05:00
wandji20
58872a7017
Include mail stylsheet tag in invoice pdf files and mailer layout [OFN-12214]
2024-08-13 18:23:18 +01:00
Gaetan Craig-Riou
d8876c40b8
Add invisible_captcha on the user registration page
...
The default action when a user submit the form too quickly is to
redirect to :back with flash error message. As we are using CableReady
it's not working for us, so I render_alert_timestamp_error_message
to show the error message to the user.
2024-01-23 16:30:12 +11:00
David Cook
435bf6e6b0
Print robots tag for registration layout
...
This is copied from the darkswarm layout.
2023-10-31 14:03:32 +11:00
Gaetan Craig-Riou
8face3d182
Merge pull request #11488 from macanudo527/fix_helperinstancevariable_2
...
Fix Rails/HelperInstanceVariable 2
2023-09-08 19:51:39 +10:00
Neal Chambers
b1e40ed605
Fix Rails/HelperInstanceVariable
2023-09-06 22:36:46 +09:00
Mohamed ABDELLANI
c689e2da8b
remove ToS link on mails if ToS file is not set
2023-08-22 11:33:04 +01:00
Matt-Yorkley
bf912ae4d3
Remove angular loading element in darkwarm layout
2023-06-13 17:35:13 +01:00
Jean-Baptiste Bellet
f7d06fe0e8
Do not display OFN banner on subscription confirmation email if white label
...
+ add specs that test for the presence of the footer logo which is in the header (I know it's a bit contradictory)
2023-05-17 11:34:35 +02:00
David Cook
57678b7566
Remove IE warning
...
It brings me great pleasure to remove this. I've been waiting my whole career: IE is finally gone!!
2023-01-27 12:45:46 +11:00
binarygit
ebe4a3d6ab
Add StimulusReflex
2022-09-29 16:03:45 +02:00
filipefurtad0
136a4df4d9
Removes matomo JS tracking code
2022-09-19 15:26:07 +01:00
Filipe
8270a3f386
Merge pull request #9513 from filipefurtad0/matomo_tag_on_register_page
...
Add matomo_tag to /register pages
2022-09-01 10:19:54 +01:00
filipefurtad0
232088f3a2
Adds the tag matomo code to the darkswarm template
2022-08-11 15:40:15 +01:00
filipefurtad0
66b9679a7c
Adds matomo_tag to /register pages template
2022-08-11 14:07:02 +01:00
filipefurtad0
42753d85c7
Creates new file for matomo tag code
2022-08-11 14:07:02 +01:00
filipefurtad0
3eca13e2bc
Renames general tracking code file; updates darkswarm
2022-08-11 14:07:02 +01:00
Jean-Baptiste Bellet
47c07831c1
Create an ErrorsController that handle errors thrown application
2022-08-08 15:36:23 +02:00
filipefurtad0
b20385db95
Moves matomo tag to upper position within head section
2022-07-20 09:38:37 +01:00
filipefurtad0
0a03c0a0fb
Adds js window element to container code
2022-07-19 19:29:02 +01:00
Maikel Linke
727eef3c4f
Replace Paperclippable ContentConfig
...
The old Paperclip configuration was very clever and easy to use but it
was also a complicated implementation building on the complicated Spree
preference system.
I simplified this with Active Storage, storing simple references to blob
ids and default URLs as backup.
2022-06-01 17:16:54 +10:00
Sebastian Castro
3b01c44eae
Reports: Improve Exports
...
Improve PDF style and encoding
Include header_row and summary_row, except for CSV and JSON
Style spreadsheets
Use only Xlsx no more Ods format
2022-05-12 16:54:14 +02:00
Sebastian Castro
213c0dd060
Packing Report: add price and reorder columns
...
Adds price column
last_name column first because it's used for ordering
2022-05-12 16:54:12 +02:00
Filipe
be1c255067
Merge pull request #8892 from Matt-Yorkley/spree-login-routes
...
Fix issue with unconfirmed email messages
2022-03-28 13:38:17 +01:00
Cillian O'Ruanaidh
21affa6250
Include language metatags in html template when more than one language available
...
Fixes #8902
This is to help Google find pages in all languages, see https://developers.google.com/search/docs/advanced/crawling/localized-versions
2022-02-25 12:49:49 +00:00
Matt-Yorkley
3effff8821
Show resent confirmation message in current tab
2022-02-18 09:42:49 +00:00
Matt-Yorkley
e72cc516a8
Drop spree prefix in path generation
2022-02-15 09:47:06 +00:00
Matt-Yorkley
0577b46f3f
Create simpler non-Angular login modal
2022-01-29 14:49:23 +00:00
Matt-Yorkley
ce9b64a848
Set Angular CSP
...
If you don't set this flag, Angular helpfully attempts to check if this is disabled by *triggering* a CSP violation just to see what happens... 🙈
2022-01-18 12:19:54 +00:00
Matt-Yorkley
1ff75ee642
Update preloaded font path
2021-12-27 17:45:06 +00:00
Matt-Yorkley
f2fc100b5f
Replace #image_path helper calls with #image_pack_path
2021-12-27 17:45:06 +00:00
Matt-Yorkley
90956c9d10
Switch mail CSS to Webpacker
2021-12-27 17:45:06 +00:00
Matt-Yorkley
8dfc30438b
Move CSS to Webpacker
2021-12-27 17:45:05 +00:00