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

5757 Commits

Author SHA1 Message Date
Gazook89
69a69bbb82 Add 'editor' property to snippets.js
Add another property to the snippet groups, "editor", with values either "text" or "style".
2021-08-11 21:44:39 -05:00
Trevor Buckner
0075b0836a Popup error when gDrive credentials are expired on both /edit and /new 2021-08-11 15:36:57 -04:00
Trevor Buckner
77d447c0a3 Fix redundant Codemirror hotkeys 2021-08-11 12:54:18 -04:00
Trevor Buckner
af8ca7141d Update welcome_msg_v3.md 2021-08-11 01:01:04 -04:00
Trevor Buckner
a48c74b2e7 Replace Regex Lookbehind with obnoxious workaround so Safari doesn't break 2021-08-10 23:42:46 -04:00
Gazook89
a63949636e Update Ink Friendly snippet for v3
updated the ink friendly snippet so that it points to elements like .monster rather than hr+blockquote.

Goes further than original snippet by setting white background for monster, note, descriptive blocks.

Did not update Legacy.
2021-08-10 22:02:46 -05:00
Gazook89
9a44cc04b1 Add Square Page snippet
Add a snippet to Print menu (renamed to "Page") for a square page.  Reduces padding and removes columns as well.
2021-08-10 21:46:47 -05:00
Gazook89
cefa3147fc Fixes for CircleCI 2021-08-10 21:16:12 -05:00
Gazook89
51116efba7 Add Blended Watercolor Background Image
Add a snippet to create a nice watercolor background for use behind other images.  Includes injection syntax which includes absolute position, hue-rotate, mix-blend-mode, and opacity.

Chooses an image randomly from an Imgur album.  All images created by me (and open to creating more/making adjustments).

v3 only.

Could be improved by cycling through images rather than choosing randomly.
2021-08-10 20:56:28 -05:00
Gazook89
21058331cf Add Class Table Circle Decoration Snippet
Adding a background image snippet that includes the fancy circular decoration found behind class tables in the source material.

