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
David Bolack
42c441f534
Merge branch 'master' into brew_themes_user_selection
2024-03-04 16:54:13 -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
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
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
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
David Bolack
8b31966c2b
Revert "Remove stray console.logs."
...
This reverts commit 1861c7db69 .
2024-01-18 09:51:07 -06:00
David Bolack
8bd8f0fc37
Merge remote-tracking branch 'origin/master'
2024-01-17 17:20:23 -06:00
David Bolack
1861c7db69
Remove stray console.logs.
2023-12-13 21:59:02 -06:00
David Bolack
a88b256b6c
A better regex for underlining.
2023-12-13 21:47:55 -06:00
David Bolack
04187cf769
Simple Underline token.
...
Overrides __
2023-12-13 17:37:05 -06:00
David Bolack
67a4391dcb
WIP
2023-12-13 15:57:00 -06:00
David Bolack
769f636db2
Small fix and test updates
...
Discovered that classes ( and possibly other splits could end up with an
empty/null member that still gets joined so I added a trim to the end of
all the joins in processStyleTags.
Added tests that SHOULD test for bloc-level and inline-span moustaches
with added attributes ( a=b )
2023-12-06 17:48:51 -06:00
David Bolack
688eca05e1
Update Regex pattern to be consistant.
2023-12-06 16:59:53 -06:00
David Bolack
4c48992331
Merge branch 'master' into Issue_1488
2023-12-06 16:56:43 -06:00
David Bolack
fcb9a8cdc5
Update Editor highlighting to handle attribut assignments
2023-12-06 16:54:28 -06:00
David Bolack
d6e63604ac
Add tests
2023-11-22 13:29:37 -06:00
David Bolack
c858c705d2
Complete mustache div updates for attr
2023-11-11 22:23:43 -06:00
David Bolack
c068aca9ff
Small tweaks to processStyle.
...
This changes the output on arbitrary outputs to always wrap the value in
quotes instead of only doing so on whitespaced values.
2023-11-11 15:47:27 -06:00
David Bolack
fcdaef2445
Merge branch 'master' into Issue_1488
2023-11-11 15:08:11 -06:00
David Bolack
7b85995b4a
Updated attribute assignment.
...
Wraps with quotes ( a="b and c" )
Still does not work on Mustache Divs. UNsure where the failure is at the
moment. Even regressed "a:b and c" pattern on those.
2023-11-10 00:28:25 -06:00
David Bolack
37593573ce
Merge branch 'master' into Issue_1488
2023-11-09 21:52:44 -06:00
David Bolack
7b9a23670d
Update Regex based on PR siuggestions.
...
This should match more economically and in line with marked
recomendations as well as not allow whitespace ( \s ) at the beginning
or end of a sub or superscript mark. Additionally, a failure in having
mixed sub and supers on the same line was corrected.
2023-11-09 21:31:08 -06:00
David Bolack
d43ea46e40
Add subscript and subscript markdown tokens
...
Uses ^^ for superscript and ^^^ subscript as wrappers in the same
pattern as italics and bold ( * and **, respectively)
Adds editor hot-keys and sytax highlighting. (CTRL-6/CTRL-7)
Exact values may not be ideal. Short of the suggestted overloading of ~,
I didn't see a better option for the delimiter.
2023-11-08 00:54:43 -06:00
David Bolack
f1ca6eeee2
Near complete
2023-11-08 00:49:39 -06:00
David Bolack
d390d518a3
Initial commit, subscripts and superscripts
2023-11-07 22:42:53 -06:00
David Bolack
837306c9a7
Add tests for arbitrary attributes.
...
Also shifted around the adding of spaces for the attributes.
2023-11-07 19:07:58 -06:00
David Bolack
c58c8777f1
Add arbitrary tag attr assign. in moustaches
...
This adds the ability to include attribute values for any element that
can be altered by a moustache.
Form:
```
{attribute=value}
example:
 {position:absolute,bottom:20px,left:130px,width:220px,a=b and c,g=h}
```
In order to permit spaces, the pattern matches for moustache code had to
remove the space character as a delimiter. I believe I have adequate
compensated.
This should solve #1488
2023-11-07 17:43:24 -06:00