0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 11:22:39 +00:00
Commit Graph

6385 Commits

Author SHA1 Message Date
Trevor Buckner
e6c5e6451c Add more tests for edge conflicts with definition lists 2024-08-22 21:46:42 -04:00
Trevor Buckner
26866c337f Add tests to circleci 2024-08-22 21:45:44 -04:00
Gazook89
4c71987866 change the toFit method to toFill
Realized this method is filling the preview pane, and that toFit would force the zoom to show the entirety of a single page at once.
2024-08-22 15:56:23 -05:00
Gazook89
8965bb60aa add a toFit() method to determine zoom change
Adds a toFit() method to determine the delta/change needed to the current zoomLevel to fit the page to the pane, so that the widest page fits just inside the pane.
2024-08-22 15:52:52 -05:00
Gazook89
64fb032622 fix className 2024-08-22 15:51:16 -05:00
Trevor Buckner
073076e011 Merge pull request #3654 from naturalcrit/RerouteInvalidPaths
Add catch-all for invalid paths
2024-08-22 16:38:25 -04:00
Trevor Buckner
71b505d55b Merge branch 'master' into RerouteInvalidPaths 2024-08-22 16:37:55 -04:00
Trevor Buckner
dc7d877e6f Add snippets and icons 2024-08-22 16:35:48 -04:00
Trevor Buckner
40ab2c2283 rearrange code 2024-08-22 14:24:33 -04:00
Trevor Buckner
d8f0618691 Fix variables tests for same reason 2024-08-22 13:20:07 -04:00
Trevor Buckner
955b34b637 Fix tests to account for --HB_src variable presence 2024-08-22 13:12:40 -04:00
Trevor Buckner
8dea2ca9fb wrapLeft and wrapRight classes to automatically apply wrapping 2024-08-22 12:47:26 -04:00
Trevor Buckner
696bcd4367 Expose src url in --HB_src
Decided to do this for *all* images, not just those being injected. In case someone wants to automatically apply wrapping to images inside a stat block, etc.
2024-08-22 12:46:56 -04:00
Trevor Buckner
d70c5a6fe3 Merge pull request #3658 from naturalcrit/UpdateMarkedHelperFunctions
Update `cleanURL` helper function to match later Marked version
2024-08-22 11:53:51 -04:00
Trevor Buckner
645c9a122c Update cleanURL helper function to match later Marked version 2024-08-22 11:51:24 -04:00
Trevor Buckner
b774c89bdb Merge branch 'master' into RerouteInvalidPaths 2024-08-22 10:41:00 -04:00
dependabot[bot]
c75ebb36cb Bump stylelint-config-recess-order from 5.0.1 to 5.1.0
Bumps [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/stormwarning/stylelint-config-recess-order/releases)
- [Changelog](https://github.com/stormwarning/stylelint-config-recess-order/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stormwarning/stylelint-config-recess-order/compare/v5.0.1...v5.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 03:10:12 +00:00
David Bolack
1c03138968 Merge branch 'master' into Issue_1430_Unique_HeaderIDs 2024-08-21 21:23:09 -05:00
David Bolack
1313772adc Merge branch 'master' into preservePREColons 2024-08-21 21:21:06 -05:00
David Bolack
695293333f Fix merge 2024-08-21 21:19:10 -05:00
David Bolack
5431d3ed9b Merge branch 'master' into Issue_241_Part_II 2024-08-21 21:03:26 -05:00
David Bolack
fc9821a6c4 Merge branch 'master' into actualPageNumber 2024-08-21 20:55:21 -05:00
Víctor Losada Hernández
fb06ae0d03 Merge branch 'master' into pdf-tools 2024-08-21 23:07:25 +02:00
G.Ambatte
e952e05b79 Merge branch 'master' into fixMaskSkewing-#3636 2024-08-22 08:45:26 +12:00
Trevor Buckner
c020297d78 Merge pull request #3655 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.13.0
Bump @googleapis/drive from 8.11.1 to 8.13.0
2024-08-21 10:34:35 -04:00
dependabot[bot]
8ea7d3dc8f Bump @googleapis/drive from 8.11.1 to 8.13.0
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client) from 8.11.1 to 8.13.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/release-please-config.json)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/drive-v8.11.1...drive-v8.13.0)

