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

85 Commits

Author SHA1 Message Date
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
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
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