Commit Graph
100 Commits
Author SHA1 Message Date
David Bolack 872ee339da Clean up console logs
Eliminate erroronous theme pulldown texture load.
2024-05-07 12:13:57 -05:00
David Bolack f936b8b12b Update User brew endpoint tests 2024-05-06 20:28:46 -05:00
David Bolack 9f04c34b06 Missed $ 2024-05-06 20:07:33 -05:00
David Bolack c9d416fec0 Small User Brew theme changes.
Move the Static Theme shortcut to getBrewThemeWithCSS to drop an unneeded URL load.

Change the comment in the CSS to refer to the shareURL for the theme
instead of its name if it is a user theme.
2024-05-06 19:39:27 -05:00
David Bolack 3dde6a098c Test code to reduce duplicate theme loading
This shorts out loading of 5ePHB and/or blank from getBrewThemeParent
2024-05-06 12:12:46 -05:00
David Bolack ef25139ffe Merge branch 'master' into brew_themes_user_selection 2024-05-06 12:04:38 -05:00
David Bolack 88ccb955ce Merge branch 'master' into brew_themes_user_selection 2024-04-30 20:11:32 -05:00
David Bolack 980ed8e265 Merge branch 'master' into brew_themes_user_selection 2024-04-20 21:55:59 -05:00
David Bolack 1292d9ad9b Merge branch 'master' into brew_themes_user_selection 2024-04-18 21:13:01 -05:00
David Bolack 57f0aefbc8 Merge branch 'master' into brew_themes_user_selection 2024-03-25 20:38:28 -05:00
David Bolack f2f32c35ea Ensure shared pages work with user themes. 2024-03-10 11:54:48 -05:00
David Bolack d4770f16e3 Merge branch 'master' into brew_themes_user_selection 2024-03-09 20:25:24 -06:00
David Bolack d6aa0138f0 Merge branch 'Extended_DD' of github.com:dbolacksn/homebrewery-broken into Extended_DD 2024-03-09 19:42:34 -06:00
David Bolack f3b17f4615 Fix bad merge 2024-03-09 19:40:54 -06:00
David Bolack 04e6f2ea58 Merge branch 'master' into Extended_DD 2024-03-09 19:37:57 -06:00
David Bolack ed6718eef1 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-09 19:37:31 -06:00
David Bolack cd537f98c7 Merge branch 'master' into Extended_DD 2024-03-06 23:41:42 -06:00
David Bolack 8ab91c3eb2 Merge branch 'master' of github.com:dbolacksn/homebrewery-broken 2024-03-06 23:39:12 -06:00
David Bolack 8c773ced9c Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-06 23:38:44 -06:00
David Bolack e487f9a951 Fix remaining jest issues 2024-03-06 23:27:43 -06:00
David Bolack eb4ecf853b Fix Jest issues I was able to understand 2024-03-06 22:50:24 -06:00
David Bolack 54e2deaddc Merge branch 'master' into brew_themes_user_selection 2024-03-06 19:28:37 -06:00
David Bolack 1ac510af3d Heroku debug 2024-03-06 19:24:16 -06:00
David Bolack a666c8def3 Heroku debug 2024-03-06 19:20:16 -06:00
David Bolack 33933ef212 Attempted fix on access 2024-03-06 19:14:16 -06:00
David Bolack d9dade7181 Fix User Brew display label in metadata editor 2024-03-06 19:04:12 -06:00
David Bolack 87502f4249 Heavy rework for usertheme parents. 2024-03-06 18:55:12 -06:00
David Bolack 9adafbd473 more heroku debug 2024-03-06 14:12:13 -06:00
David Bolack 47ea2f6ed7 more heroku debug 2024-03-06 14:04:16 -06:00
David Bolack e2ba0ec059 more heroku debug 2024-03-06 13:59:36 -06:00
David Bolack 870cbc103d more heroku debug 2024-03-06 13:57:32 -06:00
David Bolack dfca664f6e more heroku debug 2024-03-06 13:53:54 -06:00
David Bolack 00cfd427b1 more heroku debug 2024-03-06 13:47:40 -06:00
David Bolack e639a32822 more heroku debug 2024-03-06 13:41:58 -06:00
David Bolack 8765bc800d more heroku debug 2024-03-06 13:38:48 -06:00
David Bolack 1dc73a951e more heroku debug 2024-03-06 13:35:08 -06:00
David Bolack 317b80bf4d more heroku debug 2024-03-06 13:20:57 -06:00
David Bolack 2aaae95e89 more heroku debug 2024-03-06 13:16:57 -06:00
David Bolack 0580e45af9 more heroku debug 2024-03-06 13:11:49 -06:00
David Bolack 0dbf6453ac more heroku debug 2024-03-06 13:04:03 -06:00
David Bolack 695324832c more heroku debug 2024-03-06 12:56:33 -06:00
David Bolack ac4c84e7a4 config file fix 2024-03-06 12:44:20 -06:00
David Bolack 18aa453bb0 Rearrange and leverage getBrew 2024-03-06 12:38:00 -06:00
David Bolack 17f78169f2 More debug 2024-03-06 12:03:27 -06:00
David Bolack 6f6a06c8c3 More debug 2024-03-06 11:00:43 -06:00
David Bolack 79a4291153 More debug 2024-03-06 10:37:10 -06:00
David Bolack a54fb98d4e Additional debugging 2024-03-06 10:28:09 -06:00
David Bolack a3549ae694 Merge branch 'master' into brew_themes_user_selection 2024-03-06 09:35:10 -06:00
dbolacksn 4f4b43f49d Merge branch 'naturalcrit:master' into master 2024-03-05 13:56:23 -06:00
David Bolack 42c441f534 Merge branch 'master' into brew_themes_user_selection 2024-03-04 16:54:13 -06:00
David Bolack 15f95ddd44 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-04 16:33:15 -06:00
David Bolack 7f16da110f Merge branch 'master' into Extended_DD 2024-03-04 11:01:49 -06:00
David Bolack 3734c9e71d Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-04 09:21:09 -06:00
David Bolack a924f53320 Merge branch 'master' into brew_themes_user_selection 2024-03-03 22:11:35 -06:00
David Bolack 4f90f92b38 Additional theme based error checking. 2024-02-28 15:08:00 -06:00
David Bolack 753b3befad Fix issue with empty theme ( /faq ) 2024-02-28 14:53:40 -06:00
David Bolack 544bc9bd01 Catch bad assumption in unlogged saves 2024-02-28 08:32:15 -06:00
David Bolack 562daf9b04 Handle some statics 2024-02-27 21:13:22 -06:00
David Bolack 8f15887c03 Cleanup of console logging 2024-02-27 20:51:59 -06:00
David Bolack 7384cdc241 My god it works 2024-02-27 20:20:43 -06:00
David Bolack 56851f2c2d Edit working - with noise. 2024-02-27 19:33:33 -06:00
David Bolack 50c9d95ce0 WIP trying to debug theme selection. 2024-02-27 17:30:14 -06:00
David Bolack 4f4659b0e2 Cleaned up noise in homebrew.api.js 2024-02-27 13:57:58 -06:00
David Bolack 7b3a1eb4ff Functional user theme loading though noising console 2024-02-27 13:41:51 -06:00
David Bolack 05f88dfd00 Extended Definition List cleanup
Remove redundant inlineBlock extension
Add missing trim on multiline definitions
Fix editor regex for colon terminated terms.
2024-02-25 09:19:31 -06:00
David Bolack d1d28acebb Merge branch 'master' into Extended_DD 2024-02-25 09:15:27 -06:00
David Bolack 84d5b26530 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-02-25 08:34:37 -06:00
David Bolack 2456432844 Exclude self from brew themes list to prevent circular ref. 2024-02-23 17:12:54 -06:00
David Bolack bf874c55af Add a column break before the Tables header on page 2
Small formatting fix.
2024-02-23 14:46:13 -06:00
David Bolack 3e66647f9f Fix @import loading on Chrome. 2024-02-23 14:43:29 -06:00
David Bolack 6d6571be0b Merge branch 'master' into brew_themes_user_selection 2024-02-23 13:46:56 -06:00
David Bolack 7d755fe2a3 Fix syntax highlighting on sub and superscript
I did not test this very robustly, it seems.
2024-02-23 11:35:57 -06:00
David Bolack f9307986cd WIP
@import statements are just not working. Uploaded for other eyes.
2024-02-22 23:06:40 -06:00
David Bolack f60090e5fa Update Theme Picker to use Brews tagged as a theme
This updates the theme picker to include brews tagged as themes owned by
the user.

