Víctor Losada Hernández
e521db78ce
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-image-preview
2026-05-10 19:10:23 +02:00
Víctor Losada Hernández
35d8f5a675
Merge pull request #4793 from naturalcrit/dependabot/npm_and_yarn/dev-dependencies-f1720b19c6
...
Bump the dev-dependencies group across 1 directory with 3 updates
2026-05-10 18:44:07 +02:00
dependabot[bot]
118ec1bc50
Bump the dev-dependencies group across 1 directory with 3 updates
...
Bumps the dev-dependencies group with 3 updates in the / directory: [babel-jest](https://github.com/jestjs/jest/tree/HEAD/packages/babel-jest ), [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest ) and [stylelint](https://github.com/stylelint/stylelint ).
Updates `babel-jest` from 30.3.0 to 30.4.1
- [Release notes](https://github.com/jestjs/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jestjs/jest/commits/v30.4.1/packages/babel-jest )
Updates `jest` from 30.3.0 to 30.4.2
- [Release notes](https://github.com/jestjs/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jestjs/jest/commits/v30.4.2/packages/jest )
Updates `stylelint` from 17.10.0 to 17.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/17.10.0...17.11.0 )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-version: 30.4.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: jest
dependency-version: 30.4.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: stylelint
dependency-version: 17.11.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-10 16:41:15 +00:00
Víctor Losada Hernández
24163b2427
Merge pull request #4803 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-64bf5212b7
...
Bump the prod-dependencies group across 1 directory with 9 updates
2026-05-10 18:39:20 +02:00
dependabot[bot]
10506ad521
Bump the prod-dependencies group across 1 directory with 9 updates
...
Bumps the prod-dependencies group with 9 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) | `7.29.3` | `7.29.5` |
| [@codemirror/autocomplete](https://github.com/codemirror/autocomplete ) | `6.20.1` | `6.20.2` |
| [@codemirror/view](https://github.com/codemirror/view ) | `6.41.1` | `6.42.1` |
| [express-static-gzip](https://github.com/tkoenig89/express-static-gzip ) | `3.0.0` | `3.0.1` |
| [fs-extra](https://github.com/jprichardson/node-fs-extra ) | `11.3.4` | `11.3.5` |
| [mongoose](https://github.com/Automattic/mongoose ) | `9.6.1` | `9.6.2` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react ) | `19.2.5` | `19.2.6` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) | `19.2.5` | `19.2.6` |
| [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router ) | `7.14.2` | `7.15.0` |
Updates `@babel/preset-env` from 7.29.3 to 7.29.5
- [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.29.5/packages/babel-preset-env )
Updates `@codemirror/autocomplete` from 6.20.1 to 6.20.2
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/autocomplete/commits )
Updates `@codemirror/view` from 6.41.1 to 6.42.1
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/commits )
Updates `express-static-gzip` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/tkoenig89/express-static-gzip/releases )
- [Commits](https://github.com/tkoenig89/express-static-gzip/compare/v3.0.0...v3.0.1 )
Updates `fs-extra` from 11.3.4 to 11.3.5
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.3.4...11.3.5 )
Updates `mongoose` from 9.6.1 to 9.6.2
- [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/9.6.1...9.6.2 )
Updates `react` from 19.2.5 to 19.2.6
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react )
Updates `react-dom` from 19.2.5 to 19.2.6
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-dom )
Updates `react-router` from 7.14.2 to 7.15.0
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.15.0/packages/react-router )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-version: 7.29.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: "@codemirror/autocomplete"
dependency-version: 6.20.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: "@codemirror/view"
dependency-version: 6.42.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-dependencies
- dependency-name: express-static-gzip
dependency-version: 3.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: fs-extra
dependency-version: 11.3.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: mongoose
dependency-version: 9.6.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: react
dependency-version: 19.2.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: react-dom
dependency-version: 19.2.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: react-router
dependency-version: 7.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-10 16:36:28 +00:00
Víctor Losada Hernández
a67360c18a
Merge pull request #4800 from naturalcrit/dependabot/npm_and_yarn/fast-uri-3.1.2
...
Bump fast-uri from 3.1.1 to 3.1.2
2026-05-10 18:33:17 +02:00
Víctor Losada Hernández
c4a92dc3d8
Merge branch 'master' into dependabot/npm_and_yarn/fast-uri-3.1.2
2026-05-10 18:30:07 +02:00
Trevor Buckner
545a5324f0
Merge pull request #4802 from G-Ambatte/addHashMismatchContext
...
Log additional information during brew mismatchesbrew content
2026-05-10 11:54:51 -04:00
Trevor Buckner
abcd5d5839
Merge branch 'master' into addHashMismatchContext
2026-05-10 11:54:37 -04:00
Trevor Buckner
978a4c6f5f
Merge pull request #4799 from G-Ambatte/escapeDollarSignForHTMLReplace
...
Prevent pattern matching in HTML replace function
2026-05-10 11:21:13 -04:00
G.Ambatte
9e4d9ee35d
Fix missing character
2026-05-10 12:23:06 +12:00
G.Ambatte
cc2963b765
Increase information about mismatch brew content
2026-05-10 12:14:54 +12:00
dependabot[bot]
93d51fe499
Bump fast-uri from 3.1.1 to 3.1.2
...
Bumps [fast-uri](https://github.com/fastify/fast-uri ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases )
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.1...v3.1.2 )
---
updated-dependencies:
- dependency-name: fast-uri
dependency-version: 3.1.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-09 10:38:05 +00:00
G.Ambatte
82bab12941
Use function instead of pattern escaping
2026-05-09 18:08:44 +12:00
G.Ambatte
e9dba94dd5
Escape $ in HTML replace function
2026-05-09 17:58:52 +12:00
Víctor Losada Hernández
01060c38c8
make wrapselection work with multiple selections
2026-05-08 23:23:48 +02:00
Gazook89
f5acb27c34
Revert "Fix font snippet "Open Sans""
...
This reverts commit 34d634a349 .
2026-05-05 22:38:43 -05:00
Víctor Losada Hernández
1807559987
Merge pull request #4782 from naturalcrit/fix-CM-bugs
...
Fixes the next batch of codemirror bugs
2026-05-05 14:21:02 +02:00
Víctor Losada Hernández
69b2bfb0b9
Merge branch 'master' into fix-CM-bugs
2026-05-05 14:18:01 +02:00
Trevor Buckner
d5d848acd8
Merge pull request #4772 from 5e-Cleric/fix-save-on-load
...
fix save on load
2026-05-04 16:06:55 -04:00
Trevor Buckner
b75c83901b
Merge branch 'fix-save-on-load' of https://github.com/5e-Cleric/homebrewery into pr/4772
2026-05-04 16:01:43 -04:00
Trevor Buckner
339d2844a7
Change logic to fire on button click, rather than on state change
...
Ideally side effects (server calls, etc.) should happen outside of useEffect anyway for reasons like this; Putting the save in the button click keeps the logic in one place instead of spread across multiple functions and renders,
(This change was already made in my local copy toward combining Edit/New/Home pages.)
2026-05-04 16:01:39 -04:00
Trevor Buckner
614d9fd7b3
Merge branch 'master' into fix-save-on-load
2026-05-04 11:50:13 -04:00
Víctor Losada Hernández
0ac261e1bf
lock sync
2026-05-04 16:35:45 +02:00
Víctor Losada Hernández
9f6e03fd80
add strikethrough highlight
2026-05-04 16:24:41 +02:00
Víctor Losada Hernández
43c9f35f3c
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-05-04 16:16:02 +02:00
Víctor Losada Hernández
3978c4ae1e
Merge pull request #4781 from Gazook89/Tweak-Injection-highlighting
...
Fix issue with closing brace not highlighting
2026-05-04 16:15:50 +02:00
Víctor Losada Hernández
80093a1998
remove console.log
2026-05-04 16:13:15 +02:00
Víctor Losada Hernández
479834cea8
Merge branch 'master' into Tweak-Injection-highlighting
2026-05-04 16:09:30 +02:00
Víctor Losada Hernández
60b5f6bac2
fix tab insert
2026-05-04 16:06:53 +02:00
Víctor Losada Hernández
41ea3ba987
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-05-04 16:03:26 +02:00
Víctor Losada Hernández
6e39a70706
lint
2026-05-04 16:03:07 +02:00
Víctor Losada Hernández
102d1f4186
restore folds when changing tab
2026-05-04 16:02:15 +02:00
Víctor Losada Hernández
09ff29bf3e
Merge pull request #4778 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-774995e115
...
Bump the prod-dependencies group across 1 directory with 3 updates
2026-05-04 15:24:26 +02:00
dependabot[bot]
1f2a3b164b
Bump the prod-dependencies group across 1 directory with 3 updates
...
Bumps the prod-dependencies group with 3 updates in the / directory: [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ), [mongoose](https://github.com/Automattic/mongoose ) and [nanoid](https://github.com/ai/nanoid ).
Updates `@babel/preset-env` from 7.29.2 to 7.29.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.29.3/packages/babel-preset-env )
Updates `mongoose` from 9.5.0 to 9.6.1
- [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/9.5.0...9.6.1 )
Updates `nanoid` from 5.1.7 to 5.1.11
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/5.1.7...5.1.11 )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-version: 7.29.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
- dependency-name: mongoose
dependency-version: 9.6.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-dependencies
- dependency-name: nanoid
dependency-version: 5.1.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-04 03:27:51 +00:00
Víctor Losada Hernández
e2256be4aa
Merge pull request #4785 from 5e-Cleric/fix-page-count-regex
...
Fix page count regex
2026-05-04 00:47:42 +02:00
Víctor Losada Hernández
65d1106974
this should fix it
2026-05-04 00:42:10 +02:00
Víctor Losada Hernández
72465317f3
store scroll positions
2026-05-04 00:31:43 +02:00
Víctor Losada Hernández
4edae9ef5a
some cleanup
2026-05-03 18:01:37 +02:00
Víctor Losada Hernández
6faca50a19
simplify
2026-05-03 18:00:15 +02:00
Víctor Losada Hernández
d758fc2d20
fix scroll to page not working after switching editors
2026-05-03 17:53:09 +02:00
Víctor Losada Hernández
f1bbac6583
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-05-03 17:18:34 +02:00
Gazook89
a34a5d187b
Fix issue with closing brace not highlighting
2026-05-02 15:36:56 -05:00
Gazook89
34d634a349
Fix font snippet "Open Sans"
...
Previously it was using 'OpenSans' as the font name, when it's actually 'Open Sans'.
2026-05-01 15:17:30 -05:00
Gazook89
137b6bc690
remove unused 300 & 600 font weights
...
Only 400 and "800" are used in the codebase for Open Sans. And, we've only ever had up to 700 as available weights, so everything that is set to "800" is actually getting weight 700 (which looks better).
2026-05-01 11:03:52 -05:00
Gazook89
d3566d896b
Move Code Bold/Light to fonts directory
2026-04-30 22:28:56 -05:00
Gazook89
e34c5f9b32
Add font files, remove google fonts references
...
Adds a `shared/naturalcrit/styles/fonts` directory, and Open Sans font files for the 4 weights we were pulling from Google Fonts.
2026-04-30 22:28:04 -05:00
Gazook89
9935f54080
Update variables.test.js
2026-04-30 21:11:33 -05:00
Gazook89
9af2577c6e
Add print cycle events and loading msg
...
Since the print cycle now loads all images not-yet-loaded (due to lazy loading), there can be a moment of time where it appears pressing Get PDF is doing nothing, depending on connection speed. To add a "loading" message, a custom event is fired at the start and end of the print cycle (before the print dialog comes up).
2026-04-30 21:05:08 -05:00
Gazook89
d04f401c90
Fix lazy loading Print issues
...
When initiating the print dialog, it first grabs all img elements with `loading="lazy"` attribute, flips that to `eager`, and then waits for every image to load before resolving a promise and opening the Print dialog.
2026-04-29 23:38:37 -05:00