0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 11:32:38 +00:00
Commit Graph

5757 Commits

Author SHA1 Message Date
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
Trevor Buckner
980c544bba Merge pull request #3122 from naturalcrit/dependabot/npm_and_yarn/mongoose-7.6.4
Bump mongoose from 7.6.3 to 7.6.4
2023-10-31 15:43:52 -04:00
Trevor Buckner
7c0b9ea3f6 Merge pull request #3069 from Gazook89/Stat-Block-H3-CSS-Tweak
Tweak monster H3 sizing and spacing per recommendation
2023-10-31 12:13:40 -04:00
Trevor Buckner
e6d8784633 Remove redundant properties 2023-10-31 12:12:56 -04:00
dependabot[bot]
4720aced6c Bump mongoose from 7.6.3 to 7.6.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.6.3 to 7.6.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/7.6.4/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.6.3...7.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 03:59:26 +00:00
Trevor Buckner
cf5e61cf09 Merge branch 'master' into Stat-Block-H3-CSS-Tweak 2023-10-30 22:18:04 -04:00
Trevor Buckner
9d43588f44 Merge pull request #3121 from naturalcrit/cleanV3PHB-Stylelint
Fix styleLint warnings on V3 PHB
2023-10-30 22:17:04 -04:00
Trevor Buckner
ce005da20f Fix styleLint warnings on V3 PHB
Duplicate `dl` entries and wrong quotes.
2023-10-30 22:16:46 -04:00
Trevor Buckner
17531151ad Merge branch 'master' into Stat-Block-H3-CSS-Tweak 2023-10-30 22:02:50 -04:00
Trevor Buckner
863f624772 Merge pull request #3117 from naturalcrit/dependabot/npm_and_yarn/browserify-sign-4.2.2
Bump browserify-sign from 4.2.1 to 4.2.2
2023-10-30 22:02:12 -04:00
Trevor Buckner
6a5f4efd26 Merge pull request #3112 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-27.6.0
Bump eslint-plugin-jest from 27.4.2 to 27.6.0
2023-10-30 22:02:04 -04:00
Trevor Buckner
6200b416ab Merge pull request #3108 from naturalcrit/dependabot/npm_and_yarn/nconf-0.12.1
Bump nconf from 0.12.0 to 0.12.1
2023-10-30 22:01:55 -04:00
Trevor Buckner
dc1931a5e3 Merge pull request #3105 from naturalcrit/dependabot/npm_and_yarn/mongoose-7.6.3
Bump mongoose from 7.6.1 to 7.6.3
2023-10-30 22:01:48 -04:00
Trevor Buckner
26bddc1a79 Merge pull request #3106 from naturalcrit/dependabot/npm_and_yarn/stylelint-15.11.0
Bump stylelint from 15.10.3 to 15.11.0
2023-10-30 22:01:41 -04:00
dependabot[bot]
74ebd44d7c Bump eslint-plugin-jest from 27.4.2 to 27.6.0
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.4.2 to 27.6.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.4.2...v27.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 02:01:02 +00:00
Trevor Buckner
989af1bbd0 Merge pull request #3109 from naturalcrit/dependabot/npm_and_yarn/eslint-8.52.0
Bump eslint from 8.51.0 to 8.52.0
2023-10-30 22:00:04 -04:00
Trevor Buckner
3359e489f5 Merge pull request #3104 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.17.0
Bump react-router-dom from 6.16.0 to 6.17.0
2023-10-30 21:59:57 -04:00
Trevor Buckner
f431ac2e40 Merge pull request #3099 from G-Ambatte/addShareLinkToNotAnAuthor
Add Share link to Unauthorized Edit Access error message
2023-10-30 21:59:31 -04:00
G.Ambatte
511c38dd1e Remove unnecessary nullish coalescing operators 2023-10-29 14:16:41 +13:00
G.Ambatte
85b0976082 Move API call error handling 2023-10-29 11:52:02 +13:00
G.Ambatte
7052337669 Remove API error message from log 2023-10-29 11:43:24 +13:00
G.Ambatte
e07d1d1ddb Add originalUrl to error object 2023-10-29 11:27:03 +13:00
G.Ambatte
c5ebd0352d Identify API errors and send error response 2023-10-29 11:04:07 +13:00
dependabot[bot]
a8fbcf0ad1 Bump browserify-sign from 4.2.1 to 4.2.2
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 13:30:24 +00:00
G.Ambatte
92f33136ce Remove page-break-before and -after from Blank 2023-10-27 23:58:56 +13:00
G.Ambatte
9260283914 Remove page-break-before and -after from 5ePHB 2023-10-27 23:58:39 +13:00
dependabot[bot]
a08263dd7c Bump eslint from 8.51.0 to 8.52.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.52.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.51.0...v8.52.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-10-23 03:39:23 +00:00
dependabot[bot]
7eae170f6c Bump nconf from 0.12.0 to 0.12.1
Bumps [nconf](https://github.com/flatiron/nconf) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/flatiron/nconf/releases)
- [Changelog](https://github.com/indexzero/nconf/blob/v0.12.1/CHANGELOG.md)
- [Commits](https://github.com/flatiron/nconf/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: nconf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 03:39:02 +00:00
G.Ambatte
b5cb8ce834 Mark HB navigation changes 2023-10-19 18:20:50 +13:00
G.Ambatte
d497c0094b Fix comments 2023-10-19 17:51:02 +13:00
G.Ambatte
71141aa6f6 Merge branch 'master' into addDarkbreweryTheme 2023-10-19 16:37:36 +13:00
G.Ambatte
36e607eb3b Merge branch 'master' into addCreditsSnippet-#283 2023-10-19 16:37:27 +13:00
dependabot[bot]
d67f206900 Bump stylelint from 15.10.3 to 15.11.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.3 to 15.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.3...15.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 03:22:03 +00:00
dependabot[bot]
6bf9ddd585 Bump mongoose from 7.6.1 to 7.6.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.6.1 to 7.6.3.
- [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.1...7.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 03:21:44 +00:00
dependabot[bot]
1607a1ac10 Bump react-router-dom from 6.16.0 to 6.17.0
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.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.17.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-10-17 03:07:32 +00:00
G.Ambatte
392a3db3c2 Add Share link to Unauthorized Edit access message 2023-10-14 20:01:21 +13:00