0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-09 11:58:40 +00:00
Commit Graph

3237 Commits

Author SHA1 Message Date
G.Ambatte dc66d36b2d Simplify history loading 2024-10-09 19:35:48 +13:00
G.Ambatte 0bd3b53dd1 Merge branch 'master' into addIndexedDM-#3763 2024-10-09 19:00:45 +13:00
G.Ambatte 5651c66562 Fix race condition 2024-10-09 18:29:15 +13:00
G.Ambatte fb2d03f5a2 Change to test values 2024-10-09 17:50:26 +13:00
G.Ambatte 0b44e68a36 Simplify garbage collection 2024-10-09 17:27:33 +13:00
G.Ambatte aa68762294 Simplify historyCheck logic 2024-10-09 15:59:11 +13:00
G.Ambatte 2a9402634f Remove unnecessary guard clause 2024-10-09 14:58:20 +13:00
G.Ambatte 291e16b124 Revert to use local consts instead of config vars 2024-10-09 14:57:04 +13:00
G.Ambatte e75eb72d3f Remove obsolete function 2024-10-09 14:54:23 +13:00
Gazook89 a6efaf0e8b Remove unused Nav components 2024-10-08 10:12:53 -05:00
Víctor Losada Hernández e396a51ad5 Merge branch 'v3.15.2' of https://github.com/naturalcrit/homebrewery into scroll-to-element 2024-10-07 11:47:13 +02:00
G.Ambatte 7e165c6e61 Remove unnecessary key check 2024-10-07 21:53:24 +13:00
G.Ambatte 5d9ef3fa6c Add custom IDB store 2024-10-07 21:53:05 +13:00
G.Ambatte 24bffacaeb GC functional, config values now actually used 2024-10-07 20:53:32 +13:00
G.Ambatte 1e38ed8d1f Bump max-lines 2024-10-07 20:53:05 +13:00
G.Ambatte 25ce1aa00c Functional history menu 2024-10-07 19:36:17 +13:00
G.Ambatte 97f8493319 Merge branch 'master' into addIndexedDM-#3763 2024-10-07 18:32:05 +13:00
G.Ambatte c9241e3091 WIP Update 2024-10-07 18:22:06 +13:00
Gazook89 68c75fbfd2 adjust CSS to support Firefox
Set's a non-ideal but functional css style for the box when using Firefox so the box is at least visible.
2024-10-06 22:16:46 -05:00
Gazook89 d6d6cc1e29 Add View Mode Options
Adds a new AnchoredBox component that is functionally a clone of the "saving error" notifications, but drops a lot of the JS in favor of the new (chrome-only!) CSS Anchor Positioning API.  In subsequent commits, either alternate styling or a polyfill will be added non-supported browsers.

The box contains a few inputs that modify the CSS applied to `.pages`, most critically a "start on right" toggle for the Facing Pages mode.
2024-10-06 21:51:44 -05:00
Gazook89 9fce94af63 Small CSS tweaks/display 'value' tooltip only if exists
The range slider should only display a tooltip for the value if the value attribute exists.  For example, the difference between controlled and uncontrolled inputs.

Update toolBar.less
2024-10-06 21:26:48 -05:00
Gazook89 41f390b305 Add a classname to recto configuration
Adding class name so that it can be toggled between 'recto' and 'verso'.  Verso being the normal left/right configuration, no styling is needed.  With recto, the first page is shifted to the second slot, or right side.
2024-10-06 21:24:50 -05:00
Trevor Buckner f3332fb95b Merge branch 'master' into fix-wrong-brew-id-links-generated 2024-10-06 15:54:37 -04:00
Víctor Losada Hernández 487a574f50 initital fix 2024-10-06 00:05:12 -04:00
Gazook89 8115b1504e Add flex property to pages 2024-10-05 23:01:08 -05:00
Gazook89 34fa724fdd Change .pages margin to .brewRenderer padding
More consistent visuals since the zooming of the .pages element affects the spacing around the edges, and the brewRenderer padding isn't affected.
2024-10-05 22:43:13 -05:00
Gazook89 24544e713e Basically revert previous change
Adding the margin resets back in because otherwise each .page margin is set to "auto" on the sides, and that makes them zoom awkwardly when in facing and flow modes.
2024-10-05 22:35:42 -05:00
Gazook89 06a806e260 preserve margin around .pages
Keep margin around .pages element such that the pages are never bumped right against the divider.
2024-10-05 21:55:42 -05:00
Gazook89 4259931b67 Merge branch 'master' into View-Modes 2024-10-05 21:39:06 -05:00
Víctor Losada Hernández a4e0f1fc0f initital fix 2024-10-04 22:18:11 +02:00
Trevor Buckner 1a325fb3c5 New notification 2024-10-01 22:25:17 -04:00
Víctor Losada Hernández df06d8fcd3 update error index 2024-10-01 21:58:52 +02:00
G.Ambatte 77f162f7a4 Initial IDB functionality pass 2024-10-01 23:53:35 +13:00
Trevor Buckner 8a63859546 Merge pull request #3778 from 5e-Cleric/fix-lang-on-share
fix lang on share page
2024-09-30 13:51:50 -04:00
Trevor Buckner 313f18c74c Merge branch 'master' into fixToolbarZoomInPrint-#3744 2024-09-30 13:50:00 -04:00
Trevor Buckner db6c689914 Merge branch 'master' into fix-lang-on-share 2024-09-30 13:48:20 -04:00
Víctor Losada Hernández d4970ed119 initial commit 2024-09-30 17:48:07 +02:00
Trevor Buckner 40925253bd autosave to 16 seconds 2024-09-30 00:59:30 -04:00
Trevor Buckner 68895bdca2 Rate limit /api requests from each IP address
100 requests each 5 minutes.
2024-09-29 23:37:26 -04:00
Trevor Buckner ea656e5119 Issue notice 2024-09-29 00:15:26 -04:00
Trevor Buckner aaa0acdfea Merge branch 'master' into v3.15.1 2024-09-28 23:40:25 -04:00
G.Ambatte 570c850c4f Merge branch 'master' into fixToolbarZoomInPrint-#3744 2024-09-28 09:05:22 +12:00
G.Ambatte 17dfacd5c9 Add zoom property to BrewRenderer print styling 2024-09-28 09:03:00 +12:00
Trevor Buckner 9b58db9f1e Let sharepage update page numbers 2024-09-27 15:03:29 -04:00
Trevor Buckner ae123a8310 Change the other page number values as well 2024-09-27 11:35:01 -04:00
G.Ambatte 1f047890ab Change default value of currentEditorCursorPageNum 2024-09-27 23:32:19 +12:00
Trevor Buckner 15fde76209 Merge branch 'master' into v3.15.1 2024-09-27 00:13:32 -04:00
Trevor Buckner e260eb0911 Raise timeout to 10 s.
No need to be stingy here... Can lower back down if this works.
2024-09-26 19:14:16 -04:00
Víctor Losada Hernández ab32695ac9 test admin stuff 2024-09-25 11:34:56 +02:00
Trevor Buckner 220f4fad24 Merge branch 'master' into addLockRoutes-#3326 2024-09-24 13:37:53 -04:00