0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 17:52:38 +00:00
Commit Graph

5292 Commits

Author SHA1 Message Date
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
c78dcbfe05 Remove Line-break
Remove the linbreak between the </dt> and the first <dd>
2023-11-10 23:19:55 -06:00
Louis David Bolack
8d94e5fbe0 Update shared/naturalcrit/markdown.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2023-11-10 23:10:01 -06:00
Louis David Bolack
c6d8bbae16 Update shared/naturalcrit/markdown.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2023-11-10 23:09:49 -06:00
Trevor Buckner
0a54c7b04e Merge pull request #3141 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.23.3
Bump @babel/preset-env from 7.23.2 to 7.23.3
2023-11-10 22:55:50 -05:00
Trevor Buckner
2fd54ee87e Merge pull request #3138 from naturalcrit/dependabot/npm_and_yarn/babel/core-7.23.3
Bump @babel/core from 7.23.2 to 7.23.3
2023-11-10 22:55:31 -05:00
dependabot[bot]
1f5f160964 Bump @babel/core from 7.23.2 to 7.23.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.2 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 16:01:36 +00:00
dependabot[bot]
8d04f09aab Bump @babel/preset-env from 7.23.2 to 7.23.3
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.2 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 16:01:28 +00:00
Trevor Buckner
be1f905b48 Merge pull request #3140 from naturalcrit/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.23.3
Bump @babel/plugin-transform-runtime from 7.23.2 to 7.23.3
2023-11-10 10:59:22 -05:00
Trevor Buckner
dbbd8cb26d Merge pull request #3139 from naturalcrit/dependabot/npm_and_yarn/babel/preset-react-7.23.3
Bump @babel/preset-react from 7.22.15 to 7.23.3
2023-11-10 10:59:13 -05:00
David Bolack
827fdd3cff REmove a console message. 2023-11-10 00:43:45 -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
a6ecec4172 Merge remote-tracking branch 'origin/Extended_DD' into Extended_DD 2023-11-09 21:51:23 -06:00
David Bolack
b561f69dd0 Merge branch 'master' into Extended_DD 2023-11-09 21:40:24 -06:00
dependabot[bot]
0bdadaf946 Bump @babel/plugin-transform-runtime from 7.23.2 to 7.23.3
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.23.2 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-plugin-transform-runtime)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 03:34:19 +00:00
dependabot[bot]
7b1a815e78 Bump @babel/preset-react from 7.22.15 to 7.23.3
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.22.15 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 03:33:55 +00: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
Louis David Bolack
a762626c53 Merge branch 'naturalcrit:master' into Issue_2171 2023-11-09 21:25:47 -06:00
Trevor Buckner
1c5c21d89b Merge branch 'master' into Extended_DD 2023-11-09 18:52:58 -05:00
Trevor Buckner
da2c647fa6 Merge pull request #3123 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.0.0
Bump mongoose from 7.6.4 to 8.0.0
2023-11-09 16:45:10 -05:00
dependabot[bot]
cb61badfc5 Bump mongoose from 7.6.4 to 8.0.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.6.4 to 8.0.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.6.4...8.0.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-09 21:44:04 +00:00
Trevor Buckner
d2f909384e Merge pull request #3124 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.18.0
Bump react-router-dom from 6.17.0 to 6.18.0
2023-11-09 16:43:02 -05:00
Trevor Buckner
cebc7be81d Merge pull request #3130 from MurdoMaclachlan/master
Fix minor grammatical error in FAQ
2023-11-09 16:36:51 -05:00
Trevor Buckner
83c604cb74 Merge pull request #3073 from Gazook89/Fold-Buttons-in-Editor
Add foldAll and unfoldAll buttons to Snippet Bar
2023-11-09 16:36:20 -05:00
Trevor Buckner
ad455f652c Remove extra comma 2023-11-09 10:03:14 -05:00
Trevor Buckner
3f19b2975c Add tooltips 2023-11-08 17:48:32 -05:00
Trevor Buckner
cacfc788fb Change Expand Icon for consistency with collapse icon 2023-11-08 17:38:42 -05:00
Trevor Buckner
8f99712a28 Merge branch 'master' into Fold-Buttons-in-Editor 2023-11-08 17:07:04 -05:00
Trevor Buckner
367c2bd111 Merge branch 'master' into fix-indent-in-monster-blocks 2023-11-08 17:05:23 -05:00
Trevor Buckner
1c45cb1b7f Merge branch 'master' into Issue_2171 2023-11-08 17:03:16 -05:00
dependabot[bot]
19fbd832f1 Bump react-router-dom from 6.17.0 to 6.18.0
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.17.0 to 6.18.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.18.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 21:39:16 +00:00
Trevor Buckner
7ce0ac577a Merge pull request #3134 from naturalcrit/AwaitBuildCompleteBeforeStartServer
Fix issues starting server first time in Dev environment
2023-11-08 16:38:08 -05:00
Trevor Buckner
3ce4d6d1f8 Merge pull request #3136 from naturalcrit/DownNodeToV20_FixHerokuCrashes
Downgrade Node to v20 to fix Heroku
2023-11-08 16:37:30 -05:00
Trevor Buckner
18aca07e84 Downgrade Node to v20 to fix Heroku
Heroku is crashing on deployments that use Node 21. Not sure why.
2023-11-08 16:01:09 -05:00
Trevor Buckner
4bda071742 Should fix issues starting server first time
Using `node scripts/buildHomebrew.js --dev` can sometimes start up the server before the build is complete, so `ssr.js` is not quite ready and the app crashes. This puts the server startup inside the async block to it must await everything else being complete.
2023-11-08 12:18:51 -05:00
Víctor Losada Hernández
35bde09aa7 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-indent-in-monster-blocks 2023-11-08 13:17:37 +01: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
d1152dcbb5 Add Change log 2023-11-07 21:04:03 -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
e6428a3b18 Update Editor highlighting for Definition Lists
Fixes syntax highlighting to account for multiple definitions on a
definition list.
2023-11-07 18:07:11 -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:

![homebrew mug](https://i.imgur.com/hMna6G0.png) {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
Murdo B. Maclachlan
caadb7b4ce Fix minor grammatical error in FAQ
Just a minor grammatical fix, "its" being the correct possessive as opposed to "it's" being a contraction of "it is".
2023-11-07 18:49:16 +00:00
David Bolack
ce1ba8289c Add Multi-line Dictionary Definition (<dd>) rows.
Expands the existing syntax to allow/expect the option of multiple
definitions by adding any number of ``` :: Definition``` to an a DT/DD
set.
2023-11-06 22:30:26 -06:00
Trevor Buckner
ce946bda98 Merge pull request #3035 from G-Ambatte/addDarkbreweryTheme
Add DarkBrewery theme
2023-11-06 17:18:41 -05:00
Trevor Buckner
07b1254309 Merge pull request #3127 from naturalcrit/dependabot/npm_and_yarn/eslint-8.53.0
Bump eslint from 8.52.0 to 8.53.0
2023-11-06 16:39:37 -05:00
dependabot[bot]
4c7715286e Bump eslint from 8.52.0 to 8.53.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 03:32:37 +00:00