0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00
Commit Graph

8675 Commits

Author SHA1 Message Date
Víctor Losada Hernández
7502a260ea initial commit 2025-10-15 23:21:00 +02:00
Trevor Buckner
33f5d26b39 Merge pull request #4449 from dbolack-ab/d100-dicefont
Alternate Add d100/percentage support to dicefont icons
2025-10-13 20:11:30 -04:00
Trevor Buckner
3ad463cff7 Merge branch 'master' into d100-dicefont 2025-10-13 20:10:54 -04:00
Trevor Buckner
6c8265688f Restore missing empty d10 2025-10-13 20:10:31 -04:00
Trevor Buckner
d1f5c9da0d Update diceFont.less to use DiceFont100 instead of dicefont-percent 2025-10-13 20:06:13 -04:00
Trevor Buckner
43e465ceb8 Rename font to match format of existing diceFont font file. 2025-10-13 20:05:42 -04:00
Trevor Buckner
b864e9b677 Update diceFont.js to use d10 instead of dper 2025-10-13 20:05:09 -04:00
Víctor Losada Hernández
28e02f1863 Merge pull request #4466 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-f151d22b6b
Bump the prod-dependencies group across 1 directory with 10 updates
2025-10-13 23:50:02 +02:00
dependabot[bot]
333614f866 Bump the prod-dependencies group across 1 directory with 10 updates
Bumps the prod-dependencies group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.28.0` | `7.28.4` |
| [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) | `7.28.0` | `7.28.3` |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.28.0` | `7.28.3` |
| [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) | `7.27.6` | `7.28.4` |
| [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) | `3.44.0` | `3.46.0` |
| [fs-extra](https://github.com/jprichardson/node-fs-extra) | `11.3.0` | `11.3.2` |
| [marked-subsuper-text](https://github.com/naturalcrit/marked-subsuper-text) | `1.0.3` | `1.0.4` |
| [mongoose](https://github.com/Automattic/mongoose) | `8.16.3` | `8.19.1` |
| [nanoid](https://github.com/ai/nanoid) | `5.1.5` | `5.1.6` |
| [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.6.3` | `7.9.4` |



Updates `@babel/core` from 7.28.0 to 7.28.4
- [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.28.4/packages/babel-core)

Updates `@babel/plugin-transform-runtime` from 7.28.0 to 7.28.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.28.3/packages/babel-plugin-transform-runtime)

Updates `@babel/preset-env` from 7.28.0 to 7.28.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.28.3/packages/babel-preset-env)

Updates `@babel/runtime` from 7.27.6 to 7.28.4
- [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.28.4/packages/babel-runtime)

Updates `core-js` from 3.44.0 to 3.46.0
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.46.0/packages/core-js)

Updates `fs-extra` from 11.3.0 to 11.3.2
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.3.0...11.3.2)

Updates `marked-subsuper-text` from 1.0.3 to 1.0.4
- [Changelog](https://github.com/naturalcrit/marked-subsuper-text/blob/main/release.config.cjs)
- [Commits](https://github.com/naturalcrit/marked-subsuper-text/commits)

Updates `mongoose` from 8.16.3 to 8.19.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/8.16.3...8.19.1)

Updates `nanoid` from 5.1.5 to 5.1.6
- [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.5...5.1.6)

Updates `react-router` from 7.6.3 to 7.9.4
- [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.9.4/packages/react-router)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.28.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-version: 7.28.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: "@babel/preset-env"
  dependency-version: 7.28.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: "@babel/runtime"
  dependency-version: 7.28.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: core-js
  dependency-version: 3.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: fs-extra
  dependency-version: 11.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: marked-subsuper-text
  dependency-version: 1.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: mongoose
  dependency-version: 8.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: nanoid
  dependency-version: 5.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: react-router
  dependency-version: 7.9.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 21:45:46 +00:00
Trevor Buckner
efc8561447 Merge pull request #4450 from dbolack-ab/issue_2963
Keep the cursor in the active view page after a divider width change.
2025-10-13 13:40:47 -04:00
Trevor Buckner
9e80151eda Merge branch 'master' into issue_2963 2025-10-13 13:38:41 -04:00
Trevor Buckner
d695f8f7bc Merge pull request #4469 from 5e-Cleric/remove-config-enable-checks
Remove enable_themes and enable_v3 checks
2025-10-13 13:37:58 -04:00
Trevor Buckner
ae47442ed5 Merge branch 'master' into remove-config-enable-checks 2025-10-13 13:37:49 -04:00
Víctor Losada Hernández
34ee1853e1 Merge pull request #4459 from naturalcrit/dependabot/npm_and_yarn/dev-dependencies-8d5f5caba3
Bump the dev-dependencies group across 1 directory with 4 updates
2025-10-13 17:46:58 +02:00
David Bolack
fbf0d425e2 Don't pass isDragging to splitpane children. 2025-10-11 09:07:23 -05:00
David Bolack
8fcadd87d4 Remove comments 2025-10-09 20:24:01 -05:00
David Bolack
2de151d348 Rename font 2025-10-09 19:31:30 -05:00
David Bolack
1eff2dbedd Change dpercent to d10 2025-10-09 19:25:40 -05:00
dependabot[bot]
4ccec08f21 Bump the dev-dependencies group across 1 directory with 4 updates
Bumps the dev-dependencies group with 4 updates in the / directory: [eslint](https://github.com/eslint/eslint), [globals](https://github.com/sindresorhus/globals), [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and [stylelint](https://github.com/stylelint/stylelint).


Updates `eslint` from 9.35.0 to 9.37.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.35.0...v9.37.0)

Updates `globals` from 16.3.0 to 16.4.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.3.0...v16.4.0)

Updates `jest` from 30.1.3 to 30.2.0
- [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.2.0/packages/jest)

Updates `stylelint` from 16.24.0 to 16.25.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/16.24.0...16.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.37.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: globals
  dependency-version: 16.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: jest
  dependency-version: 30.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: stylelint
  dependency-version: 16.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 03:01:39 +00:00
Trevor Buckner
3be62bd254 Merge pull request #4448 from G-Ambatte/addDBCheckMiddleware
Add DB check middleware
2025-10-06 14:20:28 -04:00
G.Ambatte
0d38b8607e Shift to router.use(dbCheck) instead of defining on every route 2025-10-06 18:51:05 +13:00
G.Ambatte
5e35ae0c8b Merge branch 'master' into addDBCheckMiddleware 2025-10-06 18:12:40 +13:00
Trevor Buckner
5f72dd2023 Merge pull request #4462 from naturalcrit/PreventInterruptedBrewJump
Move badly-placed scrollingTimeout that was doing nothing
2025-10-06 00:07:50 -04:00
Trevor Buckner
7fc03bb5a7 Merge branch 'master' into PreventInterruptedBrewJump 2025-10-06 00:07:43 -04:00
Trevor Buckner
ccf11661de Merge pull request #4461 from naturalcrit/LintEverythingOct2025
Lint everything
2025-10-06 00:07:29 -04:00
Trevor Buckner
811f274968 Move badly-placed scrollingTimeout that was doing nothing
When a user clicks brewJump or sourceJump, we disallow new jumps until the current scroll operation has finished for 150 ms. Unfortunately the timer being checked was always undefined, so you could keep clicking the jump button and get the brewRenderer or editor to keep bouncing around without finishing the jump action.

This just moves the scrollingTimeout up outside of the listener function so it isn't being reset to undefined every loop.
2025-10-06 00:06:34 -04:00
Trevor Buckner
63bebe1efd Lint everything
Catching up on a bunch of linting so random changes stop showing up on PRs when the linter is run.
2025-10-06 00:02:24 -04:00
G.Ambatte
8b2c8c0feb Merge branch 'master' into addDBCheckMiddleware 2025-10-06 16:48:37 +13:00
Trevor Buckner
22e26d635a Merge pull request #4460 from naturalcrit/cleanupLocalStorageKeysTest
Clean up localStorageMap code
2025-10-05 23:28:34 -04:00
Trevor Buckner
643e0ac650 small cleanups of localstorage keys code 2025-10-05 23:24:50 -04:00
Trevor Buckner
5395412ac5 Remove tests for getLocalStorageMap()
The function is a simple getter with trivial logic; test is effectively just asserting the size of the map, which coverage adds no meaningful value and adds cruft to the codebase.
2025-10-05 23:24:35 -04:00
Trevor Buckner
dc4610ea1b Merge pull request #4447 from dbolack-ab/issue_3426
Applies G-Ambatte's fix for Firefox browser lock.
2025-10-05 22:31:15 -04:00
Trevor Buckner
1e71e9e18a Use blockquote and table elements, not .classes 2025-10-05 22:19:43 -04:00
Trevor Buckner
4203e90d09 Merge branch 'master' into issue_3426 2025-10-05 22:09:06 -04:00
Trevor Buckner
dc94555c94 Merge pull request #4458 from naturalcrit/new/edit/home_commonSaveButton
Make the renderSaveButton() function common between edit/new/home
2025-10-05 22:03:32 -04:00
Trevor Buckner
41aebf084b Make the renderSaveButton() function common between edit/new/home
Each of the edit/home/new pages renders its save button differently. This makes it a common function with all the same possible render states (does the document have unsaved changes? Is it already saved? Was it auto-saved?).

- Common save button
- Adds the "save" button to /home page which wasn't there before
- Animates the "save" button in /home and /new when the user makes their first change to signal that yes, you do have to actually click the save button if you want to keep this.
- "reminder... you haven't saved for X minutes" still not functional on /new and /home since that involves more moving pieces.
2025-10-05 21:57:19 -04:00
David Bolack
74e17e154f Merge branch 'issue_3426' of github.com:dbolack-ab/homebrewery into issue_3426 2025-10-05 20:12:32 -05:00
Trevor Buckner
a944b23ca0 Merge pull request #4457 from naturalcrit/new/home/edit/_unsavedChanges_common
Make `unsavedChanges` state common
2025-10-05 20:09:14 -04:00
Trevor Buckner
12052853db Merge branch 'master' into new/home/edit/_unsavedChanges_common 2025-10-05 20:07:56 -04:00
Trevor Buckner
c0f67bef5a Merge pull request #4434 from naturalcrit/fix-red-background
Fix dev background
2025-10-05 19:51:01 -04:00
David Bolack
8f715a6615 Isolate change to Firefox 2025-10-05 18:36:14 -05:00
Víctor Losada Hernández
4a5bb1efb1 initial commit 2025-10-05 22:14:13 +02:00
Víctor Losada Hernández
1f51abaf10 this makes more sense 2025-10-05 19:57:49 +02:00
Víctor Losada Hernández
c90a8c53a5 lets test this 2025-10-05 19:56:50 +02:00
Víctor Losada Hernández
ac18f4bd1d Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-red-background 2025-10-05 19:43:29 +02:00
Víctor Losada Hernández
7393aef806 set up development config variavle 2025-10-05 19:42:01 +02:00
David Bolack
460b12e356 Proposed fix per calc.
This also works but has different currsor behavior.

Original fix left in place, commented pending decisions.
2025-10-05 11:26:43 -05:00
G.Ambatte
c17a5e72b9 Switch to Calc's simplified test spec 2025-10-05 15:40:40 +13:00
G.Ambatte
88bc9b79c9 Add new error message to nav bar error container 2025-10-05 15:31:53 +13:00
G.Ambatte
a14ea89562 Post-merge cleanup 2025-10-05 15:31:04 +13:00