Commit Graph
100 Commits
Author SHA1 Message Date
David Bolack 9e1910339b Centralize API.getBrew descended calls to splitTextStyleAndMetadata.
This does not address "static" pages nor change tests that called splitTextStyleAndMetadata in their own fashion.
2026-09-02 12:01:50 -05:00
David Bolack 3b60148315 Tempoararily drop coverage targets 2026-08-28 23:03:32 -05:00
David Bolack 8a31725361 Merge branch 'master' into hbfm 2026-08-25 13:14:53 -05:00
David Bolack 6c19afbf2b Rough working version 2026-08-25 12:49:22 -05:00
David Bolack 3d7daf406d Passes tests 2026-08-25 11:42:56 -05:00
David Bolack 002e03b572 Convert literal member copies to spread operators for simplicity and future-proofing 2026-08-21 11:59:38 -05:00
David Bolack bb449254b4 Merge branch 'master' into v4Metadata 2026-08-21 11:55:31 -05:00
David Bolack 02c227b304 Fix tests to reflect moving defaults 2026-08-07 22:10:08 -05:00
David Bolack ed2b246494 Change bleed to bleedSize 2026-08-07 10:52:14 -05:00
David Bolack 1472e39bc8 Reduce unnecessary linespacing and comments. 2026-07-17 20:19:16 -05:00
David Bolack 4f7c7e1c4b Remove extra failover values. 2026-07-17 20:15:06 -05:00
David Bolack 6d40525286 Remove relocate failover defaults to brewDefaults 2026-07-17 20:09:26 -05:00
David Bolack 7cc3611e4c Directly access metadata attributes instead of _.picking the object. 2026-07-17 20:01:29 -05:00
David Bolack 5f29adbd9b Merge branch 'master' into v4Metadata 2026-07-17 19:58:44 -05:00
David Bolack 25ba58ffa7 Circle ci does not alias a latest. Pin to 26.4.0 2026-07-05 17:58:43 -05:00
David Bolack 54968de248 move to 26 2026-07-05 17:45:54 -05:00
David Bolack 5a52b088ea Push everything to node 25 2026-07-05 17:40:11 -05:00
David Bolack f25c5a182d Fix Tests, YAML order 2026-07-04 15:24:01 -05:00
David Bolack ecc90b376e Merge branch 'master' into v4Metadata 2026-07-04 15:13:39 -05:00
David Bolack 1789c2361f Normalize config files for conatiners to 20.18 based on circleci testing. 2026-07-04 14:55:11 -05:00
David Bolack 1e2d76885f Missed references fixed 2026-06-27 16:08:07 -05:00
David Bolack f0dc66bf2b Bleed should follow safetySpace dimension names ( inner/outer vs left/right ) 2026-06-27 16:03:10 -05: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
David Bolack 6542451cbc Merge branch 'master' into v4Metadata 2026-05-18 22:05:14 -05: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
David Bolack 84fbf75f0c Merge branch 'master' into preloadVars 2026-05-18 21:50:32 -05:00
David Bolack ea9d114156 Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-05-18 21:25:05 -05:00
David Bolack f0b381417d Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-05-13 13:59:38 -05:00
David Bolack cf9276540c Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-04-25 13:24:38 -05:00
David Bolack 88c36fc287 Merge branch 'master' into preloadVars 2026-04-20 14:05:12 -05:00
David Bolack 7b1a7beedf Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-04-20 14:04:32 -05:00
David Bolack 55acb1dc60 CORRECTLY revert from testing against local marked-variables. 2026-04-20 14:00:42 -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 20556276ac Wah 2026-04-19 14:29:45 -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
David Bolack 2fe733cc06 Add test for custom page settings vs defaults and extended metadata
Tweak SplitMetadataAndText based on faulty assumptions for setting defaults.
2026-04-11 10:19:37 -05:00
David Bolack d3287b7cd7 Update defaults based on RPGNow POD
https://help.drivethrupartners.com/hc/en-us/articles/12780800178583-Quick-Specifications-for-Print-Books#h_01HP59NC7WJ9C84PEDSFM1WBR9
2026-04-11 09:46:16 -05:00
David Bolack 5f266d6734 Remove unneeded test value 2026-04-11 00:17:44 -05:00
David Bolack bda56d4f8d Update new meta data save, update tests 2026-04-11 00:15:06 -05:00
David Bolack 522b54838e Add metadata values to split in helpers. 2026-04-10 23:38:51 -05:00
David Bolack 52802063e4 Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-04-05 11:43:08 -05:00
David Bolack 73e32bea79 Revert S&E Error with is isGFM function 2026-04-05 09:12:53 -05:00
David Bolack 5e168b1867 Merge branch 'master' into HTMLDownload 2026-04-03 15:27:38 -05:00
David Bolack 893deac57e Fix CSS 2026-04-03 15:25:16 -05:00
David Bolack 5bbfc4e5cb Remove comment rubish 2026-04-03 15:17:43 -05:00
David Bolack c92c85749e Correct the path to Nodesto 2026-03-31 12:05:42 -05:00
David Bolack f9632955b0 Small fixes 2026-03-31 12:03:05 -05:00
David Bolack 62b908baf7 Merge branch 'master' into HTMLDownload 2026-03-29 11:59:01 -05:00
David Bolack 3f7cc4682b Override the .homebrew class background on the embed page per recommendation. 2026-03-29 11:57:21 -05:00
David Bolack edaff80bd3 Fixed! 2026-03-28 22:36:04 -05:00
David Bolack 0be91191aa a little better but WTF 2026-03-28 19:07:46 -05: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
David Bolack 8ad208600d Clear error in helpers? 2026-03-28 15:01:28 -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
David Bolack 0d26ed2a0f Merge branch 'master' into V4_Persistant_Templates 2026-02-27 16:25:17 -06:00
David Bolack 1f7662adb7 Merge branch 'master' into HTMLDownload 2026-02-27 09:59:13 -06:00
David Bolack 1742f810c9 Merge branch 'master' into V4_Persistant_Templates 2026-02-23 20:57:04 -06:00
David Bolack 1fa0a23459 Merge branch 'master' into codeMirror-skipExtraKeys 2026-02-22 10:46:26 -06:00
David Bolack 3d11ed92d4 Merge branch 'master' into moveSnippetImages 2026-02-22 10:36:16 -06:00
David Bolack 58a935e408 Merge branch 'master' into HTMLDownload 2026-02-22 10:29:33 -06:00
David Bolack 2e445e664b Merge branch 'master' into V4_Persistant_Templates 2026-02-22 10:18:27 -06:00
David Bolack 2791c2259b Rework HTML Download options to use a DOM snatch and grab
Still requires path manipulation.

