Commit Graph
79 Commits
Author SHA1 Message Date
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
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 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
Trevor Buckner 8221579b6a Linting 2024-07-28 18:03:25 -04:00
Trevor Buckner ee9f2c8c83 Remove unused CSS endpoints in favor of #3075
Now that we have a dedicated /theme/ route for the recursive theming, the CSS endpoint can be simpler for only getting the `style` of a single brew. #3075 already has this simpler version, but no testing, so I have copied this into a comment there for implementation when it is ready.
2024-07-28 17:53:25 -04:00
Trevor Buckner 8aa88a2e45 Add proper error popup when theme fails to load 2024-07-28 16:45:01 -04:00
Trevor Buckner edec9369ec Finish adding test cases 2024-07-27 19:17:19 -04:00
Trevor Buckner b64a0c5200 Start adding tests for /theme/ endpoint 2024-07-27 03:30:51 -04:00
Trevor Buckner 8e7baca47d Fix tests 2024-07-23 17:40:32 -04:00
Trevor Buckner 6ae249a527 Lint 2024-07-22 02:46:26 -04:00
Trevor Buckner e222811d03 Rename engine to renderer to unify naming
This value is named `renderer` everywhere else. Relabeling to a consistent name.
2024-07-13 18:06:46 -04:00
Trevor Buckner 24c86dd199 Remove unused test 2024-07-10 17:49:57 -04:00
Trevor Buckner 88578a3d16 Fix failing test 2024-07-10 14:22:42 -04:00
Trevor Buckner a247e50c9f renaming "get" functions
rename `getStaticTheme` to `getStaticThemeCSS`
rename `getBrewThemeWithCSS` to `getBrewThemeCSS`
rename `getBrewThemeParent` to `getBrewThemeParentCSS`

to avoid confusion with other "get" endpoints like `getBrew`, and unify naming for endpoint functions that return CSS.

Simplify `isStaticTheme` function (getting the parent theme is handled elsewhere)
2024-07-10 14:15:03 -04:00
David Bolack 656edb07ea Rework detection of user brews to look up themeid in static themes list before assuming is a user brew.
Ended up being a fairly straightforward change. A few ternaries got smooshed or inverted. Passes builtin and local tests. Need to compare on the test instance.
2024-07-08 18:12:58 -05:00
David Bolack 0945a5e47e Merge branch 'master' into brew_themes_user_selection 2024-06-13 15:15:30 -05:00
David Bolack f936b8b12b Update User brew endpoint tests 2024-05-06 20:28:46 -05:00
G.Ambatte 09cf5a9b04 Fix test 2024-04-20 14:02:46 +12:00
David Bolack 57f0aefbc8 Merge branch 'master' into brew_themes_user_selection 2024-03-25 20:38:28 -05:00
G.Ambatte 7f168f35b8 Add test for locked brew 2024-03-17 21:35:03 +13:00