---
updated-dependencies:
- dependency-name: "@googleapis/drive"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 03:14:46 +00:00
Gazook89
051eed0e83 restructure html, eliminate .tool divs
Treat each input and button as a direct child of the `.group` class, removing the intermediate div and reassign the `tool` classname to those inputs and buttons.  One item, the current / total page "set", is wrapped in a .tool div because they should be considered one item (even within the .group container).

And then a bunch of CSS adjustments to match the new structure.
2024-08-20 21:08:07 -05:00
Gazook89
cdc2ffeff4 remove if statement that shouldn't occur at all
Removing a redundant if/else that shouldn't be possible now that the currentPage is clamped between 1 and totalPages.
2024-08-20 20:18:54 -05:00
Trevor Buckner
dedf9e0be9 Merge pull request #3630 from dbolack-ab/FalsePaths
Prevent loading of undefined renderer or theme theme bundle.
2024-08-20 17:33:41 -04:00
Trevor Buckner
0cc001fe94 Merge branch 'master' into FalsePaths 2024-08-20 17:33:30 -04:00
Trevor Buckner
0f969ce383 Add catch-all for invalid paths
res.route is the currently-matched route. If nothing has been matched by this point (route = undefined), we have an invalid route.
2024-08-20 17:11:50 -04:00
Gazook89
83244485ab Move scrollToPage to toolbar component
Keeps toolbar functions within the toolbar component and reduces props that need to be sent down.
2024-08-20 15:15:36 -05:00
Trevor Buckner
defbc716c0 Merge pull request #3633 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.5.3
Bump mongoose from 8.5.2 to 8.5.3
2024-08-20 16:09:07 -04:00
Trevor Buckner
1803dfdeb1 Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.5.3 2024-08-20 15:54:55 -04:00
Trevor Buckner
787d50f17c Merge pull request #3483 from dbolack-ab/Issue_241
Add Jump-To hotkeys
2024-08-20 15:54:42 -04:00
David Bolack
925d934892 Merge branch 'master' into preservePREColons 2024-08-20 14:02:46 -05:00
David Bolack
e45bcf76ce Merge branch 'master' into Issue_241 2024-08-20 13:49:02 -05:00
David Bolack
54d5dbf992 Pruning 2024-08-20 13:47:32 -05:00
David Bolack
bb18ed7eda Merge branch 'master' into Issue_1430_Unique_HeaderIDs 2024-08-20 13:41:29 -05:00
David Bolack
fa63f1d4d5 Merge branch 'master' into Issue_241_Part_II 2024-08-20 13:38:47 -05:00
David Bolack
a6969a9ce2 Merge branch 'master' into actualPageNumber 2024-08-20 13:38:26 -05:00
dependabot[bot]
f8895721fc Bump mongoose from 8.5.2 to 8.5.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.5.2 to 8.5.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/8.5.2...8.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 18:36:57 +00:00
David Bolack
ba340f033a Merge branch 'master' into preservePREColons 2024-08-20 13:36:29 -05:00
Trevor Buckner
4c30a8f6a3 Merge pull request #3641 from naturalcrit/dependabot/npm_and_yarn/stylelint-16.8.2
Bump stylelint from 16.8.1 to 16.8.2
2024-08-20 14:35:39 -04:00
David Bolack
cbcb712587 Merge branch 'master' into Issue_241 2024-08-20 13:34:47 -05:00
Trevor Buckner
187b6a9e8a Merge branch 'master' into dependabot/npm_and_yarn/stylelint-16.8.2 2024-08-20 14:27:37 -04:00
Trevor Buckner
2816a39ff9 Merge pull request #3652 from dbolack-ab/saveTheClones
Prevent reload from clobbering modified fresh clones
2024-08-20 14:27:24 -04:00
David Bolack
78c4061199 Merge branch 'master' into Issue_241_Part_II 2024-08-20 13:26:19 -05:00
David Bolack
1ad88c2fca Merge branch 'master' into actualPageNumber 2024-08-20 13:25:24 -05:00
David Bolack
9203cc2a6a Merge branch 'master' into preservePREColons 2024-08-20 13:24:24 -05:00