Stubs the same for Zipfiles.
2026-02-08 19:48:57 -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
David Bolack fabd280efa Remove Inline HTML option 2026-02-06 17:04:32 -06:00
David Bolack 7a89f942fe Merge branch 'master' into HTMLDownload 2026-02-06 17:00:25 -06:00
David Bolack 371ba0a93f Merge branch 'master' into moveSnippetImages 2026-01-27 20:25:11 -06:00
David Bolack 1652922199 Update paths on licenses assets. 2026-01-27 20:21:51 -06:00
David Bolack e6df660522 Rename files 2026-01-27 20:06:51 -06:00
David Bolack 3c7d7339f0 Shift Template designation to much simpler and cleaner attribute 2026-01-20 22:33:41 -06: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
David Bolack 5faa12a79e Initial Commit
Adds menu items for "regular", zipped, and inline output.

Currently only displays inline output with *no* URL massaging ( all relative path references are still relative )

Displays, not downloads
2026-01-09 16:22:07 -06:00
David Bolack 56db2a73c2 Add True20 License and compatibility Logo 2025-12-29 16:06:44 -06:00
David Bolack 6b57dcf052 Wrapper functions 2025-12-29 13:24:31 -06:00
David Bolack c0c0984c5c Merge branch 'master' into codeMirror-skipExtraKeys 2025-12-29 12:41:44 -06:00
David Bolack 8fc4c946d7 Adjust paths to relative on relocated images. 2025-12-29 12:18:18 -06:00
David Bolack ab19097521 Move snippets examples from Imgur to assets 2025-12-29 11:44:15 -06:00
David Bolack d7e170fb9d Merge branch 'master' into codeMirror-skipExtraKeys 2025-12-13 20:08:44 -06:00
David Bolack bc41b9043d Remove circleci tests 2025-10-28 14:44:54 -05:00
David Bolack a0d288057f Add Docker Image build and Publish to workflow
Adds docker:build and docker:publish npm scripts
expects DOCKERID to contain the user/organization id for formatting the tag ( DOCKERID/hombrewery:version )

Add CircleCI test to ensure image still builds
2025-10-28 14:10:04 -05:00
David Bolack dd091b9bb2 Disable some codeEditor hotkeys if not in a gfm langauge editor.
This might not be the most elegant way to do this. I was not able to find, in quick searches, a method of adding/removing extraKeys outside of instantiation.
2025-10-28 12:32:53 -05:00
David Bolack 3ad8d98935 Merge branch 'master' into License_Add-GreenRonin 2025-10-23 16:58:58 -05:00
David Bolack 5f89585206 Temporarily remove licesnes I cannot find communications on:
Forged in the Dark
  StarForger's Guild
  Hall of Champions
2025-10-23 10:13:46 -05:00
David Bolack 25d8cb3c10 Add Icons Licenses and Logos 2025-10-23 10:11:49 -05:00
David Bolack b26e59fbbb Update copyright year 2025-10-23 09:19:25 -05:00
David Bolack b3599ac26a Add default sizing to GR Logos 2025-10-22 17:35:00 -05:00
David Bolack 1db21c4658 Remove Uncommitted images
remove unneeded lodash reference
2025-10-22 17:17:13 -05:00
David Bolack c0113d44ea Apply requested updates
Rename logofiles to a `Publisher-Name_License-Name_Logo-Identifier` format
Update file references
Remove unneeded lodash inclusions.
2025-10-22 17:13:59 -05:00
David Bolack 70051b84fd Add Green Ronin back
Rename Green Ronin Logos
2025-10-22 16:49:49 -05:00
David Bolack 3ca5fabb4f Small tweaks to Mongoose license presentation.
2300 AD -> 2300AD
CRS after each license
Twilight 2000 -> Twilight:2000
2025-10-21 15:49:13 -05:00
David Bolack 132a3de979 Add CR at end of snippet inserts, correct apostrophe on menu 2025-10-21 15:34:29 -05:00
David Bolack 435ef656a2 Fix snippets file. Not sure what went wrong there... 2025-10-18 10:58:47 -05:00
David Bolack 053d7bef6a Add Mongoose licenses back for initial work 2025-10-17 15:16:12 -05:00
David Bolack 807a938f01 Tweak Hero Kids, remove Mongoose file... for now. 2025-10-17 15:12:55 -05:00
David Bolack e22bdfad0e Merge branch 'master' into License_Snippets_Redux 2025-10-17 14:54:16 -05:00
David Bolack 7e4facb478 Remove greater than and less than from evaluation.
Use calc's more concise regex

Remove errant space.
2025-10-16 10:45:00 -05:00
David Bolack c9f1413a2d Merge branch 'master' into issue_4201 2025-10-16 10:34:26 -05:00