Commit Graph
96 Commits
Author SHA1 Message Date
David Bolack c1315b3512 Update Download endpoint to export four shapes of Markdown files
Restructures PDF download into an Export menu containing the PDF export and 4 Markdown Options
Slightly tweaks tests
Effectively moves the api.mergeBrewText to helpers. I think this makes more sense.
Changes the download extension from txt to 'md`.
The Commonmark, TOML, and JSON exports are the same with the frontmatter in a slightly different shape. These were selected based on lightweight research into Markdown Frontmatter.

If specific formats - such as Obsidian - are different enough in terms of formatting the frontmatter or desired metadata content, this is fairly easy
2026-10-13 12:34:51 -05:00
Víctor Losada Hernández 8a372c1454 lint js 2026-09-28 17:34:12 +02: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
Víctor Losada Hernández 2a6e77731b Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-remove-author-if-owner 2026-07-26 00:22:32 +02:00
David Bolack f25c5a182d Fix Tests, YAML order 2026-07-04 15:24:01 -05:00
David Bolack 1e2d76885f Missed references fixed 2026-06-27 16:08:07 -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
Víctor Losada Hernández c3b46270cd fix tests 2026-03-07 15:29:35 +01:00
Víctor Losada Hernández 2bcd317a4c reworked to be simpler 2025-07-23 19:52:05 +02:00
Víctor Losada Hernández 0ddca82c86 reorder one test 2025-07-18 16:43:49 +02:00
Víctor Losada Hernández 625d30f3a8 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-remove-author-if-owner 2025-07-18 16:19:42 +02:00
G.Ambatte 828208aadb Add more ID validation test cases 2025-07-15 08:19:05 +12:00
G.Ambatte 2fbcc84a50 Merge branch 'master' into experimentalIDValidations 2025-07-14 14:50:05 +12:00
G.Ambatte 90ee08de42 Add text property to test object 2025-07-14 11:06:35 +12:00
G.Ambatte a7a8803e9d Merge branch 'master' into experimentalIDValidations 2025-07-13 20:52:52 +12:00
Trevor Buckner 45689d119e Comment out one failing test
Patch failure test is no longer being thrown while we monitor in the background
2025-07-10 11:18:39 -04:00
G.Ambatte 7f3a818558 Add Homebrew API coverage tests 2025-07-10 23:25:57 +12:00
G.Ambatte 1794e96d50 Update tests 2025-07-10 20:46:01 +12:00
Víctor Losada Hernández 4ec6ea0f84 fix them? 2025-05-24 22:43:06 +02:00
Víctor Losada Hernández a7f8ff5212 fix the damn thing 2025-05-24 22:35:29 +02:00
Víctor Losada Hernández 215abbf2f7 fix test 2025-05-24 22:31:11 +02:00
Víctor Losada Hernández c005d4d387 change test name 2025-05-24 22:29:10 +02:00
Víctor Losada Hernández 3c46312929 end tests? 2025-05-24 22:14:28 +02:00
Víctor Losada Hernández 55850f6d3c star tests 2025-05-20 11:39:22 +02:00
Víctor Losada Hernández 9c1a0fd798 Merge branch 'master' into addLockRoutes-#3326 2025-04-10 13:46:15 +02:00
G.Ambatte 73bb6acc14 Update locked brew test for new structure 2025-04-10 10:21:35 +12:00
David Bolack ab6c1ae402 Merge branch 'master' into localSnippetEditor 2025-03-14 17:44:32 -05:00
Trevor Buckner ed30a1cd7d Update other tests to pass 2025-02-13 16:20:59 -05:00
Trevor Buckner 94f478477d Add test for missing meta:theme tag 2025-02-13 16:20:50 -05:00
David Bolack 94a431eec8 Update tests. 2025-01-07 22:28:12 -06:00
David Bolack 12c155b46f Merge branch 'master' into localSnippetEditor 2024-12-10 21:17:51 -06:00
Trevor Buckner 9758797e2b If user is owner, fetch Google Brew with user auth
Fixes the case where a user can see a Google Brew under their account (`listBrew()` uses their personal auth) but can't actually delete it (`getBrew()`  only uses the serviceAccount). Occurs if a Google brew has lost its permissions somehow (set to "restricted", etc.) such that serviceAccount can no longer interact with it.
2024-12-08 23:42:14 -05:00
David Bolack 43222b7651 Fix test 2024-12-04 21:41:04 -06:00
David Bolack 70f86c6ebd Merge branch 'master' into localSnippetEditor 2024-12-04 21:31:10 -06:00
G.Ambatte 4b21538e3e Add splitTextStyleAndMetadata tests 2024-12-02 17:14:45 +13:00
David Bolack 008b31e530 Correct failing test. 2024-11-24 18:58:50 -06:00
Trevor Buckner fb9148ada5 Site runs and all tests pass 2024-11-20 16:21:35 -05:00
Trevor Buckner 15fde76209 Merge branch 'master' into v3.15.1 2024-09-27 00:13:32 -04:00
Trevor Buckner c8424e0b10 Remove test that no longer applies 2024-09-26 19:12:19 -04:00
Trevor Buckner 63675a46e0 Lint more things 2024-09-16 01:42:21 -04:00
Víctor Losada Hernández 1517c00132 error logging to vault 2024-09-01 19:39:00 +02:00
Trevor Buckner 3d3ad3f284 Small tweaks 2024-08-26 19:58:28 -04:00
G.Ambatte ae336f1429 Add extra getCSS tests 2024-08-13 22:30:59 +12:00
G.Ambatte 5847b246ef Add getCSS test 2024-08-13 22:05:03 +12:00
G.Ambatte e7108947d6 Fix expected values for pageCount and renderer 2024-08-01 13:24:23 +12:00