*Could arguably replace the normal "Background Image" snippet and hit two bases with one stone*
2021-08-10 20:24:43 -05:00
Gazook89
4b001d9890 Move Image Snippets to New Menu
Separating image related snippets to a new drop down snippet menu.
2021-08-10 20:22:36 -05:00
Gazook89
c9e1d7ba5c Fixed closing curly brackets on half class table 2021-08-10 16:35:21 -05:00
Gazook89
c8997cee68 Fix two css values throwing errors 2021-08-10 14:35:28 -05:00
Gazook89
ee343ad06f Merge branch 'master' into ClassTable-Revisions 2021-08-10 13:47:55 -05:00
Gazook89
79fa0dbe77 Fix font-family values for legacy/v3 2021-08-10 13:45:30 -05:00
Gazook89
9120c1d0eb Merge branch 'master' into v3-Artist-Snippet 2021-08-10 13:34:26 -05:00
Gazook89
a46370b81e Merge branch 'master' into v3-Artist-Snippet 2021-08-10 13:32:35 -05:00
Gazook89
2a428100c5 fix some indentation issues for circleCI 2021-08-10 09:11:14 -05:00
Gazook89
9f519b469d Change classTable Icons 2021-08-10 08:44:25 -05:00
Gazook89
927cc2e9b5 Fix "Spell Slots per Spell Level"
Update current "--- Spells Slots per Level ---"  to more accurate "--- Spells Slots per Spell Level ---" to match source material.
2021-08-10 08:33:05 -05:00
Gazook89
8bda68d684 Add 1/3 ClassTable, Unframed classes
- Adds a snippet for 1/3 Spellcasting/ClassTables for Issue #191 and builds on PR #1079 to work with v3 (but leaves out Legacy).
- Refactored classTable gen to more closely match monster block gen in terms of element classes (passed to gen function via attributes rather than baked into `return` function)
- Added an "unframed" snippet for each Full, Half, and Third class tables, which is consistent with monster stat blocks, and also is needed to satisfy #191 / #1079.
2021-08-10 08:31:08 -05:00
G.Ambatte
e108e30821 Remove brew.views for EditPage brew object 2021-08-10 22:51:52 +12:00
G.Ambatte
779426dbb1 Set modifiedTime during view count update 2021-08-10 21:43:41 +12:00
G.Ambatte
a6aaa93389 Revert "Add modifiedTime to properties to apply during view count increase update."
This reverts commit 72b18e4266.
2021-08-10 21:37:03 +12:00
G.Ambatte
72b18e4266 Add modifiedTime to properties to apply during view count increase update. 2021-08-10 21:35:27 +12:00
G.Ambatte
479f9af08c Wrap Last Viewed tooltip with Moment 2021-08-10 21:31:02 +12:00
G.Ambatte
0ddfb6e4e7 Update following Gitter conversation 2021-08-10 20:47:49 +12:00
G.Ambatte
120e99959a Update BrewItem tooltips 2021-08-10 18:54:16 +12:00
Trevor Buckner
3cf5dc74bb update Patreon link in homepage 2021-08-10 00:53:48 -04:00
Trevor Buckner
7021715543 /v3_preview page will show a v3 version of the homepage 2021-08-10 00:51:30 -04:00
Trevor Buckner
a351e2a118 Merge pull request #1540 from naturalcrit/dependabot/npm_and_yarn/mongoose-5.13.6
Bump mongoose from 5.13.5 to 5.13.6
2021-08-09 23:11:15 -04:00
dependabot[bot]
4a2b9bd662 Bump mongoose from 5.13.5 to 5.13.6
Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.13.5 to 5.13.6.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](https://github.com/Automattic/mongoose/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 03:00:42 +00:00
Trevor Buckner
82355f0175 Merge pull request #1539 from naturalcrit/v2.13.3
up version to 2.13.3
2021-08-09 22:48:45 -04:00
Trevor Buckner
965645f1e6 up version to 2.13.3 2021-08-09 22:47:19 -04:00
Gazook89
5d4bc23c84 Remove text wrapping from spanned header
This removes text wrapping from col-spanned headers inside a classtable...needed for half-tables that contain `--- Spells Slots per Spell Level ---` so they don't wrap to next line.

Both v3 and Legacy
2021-08-09 21:14:40 -05:00
Trevor Buckner
79e05b1665 Merge pull request #1534 from G-Ambatte/addMetaToLocalStorage-#1498
Save Renderer data in LocalStorage and GoogleDrive
2021-08-09 22:08:52 -04:00
Gazook89
e3285b5ca4 Create .frame class for Class Tables
Add a `.frame` class for Class Tables so that the frame and background can be toggled on or off in a similar fashion to the new monster stat block.

This will allow a class table to be used as a "third caster archetype" table such as referenced in PR #1079.  Adds consistency with Monster blocks, too.
2021-08-09 21:06:29 -05:00
G.Ambatte
2c954c398c Add renderer metadata to Google Drive file properties 2021-08-09 19:21:25 +12:00
G.Ambatte
33b8f2002b Save renderer settings to localStorage 2021-08-09 19:20:54 +12:00
Trevor Buckner
e3da09cb0e Merge pull request #1531 from G-Ambatte/hidePrivateBrews
Hide Private brew `<div>` if UserPage is not for logged in User
2021-08-09 00:56:30 -04:00
Trevor Buckner
cba3282541 Merge branch 'master' of https://github.com/naturalcrit/homebrewery 2021-08-09 00:52:57 -04:00
Trevor Buckner
621d34954a Allow paragraphs to break across columns 2021-08-09 00:52:49 -04:00
Trevor Buckner
5fc45ad22f Merge pull request #1530 from Gazook89/v3-style-tweaks
Make Minor Tweaks to v3 Style
2021-08-09 00:40:45 -04:00
Trevor Buckner
9ca8afb3ba optional chaining not needed on props 2021-08-09 00:40:25 -04:00
Trevor Buckner
175b2f8664 Further tweaking, use cm instead of px, top-margin when possible 2021-08-09 00:31:08 -04:00
Trevor Buckner
d6fbfe75bc Merge pull request #1533 from naturalcrit/dependabot/npm_and_yarn/googleapis-84.0.0
Bump googleapis from 83.0.0 to 84.0.0
2021-08-08 23:19:38 -04:00
dependabot[bot]
bddc670eea Bump googleapis from 83.0.0 to 84.0.0
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 83.0.0 to 84.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/googleapis-v83.0.0...googleapis-v84.0.0)

---
updated-dependencies:
- dependency-name: googleapis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 03:00:38 +00:00
Trevor Buckner
08cf83de2a Merge pull request #1529 from Gazook89/Commenting-Hotkeys
Add HTML Comment Hotkeys
2021-08-08 22:16:32 -04:00
Trevor Buckner
86184f8595 Changed shortcut to CTRL + /, fixed icon 2021-08-08 22:13:23 -04:00
G.Ambatte
6775960241 Hide Private brew <div> if UserPage is not for logged in User 2021-08-09 13:26:10 +12:00