Some supporting functions were updated. User themes are loaded on /edit
and added to the request.
2024-02-22 21:12:56 -06:00
David Bolack ae2bb3a028 Add missing style.css 2024-02-20 23:26:09 -06:00
David Bolack c319d6bcfa Consolidate and add theme parent walking
This consolidates the style/theme endpoint to a singular method, adds
interpretation of static themes, and allow parent theme recursion.

I am not 100% sure this will order styles correctly.
2024-02-20 23:15:37 -06:00
David Bolack e2ef9b8122 Report Theme title with CSS
This adds a comment/field ( depending on endpoint ) that reports the
name of the Brew being used as a theming source.
2024-02-20 16:44:17 -06:00
David Bolack 8e48df5de1 Partial Code coverage for new endpoints 2024-02-18 12:45:14 -06:00
David Bolack a3b1d7fb7c Use a brew as a theme, three ways.
This has been implemented three different ways to allow for comparison
and discussion

- /api/css/:id : This returns the style frontmatter of the referenced
  document as a text/css document.
/api/theme/:id : This returns an object with the reference'd object's
theme and style frontmatter.
/api/csstheme/:id : This returns the stylye frontmatter of the
referenced document as a text/css document and adds the theme as an
@import ( if not using the legacy renderer )
2024-02-17 11:01:21 -06:00
David Bolack 67b11d62ea Small DD appending mode fix 2024-02-08 19:35:43 -06:00
David Bolack 2b81c26cff Working, but ugly 2024-02-08 19:23:33 -06:00
David Bolack f3148ed53c Fix Syntax Highlighting
Update changelog to match PR target shifts.
2024-02-07 20:23:19 -06:00
David Bolack 13fbcd0eb1 Improve Regex to permit DTs with a final : 2024-02-06 23:29:59 -06:00
David Bolack 3ee9fe1c3f Update tests.
Prune no lionger valid cases.
2024-02-06 22:13:44 -06:00
David Bolack 703e207970 I think I have all the desired modes in place.
I feel like this is ugly code and maybe there are prettier ways to do
it, but it functions as I *believe* is currently desired.
2024-02-06 21:47:15 -06:00
David Bolack 283c2b5ae1 Empty Tag multiline input 2024-02-05 21:18:36 -06:00
David Bolack 29dc1e0747 Merge branch 'master' into Extended_DD 2024-01-30 18:40:58 -06:00
David Bolack 265e9976b9 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-30 18:40:42 -06:00
David Bolack e1ad05eb3a Solve regression with monster template.
Was not handling "weak" Definition list endings well ( places were it
was \n<something> instead of \n\n.
2024-01-29 23:42:13 -06:00
David Bolack e4324f316d Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-29 20:03:03 -06:00
David Bolack 8ab273363c Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-26 09:52:42 -06:00
David Bolack 54921a998a Clone tags along with the rest of the brew 2024-01-25 19:51:03 -06:00
David Bolack 0163e22567 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-25 13:58:04 -06:00
David Bolack fbc164a9b8 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-25 13:10:08 -06:00
David Bolack 8fc6047127 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-19 19:01:39 -06:00
David Bolack faba9f1616 Merge branch 'master' into Extended_DD 2024-01-18 22:59:22 -06:00
David Bolack 6beee49ebc Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-18 22:58:58 -06:00
David Bolack 0c010a0a87 Revert "WIP"
This reverts commit 67a4391dcb.
2024-01-18 09:51:17 -06:00
David Bolack 0c6c9fce4d Revert "Simple Underline token."
This reverts commit 04187cf769.
2024-01-18 09:51:14 -06:00
David Bolack ac9fc720f7 Revert "A better regex for underlining."
This reverts commit a88b256b6c.
2024-01-18 09:51:11 -06:00