From d8d403ffb8887a27124e736dfae19005a77cd6bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 30 Jan 2025 18:54:27 +0100 Subject: [PATCH 1/6] Update to v3.17.0 --- changelog.md | 45 ++++++++++++++++++++++++++++++++++ package-lock.json | 61 ++--------------------------------------------- package.json | 2 +- 3 files changed, 48 insertions(+), 60 deletions(-) diff --git a/changelog.md b/changelog.md index 3736ba9b0..723b5f1b2 100644 --- a/changelog.md +++ b/changelog.md @@ -85,6 +85,51 @@ pre { ## changelog For a full record of development, visit our [Github Page](https://github.com/naturalcrit/homebrewery). +### Thursday 01/30/2024 - v3.17.0 + +{{tasklist +##### 5e-Cleric + +- Update FAQ +- Fix styling for Vault buttons and checkboxes +- Improve navigation bar styling +- Add author renaming backend functions +- Fix malformed URI error when generating Reddit links +- Refactor User Page's Brew item component +- Refactor Share Page +- Refactor `dialog` notifications (with calculuschild and G-Ambatte) + +##### dbolack + +- Fix page shadows toolbar option - fixes issue [#3919](https://github.com/naturalcrit/homebrewery/issues/3919) +- Add Markdown for non-breaking spaces (` :>>> `) +- Update Docker install instructions - fixes issue [#1930](https://github.com/naturalcrit/homebrewery/issues/1930) +- Fix incorrect state update call - fixes issue [#3974](https://github.com/naturalcrit/homebrewery/issues/3974) +- Allow CSS inject directly in page by doing: `/page{}` - fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) With calculuschild +- Update Ubuntu install instructions - fixes issue [#1952](https://github.com/naturalcrit/homebrewery/issues/1952) +- Add align paragraph markdown (`:-: text`) + +##### G-Ambatte + +- Correct obsolete tag data - fixes issue [#3927](https://github.com/naturalcrit/homebrewery/issues/3927) +- Stop admin user being added as an author when updating brews via admin tools - fixes issue [#3952](https://github.com/naturalcrit/homebrewery/issues/3952) +- Add steps to refresh Google token to error page - fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) +- Add navigation by header/ID menu + +##### calculuschild + +- Fetch Google brews using user auth instead of service account - fixes issue [#2954](https://github.com/naturalcrit/homebrewery/issues/2954) +- Fix content negotiation middleware and tests - fixes issue [#3904](https://github.com/naturalcrit/homebrewery/issues/3904) +- Add Emojis testing +- Fix `toWellFormed() is not a function` for Win 7 users +- Add `content-visibility` property to decrease reflow time on large brews + +##### Gazook89 + +- Use Intersection Observers to detect on-screen pages - fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) + +}} + ### Wednesday 11/27/2024 - v3.16.1 {{taskList diff --git a/package-lock.json b/package-lock.json index 281c24b1f..1697ccc35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "homebrewery", - "version": "3.16.1", + "version": "3.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "homebrewery", - "version": "3.16.1", + "version": "3.17.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -3837,16 +3837,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "license": "MIT", - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, "node_modules/bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -6337,13 +6327,6 @@ "node": ">=16.0.0" } }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "license": "MIT", - "optional": true - }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -6517,20 +6500,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "license": "ISC" }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -10365,13 +10334,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, - "node_modules/nan": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", - "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==", - "license": "MIT", - "optional": true - }, "node_modules/nanoid": { "version": "5.0.9", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz", @@ -14429,25 +14391,6 @@ "node": ">=0.10.0" } }, - "node_modules/watchify/node_modules/fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "deprecated": "The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - }, - "engines": { - "node": ">= 4.0" - } - }, "node_modules/watchify/node_modules/glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", diff --git a/package.json b/package.json index 840975977..854f0c2f7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebrewery", "description": "Create authentic looking D&D homebrews using only markdown", - "version": "3.16.1", + "version": "3.17.0", "type": "module", "engines": { "npm": "^10.2.x", From d733b1f8f83b3bc43819ddef90872ae58314d8bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 30 Jan 2025 20:02:34 +0100 Subject: [PATCH 2/6] reformat changelog --- changelog.md | 90 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 65 insertions(+), 25 deletions(-) diff --git a/changelog.md b/changelog.md index 723b5f1b2..c6e712105 100644 --- a/changelog.md +++ b/changelog.md @@ -90,43 +90,83 @@ For a full record of development, visit our [Github Page](https://github.com/nat {{tasklist ##### 5e-Cleric -- Update FAQ -- Fix styling for Vault buttons and checkboxes -- Improve navigation bar styling -- Add author renaming backend functions -- Fix malformed URI error when generating Reddit links -- Refactor User Page's Brew item component -- Refactor Share Page -- Refactor `dialog` notifications (with calculuschild and G-Ambatte) +* [x] Update FAQ + +* [x] Fix styling for Vault buttons and checkboxes + +* [x] Improve navigation bar styling + +* [x] Add author renaming backend functions + +* [x] Fix malformed URI error when generating Reddit links + +* [x] Refactor User Page's Brew item component + +* [x] Refactor Share Page + +* [x] Refactor `dialog` notifications (with calculuschild and G-Ambatte) ##### dbolack -- Fix page shadows toolbar option - fixes issue [#3919](https://github.com/naturalcrit/homebrewery/issues/3919) -- Add Markdown for non-breaking spaces (` :>>> `) -- Update Docker install instructions - fixes issue [#1930](https://github.com/naturalcrit/homebrewery/issues/1930) -- Fix incorrect state update call - fixes issue [#3974](https://github.com/naturalcrit/homebrewery/issues/3974) -- Allow CSS inject directly in page by doing: `/page{}` - fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) With calculuschild -- Update Ubuntu install instructions - fixes issue [#1952](https://github.com/naturalcrit/homebrewery/issues/1952) -- Add align paragraph markdown (`:-: text`) +* [x] Fix page shadows toolbar option + +Fixes issue [#3919](https://github.com/naturalcrit/homebrewery/issues/3919) + +* [x] Add Markdown for non-breaking spaces (` :>>> `) + +* [x] Update Docker install instructions + +Fixes issue [#1930](https://github.com/naturalcrit/homebrewery/issues/1930) + +* [x] Fix incorrect state update call + +Fixes issue [#3974](https://github.com/naturalcrit/homebrewery/issues/3974) + +* [x] Allow CSS inject directly in page by doing: `/page{}` + +Fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) With calculuschild + +* [x] Update Ubuntu install instructions + +Fixes issue [#1952](https://github.com/naturalcrit/homebrewery/issues/1952) + +* [x] Add align paragraph markdown (`:-: text`) ##### G-Ambatte -- Correct obsolete tag data - fixes issue [#3927](https://github.com/naturalcrit/homebrewery/issues/3927) -- Stop admin user being added as an author when updating brews via admin tools - fixes issue [#3952](https://github.com/naturalcrit/homebrewery/issues/3952) -- Add steps to refresh Google token to error page - fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) -- Add navigation by header/ID menu +* [x] Correct obsolete tag data + +Fixes issue [#3927](https://github.com/naturalcrit/homebrewery/issues/3927) + +* [x] Stop admin user being added as an author when updating brews via admin tools + +Fixes issue [#3952](https://github.com/naturalcrit/homebrewery/issues/3952) + +* [x] Add steps to refresh Google token to error page + +Fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) + +* [x] Add navigation by header/ID menu ##### calculuschild -- Fetch Google brews using user auth instead of service account - fixes issue [#2954](https://github.com/naturalcrit/homebrewery/issues/2954) -- Fix content negotiation middleware and tests - fixes issue [#3904](https://github.com/naturalcrit/homebrewery/issues/3904) -- Add Emojis testing -- Fix `toWellFormed() is not a function` for Win 7 users -- Add `content-visibility` property to decrease reflow time on large brews +* [x] Fetch Google brews using user auth instead of service account + +Fixes issue [#2954](https://github.com/naturalcrit/homebrewery/issues/2954) + +* [x] Fix content negotiation middleware and tests + +Fixes issue [#3904](https://github.com/naturalcrit/homebrewery/issues/3904) + +* [x] Add Emojis testing + +* [x] Fix `toWellFormed() is not a function` for Win 7 users + +* [x] Add `content-visibility` property to decrease reflow time on large brews ##### Gazook89 -- Use Intersection Observers to detect on-screen pages - fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) +* [x] Use Intersection Observers to detect on-screen pages - fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) }} From f005cb784f2c57119f03f462fde3b7101af8b59b Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 30 Jan 2025 14:18:26 -0500 Subject: [PATCH 3/6] Update changelog.md --- changelog.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index c6e712105..89cb73e41 100644 --- a/changelog.md +++ b/changelog.md @@ -166,7 +166,9 @@ Fixes issue [#3904](https://github.com/naturalcrit/homebrewery/issues/3904) ##### Gazook89 -* [x] Use Intersection Observers to detect on-screen pages - fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) +* [x] Use Intersection Observers to detect on-screen pages + +Fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) }} From e4df577a322a5ed47c13f2f5dae13f292a37c7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 30 Jan 2025 23:33:49 +0100 Subject: [PATCH 4/6] remove internal changes --- changelog.md | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/changelog.md b/changelog.md index c6e712105..facf8d647 100644 --- a/changelog.md +++ b/changelog.md @@ -96,16 +96,10 @@ For a full record of development, visit our [Github Page](https://github.com/nat * [x] Improve navigation bar styling -* [x] Add author renaming backend functions +* [x] Add author renaming feature * [x] Fix malformed URI error when generating Reddit links -* [x] Refactor User Page's Brew item component - -* [x] Refactor Share Page - -* [x] Refactor `dialog` notifications (with calculuschild and G-Ambatte) - ##### dbolack * [x] Fix page shadows toolbar option @@ -118,13 +112,9 @@ Fixes issue [#3919](https://github.com/naturalcrit/homebrewery/issues/3919) Fixes issue [#1930](https://github.com/naturalcrit/homebrewery/issues/1930) -* [x] Fix incorrect state update call +* [x] Allow CSS inject directly in page by doing: `/page{}` (With calculuschild) -Fixes issue [#3974](https://github.com/naturalcrit/homebrewery/issues/3974) - -* [x] Allow CSS inject directly in page by doing: `/page{}` - -Fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) With calculuschild +Fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) * [x] Update Ubuntu install instructions @@ -134,15 +124,11 @@ Fixes issue [#1952](https://github.com/naturalcrit/homebrewery/issues/1952) ##### G-Ambatte -* [x] Correct obsolete tag data +* [x] Fix crash when opening brew Properties tab Fixes issue [#3927](https://github.com/naturalcrit/homebrewery/issues/3927) -* [x] Stop admin user being added as an author when updating brews via admin tools - -Fixes issue [#3952](https://github.com/naturalcrit/homebrewery/issues/3952) - -* [x] Add steps to refresh Google token to error page +* [x] Show credentials error when oportune Fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) @@ -150,15 +136,7 @@ Fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) ##### calculuschild -* [x] Fetch Google brews using user auth instead of service account - -Fixes issue [#2954](https://github.com/naturalcrit/homebrewery/issues/2954) - -* [x] Fix content negotiation middleware and tests - -Fixes issue [#3904](https://github.com/naturalcrit/homebrewery/issues/3904) - -* [x] Add Emojis testing +* [x] Add CMM and emojis tests * [x] Fix `toWellFormed() is not a function` for Win 7 users From 37d56f736537147f79c797ab2d7aa5f9ae1614c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 30 Jan 2025 23:35:42 +0100 Subject: [PATCH 5/6] compile removed items --- changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.md b/changelog.md index 521ef39a4..926d213ef 100644 --- a/changelog.md +++ b/changelog.md @@ -148,6 +148,10 @@ Fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) Fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) + +##### All +* [x] Update dependencies and scripts +* [x] Refactor components and fix various errors }} ### Wednesday 11/27/2024 - v3.16.1 From 8848c06b15cb4d3d7a80b5867308ee35a3ae1b78 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 30 Jan 2025 22:37:55 -0500 Subject: [PATCH 6/6] Rewording. Add more detailed examples. Add Table width syntax --- changelog.md | 55 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/changelog.md b/changelog.md index 926d213ef..8cfb499f6 100644 --- a/changelog.md +++ b/changelog.md @@ -77,17 +77,20 @@ pre { } .varSyntaxTable th:first-of-type { - width:6cm; + width:6cm; +} + +.page .exampleTable td,th { + border:1px dashed #00000030; } ``` - ## changelog For a full record of development, visit our [Github Page](https://github.com/naturalcrit/homebrewery). ### Thursday 01/30/2024 - v3.17.0 -{{tasklist +{{taskList ##### 5e-Cleric * [x] Update FAQ @@ -96,9 +99,9 @@ For a full record of development, visit our [Github Page](https://github.com/nat * [x] Improve navigation bar styling -* [x] Add author renaming feature +* [x] Add feature to change username at https://www.naturalcrit.com/account -* [x] Fix malformed URI error when generating Reddit links +* [x] Fix Reddit link crash when title has non-latin chars ##### dbolack @@ -106,13 +109,13 @@ For a full record of development, visit our [Github Page](https://github.com/nat Fixes issue [#3919](https://github.com/naturalcrit/homebrewery/issues/3919) -* [x] Add Markdown for non-breaking spaces (` :>>> `) +* [x] Add `:>>>` syntax for horizontal :>>>>> spaces * [x] Update Docker install instructions Fixes issue [#1930](https://github.com/naturalcrit/homebrewery/issues/1930) -* [x] Allow CSS inject directly in page by doing: `/page{}` (With calculuschild) +* [x] Allow styling pages via `\page{myStyles}` (with calculuschild) Fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) @@ -120,7 +123,24 @@ Fixes issue [#3901](https://github.com/naturalcrit/homebrewery/issues/3901) Fixes issue [#1952](https://github.com/naturalcrit/homebrewery/issues/1952) -* [x] Add align paragraph markdown (`:-: text`) +* [x] Add `:-:` `:-` `-:` syntax for paragraph alignment, similar to table column alignment; for example: + +-: -: Right-aligned + +:-: :-: Centered + +* [x] Add `:-- 50% --:` syntax to allow setting table column widths by percentage; for example: +``` +| Narrow | Wide | +|:- 10% -:|:-90%--:| +| Cell | Cell | +``` + + +| Narrow | Wide | +|:- 10% -:|:-90%--:| +|Cell | Cell | +{exampleTable} ##### G-Ambatte @@ -128,32 +148,29 @@ Fixes issue [#1952](https://github.com/naturalcrit/homebrewery/issues/1952) Fixes issue [#3927](https://github.com/naturalcrit/homebrewery/issues/3927) -* [x] Show credentials error when oportune +* [x] Update error pages with steps to refresh credentials Fixes issue [#3955](https://github.com/naturalcrit/homebrewery/issues/3955) -* [x] Add navigation by header/ID menu +* [x] Add {{openSans :fas_rectangle_list: **NAVIGATION**}} menu to the viewer toolbar ##### calculuschild -* [x] Add CMM and emojis tests - -* [x] Fix `toWellFormed() is not a function` for Win 7 users - -* [x] Add `content-visibility` property to decrease reflow time on large brews +* [x] Reduce display lag on large brews ##### Gazook89 -* [x] Use Intersection Observers to detect on-screen pages +* [x] Smarter detection of current page number Fixes issue [#3824](https://github.com/naturalcrit/homebrewery/issues/3824) - ##### All * [x] Update dependencies and scripts * [x] Refactor components and fix various errors }} +\column + ### Wednesday 11/27/2024 - v3.16.1 {{taskList @@ -200,6 +217,8 @@ Fixes issue [#3744](https://github.com/naturalcrit/homebrewery/issues/3744) * [x] Multiple code refactors, cleanups, and security fixes }} +\page + ### Saturday 10/12/2024 - v3.16.0 {{taskList @@ -2122,4 +2141,4 @@ Massive changelog incoming: * Added `phb.standalone.css` plus a build system for creating it * Added page numbers and footer text -* Page accent now flips each page +* Page accent now flips each page \ No newline at end of file