0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 06:47:38 +00:00
Commit Graph

376 Commits

Author SHA1 Message Date
durstann 8c77da246c Don't add lang tag to iframe content. It's not strictly necessary since the brew content will set it's own language later in the DOM. 2026-06-19 14:38:49 -07:00
durstann 487d7956e9 Accessibility: Add lang and title to the brew render iframe. 2026-06-18 12:58:11 -07:00
David Bolack 36ae3734fb Merge branch 'master' into V4_Persistant_Templates
Change enable_v4 to enableV4 to shut up linter.
2026-05-29 21:06:55 -05:00
Víctor Losada Hernández 305a668799 Merge branch 'master' into Open-Sans---Installed-vs-Google-Fonts 2026-05-22 22:48:16 +02:00
David Bolack dff93002d0 Clarify Regex behavior
Add short circuit so the full hoisting only happens on brew load rather than every parse.
Remove stray CR in unrelated file.
2026-05-18 21:59:56 -05:00
Gazook89 e34c5f9b32 Add font files, remove google fonts references
Adds a `shared/naturalcrit/styles/fonts` directory, and Open Sans font files for the 4 weights we were pulling from Google Fonts.
2026-04-30 22:28:04 -05:00
David Bolack 88c36fc287 Merge branch 'master' into preloadVars 2026-04-20 14:05:12 -05:00
David Bolack 59cdfcb19e Rework "force" to attempt to find variable references and only force those pages 2026-04-19 14:34:30 -05:00
David Bolack 2a997404e3 A plausible fix for the hoisting issue
I don't know if it's the *best* fix.
2026-04-19 14:24:27 -05:00
Trevor Buckner ef207c3936 Fix "onbeforeunload not a function"
should be window.onbeforeunload = xyz. However in this case, it's not needed anyway since we are only adding the event listener once on page load, which already gets cleared when you reload the page.
2026-04-19 15:18:31 -04:00
G.Ambatte be2484d807 Switch to HashChange event listener 2026-04-13 18:12:28 +12:00
G.Ambatte 86f8898ee4 Check if Navigation API exists, use setInterval if not 2026-04-12 18:24:41 +12:00
G.Ambatte 01a9950d7c Remove unnecessary console.log 2026-04-05 21:41:39 +12:00
G.Ambatte af98694e48 Experimental fix for broken internal document links 2026-04-05 21:16:23 +12:00
Trevor Buckner 67b4d3b760 Revert "Embed Endpoint" 2026-04-04 21:15:57 -04:00
David Bolack 16bfffe78f I need extra eyes. 2026-03-28 18:29:15 -05:00
David Bolack e61556e43b I feel like there is a cleaner way to handle this, but this embeds as desired and it doesn't blink 2026-03-28 15:24:49 -05:00
db ca160d7d83 Start adding new class 2026-03-28 13:44:43 -05:00
David Bolack a1d56fe5d3 WIP 2026-03-19 19:35:05 -05:00
David Bolack fe0f0c56af Merge branch 'master' into HTMLDownload 2026-03-16 10:39:14 -05:00
David Bolack 33edc9600a Enable use of enable_v4 config variable 2026-02-27 16:51:46 -06:00
Víctor Losada Hernández c096014871 shared folder (for markdown.js and helpers 2026-02-25 18:40:50 +01:00
Víctor Losada Hernández 1d98ec9704 Revert "this doesn't seem to be needed, lets try"
This reverts commit 43ac4f0e0e.
2026-02-24 22:52:30 +01:00
Víctor Losada Hernández 43ac4f0e0e this doesn't seem to be needed, lets try 2026-02-24 22:40:14 +01:00
David Bolack 2e445e664b Merge branch 'master' into V4_Persistant_Templates 2026-02-22 10:18:27 -06:00
David Bolack f16c8b7663 Add /embed endpoint
This duplicates the share endpoint. It uses the Share Page template
with a boolean for share vs embed to toggle displaying the navbar
and toolbar.

Added a showToolbar property to brewRender to toggle... showing
the toolbar.
2026-02-06 18:01:53 -06:00
Víctor Losada Hernández 34e3c67254 remove log 2026-02-03 22:54:20 +01:00
Víctor Losada Hernández b936546392 import all correct css in the frame 2026-02-02 12:07:12 +01:00
Víctor Losada Hernández 3f26e0fcbc fix import again 2026-02-02 11:41:04 +01:00
Víctor Losada Hernández f6011b63db fix brewrenderer less toolbar 2026-02-02 11:37:47 +01:00
Víctor Losada Hernández 2534f23c24 fixing css 2026-02-02 00:04:23 +01:00
Víctor Losada Hernández b5598ac423 trying to get this to work 2026-02-01 20:37:09 +01:00
Víctor Losada Hernández 3e76046868 Revert "renamed client to src"
This reverts commit c28736bd01.
2026-02-01 17:36:53 +01:00
Víctor Losada Hernández c28736bd01 renamed client to src 2026-02-01 17:34:50 +01:00
Víctor Losada Hernández 2813ff8972 fix two imports 2026-01-30 12:44:53 +01:00
Víctor Losada Hernández 4e6c3add5b change imports 2026-01-24 01:10:51 +01:00
Víctor Losada Hernández 852510c93a more imports 2026-01-24 00:49:37 +01:00
Víctor Losada Hernández 3c3d29739a Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-01-24 00:39:57 +01:00
Víctor Losada Hernández 9d03385a13 change imports 2026-01-24 00:29:15 +01:00
Víctor Losada Hernández 2f19b7658c dedent-tabs to dedent 2026-01-23 19:10:56 +01:00
Víctor Losada Hernández d6b763e62d update import paths 2026-01-23 18:44:51 +01:00
Víctor Losada Hernández dbeff56ffa change legacy snippets to use named exports and move from dedent-tabs to dedent 2026-01-23 17:38:16 +01:00
Víctor Losada Hernández b72e5b9172 fix file imports 2026-01-23 17:18:03 +01:00
David Bolack 3c7d7339f0 Shift Template designation to much simpler and cleaner attribute 2026-01-20 22:33:41 -06:00
Víctor Losada Hernández fc8656e05b all imports 2026-01-20 22:14:34 +01:00
Víctor Losada Hernández 0d6c3c7e33 fix module.exports 2026-01-20 19:56:37 +01:00
David Bolack 153fa3abb5 Replace page instead of inserting after it. 2026-01-20 00:34:41 -06:00
David Bolack 3b89bba93c Template class persistence. 2026-01-20 00:24:40 -06:00
Trevor Buckner af348e7b2c Merge branch 'master' into move-markdown.js 2025-11-08 21:47:02 -05:00
Gazook89 c5aa774daa Move markdown.js and markdownlegacy.js
Moves the two files up a level, directly in `/shared/`.  Everything else is just updating paths for that.
2025-11-04 22:29:28 -06:00