Trevor Buckner
10d4cd4ab3
Merge pull request #3796 from naturalcrit/FixGoogleLinksinUserPage
2024-10-06 15:52:29 -04:00
Trevor Buckner
2a523c4955
Fix links to google drive files in user page
...
User page was not marking Google Brews as "stubbed" if the brew belongs to another users' Google Drive or your own credentials are expired (it searches the current user drive for google files and checks if those are stubbed)
This now sets *every* file found on Mongo as "Stubbed", whether the Drive file belongs to the current user or not.
2024-10-06 15:48:10 -04:00
Víctor Losada Hernández
487a574f50
initital fix
2024-10-06 00:05:12 -04:00
Trevor Buckner
1a325fb3c5
New notification
2024-10-01 22:25:17 -04:00
Trevor Buckner
0110c6afed
Remove duplicate error log for googleActions.list
2024-10-01 15:06:11 -04:00
Trevor Buckner
0e29620710
Remove delayMiddleware and ratelimiter
2024-10-01 14:13:15 -04:00
Trevor Buckner
c33b44855a
Go back to service account for brew updates
2024-10-01 12:17:30 -04:00
Trevor Buckner
e7e35294c6
disable rate limiter
2024-09-30 10:59:43 -04:00
Trevor Buckner
e9c45b216c
Add retryconfig and forward user ip
2024-09-30 08:31:39 -04:00
Trevor Buckner
40925253bd
autosave to 16 seconds
2024-09-30 00:59:30 -04:00
Trevor Buckner
66433d9e77
5 requests
2024-09-30 00:45:10 -04:00
Trevor Buckner
3a6750613b
express proxy settings
2024-09-30 00:31:58 -04:00
Trevor Buckner
a7361f8450
add delay between get and update
2024-09-30 00:14:37 -04:00
Trevor Buckner
32fa272947
reduce rate limit to 60 requests in 5 minutes
2024-09-30 00:03:27 -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
8ab6a8599d
Use personal auth if logged in via google.
2024-09-29 21:47:45 -04:00
Trevor Buckner
ea656e5119
Issue notice
2024-09-29 00:15:26 -04:00
Trevor Buckner
05ad8e17a7
Merge pull request #3755 from naturalcrit/RaiseAutoSaveDelay
2024-09-26 19:17:51 -04:00
Trevor Buckner
bf87225415
Merge branch 'v3.15.1' into RaiseAutoSaveDelay
2024-09-26 19:17:35 -04:00
Trevor Buckner
8b61e69b77
Merge pull request #3754 from naturalcrit/RemoveDoubleGoogleDriveLogs
2024-09-26 19:15:46 -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
Trevor Buckner
c8424e0b10
Remove test that no longer applies
2024-09-26 19:12:19 -04:00
Trevor Buckner
ff9a75f6b6
Remove duplicate error logs for google drive update / new
...
Errors are now logged once in the central error handler in app.js
2024-09-26 19:00:07 -04:00
Trevor Buckner
84736980c9
Merge pull request #3713 from Gazook89/Fix-Vault-Styling-Issues
...
Fix Vault Page CSS specificity issues
2024-09-05 14:59:09 -04:00
Gazook89
e0be7a5db3
Move rules out of body and into more specific elements
2024-09-05 11:13:08 -05:00
Trevor Buckner
2e332d7699
Merge pull request #3710 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-28.8.3
...
Bump eslint-plugin-jest from 28.8.2 to 28.8.3
2024-09-05 11:01:57 -04:00
dependabot[bot]
53979f2266
Bump eslint-plugin-jest from 28.8.2 to 28.8.3
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.8.2 to 28.8.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.8.2...v28.8.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-05 03:38:40 +00:00
Trevor Buckner
780c92cb9b
Merge pull request #3704 from G-Ambatte/experimentalGitAttribs
2024-09-04 19:38:41 -04:00
Trevor Buckner
20c54ef79e
Merge branch 'master' into experimentalGitAttribs
2024-09-04 19:38:32 -04:00
Trevor Buckner
5ce69041fc
Merge pull request #3708 from naturalcrit/fix-arrows
...
FIx missing arrows
2024-09-04 18:07:38 -04:00
Víctor Losada Hernández
20db8c6720
restore missing state
2024-09-04 23:57:44 +02:00
Trevor Buckner
ed35eb2680
Merge pull request #3702 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.1
2024-09-04 17:22:22 -04:00
Trevor Buckner
2a7b7cd50c
Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.6.1
2024-09-04 17:21:44 -04:00
Trevor Buckner
d37fa03ec7
Merge pull request #3701 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.35.2
2024-09-04 17:21:33 -04:00
Trevor Buckner
2c7d39147d
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-react-7.35.2
2024-09-04 17:20:58 -04:00
Trevor Buckner
6535e94ccd
Merge pull request #3707 from naturalcrit/v3.15.0
2024-09-04 17:20:49 -04:00
Trevor Buckner
2ede3d7cf3
Merge branch 'master' into v3.15.0
2024-09-04 17:20:41 -04:00
Trevor Buckner
e56b2a7ce5
Merge pull request #3706 from 5e-Cleric/experimental-development
2024-09-04 17:20:21 -04:00
Trevor Buckner
ad8e004fa9
Update Dismisskey for popup
...
Need a new key so this new message will appear again for users who cleared the popup before
2024-09-04 17:16:11 -04:00
Trevor Buckner
e05d2e805c
v3.15.0
2024-09-04 17:01:27 -04:00
Víctor Losada Hernández
a083999943
Merge branch 'master' into experimental-development
2024-09-04 22:54:09 +02:00
Víctor Losada Hernández
247bc719b8
fix z-index issue
2024-09-04 22:52:57 +02:00
Víctor Losada Hernández
cd01014d79
notification
2024-09-04 22:48:39 +02:00
Víctor Losada Hernández
7ab1efb0c9
litttle message in vault
2024-09-04 22:39:30 +02:00
Trevor Buckner
eb05ac00a6
Merge pull request #3263 from 5e-Cleric/experimental-development
2024-09-04 16:24:44 -04:00
Trevor Buckner
2bc39a468f
set default value for dontRenderStorage prop
2024-09-04 16:15:18 -04:00
Trevor Buckner
c735ab7c35
Fix crash on metaData tab
...
Hiding the `moveBrew` etc. properties when `this.state.showMoveArrows == false` means when the `metaData` tab turns off the arrows it crashes because now some functions are undefined.
Just using a whole separate property to avoid conflict.
2024-09-04 15:50:32 -04:00
Víctor Losada Hernández
d5e367649e
fix overlapping thumbnail issue
2024-09-04 12:23:21 +02:00
Víctor Losada Hernández
f10444f14a
fix for storage 2
2024-09-04 12:18:35 +02:00
Víctor Losada Hernández
29d4003bd2
fix splitpane errors
2024-09-04 09:37:35 +02:00
Víctor Losada Hernández
1225e5cb6a
remove storage rendering in vault
2024-09-04 09:29:47 +02:00
Víctor Losada Hernández
aab24c732e
fix error managing
2024-09-04 09:25:13 +02:00
G.Ambatte
dd5d551c73
Merge branch 'master' into experimentalGitAttribs
2024-09-04 17:11:21 +12:00
Trevor Buckner
d7d690a9d1
Lint
2024-09-04 01:06:56 -04:00
Trevor Buckner
4f39222724
Change spaces to tabs
2024-09-04 00:52:08 -04:00
Trevor Buckner
a1e585ccaa
Remove redundant validation check
...
`performSearch()` and `loadTotal()` shouldn't need a separate check for valid items if `loadPage` already does it through `validateForm`
2024-09-04 00:43:12 -04:00
Trevor Buckner
373a627c14
With unneeded state gone, can rename back to title, author, etc.
...
No longer naming conflict with state and function parameters. We can go back to the shorter names
2024-09-04 00:35:27 -04:00
Trevor Buckner
a7cb73b02e
Remove unused update in loadPage
...
Now `update` is unused; can remove that parameter.
2024-09-04 00:20:18 -04:00
Trevor Buckner
cd3e517b03
Remove setPageState in loadPage. Already occurs in performSearch()
...
`performSearch` will set PageState whether `update` is true or not, so this line here is not doing anything.
2024-09-04 00:18:35 -04:00
Trevor Buckner
ef201409d9
rename setPage to setPageState (match pageState name)
2024-09-03 23:55:54 -04:00
Trevor Buckner
e3ef93f03a
Alignment
2024-09-03 23:54:52 -04:00
G.Ambatte
aa90513825
Update gitattributes
2024-09-04 15:46:00 +12:00
Trevor Buckner
1990064be4
Tidy findTotal
2024-09-03 23:44:43 -04:00
Trevor Buckner
44099c813c
Fix err is not defined. Remove extra console.error (central error handler already prints the error)
2024-09-03 23:44:24 -04:00
dependabot[bot]
8f18601c2e
Bump mongoose from 8.6.0 to 8.6.1
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.6.0 to 8.6.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.6.0...8.6.1 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 03:39:03 +00:00
dependabot[bot]
db02f88287
Bump eslint-plugin-react from 7.35.1 to 7.35.2
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.1 to 7.35.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 03:38:40 +00:00
Trevor Buckner
56185e2a1c
Tidy findBrews
2024-09-03 23:11:10 -04:00
Trevor Buckner
590318ff1d
Simplify rendererConditions
2024-09-03 22:58:50 -04:00
Víctor Losada Hernández
48a5a70d2e
z-index doesn't work with static positioning
2024-09-04 00:17:59 +02:00
Víctor Losada Hernández
1c1901c90a
fix thumbnail over text
2024-09-04 00:16:15 +02:00
Víctor Losada Hernández
ebae351033
remove unnecesary state
2024-09-04 00:11:58 +02:00
Víctor Losada Hernández
e54d81ceef
small css fixes
2024-09-03 23:28:33 +02:00
Víctor Losada Hernández
849da23829
bring back thumbnails!
2024-09-03 23:17:33 +02:00
Víctor Losada Hernández
1e36e63ed6
bring back the comma!
2024-09-03 23:07:23 +02:00
Víctor Losada Hernández
abb2d57879
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-09-03 22:58:05 +02:00
Víctor Losada Hernández
52779eec35
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-09-03 22:56:49 +02:00
Víctor Losada Hernández
9e694e5e46
move email catching to api
2024-09-03 22:56:45 +02:00
Víctor Losada Hernández
321b8a0696
Merge pull request #3699 from Gazook89/Focus-Editor-After-Switch
...
Set Focus on Editor after Tab Switches
2024-09-03 22:37:01 +02:00
Víctor Losada Hernández
f2563e436f
Merge branch 'master' into Focus-Editor-After-Switch
2024-09-03 22:34:30 +02:00
Gazook89
3c6f49aa0a
Move focus method to handleViewChange
2024-09-03 14:48:45 -05:00
Trevor Buckner
9bc5701006
Indent
2024-09-03 14:18:17 -04:00
Trevor Buckner
a3a5f749ab
Merge pull request #3700 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.35.1
...
Bump eslint-plugin-react from 7.35.0 to 7.35.1
2024-09-03 14:10:20 -04:00
dependabot[bot]
36b026d89e
Bump eslint-plugin-react from 7.35.0 to 7.35.1
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.0 to 7.35.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-03 18:09:47 +00:00
Trevor Buckner
dbd4a5c490
Merge pull request #3686 from G-Ambatte/v3.14.3
...
Up version to v3.14.3
2024-09-03 14:08:29 -04:00
Trevor Buckner
0d95c48988
Merge branch 'master' into v3.14.3
2024-09-03 14:08:06 -04:00
Trevor Buckner
0d40f4eb16
Small Rewording
2024-09-03 14:06:54 -04:00
Trevor Buckner
6234943ffd
Merge pull request #3698 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-28.8.2
...
Bump eslint-plugin-jest from 28.8.0 to 28.8.2
2024-09-03 13:52:41 -04:00
dependabot[bot]
702f55bdbd
Bump eslint-plugin-jest from 28.8.0 to 28.8.2
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.8.0 to 28.8.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.8.0...v28.8.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-03 17:35:36 +00:00
Trevor Buckner
859117cdf8
Merge pull request #3691 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.14.0
...
Bump @googleapis/drive from 8.13.1 to 8.14.0
2024-09-03 13:34:22 -04:00
Víctor Losada Hernández
7474605b93
rename 2
2024-09-03 15:58:31 +02:00
Víctor Losada Hernández
00a83ec16e
renaming to make more clear
2024-09-03 15:54:53 +02:00
Gazook89
afa1e7974a
Set focus on editor after tab switch
...
This sets the focus on the editor (and thus reveals cursor position) between editor changes (style to text to meta and back).
2024-09-02 21:07:19 -05:00
Víctor Losada Hernández
1517c00132
error logging to vault
2024-09-01 19:39:00 +02:00
Víctor Losada Hernández
6d24908465
now yes fixed
2024-09-01 19:31:43 +02:00
Víctor Losada Hernández
fd2d1f1ce2
fix little bug
2024-09-01 19:21:40 +02:00
Víctor Losada Hernández
226ad49663
renaming to keep some consistency
2024-09-01 19:12:25 +02:00
Víctor Losada Hernández
e830c51a16
add spacing to link
2024-09-01 11:22:25 +02:00
Víctor Losada Hernández
b6e904c9c8
"Rename searchButtonRef to submitButtonRef and update references"
2024-09-01 11:19:00 +02:00
Víctor Losada Hernández
3fc2e5202e
rest of the suggested changes
2024-09-01 11:14:09 +02:00
Víctor Losada Hernández
f0b447866c
suggested changes 2
2024-09-01 11:10:46 +02:00
Víctor Losada Hernández
c528c8639a
title attribute to hidden authors
2024-08-31 23:21:14 +02:00
Víctor Losada Hernández
47d8bb20d2
hide usernames with emails
2024-08-31 23:12:24 +02:00
Víctor Losada Hernández
bb08aed1a8
move some css to prevent affecting brew cards
2024-08-31 22:43:54 +02:00
Víctor Losada Hernández
9a2f18fc0d
provide error code text
2024-08-31 22:38:03 +02:00
Víctor Losada Hernández
df21f978df
bring back throws
2024-08-31 22:34:04 +02:00
Víctor Losada Hernández
fb8c4c5c44
all sugggested changes
2024-08-31 22:28:29 +02:00
Víctor Losada Hernández
19102db23a
indent with tabs
2024-08-31 22:11:43 +02:00
Víctor Losada Hernández
8d2a9ed9cb
adress app.js changes requested
2024-08-31 22:08:21 +02:00
Víctor Losada Hernández
a0010c9c84
"Moved error message styles from .searchButton to body, and removed duplicate styles."
2024-08-31 19:39:01 +02:00
Víctor Losada Hernández
f7c3e81b7b
"Added new route for '/vault' and updated catch-all for invalid routes"
2024-08-31 19:35:44 +02:00
Víctor Losada Hernández
c7f695e86a
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-31 19:21:06 +02:00
Víctor Losada Hernández
e6e220fbec
reposition button
2024-08-31 19:19:47 +02:00
Víctor Losada Hernández
8658a6a97a
styling
2024-08-31 19:13:08 +02:00
Víctor Losada Hernández
cd94857b13
"Refactor VaultPage component: remove unnecessary whitespace, reformat code, and reorganize tips and tricks section"
2024-08-31 18:59:32 +02:00
Víctor Losada Hernández
3825bcbbfb
"Simplified brewsQuery construction in buildBrewsQuery function"
2024-08-31 18:41:36 +02:00
Víctor Losada Hernández
981e7986ce
Added className='renderer' to two input elements in vaultPage.jsx and added CSS rules for .renderer in vaultPage.less to display an error message when no checkboxes are checked.
2024-08-31 16:20:46 +02:00
dependabot[bot]
89583528c2
Bump @googleapis/drive from 8.13.1 to 8.14.0
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.13.1 to 8.14.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.13.1...drive-v8.14.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-30 03:53:37 +00:00
G.Ambatte
e588e68313
Merge branch 'master' into v3.14.3
2024-08-29 17:47:36 +12:00
G.Ambatte
e4c2ffe973
Add image wrap icon fix
2024-08-29 17:46:23 +12:00
Trevor Buckner
c41116e6c8
Merge pull request #3687 from G-Ambatte/fixImageWrapIcons
...
Fix Image Wrap icons
2024-08-29 01:30:17 -04:00
G.Ambatte
b66ac43b35
Fix Image Wrap icons
2024-08-29 17:23:18 +12:00
G.Ambatte
c30404804d
Fix typo
2024-08-29 17:20:39 +12:00
G.Ambatte
6b10e1aacb
Very important F
2024-08-29 17:19:47 +12:00
G.Ambatte
e6185879c8
Up version to v3.14.3
2024-08-29 17:17:12 +12:00
Trevor Buckner
e776e5e054
Merge pull request #3684 from naturalcrit/FixTableInterruptors
2024-08-29 00:47:00 -04:00
Trevor Buckner
04bbb3d615
Merge branch 'master' into FixTableInterruptors
2024-08-29 00:44:46 -04:00
Trevor Buckner
5d1f589b07
Merge pull request #3685 from naturalcrit/dependabot/npm_and_yarn/marked-extended-tables-1.0.10
2024-08-29 00:44:38 -04:00
dependabot[bot]
ce5f093945
Bump marked-extended-tables from 1.0.9 to 1.0.10
...
Bumps [marked-extended-tables](https://github.com/calculuschild/marked-extended-tables ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/calculuschild/marked-extended-tables/releases )
- [Changelog](https://github.com/calculuschild/marked-extended-tables/blob/main/release.config.cjs )
- [Commits](https://github.com/calculuschild/marked-extended-tables/commits )
---
updated-dependencies:
- dependency-name: marked-extended-tables
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 04:42:49 +00:00
Trevor Buckner
371e464eb2
Merge branch 'master' into FixTableInterruptors
2024-08-29 00:30:07 -04:00
Trevor Buckner
804d714473
Add regex to detect when to interrupt a table
2024-08-29 00:20:47 -04:00
Trevor Buckner
8d00389aa2
Merge pull request #3683 from naturalcrit/dependabot/npm_and_yarn/marked-extended-tables-1.0.9
2024-08-29 00:19:42 -04:00
dependabot[bot]
d64787168b
Bump marked-extended-tables from 1.0.8 to 1.0.9
...
Bumps [marked-extended-tables](https://github.com/calculuschild/marked-extended-tables ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/calculuschild/marked-extended-tables/releases )
- [Changelog](https://github.com/calculuschild/marked-extended-tables/blob/main/release.config.cjs )
- [Commits](https://github.com/calculuschild/marked-extended-tables/commits )
---
updated-dependencies:
- dependency-name: marked-extended-tables
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 04:17:07 +00:00
Trevor Buckner
49a1a74263
Merge pull request #3681 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.0
2024-08-29 00:04:39 -04:00
dependabot[bot]
2636635397
Bump mongoose from 8.5.4 to 8.6.0
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.5.4 to 8.6.0.
- [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.4...8.6.0 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 04:01:06 +00:00
Trevor Buckner
c49c620ce1
Merge pull request #3680 from naturalcrit/dependabot/npm_and_yarn/stylelint-16.9.0
2024-08-29 00:00:07 -04:00
dependabot[bot]
0b00162590
Bump stylelint from 16.8.2 to 16.9.0
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.8.2 to 16.9.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.8.2...16.9.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 03:33:22 +00:00
Trevor Buckner
5e19bdaee7
Merge pull request #3678 from dbolack-ab/accursedKeys
2024-08-28 22:24:50 -04:00
David Bolack
bda8be6ec1
Remove stray console.log
2024-08-28 20:54:50 -05:00
David Bolack
132a7d1f53
A temporary, imperfect fix for the jump hotkeys
2024-08-28 20:48:33 -05:00
Trevor Buckner
2dbb92a37e
Merge pull request #3677 from 5e-Cleric/account-page-handling-of-invalid-user
...
Account page handling of invalid user
2024-08-28 17:07:52 -04:00
Trevor Buckner
a124bd8657
I'm dumb.
2024-08-28 16:59:22 -04:00
Trevor Buckner
5323e6ca7a
Merge branch 'master' into account-page-handling-of-invalid-user
2024-08-28 15:25:12 -04:00
Trevor Buckner
8423c48fd1
Slight rewording and add a period
2024-08-28 15:24:50 -04:00
Trevor Buckner
e8aceac133
Move check for account up a little
2024-08-28 15:21:43 -04:00
Trevor Buckner
5a692a74c5
Merge pull request #3660 from naturalcrit/imageWrappin
...
Image wrapping
2024-08-28 15:18:50 -04:00
Víctor Losada Hernández
6436e62ec0
set up error page
2024-08-28 21:10:28 +02:00
Víctor Losada Hernández
c9947d7f91
handle invalid account in account page, redirect to home
2024-08-28 20:42:53 +02:00
Trevor Buckner
3b3127248b
Merge branch 'master' into imageWrappin
2024-08-28 14:37:26 -04:00
Trevor Buckner
1d2355e802
Merge pull request #3674 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.13.1
...
Bump @googleapis/drive from 8.13.0 to 8.13.1
2024-08-28 09:47:22 -04:00
dependabot[bot]
b85bb7bdd4
Bump @googleapis/drive from 8.13.0 to 8.13.1
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.13.0 to 8.13.1.
- [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.13.0...drive-v8.13.1 )
---
updated-dependencies:
- dependency-name: "@googleapis/drive"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-28 03:42:23 +00:00
Trevor Buckner
a016bfd133
Merge pull request #3673 from Gazook89/Fix-Toolbar-Positioning
...
Revert toolbar positioning change
2024-08-27 13:03:12 -04:00
Trevor Buckner
63fa747fd7
Merge branch 'master' into Fix-Toolbar-Positioning
2024-08-27 13:03:06 -04:00
Gazook89
a7ddeafd06
revert change
2024-08-27 11:59:29 -05:00
Trevor Buckner
81e6cae99d
Merge pull request #3670 from 5e-Cleric/v3.14.2
...
up to v3.14.2
2024-08-27 12:00:38 -04:00
Trevor Buckner
be0db1770d
Reword to describe the fix, rather than the PR title
2024-08-27 11:55:41 -04:00
Trevor Buckner
f905a62b6c
Merge branch 'master' into v3.14.2
2024-08-27 11:47:47 -04:00
Trevor Buckner
35ca31cf43
Merge pull request #3671 from Gazook89/Fix-Toolbar-Positioning
...
Small Patch for Toolbar Positioning
2024-08-27 11:47:24 -04:00
Trevor Buckner
0ce3ac9be2
Merge branch 'master' into Fix-Toolbar-Positioning
2024-08-27 11:27:36 -04:00
Trevor Buckner
7cdf1c93cf
Merge pull request #3665 from Gazook89/Fill-Pane-Buttons
...
VIEWER TOOLS PART 2 - Zoom to Fit, Fit to Width
2024-08-27 11:26:56 -04:00
Gazook89
a7c4b78ec8
set position relative, remove padding
2024-08-27 09:03:24 -05:00
Gazook89
aa321fe2c3
Merge branch 'master' into Fill-Pane-Buttons
2024-08-27 08:43:19 -05:00
Gazook89
7bc0af9a8c
utilize Infinity and reduce()
2024-08-27 08:42:45 -05:00
Víctor Losada Hernández
69475833e6
"Update changelog.md with new hotkeys and fix for reload clobbering modified fresh clones"
2024-08-27 15:23:17 +02:00
Víctor Losada Hernández
7dce3b3de5
up to v3.14.2
2024-08-27 10:41:53 +02:00
Trevor Buckner
183687d676
Merge pull request #3075 from G-Ambatte/addCSSRoute-#1097
...
Add route to get brew styling
2024-08-26 20:04:46 -04:00
Trevor Buckner
786acc7a1c
Merge branch 'master' into addCSSRoute-#1097
2024-08-26 20:01:45 -04:00
Trevor Buckner
3d3ad3f284
Small tweaks
2024-08-26 19:58:28 -04:00
Trevor Buckner
a6a1d70abc
Merge pull request #3669 from naturalcrit/dependabot/npm_and_yarn/eslint-9.9.1
...
Bump eslint from 9.9.0 to 9.9.1
2024-08-26 17:39:44 -04:00
dependabot[bot]
73461d6372
Bump eslint from 9.9.0 to 9.9.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.9.0 to 9.9.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.9.0...v9.9.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 21:35:52 +00:00
Trevor Buckner
e56c6a5085
Merge pull request #3668 from naturalcrit/dependabot/npm_and_yarn/superagent-10.1.0
...
Bump superagent from 9.0.2 to 10.1.0
2024-08-26 17:34:39 -04:00
Trevor Buckner
f8f0280f8c
Merge branch 'master' into dependabot/npm_and_yarn/superagent-10.1.0
2024-08-26 17:27:58 -04:00
Trevor Buckner
4e393779ac
Merge pull request #3644 from G-Ambatte/fixEmojiFolding-#3604
...
Prevent styling of lines inside folded sections
2024-08-26 17:26:01 -04:00
Trevor Buckner
5671728c97
Change filter to some
...
`some` stops once it finds a true case; `filter` has to process the whole list of folds first.
2024-08-26 17:23:44 -04:00
Gazook89
e06611a90f
set all zoom buttons to use handleZoomButton
...
All zoom buttons run through same handler now.
They no longer take only the delta of the current zoom and desired zoom-- they take the actual desired zoom.
calculateZoom is now calculateChange, to help get the desired delta.
2024-08-26 16:16:13 -05:00
Gazook89
7b767368df
Change icons to mask-image
...
Removes icons as components, uses mask-image instead.
Sets a size on the .fac icons to 1em so by default they are 1em and retain their aspect ratio.
rename the icon files for consistency.
2024-08-26 15:51:35 -05:00
Trevor Buckner
d59c6be359
Merge branch 'master' into fixEmojiFolding-#3604
2024-08-26 16:34:06 -04:00
dependabot[bot]
0d564dd0bf
Bump superagent from 9.0.2 to 10.1.0
...
Bumps [superagent](https://github.com/ladjs/superagent ) from 9.0.2 to 10.1.0.
- [Release notes](https://github.com/ladjs/superagent/releases )
- [Changelog](https://github.com/ladjs/superagent/blob/master/HISTORY.md )
- [Commits](https://github.com/ladjs/superagent/compare/v9.0.2...v10.1.0 )
---
updated-dependencies:
- dependency-name: superagent
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 03:57:55 +00:00
Trevor Buckner
ef6e1e1782
Merge pull request #3667 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.5.4
...
Bump mongoose from 8.5.3 to 8.5.4
2024-08-25 23:56:46 -04:00
dependabot[bot]
b2f5e39256
Bump mongoose from 8.5.3 to 8.5.4
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.5.3 to 8.5.4.
- [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.3...8.5.4 )
---
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-26 03:55:31 +00:00
Víctor Losada Hernández
762de62aa6
Merge branch 'master' into addCSSRoute-#1097
2024-08-25 13:21:37 +02:00
Trevor Buckner
d4d27aab6a
Merge branch 'master' into Fill-Pane-Buttons
2024-08-24 23:59:19 -04:00
Trevor Buckner
1803c89a23
Merge pull request #3499 from 5e-Cleric/pdf-tools
...
Viewer tools
2024-08-24 23:58:10 -04:00
Trevor Buckner
4b0b56dd35
Lint the jsx files
2024-08-24 23:55:17 -04:00
Trevor Buckner
bf6eae7b3c
Simplify some logic in Toolbar
2024-08-24 23:54:09 -04:00
Trevor Buckner
3377d6645d
Tidy up brewRenderer
2024-08-24 23:53:44 -04:00
Trevor Buckner
5069eadd0a
Manual tidying of .less files
2024-08-24 23:53:07 -04:00
Trevor Buckner
7a5b0b32c4
restore deleted line from helpers.js
2024-08-24 23:26:45 -04:00
Gazook89
35a0a12f16
Merge branch 'pr/3499' into Fill-Pane-Buttons
2024-08-24 22:02:56 -05:00
Gazook89
504bb78a8d
switching padding to margin
...
using `padding-top` was breaking the navbar dropdowns (they would lose focus).
2024-08-24 22:02:43 -05:00
Gazook89
94ae33d328
Merge branch 'pr/3499' into Fill-Pane-Buttons
2024-08-24 21:28:13 -05:00
Gazook89
690c683943
select text when clicking into page input
2024-08-24 09:08:19 -05:00
Gazook89
3acf90dfdb
Add handlePageChange() to control input
...
Reintroducing handlePageChange() method to handle the page input separately from the scroll function. It tests the regex pattern on the string, parses to integer, and sets pageNum state.
scrollToPage also now sets the pageNum state after performing the scroll so the input box matches the new current page.
2024-08-24 09:05:43 -05:00
Gazook89
6bb5d04f07
round the calculated zoom level
2024-08-23 23:02:04 -05:00
Gazook89
b0b1f7fd0b
update method calls for zoom buttons
...
update method names in onClick events to match latest changes to the branch this builds from.
2024-08-23 22:58:43 -05:00
Gazook89
c25bf95a66
Merge branch 'pr/3499' into Fill-Pane-Buttons
2024-08-23 22:56:37 -05:00
Gazook89
370c480670
Merge branch 'master' into pr/3499
2024-08-23 22:55:13 -05:00
Gazook89
a351013359
remove some odd if statement in onChange
2024-08-23 22:54:29 -05:00
Gazook89
1f86b4c3d0
add mainRef back in
...
This was previously in the .pageInfo widget, probably not for any good reason, but I'm moving it to the popups div for probably not a good reason.
It's used to get the parent .pane div, and pull its `height` value which is then passed to the `.brewRenderer` div to set the height.
I tried alternate methods that would make this obsolete (CSS methods mostly), but due to some complexity am just ditching those alternatives and popping this sucker into `.popups` for now.
2024-08-23 22:41:12 -05:00
Gazook89
627a6a732b
remove .ppr_msg styling
...
This message doesn't exist anymore (i'm pretty sure), so this is just unused styling. Unrleated to the PR, but just minor.
2024-08-23 19:26:41 -05:00
Gazook89
77421c2950
remove .pageInfo widget in bottom of preview
...
page counter function is in toolbar now, so this isn't necessary.
2024-08-23 19:25:49 -05:00
Gazook89
f3ed174b0e
eslint and stylelint
...
stylelint has a problem with the `:horizontal` pseudo selector in brewRenderer.jsx, which is being used to apply some styling to the custom scrollbars. As far as i can tell, the selector is not standards-track, so that is probably why. Not sure if we want to adjsut our stylelint config to allow it?
2024-08-23 19:16:59 -05:00
Gazook89
977d0ea73a
eslint
2024-08-23 19:05:23 -05:00
Gazook89
04effa2150
removed whitepsace
2024-08-23 18:59:32 -05:00
Gazook89
7f694e6ca7
fold handlePageChange directly into input onChange
...
Moved the single-line handler to operate directly in the onChange handler of the input that is calling it.
Considered doing the same with handleZoomChange, but that handler is used by two buttons rather than just one.
2024-08-23 18:58:51 -05:00
Gazook89
769a03916b
rename pageInput state variable to pageNum
2024-08-23 18:48:36 -05:00
Gazook89
e3c90a8295
unset padding on brewRenderer in @print
...
Fixes an issue with the padding being reflected in pdfs as a white stripe at the top.
2024-08-23 18:45:08 -05:00
Gazook89
561ff6283a
remove redundant handleScroll() method
...
handleScroll is replaced by getCurrentPage(), which effectively does the same thing. The math is slightly different, though very similar, and result seems to be the same.
2024-08-23 18:33:14 -05:00
Víctor Losada Hernández
5e69718f4f
Merge branch 'master' into imageWrappin
2024-08-23 23:30:37 +02:00
Víctor Losada Hernández
ca5a7a1dbb
Merge branch 'master' into addCSSRoute-#1097
2024-08-23 23:16:19 +02:00
Víctor Losada Hernández
505ac0c1d5
Merge pull request #3515 from dbolack-ab/Issue_1430_Unique_HeaderIDs
...
Create globally unique Header IDs when marked parses.
2024-08-23 23:12:02 +02:00
Víctor Losada Hernández
987d1c881b
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into Issue_1430_Unique_HeaderIDs
2024-08-23 23:08:20 +02:00
Gazook89
f34107ee1d
fix typo
2024-08-23 15:06:48 -05:00
Gazook89
2246944dd2
Remove duplicate ErrorBar/popups tray
...
Removed duplicated components.
Restyled the popups to accomodate extra height of viewer tools.
2024-08-23 14:40:19 -05:00
Trevor Buckner
717ced28d6
Merge pull request #3662 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.25.4
...
Bump @babel/preset-env from 7.25.3 to 7.25.4
2024-08-23 01:17:02 -04:00
dependabot[bot]
fb836df8d5
Bump @babel/preset-env from 7.25.3 to 7.25.4
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.25.3 to 7.25.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.25.4/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 05:03:02 +00:00
Trevor Buckner
fba08262d3
Merge pull request #3661 from naturalcrit/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.25.4
...
Bump @babel/plugin-transform-runtime from 7.24.7 to 7.25.4
2024-08-23 01:01:49 -04:00
dependabot[bot]
56582b6b24
Bump @babel/plugin-transform-runtime from 7.24.7 to 7.25.4
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.24.7 to 7.25.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.25.4/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 04:58:49 +00:00
Trevor Buckner
43e4e43c7c
Merge pull request #3663 from naturalcrit/updateEsLintV9
...
up ESLint to v9.9
2024-08-23 00:57:34 -04:00
Trevor Buckner
3f3f113305
More typos
2024-08-23 00:54:00 -04:00
Trevor Buckner
96e23ee2ea
fix accidental deletion
2024-08-23 00:52:48 -04:00
Trevor Buckner
c57c9e236b
Update config file to new format
2024-08-23 00:49:36 -04:00
Gazook89
32c6224f40
remove console.log
2024-08-22 23:30:36 -05:00
Gazook89
8dadc57934
adjustment to toolbar spacing between items
...
testing the use of spacing to separate tool groups. Could alternatively use a thin vertical bar.
2024-08-22 23:22:39 -05:00
Gazook89
0dc9e9ecdb
Add 2 custom zoom related icons
...
New icons for Zoom to Fit, and Fit Width buttons. Used SVGR online tool to create react components and then combined them.
If doing in future, be sure to set currentColor on `fill` property in the SVG itself. Make the SVGs as closed curves only (don't rely on stroke). set only a width property, not height.
2024-08-22 23:21:48 -05:00
Gazook89
977b871967
Combine toFit and toFill functions
...
Reduce overlap of the two functions and just require a 'mode' parameter. Could like roll a 'manual' mode into this for the zoom slider, as well, but skipping for now.
2024-08-22 23:19:24 -05:00
Trevor Buckner
4fa8351f7f
Merge pull request #3643 from G-Ambatte/fixMaskSkewing-#3636
...
Change order of operations in mask img transform
2024-08-22 22:14:46 -04:00
Trevor Buckner
fa669f32fc
Merge branch 'master' into fixMaskSkewing-#3636
2024-08-22 22:12:10 -04:00
Trevor Buckner
fc294807fd
Merge branch 'master' into imageWrappin
2024-08-22 22:10:11 -04:00
Trevor Buckner
a9fe516675
Merge pull request #3657 from naturalcrit/dependabot/npm_and_yarn/stylelint-config-recess-order-5.1.0
...
Bump stylelint-config-recess-order from 5.0.1 to 5.1.0
2024-08-22 22:09:53 -04:00
Trevor Buckner
6502847b95
Merge pull request #3648 from dbolack-ab/preservePREColons
...
Fix for the colons in codeblocks issue.
2024-08-22 22:09:34 -04:00
Gazook89
90dd4326e7
Add a toFit() method to fit largest page in view
...
Adding a real toFit() button that takes the page with the largest single dimension (height or width) and makes it fit within the pane.
2024-08-22 20:56:42 -05:00
Trevor Buckner
eeedc5f7d4
Merge branch 'master' into preservePREColons
2024-08-22 21:53:16 -04:00
Trevor Buckner
fff357d08b
Make 'block-level' extension. Tweaks to pass new tests
...
'block-level' because it never occurs inside another block ('inline-level' always occurs inside something else); starts and stops on on its own line without anything else on the same line.
2024-08-22 21:52:40 -04:00
Trevor Buckner
e0b69dce14
add more test cases
...
Test a large number of breaks, and interaction with paragraphs
2024-08-22 21:49:40 -04:00
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
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
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
9203cc2a6a
Merge branch 'master' into preservePREColons
2024-08-20 13:24:24 -05:00
David Bolack
9e19ba2d4e
Merge branch 'master' into saveTheClones
2024-08-20 13:22:56 -05:00
David Bolack
a706c9ff9b
Merge branch 'master' into Issue_241
2024-08-20 13:22:25 -05:00
David Bolack
4957a0d2ef
Flip which arror is which.
2024-08-20 13:18:48 -05:00
David Bolack
727f2bd80e
use replaceState instead
2024-08-20 13:15:32 -05:00
Trevor Buckner
11790fa438
Merge branch 'master' into dependabot/npm_and_yarn/stylelint-16.8.2
2024-08-20 13:53:56 -04:00
Trevor Buckner
c4049ec5fa
Merge pull request #3642 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.26.1
...
Bump react-router-dom from 6.26.0 to 6.26.1
2024-08-20 13:53:35 -04:00
Trevor Buckner
02fca27f85
Merge branch 'master' into dependabot/npm_and_yarn/react-router-dom-6.26.1
2024-08-20 13:51:07 -04:00
Trevor Buckner
7f717b92fd
Merge pull request #3653 from naturalcrit/dependabot/npm_and_yarn/elliptic-6.5.7
...
Bump elliptic from 6.5.6 to 6.5.7
2024-08-20 13:50:52 -04:00
dependabot[bot]
e2272b078b
Bump elliptic from 6.5.6 to 6.5.7
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.6 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.6...v6.5.7 )
---
updated-dependencies:
- dependency-name: elliptic
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:47:02 +00:00
dependabot[bot]
01161752c6
Bump react-router-dom from 6.26.0 to 6.26.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.26.0 to 6.26.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:46:53 +00:00
Trevor Buckner
3237a4f2eb
Merge branch 'master' into dependabot/npm_and_yarn/stylelint-16.8.2
2024-08-20 13:45:58 -04:00
Trevor Buckner
d87e07e9ba
Merge pull request #3649 from naturalcrit/dependabot/npm_and_yarn/stylistic/stylelint-plugin-3.0.1
...
Bump @stylistic/stylelint-plugin from 3.0.0 to 3.0.1
2024-08-20 13:45:38 -04:00
dependabot[bot]
82529e0b06
Bump stylelint from 16.8.1 to 16.8.2
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.8.1 to 16.8.2.
- [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.8.1...16.8.2 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:44:18 +00:00
dependabot[bot]
641303d1ad
Bump @stylistic/stylelint-plugin from 3.0.0 to 3.0.1
...
Bumps [@stylistic/stylelint-plugin](https://github.com/stylelint-stylistic/stylelint-stylistic ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/stylelint-stylistic/stylelint-stylistic/releases )
- [Changelog](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint-stylistic/stylelint-stylistic/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: "@stylistic/stylelint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:44:14 +00:00
Trevor Buckner
845c2eca76
Merge pull request #3650 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.11.1
...
Bump @googleapis/drive from 8.11.0 to 8.11.1
2024-08-20 13:42:58 -04:00
David Bolack
e957f40775
Revert previous simplification as it breaks the original purpose of this PR
...
Added test for inside a code block.
2024-08-20 12:17:51 -05:00
David Bolack
3985afade9
Remove need for Definition exceptios
...
Retool original `:` break to insert `\n\n`s between each `:` so that
the definition lists never have a chance for a mismatch.
Rename token to "hardbreak"
Add tests for hardBreaks for `:`, `::`, and `:::` which should verify it works and does not collide with definitionlists.
2024-08-20 11:46:43 -05:00
Gazook89
f5ee55d0ca
keep current page number within existing page range
...
Make it so that if a user enters a page number higher than the total page count, it jumps them to last page. if lower than 1, it jumps them to first page.
2024-08-19 23:40:21 -05:00
Gazook89
2cf73698e8
white space lint
2024-08-19 23:38:48 -05:00
Gazook89
28a06348ab
style tool groups, minor tweaks to spacing
2024-08-19 23:15:02 -05:00
Gazook89
9510b4d097
wrap each set of toolbars into groups
...
Allows more styling options, including flex wrapping by group rather than individual button.
2024-08-19 23:14:45 -05:00
Gazook89
37c8ea4fd7
Add total page count and some styling
...
Displaying the total page count near the current page number means we can lose the bottom right toolbar entirely (the renderer could be added to top toolbar, or just left for the metadata info in title bar).
2024-08-19 23:01:55 -05:00
Gazook89
9adc3e2e1a
linting
2024-08-19 22:49:38 -05:00
Gazook89
fd00a9f81d
remove some console logs and some linting
2024-08-19 22:46:25 -05:00
Gazook89
720e43e9d9
update page increment/decrement buttons
...
putting the `pageInput - 1` modifier in the `scrollToPage` method allows for more understandable button function ('back button' is `- 1` and 'forward button' is `+ 1`).
2024-08-19 22:43:41 -05:00
Gazook89
176977dd2a
change input type to 'text'
...
Changing input type to text removes the "spinner" controls from within the text box. The spinner buttons are an accessibility issue (the tiny buttons are tiny), and we already have better buttons for incrementing/decrementing page number.
Text box only accepts numbers.
2024-08-19 22:40:50 -05:00
Gazook89
a42b867bcb
create handler function for controlled input
...
Moved onChange handler function to a component method and simplified it a smidge.
Must use parseInt now because the input type will change to 'text' rather than 'number'
2024-08-19 22:38:46 -05:00
Gazook89
1196a1577f
update minZoom and maxZoom variable names
...
Forgot to update the zoom variable names after making them all uppercase at their assignments.
2024-08-19 22:35:35 -05:00
Gazook89
54b11b1a4c
refactor useEffect for updating currentPage state
...
The current page and the current page input share the same value, so the useEffect hook can be simplified.
2024-08-19 22:34:32 -05:00
Gazook89
7fa9b3cdd2
rearrange state declarations for pages
...
totalPages shouldn't need to be in state, since this component won't be changing it.
renamed pageNumberInput to just pageInput. Was just something that happened in the course of working on it.
currentPage doesn't need to have it's own state separate from pageInput, they should always be the same *value*.
2024-08-19 22:32:02 -05:00
Gazook89
2f42c3f857
change top level constants to all caps
...
Better matches style of top level constants elsewhere in repo
2024-08-19 22:27:49 -05:00
David Bolack
67e868b5ee
Rewrite path oncomponant load for cloned brews to prevent losing active changes on the "new" document.
2024-08-19 20:35:23 -05:00
David Bolack
3a81521e6f
Work around users using Definition lists as paragraph indents.
2024-08-19 19:40:55 -05:00
David Bolack
a30608a8ae
Promote : paragraph breaks shortcut to a token.
2024-08-19 10:36:26 -05:00
dependabot[bot]
6a129aebdb
Bump @googleapis/drive from 8.11.0 to 8.11.1
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.11.0 to 8.11.1.
- [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.0...drive-v8.11.1 )
---
updated-dependencies:
- dependency-name: "@googleapis/drive"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-19 03:58:19 +00:00
David Bolack
184f182b3a
Short term fix for the colons in codeblocks issue.
2024-08-18 21:52:29 -05:00
Gazook89
05dd5e4c04
Change .toolbar position to absolute
...
Set as relative position, the toolbar (and mysteriously, the pageInfo box) would jump up 29px (toolbar height) when the "next page" button was clicked. absolute pos fixes this.
2024-08-18 18:51:46 -05:00
Gazook89
499c640a11
Move the Toolbar component out of the iframe
...
The website UI should stay out of the iframe if possible. Otherwise, users can style the UI on their brew which may or may not be a pain, and it's simple enough to avoid it.
2024-08-18 18:50:36 -05:00
Gazook89
5a11b7918e
refactor slider onChange and button onClick
...
Moved the zoomLevel state assignment to a newer useState hook function, making it easier (and shorter) to update that state within event handlers.
The slider onChange is a single easy line, and the buttons handlers are two lines for clarity.
2024-08-18 00:02:49 -05:00
Gazook89
36ab6923ed
remove zoomInput state property
...
zoomLevel and zoomInput should always be the same, so I've removed one.
2024-08-17 23:43:32 -05:00
Gazook89
7cc967ad49
setZoomLevel to no longer use if/else
...
Remove the 'in'/'out' parameter of the function and just have the buttons send postive or negative integers equal to the desired change in the zoom. No need for if/else statements using strings.
2024-08-17 23:39:59 -05:00
Gazook89
d108088295
remove unneeded handler
2024-08-17 21:23:12 -05:00
Gazook89
8be3154865
rename functions/attributes
...
updateZoom() => handleZoom
updateZoom prop => onZoomChange
More clarity of prop versus handler function.
2024-08-17 20:48:30 -05:00
Gazook89
9aa7c67c5b
remove "makeZoom" function
...
The makeZoom function is redundant if we just insert the style a little further down when the `.pages` div is initialized, as a `style` attribute on the tag.
2024-08-17 20:41:59 -05:00
Gazook89
5a84c0aaa7
Merge branch 'pr/3499' into Simplify-Zoom-Slider
2024-08-17 20:22:57 -05:00
Gazook89
4a6418a475
fix padding on sides of slider
...
Extra padding on the sides of a range slider extends the length of the slider, such that you can't move the thumb all the way to the end.
2024-08-17 18:08:33 -05:00
Gazook89
efb4c67e2a
use zoom icons rather than text
2024-08-17 15:40:52 -05:00
Gazook89
b325779466
remove extra line breaks
2024-08-17 15:38:27 -05:00
Gazook89
0d475ab035
refactor some properties
...
Mostly change some properties from things like "transparent" to "unset". A lot of things that are just overriding the default Naturalcrit "colored button". Moved some properties to the top level `.toolbar` class and let it cascade down.
2024-08-17 15:38:00 -05:00
Gazook89
c791c0f60b
modify the interactive states
...
more closely match the properties editor behavior. removed some unnecessary (unused) properties. Outline only appears when element is focused (rather than on hover as well).
2024-08-17 15:36:12 -05:00
Gazook89
f204b0ebc0
tool elements use width:auto for flexibility, but with min-width
...
Set the child elements of the toolbar to have auto width (can expand as needed), but have a min-width so no button, such as an icon, is too small.
2024-08-17 15:34:13 -05:00
Gazook89
adab8449e0
Change toolbar spacing
...
replace column-/row-gap with a single gap at 5px. Padding on each child element will provide the space. Set a height on toolbar, so child elements can be set to 100% height to improve bg color change on hover.
2024-08-17 15:32:30 -05:00
Gazook89
fc96f6bf95
text input changes (text-transform, radius, border, focus)
...
Aligning input here with Properties editor inputs. Removed border radius, added thin border, a focus border.
2024-08-17 14:45:50 -05:00
Gazook89
9924c6049e
Aesthetic changes to tooltip (radius, bg color)
...
Matching tooltip color to the background of the input it belongs to, for better cohesion. Removed border-radius as well.
2024-08-17 14:26:45 -05:00
Gazook89
21e9251043
aesthetic changes (border, text align, font size)
...
Text align isn't doing anything, and no other UI element is using a border and doesn't seem necessary here. Maintains the "flat" design.
2024-08-17 14:25:04 -05:00
Gazook89
19e6d94419
Set as Relative position, remove extra properties
...
Doesn't need to be Sticky positioning, relative is fine (it is still fixed above the iframe). Allows us to remove a bunch of extra properties.
Add a smidgen of padding.
2024-08-17 14:23:33 -05:00
Gazook89
232f28b5b4
Remove extra styling of the slider thumb
...
can just use browser defaults for this.
2024-08-17 14:06:58 -05:00
Gazook89
6af5abd37d
Rearrange nesting of slider tooltip
...
Just moving the :hover:after tooltip to within the existing css rule for sliders.
2024-08-17 14:06:14 -05:00
Gazook89
e0e49c606f
Utilize browser defined style for slider, with accent-color
...
Avoid over-styling of browser-defined slider, but still apply a HB appropriate color scheme. Prevents us from having to create our own tick marks, so we can just define the `option`s in the datalist and get tick marks in the right spot.
2024-08-17 14:05:14 -05:00
Gazook89
e9e49e39fb
Set preview zoom to update with onChange
...
Commented out the existing onChange handler, switched the onMouseUp that actually applies the zoom to onChange.
2024-08-17 13:59:58 -05:00
Gazook89
ee4eb19f1e
Run ESLint auto lint (spaces to tabs mostly)
2024-08-17 13:57:50 -05:00
G.Ambatte
cc9edcc67c
Prevent styling of lines inside folded sections
2024-08-17 23:11:04 +12:00
Víctor Losada Hernández
032fcf12e0
"Removed dynamic generation of zoom levels in datalist, replaced with a single static option of 100%"
2024-08-17 11:39:22 +02:00
G.Ambatte
174024b472
Merge branch 'master' into fixMaskSkewing-#3636
2024-08-17 11:02:25 +12:00
G.Ambatte
8a8cd3fb18
Change order of operations in mask img transform
2024-08-17 10:54:02 +12:00
G.Ambatte
dff0a7ae77
Merge branch 'addCSSRoute-#1097' of https://github.com/G-Ambatte/homebrewery into addCSSRoute-#1097
2024-08-17 10:27:09 +12:00
G.Ambatte
014482b3d5
Remove app.spec.js test command
2024-08-17 10:26:59 +12:00
G.Ambatte
ce7a98f974
Merge branch 'master' into addCSSRoute-#1097
2024-08-17 10:25:18 +12:00
Víctor Losada Hernández
5ee4ada112
"Updated ToolBar component: added zoom level limits, refactored zoom level handling, and modified CSS styles for input and slider elements."
2024-08-16 15:58:00 +02:00
Víctor Losada Hernández
f0765b5aaa
"refactored ToolBar component to use a single state object, and updated styles in toolBar.less"
2024-08-15 20:05:23 +02:00
Víctor Losada Hernández
9dde4aa94e
Merge branch 'pdf-tools' of https://github.com/5e-Cleric/homebrewery into pdf-tools
2024-08-15 17:46:49 +02:00
Víctor Losada Hernández
1452920fbd
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into pdf-tools
2024-08-15 17:41:27 +02:00
David Bolack
81a098b6cf
Merge branch 'master' into Issue_241
2024-08-15 09:40:23 -05:00
Víctor Losada Hernández
c6f87eded0
add vault nav item to userpage
2024-08-14 20:42:18 +02:00
David Bolack
aa2fe3ef97
Merge branch 'master' into FalsePaths
2024-08-13 22:12:03 -05:00
Trevor Buckner
31fcf28e3f
Merge pull request #3631 from naturalcrit/v3.14.1
...
Up to v3.14.1
2024-08-13 17:11:08 -04:00
Trevor Buckner
aa945c4177
Up to v3.14.1
2024-08-13 17:08:59 -04:00
David Bolack
52faa366ca
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-13 12:30:16 -05:00
David Bolack
fc6930c868
Merge branch 'master' into Issue_241
2024-08-13 12:17:45 -05:00
David Bolack
1ed7e43db1
Implement G-Ambette's cleaner fix.
2024-08-13 12:09:45 -05:00
David Bolack
6ec51bf725
Revert "Prevent loading of undefined renderer or theme themebundle."
...
This reverts commit 136e877ee6 .
2024-08-13 12:09:26 -05:00
G.Ambatte
ae336f1429
Add extra getCSS tests
2024-08-13 22:30:59 +12:00
G.Ambatte
5847b246ef
Add getCSS test
2024-08-13 22:05:03 +12:00
G.Ambatte
38168131e7
Remove app.spec.js
2024-08-13 22:03:06 +12:00
G.Ambatte
00e113ff67
Move getCSS to homebrew.api.js
2024-08-13 22:02:54 +12:00
Víctor Losada Hernández
62b96f4e79
change back prop names
2024-08-13 12:00:58 +02:00
David Bolack
136e877ee6
Prevent loading of undefined renderer or theme themebundle.
2024-08-12 21:42:25 -05:00
Víctor Losada Hernández
8faae1e645
Remove console log statement for invalid search in VaultPage component.
2024-08-13 00:51:28 +02:00
Víctor Losada Hernández
e4852b7077
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-13 00:47:25 +02:00
G.Ambatte
2ba42def09
Merge branch 'master' into addCSSRoute-#1097
2024-08-12 22:01:56 +12:00
G.Ambatte
337d3567fc
Merge branch 'addCSSRoute-#1097' of https://github.com/G-Ambatte/homebrewery into addCSSRoute-#1097
2024-08-12 18:49:11 +12:00
G.Ambatte
3dc8eec1e6
Add app test NPM command
2024-08-12 18:49:01 +12:00
G.Ambatte
fac2293b77
Add App test file
2024-08-12 18:48:46 +12:00
G.Ambatte
7d699e455e
Switch CSS route to call a function
2024-08-12 18:48:28 +12:00
Trevor Buckner
cbc6dcdc35
Merge pull request #3625 from G-Ambatte/fixVarNameAsParam-#3622
...
Tweak variable math split regex
2024-08-11 23:01:38 -04:00
Trevor Buckner
5894dc5a7a
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-11 21:59:58 -04:00
Trevor Buckner
284bfe565b
Merge pull request #3624 from G-Ambatte/fixVarNameSubstringClash-#3613
...
Fix var name substring clash #3613
2024-08-11 21:49:31 -04:00
G.Ambatte
e03b540788
Merge branch 'master' into addCSSRoute-#1097
2024-08-10 18:03:50 +12:00
Víctor Losada Hernández
2dc4ebb39f
Remove console log and CSS rule for hr element in vaultPage.
2024-08-10 00:12:17 +02:00
Víctor Losada Hernández
59672b79d8
remove unnecessary changes in unrelated files
2024-08-10 00:05:58 +02:00
Víctor Losada Hernández
59717fe630
"Refactor VaultPage component, update styles, and modify server-side API queries"
2024-08-10 00:00:43 +02:00
Víctor Losada Hernández
3f9c7a1794
"Moved and rearranged conditional statements for rendering no search/brews found messages in VaultPage component."
2024-08-09 23:15:59 +02:00
Víctor Losada Hernández
ca1f2dd1c3
fix validity check
2024-08-09 22:57:17 +02:00
Víctor Losada Hernández
a8e6f5cf26
"Refactor VaultPage component: moved form validation logic, removed unnecessary variables, and rearranged code structure."
2024-08-09 22:53:20 +02:00
Víctor Losada Hernández
f3a774d55c
"Removed unnecessary conditional statement in buildBrewsQuery function"
2024-08-09 22:46:25 +02:00
Víctor Losada Hernández
834980890a
"Refactor VaultPage component: update form validation and submission logic"
2024-08-09 22:44:26 +02:00
Víctor Losada Hernández
969eb354ce
include query example for future debugging
2024-08-09 22:35:39 +02:00
G.Ambatte
075c8805e0
Merge branch 'fixVarNameAsParam-#3622' of https://github.com/G-Ambatte/homebrewery into fixVarNameAsParam-#3622
2024-08-10 08:24:23 +12:00
G.Ambatte
5c4187cd06
Add variable names as function parameter tests
2024-08-10 08:24:16 +12:00
G.Ambatte
1719cc68fa
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-10 08:23:23 +12:00
G.Ambatte
3ba67fb3d0
Merge branch 'master' into fixVarNameSubstringClash-#3613
2024-08-10 07:56:04 +12:00
G.Ambatte
f58d52c4b6
Add comma to var math split regex
2024-08-10 07:54:50 +12:00
Víctor Losada Hernández
9288ead130
remove owner functionality completely
2024-08-09 19:24:39 +02:00
Víctor Losada Hernández
a8a4930225
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery ; branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-09 18:54:51 +02:00
Trevor Buckner
e1ad6f8114
Merge pull request #3588 from G-Ambatte/fixInfoPanel-#3586
...
Add disableMeta prop to SharePage
2024-08-09 10:55:27 -04:00
G.Ambatte
22257a95e0
Merge branch 'master' into fixInfoPanel-#3586
2024-08-09 18:06:07 +12:00
G.Ambatte
713c978f08
Add disableMeta to /migrate
2024-08-09 18:05:36 +12:00
G.Ambatte
3eb0c7acfe
Add variable name checks
2024-08-09 17:42:15 +12:00
G.Ambatte
c3e6c01ec1
Fix typo in regex
2024-08-09 15:33:28 +12:00
G.Ambatte
190bce519f
Merge branch 'master' into addCSSRoute-#1097
2024-08-09 15:29:56 +12:00
G.Ambatte
5bb5cdec05
Change replaceAll to use RegEx from string
2024-08-09 13:10:30 +12:00
Trevor Buckner
f8e68c1485
Merge pull request #3620 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-28.8.0
...
Bump eslint-plugin-jest from 28.7.0 to 28.8.0
2024-08-08 18:14:24 -04:00
Trevor Buckner
60ccd08bce
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-jest-28.8.0
2024-08-08 17:53:01 -04:00
Trevor Buckner
f241024167
Merge pull request #3585 from dbolack-ab/CSSFolding
...
Add Code folding on CSS style tab
2024-08-08 17:51:43 -04:00
Trevor Buckner
f1fd75574d
Merge branch 'master' into CSSFolding
2024-08-08 17:51:05 -04:00
Trevor Buckner
31352e417f
Simplify folding logic
2024-08-08 17:48:32 -04:00
Trevor Buckner
643af98ca3
Add comment
2024-08-08 17:44:16 -04:00
Trevor Buckner
3b61cd355f
Fix edge case where string was emitting data: twice.
...
Also, a case where the input is right around 50 chars. It can be truncated twice, leading to a long `.....`
2024-08-08 17:43:57 -04:00
Trevor Buckner
8df19e3b8f
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-jest-28.8.0
2024-08-08 11:14:13 -04:00
Trevor Buckner
91d6548822
Merge pull request #3621 from naturalcrit/dependabot/npm_and_yarn/marked-emoji-1.4.2
...
Bump marked-emoji from 1.4.1 to 1.4.2
2024-08-08 11:13:55 -04:00
dependabot[bot]
ef797b2a69
Bump marked-emoji from 1.4.1 to 1.4.2
...
Bumps [marked-emoji](https://github.com/UziTech/marked-emoji ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/UziTech/marked-emoji/releases )
- [Changelog](https://github.com/UziTech/marked-emoji/blob/main/release.config.cjs )
- [Commits](https://github.com/UziTech/marked-emoji/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: marked-emoji
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-08 03:05:41 +00:00
dependabot[bot]
33a62a0ac7
Bump eslint-plugin-jest from 28.7.0 to 28.8.0
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.7.0 to 28.8.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.7.0...v28.8.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-08 03:05:17 +00:00
Trevor Buckner
5a9025f555
Merge pull request #3618 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-28.7.0
...
Bump eslint-plugin-jest from 28.6.0 to 28.7.0
2024-08-07 13:15:48 -04:00
Trevor Buckner
0a494633bb
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-jest-28.7.0
2024-08-07 12:00:40 -04:00
Trevor Buckner
aeaea5b5e0
Merge pull request #3516 from dbolack-ab/Issue_2563
...
Update table of content list-item breakage rules for wide table of contents
2024-08-07 12:00:23 -04:00
Trevor Buckner
e03ec34104
Merge branch 'master' into Issue_2563
2024-08-07 11:59:32 -04:00
dependabot[bot]
c65ee59998
Bump eslint-plugin-jest from 28.6.0 to 28.7.0
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.6.0 to 28.7.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.6.0...v28.7.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-05 03:15:14 +00:00
Trevor Buckner
4d59a14f74
Merge pull request #3617 from naturalcrit/lint-metadataEditor.less
...
Lint metadataEditor.less
2024-08-03 17:29:47 -04:00
Trevor Buckner
3c8aaa7465
Update metadataEditor.less
2024-08-03 17:28:47 -04:00
Trevor Buckner
ac70403203
Merge pull request #3611 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.26.0
...
Bump react-router-dom from 6.25.1 to 6.26.0
2024-08-03 02:51:13 -04:00
dependabot[bot]
a5e7ad882d
Bump react-router-dom from 6.25.1 to 6.26.0
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.25.1 to 6.26.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-03 06:47:06 +00:00
Trevor Buckner
061925e89a
Merge pull request #3616 from naturalcrit/Replace-stylistic-stylelint-with-@stylistic-stylelint
...
Migrate from stylelint-stylistic to @stylelint-stylistic
2024-08-03 02:46:04 -04:00
Trevor Buckner
5fc8b508d1
Merge branch 'master' into Replace-stylistic-stylelint-with-@stylistic-stylelint
2024-08-03 02:43:33 -04:00
Trevor Buckner
cb444bef9d
stylelint-stylistic has a new owner; migrating to newer package
2024-08-03 02:42:22 -04:00
Trevor Buckner
481f2e7d39
Merge pull request #3587 from G-Ambatte/addSignedFunction-#3537
...
Add new var math functions
2024-08-03 02:12:23 -04:00
Trevor Buckner
7559652a32
Merge branch 'master' into addSignedFunction-#3537
2024-08-03 02:09:47 -04:00
Trevor Buckner
8e15466063
Merge pull request #3615 from G-Ambatte/fixSelectSelfInThemeSource-#3614
...
Prevent self-selection of User Theme
2024-08-03 02:07:33 -04:00
G.Ambatte
8ef319d2cd
Merge branch 'master' into fixSelectSelfInThemeSource-#3614
2024-08-03 16:35:17 +12:00
G.Ambatte
1513a983f7
Skip self when generating metadata dropdown list
2024-08-03 16:32:49 +12:00
G.Ambatte
1b71bbaefb
Remove escaping from new functions
2024-08-03 10:32:39 +12:00
G.Ambatte
fcd5279381
Enable built-in abs()
2024-08-03 10:32:18 +12:00
G.Ambatte
4276d38152
Merge branch 'master' into addSignedFunction-#3537
2024-08-03 09:47:00 +12:00
David Bolack
6f4604c8a9
Merge branch 'master' into Issue_241
2024-08-02 15:51:53 -05:00
David Bolack
13fa06ec1f
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-02 15:49:34 -05:00
David Bolack
d6bf2dec7e
Merge branch 'master' into CSSFolding
2024-08-02 15:27:04 -05:00
David Bolack
423a4a521a
Correct truncation when looking for data: in css folding
2024-08-02 15:25:41 -05:00
David Bolack
05d4d5b1ff
Revert "Correct truncation when looking for data: in css folding"
...
This reverts commit ad1e8d50d7 .
2024-08-02 15:25:10 -05:00
David Bolack
ad1e8d50d7
Correct truncation when looking for data: in css folding
2024-08-02 15:24:14 -05:00
David Bolack
c926f0de79
Resolve import matching suggestion.
2024-08-02 15:10:39 -05:00
Víctor Losada Hernández
4337c67f69
Merge branch 'master' into Issue_2563
2024-08-01 23:37:43 +02:00
Trevor Buckner
bb06a3e4d4
Merge pull request #3526 from 5e-Cleric/fix-background-monster-in-safari
...
Fixing Monster Frame background in Safari for iphone and ipad
2024-08-01 17:23:37 -04:00
Trevor Buckner
6af9c9e432
Merge branch 'master' into Issue_2563
2024-08-01 17:16:18 -04:00
Trevor Buckner
84d0d15c5a
Merge branch 'master' into fix-background-monster-in-safari
2024-08-01 17:07:18 -04:00
Trevor Buckner
b185fe8e35
Move Monster block changes under main monster block stuff
2024-08-01 17:06:18 -04:00
Trevor Buckner
adbb9e54c1
Merge branch 'master' into addSignedFunction-#3537
2024-08-01 16:12:46 -04:00
Trevor Buckner
1d3c2d7cd6
Merge branch 'master' into fixInfoPanel-#3586
2024-08-01 15:57:43 -04:00
Trevor Buckner
2dc397e9f1
Merge pull request #3610 from naturalcrit/MoveMigrateToSharePage
...
Move Migrate page to use Share component
2024-08-01 15:56:37 -04:00
Trevor Buckner
6465564b6f
Add route to Homebrew.jsx
2024-08-01 15:37:00 -04:00
G.Ambatte
e1fe640e92
Update shared/naturalcrit/markdown.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-08-02 07:03:27 +12:00
G.Ambatte
6f99fe7455
Update shared/naturalcrit/markdown.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-08-02 07:02:57 +12:00
Trevor Buckner
4b3b44ecc8
Merge branch 'master' into addCSSRoute-#1097
2024-08-01 14:28:10 -04:00
David Bolack
129e18da0f
Merge branch 'master' into Issue_241
2024-08-01 11:04:52 -05:00
Víctor Losada Hernández
2bc7cda8c9
fixes
2024-08-01 17:36:14 +02:00
David Bolack
342963dae6
Merge branch 'master' into Issue_2563
2024-08-01 10:33:34 -05:00
David Bolack
957b1ed9e7
Merge branch 'master' into CSSFolding
2024-08-01 10:09:56 -05:00
David Bolack
31b3bd1ace
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-01 09:25:30 -05:00
Víctor Losada Hernández
f1ab332ce0
hide instead of comment
2024-08-01 16:02:00 +02:00
Víctor Losada Hernández
d50f23354a
minor changes
2024-08-01 15:57:27 +02:00
Víctor Losada Hernández
662a2d776a
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-08-01 15:55:09 +02:00
Víctor Losada Hernández
80f07bf0b0
Nav item
2024-08-01 15:55:04 +02:00
Víctor Losada Hernández
6cf2dd8186
Merge branch 'master' into experimental-development
2024-08-01 15:49:52 +02:00
Víctor Losada Hernández
5de20cb451
disabling owner input
2024-08-01 15:32:13 +02:00
Trevor Buckner
423ed28fbd
Merge pull request #3517 from dbolack-ab/Issue_2688
...
Solve for .descriptive and .wide not getting along
2024-08-01 00:59:03 -04:00
Trevor Buckner
a4f17259e1
Merge branch 'master' into Issue_2688
2024-08-01 00:58:06 -04:00
Trevor Buckner
c2678e5f2c
Merge pull request #3564 from G-Ambatte/fixInkFriendlySnippet-#3563
...
Stop Ink Friendly snippet making text unselectable in output PDF
2024-08-01 00:48:21 -04:00
Trevor Buckner
d797333b97
Merge branch 'master' into fixInkFriendlySnippet-#3563
2024-08-01 00:48:14 -04:00
Trevor Buckner
40777a3794
Merge pull request #3580 from G-Ambatte/fixToCUpperCasing-#3572
...
Fix Table of Contents uppercasing
2024-08-01 00:47:23 -04:00
Trevor Buckner
ac1005c2b0
Merge branch 'master' into fixInkFriendlySnippet-#3563
2024-08-01 00:47:02 -04:00
Trevor Buckner
c77395149b
Tweak shadow values to match 5ePHB
...
box-shadows are a little smaller than drop-shadow. This just uses the same values we already found previously so the shadow size is not affected.
2024-08-01 00:46:08 -04:00
Trevor Buckner
fb0580fff1
Merge branch 'master' into fixToCUpperCasing-#3572
2024-08-01 00:41:47 -04:00
Trevor Buckner
0e953d08b2
Merge pull request #3609 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.25.3
...
Bump @babel/preset-env from 7.25.2 to 7.25.3
2024-07-31 23:54:21 -04:00
dependabot[bot]
7fce362a52
Bump @babel/preset-env from 7.25.2 to 7.25.3
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.25.2 to 7.25.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.25.3/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-01 03:47:39 +00:00
Trevor Buckner
3e7844ba6d
Merge pull request #3591 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.35.0
...
Bump eslint-plugin-react from 7.34.3 to 7.35.0
2024-07-31 23:45:53 -04:00
Trevor Buckner
7619f8f420
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-react-7.35.0
2024-07-31 22:43:52 -04:00
Trevor Buckner
bac52f8376
Merge pull request #3582 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.25.1
...
Bump react-router-dom from 6.24.1 to 6.25.1
2024-07-31 22:43:39 -04:00
Trevor Buckner
5c72cd9d47
Merge branch 'master' into dependabot/npm_and_yarn/react-router-dom-6.25.1
2024-07-31 21:54:53 -04:00
Trevor Buckner
89b59a52bc
Merge pull request #3608 from G-Ambatte/fixTests
...
Fix tests post v3.14.0
2024-07-31 21:54:32 -04:00
Trevor Buckner
a6f2a1a4c8
Merge branch 'master' into fixTests
2024-07-31 21:51:46 -04:00
Trevor Buckner
e9e9fbe21c
Merge pull request #3592 from dbolack-ab/UpdateDocker
...
Update Node version for Docker
2024-07-31 21:51:16 -04:00
G.Ambatte
e7108947d6
Fix expected values for pageCount and renderer
2024-08-01 13:24:23 +12:00
G.Ambatte
8b68f24135
Merge branch 'master' into fixInkFriendlySnippet-#3563
2024-08-01 12:43:20 +12:00
G.Ambatte
e32ae9a792
Merge branch 'master' into fixToCUpperCasing-#3572
2024-08-01 12:42:08 +12:00
G.Ambatte
758a951bf5
Merge branch 'master' into fixInfoPanel-#3586
2024-08-01 12:33:07 +12:00
G.Ambatte
21ac50cd27
Merge branch 'master' into addSignedFunction-#3537
2024-08-01 12:32:07 +12:00
dependabot[bot]
fc67a40167
Bump eslint-plugin-react from 7.34.3 to 7.35.0
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.34.3 to 7.35.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.35.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-31 23:35:07 +00:00
dependabot[bot]
7949df1865
Bump react-router-dom from 6.24.1 to 6.25.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.24.1 to 6.25.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.25.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-31 23:35:06 +00:00
Trevor Buckner
8ed013cbb2
Merge pull request #3603 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.5.2
...
Bump mongoose from 8.4.5 to 8.5.2
2024-07-31 19:34:29 -04:00
Trevor Buckner
0138c27863
Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.5.2
2024-07-31 19:34:00 -04:00
Trevor Buckner
7930c209ff
Merge pull request #3599 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.25.2
...
Bump @babel/preset-env from 7.24.7 to 7.25.2
2024-07-31 19:33:51 -04:00
dependabot[bot]
26fdc1ba91
Bump mongoose from 8.4.5 to 8.5.2
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.4.5 to 8.5.2.
- [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.4.5...8.5.2 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-31 23:33:27 +00:00
Trevor Buckner
8681994747
Merge branch 'master' into dependabot/npm_and_yarn/babel/preset-env-7.25.2
2024-07-31 19:32:52 -04:00
Trevor Buckner
0e684b14a7
Merge pull request #3598 from naturalcrit/dependabot/npm_and_yarn/babel/core-7.25.2
...
Bump @babel/core from 7.24.7 to 7.25.2
2024-07-31 19:32:44 -04:00
Trevor Buckner
974f84d49f
Merge branch 'master' into dependabot/npm_and_yarn/babel/core-7.25.2
2024-07-31 19:32:28 -04:00
Trevor Buckner
5a6abef4fb
Merge pull request #3562 from naturalcrit/dependabot/npm_and_yarn/dompurify-3.1.6
...
Bump dompurify from 3.1.5 to 3.1.6
2024-07-31 19:32:09 -04:00
Trevor Buckner
15200e0c6e
Merge branch 'master' into dependabot/npm_and_yarn/dompurify-3.1.6
2024-07-31 19:31:25 -04:00
Trevor Buckner
79c22f383f
Allow renderer and pagecount into stubs
...
At this point, only text and textbin contents are still in google drive. Which is the majority of the file still. Renderer and Pagecount may become useful for Vault page, and Renderer is needed for themes.
2024-07-31 18:13:31 -04:00
Trevor Buckner
915f9aafa8
restore snippetBundle field somehow lost from /new and /home
2024-07-31 17:27:58 -04:00
Víctor Losada Hernández
aa0d0bed48
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-31 23:12:47 +02:00
Trevor Buckner
11f8809c5e
Merge pull request #3606 from naturalcrit/FixUserThemesCrashes
...
Fix user themes crashes
2024-07-31 17:05:52 -04:00
Trevor Buckner
27a4831ea0
Add a theme to our reference pages (changelog, FAQ, migrate)
2024-07-31 16:53:54 -04:00
Trevor Buckner
1abced20d6
Do not fetch user themes if there is no user.
2024-07-31 16:53:34 -04:00
G.Ambatte
251d03b7be
Merge branch 'master' into addSignedFunction-#3537
2024-07-31 20:58:40 +12:00
Víctor Losada Hernández
c92f30cfe0
change owner default to false
2024-07-31 08:58:23 +02:00
Víctor Losada Hernández
2a8e4b2a63
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-07-31 08:57:42 +02:00
Víctor Losada Hernández
51c7549b45
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-31 08:57:28 +02:00
Víctor Losada Hernández
ea5170e6a6
Merge branch 'master' into experimental-development
2024-07-30 22:46:44 +02:00
David Bolack
29bbf3fef9
Merge branch 'master' into Issue_2563
2024-07-30 10:59:43 -05:00
David Bolack
a7f8b52966
Change default value for pageNumber on markdopwn.render()
2024-07-30 08:56:06 -05:00
David Bolack
6629bc64d8
Merge branch 'Issue_1430_Unique_HeaderIDs' of github.com:dbolack-ab/homebrewery into Issue_1430_Unique_HeaderIDs
2024-07-30 08:36:47 -05:00
David Bolack
bfd46fb6fd
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-30 08:35:12 -05:00
David Bolack
2d335ef7fc
Merge branch 'master' into Issue_241
2024-07-30 02:30:57 -05:00
dependabot[bot]
fac0d151b6
Bump @babel/preset-env from 7.24.7 to 7.25.2
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.24.7 to 7.25.2.
- [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.25.2/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-30 03:27:30 +00:00
dependabot[bot]
4f950b6024
Bump @babel/core from 7.24.7 to 7.25.2
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.24.7 to 7.25.2.
- [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.25.2/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-30 03:27:04 +00:00
Trevor Buckner
1c1d331df9
Merge pull request #3597 from naturalcrit/v3.14.0
...
Up to v3.14.0
2024-07-29 21:55:19 -04:00
Trevor Buckner
8609925da8
Merge branch 'master' into v3.14.0
2024-07-29 21:54:38 -04:00
Trevor Buckner
607244d6e1
Merge pull request #3321 from dbolack-ab/brew_themes_user_selection
...
Enable User Brew theme selection
2024-07-29 21:54:28 -04:00
Trevor Buckner
9cc81d2ff9
Up to v3.14.0
2024-07-29 21:52:09 -04:00
Trevor Buckner
32fa50d608
Fallback to showing "Blank" theme if themes fail to load.
2024-07-29 12:30:13 -04:00
Trevor Buckner
8221579b6a
Linting
2024-07-28 18:03:25 -04:00
Trevor Buckner
88eaebfd49
Raise test coverage threshold
...
This PR adds tests which means we are now covering a larger % of the codebase. Raise the coverage thresholds to match.
2024-07-28 18:00:33 -04:00
Trevor Buckner
ee9f2c8c83
Remove unused CSS endpoints in favor of #3075
...
Now that we have a dedicated /theme/ route for the recursive theming, the CSS endpoint can be simpler for only getting the `style` of a single brew. #3075 already has this simpler version, but no testing, so I have copied this into a comment there for implementation when it is ready.
2024-07-28 17:53:25 -04:00
Trevor Buckner
2870caaae6
Clean up metadataEditor theme dropdown
2024-07-28 17:18:30 -04:00
Trevor Buckner
e0425ec6c0
Simplify API call url
2024-07-28 16:47:16 -04:00
Trevor Buckner
8aa88a2e45
Add proper error popup when theme fails to load
2024-07-28 16:45:01 -04:00
Víctor Losada Hernández
cef90f5ff9
Added !brewCollection condition to if statement in VaultPage component.
2024-07-28 11:18:26 +02:00
Víctor Losada Hernández
5a9b77190a
"Removed console log statement in VaultPage.jsx and updated brewsQuery logic in vault.api.js to handle legacy and v3 filters"
2024-07-28 11:10:27 +02:00
Víctor Losada Hernández
59a5f641af
search by author
2024-07-28 10:45:56 +02:00
Trevor Buckner
edec9369ec
Finish adding test cases
2024-07-27 19:17:19 -04:00
Trevor Buckner
f2d933410e
Add error handling for missing themes
2024-07-27 19:17:05 -04:00
Víctor Losada Hernández
0bda666127
"Changed condition in onKeyDown event handler from checking input validity and value to checking searchButtonRef.current.disabled"
2024-07-27 10:46:08 +02:00
Víctor Losada Hernández
5b96ef4406
"Refactor VaultPage component: updated validateInput to validateForm, changed input validation logic, and added refs for search button and checkboxes."
2024-07-27 10:41:10 +02:00
Víctor Losada Hernández
af5bbdc677
change from $or to $in
2024-07-27 10:39:06 +02:00
Trevor Buckner
b64a0c5200
Start adding tests for /theme/ endpoint
2024-07-27 03:30:51 -04:00
Trevor Buckner
113f9b3fe3
No need to stringify Theme Bundle object
2024-07-27 02:00:38 -04:00
Víctor Losada Hernández
2c4f4ff5fc
Merge branch 'master' into pdf-tools
2024-07-26 14:14:57 +02:00
Víctor Losada Hernández
c1dc712542
better checkboxes and linting
2024-07-25 23:48:37 +02:00
Víctor Losada Hernández
3e2c2de269
Added hideMoveArrows prop to split pane for use in vault
2024-07-25 23:11:51 +02:00
Víctor Losada Hernández
cc08579583
change to splitPane component
2024-07-25 16:57:33 +02:00
David Bolack
d2afa7adea
Move fetchThemeBundle into /shared/helpers
...
This might not be the best rework - I was unsure if the *this* that would be available when called would see the appropriate object so I assumed not and pass it as a parameter.
Works, but may be bad form.
2024-07-23 22:17:52 -05:00
Víctor Losada Hernández
e562ebef48
media query for mobile use expanded to vertical stack
2024-07-24 00:50:21 +02:00
Víctor Losada Hernández
e206b501a6
media query to show only one column in case of small window
2024-07-24 00:34:13 +02:00
Víctor Losada Hernández
016a9fa1e8
few css changes to make the page more responsive on smaller screens
2024-07-24 00:26:23 +02:00
Víctor Losada Hernández
01ee184044
"Update default count value from 10 to 20 in VaultPage component and vault API"
2024-07-23 23:57:05 +02:00
Trevor Buckner
8e7baca47d
Fix tests
2024-07-23 17:40:32 -04:00
Trevor Buckner
ddc5693778
revert package-lock
2024-07-23 17:31:07 -04:00
Trevor Buckner
82f73fb21d
cleanup
2024-07-23 17:24:50 -04:00
Trevor Buckner
27c52fc244
Fix loading CSS for Legacy
2024-07-23 17:11:48 -04:00
Trevor Buckner
ac82e3ecb2
Add to home page
2024-07-23 16:50:29 -04:00
Trevor Buckner
22b6aa14f0
Add to /new page
2024-07-23 16:43:23 -04:00
Trevor Buckner
24ab3d3392
Merge branch 'brew_themes_user_selection' of https://github.com/dbolack-ab/homebrewery into pr/3321
2024-07-23 16:26:35 -04:00
Trevor Buckner
0b01f27d11
Load theme bundles on /share page
2024-07-23 16:26:33 -04:00
David Bolack
d640ad6bb7
Update Node version for Docker
2024-07-22 19:13:38 -05:00
Víctor Losada Hernández
fd91bf0fff
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-22 23:07:06 +02:00
Víctor Losada Hernández
270aa9e0f9
Merge branch 'master' into brew_themes_user_selection
2024-07-22 22:46:12 +02:00
Trevor Buckner
6ae249a527
Lint
2024-07-22 02:46:26 -04:00
Trevor Buckner
c0123b96eb
Support snippet compilation
...
Original handling of snippets only worked if the current selected theme was a staticTheme. This now fully merges all snippets through the theme chain no matter what the top-level theme is. So user themes built on 5ePHB can benefit from 5ePHB snippets too.
User input of user snippets will be a later PR, but merging them into static snippets is now supported.
2024-07-22 02:44:41 -04:00
Trevor Buckner
45f7080afd
Move loadAllBrewStylesAndSnippets to the parent page component
...
Themes contain both CSS and Snippets. The brewRenderer only cares about the CSS, but other components need the Snippets. Better to have the parent "editPage", etc. load the theme bundles and pass them down to each child that needs it, rather than trying to pass from the child up.
This also fixes the `metadataEditor.jsx` not being able to change themes live; A new theme bundle is now loaded when a new theme is selected, instead of only the first time the BrewRenderer mounts.
Also renamed to "fetchThemeBundle"
2024-07-21 16:25:24 -04:00
David Bolack
2af2ad629d
Try to account for situations where the URL folding is past the max length for the truncation so the user can see why this is a fold.
...
Remove missed debug messages.
2024-07-21 12:58:21 -05:00
David Bolack
2fc7aa454f
Add data: URL folding for CSS.
...
Regex might need tweaking to catch all cases, but it catches the basics.
2024-07-21 12:40:49 -05:00
Víctor Losada Hernández
ddf2006285
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-21 18:06:08 +02:00
David Bolack
fde797c044
Rename prevLine to activeLine for better reading clarity.
2024-07-20 21:51:03 -05:00
David Bolack
6693fb1c13
reduce redundant trim()s
2024-07-20 21:40:22 -05:00
G.Ambatte
17f8de48a8
Add disableMeta prop to SharePage
2024-07-21 13:33:23 +12:00
Trevor Buckner
0a5ff213de
use same theme endpoint for user and static themes
...
`getThemeBundle()` rework no longer needs two separate endpoints
2024-07-20 11:39:23 -04:00
G.Ambatte
aebfcc7885
Add new var math functions
2024-07-21 00:18:06 +12:00
David Bolack
2c4f3473e5
Trim the trailing { on a CSS fold.
2024-07-20 00:43:02 -05:00
G.Ambatte
9a4cc5f63e
Add @import folding
2024-07-20 14:57:09 +12:00
David Bolack
c82b62f953
Add Code folding on CSS style tab
2024-07-19 16:03:44 -05:00
Trevor Buckner
f364f054f8
restore renderStyle
...
`renderStyle` is still necessary; it allows us to update the style live in the component render step as the user types into the style tab. Otherwise the style is only rendered once and never updates.
React also discourages directly editing the DOM ourselves, because it makes changes to the DOM that react cannot track; we should aim to provide all DOM writes inside of the component render function instead of using `document.createElement`, etc.
Too that end, this commit reduces the `loadAllStylesAndSnippets` function to just fetch and parse the data; actual rendering is moved back to `renderStyle()`
2024-07-19 01:33:56 -04:00
Trevor Buckner
460358ce1f
Simplify some logic
2024-07-19 00:09:21 -04:00
Trevor Buckner
0448f15322
Classify user brews as V3 if they use V3
...
Each theme in the theme chain, including user brews, must use the same renderer. When moving to V4 or future versions, it will be important to distinguish which themes are compatible with each other
2024-07-19 00:05:45 -04:00
Trevor Buckner
d741878f78
Also remove userthemes from Brew object in sharePage
2024-07-19 00:00:06 -04:00
G.Ambatte
f830104531
Use textContent instead of innerText
2024-07-17 13:59:00 +12:00
Trevor Buckner
d22cd88446
fix crash in metadataeditor
2024-07-15 23:47:19 -04:00
Trevor Buckner
1444581c86
pass userThemes prop to Editor -> MetadataEditor
2024-07-15 23:44:07 -04:00
Trevor Buckner
dfbd85a8ce
pass userThemes as a new prop, rather than inside of the brew
2024-07-15 23:29:16 -04:00
Trevor Buckner
af5434c9b7
cleanup
2024-07-15 16:45:55 -04:00
Trevor Buckner
484b0a6dff
simplify getThemeBundle() by using just one loop
...
Also, removes need for special handling of the "first" theme.
2024-07-15 16:38:19 -04:00
Trevor Buckner
4951b9bf1a
Add async error handler to /edit and /new
...
Since /edit and /new endpoints now have an `await` inside that could return an error (`getUsersBrewThemes()`), asyncHandler must be added to pass errors along instead of just crashing
2024-07-13 19:46:12 -04:00
Trevor Buckner
62c619de24
userThemes need not be nested inside a Brew object
2024-07-13 19:38:51 -04:00
Trevor Buckner
44c96aad04
spacing
2024-07-13 18:11:04 -04:00
Trevor Buckner
f392216ff4
Spacing
2024-07-13 18:08:29 -04:00
Trevor Buckner
591cae0e8f
more renaming engine to renderer
2024-07-13 18:08:00 -04:00
Trevor Buckner
e222811d03
Rename engine to renderer to unify naming
...
This value is named `renderer` everywhere else. Relabeling to a consistent name.
2024-07-13 18:06:46 -04:00
Trevor Buckner
c9b885f868
include theme as baseTheme when getting user brew themes
...
`baseTheme` for a user brew theme is just the `theme` value of that brew.
2024-07-13 18:01:50 -04:00
Trevor Buckner
fed65f5430
Merge branch 'master' into dependabot/npm_and_yarn/dompurify-3.1.6
2024-07-13 17:44:37 -04:00
Trevor Buckner
47f912750b
Extract getting userThemes from getBrew()
...
`getBrew()` should do one thing only; retrieve a brew. UI elements like the list of themes available to the user are not part of a brew.
Moved into the handers for the `/edit/` and `/new/` endpoints
2024-07-13 17:44:23 -04:00
Trevor Buckner
f29a5e346e
Remove id parameter from getUsersBrewThemes
...
Filtering out the current brew can be done later as needed; certain situations may call for retrieving the whole list.
2024-07-13 17:35:19 -04:00
Trevor Buckner
ee381c91fe
Simplify getUserBrewThemes function a bit
2024-07-13 17:26:38 -04:00
Trevor Buckner
5f8d46f1b6
Reuse splitTextStyleAndMetadata from helpers.js
2024-07-13 17:09:45 -04:00
David Bolack
ade819c70c
A not so light rework.
...
This removes the existing endpoints and replaces them with /theme.
/theme/:id - return a theme bundle containing all styling from this USER theme and any parents.
/theme/:engine/:id - return a theme bundle containing all styling from this STATIC theme and any parents
The theme bundle returns a marshalled JSON object containing:
styles - an array of strings representing the collected styles in loading order
snippets - an array ( currently empty ) of collected snippets.
The various bits of theme rendering code for <style> an style <link> have been swapped out with an 'onDidMount' call that loads the thendpoint and appends a series of <style> blocks to the brewRender's head.
This loses some caching advantages, but probably won't matter in the long run.
2024-07-13 12:12:05 -05:00
Trevor Buckner
c209a86f90
Merge branch 'master' into fixInkFriendlySnippet-#3563
2024-07-11 09:47:54 -04:00
Trevor Buckner
4fe38e3929
Merge pull request #3567 from G-Ambatte/fixUglyDropCap-#3551
...
Add additional styles to SolberaImitationRemake font declaration
2024-07-11 09:47:26 -04:00
Trevor Buckner
b6d69173cd
Merge branch 'master' into fixUglyDropCap-#3551
2024-07-11 09:46:45 -04:00
Trevor Buckner
8b085e1806
Merge pull request #3569 from G-Ambatte/fixBrewItemLinkUnderlining-#3568
...
Unset text-decoration on Brew Item links
2024-07-11 09:46:36 -04:00
G.Ambatte
cb9d24d5b4
Remove text-decoration from Brew Item links
2024-07-11 20:03:17 +12:00
G.Ambatte
23fd70e3c3
Add additional style to existing SolberaImitation
2024-07-11 18:10:26 +12:00
Trevor Buckner
2fa3c0f311
themeClass is never used
2024-07-11 00:26:50 -04:00
Trevor Buckner
5c0a072115
userThemes passed to SnippetBar.jsx is never used
2024-07-11 00:25:11 -04:00
Trevor Buckner
29c2274a19
Unify some variable naming
2024-07-10 18:54:45 -04:00
Trevor Buckner
a6f787ea8f
Remove getBrewThemeParentCSS
2024-07-10 17:56:39 -04:00
Trevor Buckner
24c86dd199
Remove unused test
2024-07-10 17:49:57 -04:00
Trevor Buckner
7eb96ee6be
Simplify brewRenderer output to only emit current theme
...
Instead of Blank, Parent, and Theme, just make use of the @include chaining, to handle all parent themes down to and including Blank
2024-07-10 17:46:51 -04:00
Trevor Buckner
27aebf0e3b
Give 5ePHB and Journal themes a baseTheme of "Blank"
2024-07-10 17:15:45 -04:00
Trevor Buckner
88578a3d16
Fix failing test
2024-07-10 14:22:42 -04:00
Trevor Buckner
28446d3ae2
Comments for theme CSS endpoints
2024-07-10 14:21:23 -04:00
Trevor Buckner
a247e50c9f
renaming "get" functions
...
rename `getStaticTheme` to `getStaticThemeCSS`
rename `getBrewThemeWithCSS` to `getBrewThemeCSS`
rename `getBrewThemeParent` to `getBrewThemeParentCSS`
to avoid confusion with other "get" endpoints like `getBrew`, and unify naming for endpoint functions that return CSS.
Simplify `isStaticTheme` function (getting the parent theme is handled elsewhere)
2024-07-10 14:15:03 -04:00
David Bolack
656edb07ea
Rework detection of user brews to look up themeid in static themes list before assuming is a user brew.
...
Ended up being a fairly straightforward change. A few ternaries got smooshed or inverted. Passes builtin and local tests. Need to compare on the test instance.
2024-07-08 18:12:58 -05:00
G.Ambatte
0cf79ceeb1
Merge branch 'master' into fixInkFriendlySnippet-#3563
2024-07-09 08:00:27 +12:00
G.Ambatte
7b9bd70554
Change filter to box-shadow
2024-07-08 19:57:21 +00:00
David Bolack
4b05bcac69
Merge branch 'master' into Issue_241
2024-07-08 10:16:57 -05:00
David Bolack
1555535f2e
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-08 10:16:05 -05:00
David Bolack
a413dc8d4f
Merge branch 'master' into Issue_2563
2024-07-08 10:14:06 -05:00
David Bolack
74ee09397e
Merge branch 'master' into Issue_2688
2024-07-08 10:08:54 -05:00
dependabot[bot]
a06aa2a103
Bump dompurify from 3.1.5 to 3.1.6
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.5...3.1.6 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-08 03:17:11 +00:00
David Bolack
ea6595d4d6
Merge branch 'master' into brew_themes_user_selection
...
Fixes a regression for legacy brews.
2024-07-07 12:03:15 -05:00
Trevor Buckner
5b02132e57
Merge pull request #3561 from naturalcrit/v3.13.1
...
Up Version to 3.13.1
2024-07-06 18:20:34 -04:00
Trevor Buckner
f8841c068f
Up Version to 3.13.1
2024-07-06 18:20:11 -04:00
Trevor Buckner
da1d08f8a9
Merge pull request #3560 from G-Ambatte/fixAttributeLeaking-#3559
...
Limit htmlString to the first element ONLY
2024-07-06 18:01:26 -04:00
Trevor Buckner
0a199e750f
Simplify string splitting code
...
String.split will return the substring before > or the whole string if no > exists.
2024-07-06 18:00:18 -04:00
Trevor Buckner
5433cda52f
Add test case
2024-07-06 17:05:23 -04:00
G.Ambatte
9c4de58161
Limit htmlString to the first element ONLY
2024-07-06 13:22:47 +12:00
Trevor Buckner
1b96dae27f
Merge pull request #3543 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.11.0
...
Bump @googleapis/drive from 8.10.0 to 8.11.0
2024-07-05 18:09:10 -04:00
David Bolack
16ca52756d
Merge branch 'master' into brew_themes_user_selection
2024-07-05 16:55:14 -05:00
David Bolack
645da7ae5f
Merge branch 'brew_themes_user_selection' of github.com:dbolack-ab/homebrewery into brew_themes_user_selection
2024-07-05 16:54:11 -05:00
David Bolack
8570335d79
Consolidate variable redundancy.
2024-07-05 16:53:21 -05:00
dependabot[bot]
1564bc7448
Bump @googleapis/drive from 8.10.0 to 8.11.0
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.10.0 to 8.11.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.10.0...drive-v8.11.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-07-05 18:59:10 +00:00
Trevor Buckner
8e20d3ba10
Merge pull request #3539 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.34.3
...
Bump eslint-plugin-react from 7.34.2 to 7.34.3
2024-07-05 14:57:59 -04:00
dependabot[bot]
450baee66a
Bump eslint-plugin-react from 7.34.2 to 7.34.3
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.34.2 to 7.34.3.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-05 18:55:32 +00:00
Trevor Buckner
4b588786c4
Merge pull request #3538 from naturalcrit/dependabot/npm_and_yarn/ws-7.5.10
...
Bump ws from 7.5.9 to 7.5.10
2024-07-05 14:54:32 -04:00
dependabot[bot]
e07a04ebfa
Bump ws from 7.5.9 to 7.5.10
...
Bumps [ws](https://github.com/websockets/ws ) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-05 18:53:33 +00:00
Trevor Buckner
f707752c26
Merge pull request #3558 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.4.5
...
Bump mongoose from 8.4.1 to 8.4.5
2024-07-05 14:52:35 -04:00
dependabot[bot]
80e039b194
Bump mongoose from 8.4.1 to 8.4.5
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.4.1 to 8.4.5.
- [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.4.1...8.4.5 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-05 18:41:01 +00:00
Trevor Buckner
c888df28aa
Merge pull request #3533 from naturalcrit/dependabot/npm_and_yarn/marked-emoji-1.4.1
...
Bump marked-emoji from 1.4.0 to 1.4.1
2024-07-05 14:39:58 -04:00
Trevor Buckner
94cc1c642c
Merge branch 'master' into dependabot/npm_and_yarn/marked-emoji-1.4.1
2024-07-05 09:03:10 -04:00
Trevor Buckner
9a02a351fa
Merge pull request #3528 from naturalcrit/dependabot/npm_and_yarn/marked-gfm-heading-id-3.2.0
...
Bump marked-gfm-heading-id from 3.1.3 to 3.2.0
2024-07-05 09:02:39 -04:00
dependabot[bot]
e8e7237a8e
Bump marked-gfm-heading-id from 3.1.3 to 3.2.0
...
Bumps [marked-gfm-heading-id](https://github.com/markedjs/marked-gfm-heading-id ) from 3.1.3 to 3.2.0.
- [Release notes](https://github.com/markedjs/marked-gfm-heading-id/releases )
- [Changelog](https://github.com/markedjs/marked-gfm-heading-id/blob/main/release.config.cjs )
- [Commits](https://github.com/markedjs/marked-gfm-heading-id/compare/v3.1.3...v3.2.0 )
---
updated-dependencies:
- dependency-name: marked-gfm-heading-id
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-04 03:21:44 +00:00
dependabot[bot]
086c4f74f6
Bump marked-emoji from 1.4.0 to 1.4.1
...
Bumps [marked-emoji](https://github.com/UziTech/marked-emoji ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/UziTech/marked-emoji/releases )
- [Changelog](https://github.com/UziTech/marked-emoji/blob/main/release.config.cjs )
- [Commits](https://github.com/UziTech/marked-emoji/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: marked-emoji
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-04 03:21:26 +00:00
Trevor Buckner
e987da498b
Merge pull request #3557 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.24.1
...
Bump react-router-dom from 6.23.1 to 6.24.1
2024-07-03 23:20:35 -04:00
dependabot[bot]
d12f644f5b
Bump react-router-dom from 6.23.1 to 6.24.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.23.1 to 6.24.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.24.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-04 03:15:49 +00:00
Trevor Buckner
e4bde91f6a
Merge branch 'master' into brew_themes_user_selection
2024-07-02 12:04:17 -04:00
Trevor Buckner
3eb071fbdc
Merge pull request #3555 from G-Ambatte/fixToC-#3548
...
Fix ToC generator snippet
2024-07-02 11:55:39 -04:00
Trevor Buckner
81e17b420c
Merge branch 'master' into fixToC-#3548
2024-07-02 11:55:31 -04:00
Trevor Buckner
e8ccd094e8
Merge pull request #3552 from naturalcrit/Allow=InAttributes
...
Allow `=` in attributes
2024-07-02 11:54:59 -04:00
G.Ambatte
7c60fbe655
Remove page + 1 from ToC generator snippet
2024-07-02 20:46:01 +12:00
Trevor Buckner
2d570924d1
Add tests
2024-07-01 12:21:36 -04:00
Trevor Buckner
8ee70b0928
Only split curly attributes on on first =, allow ?, = in attributes
2024-07-01 12:21:29 -04:00
Trevor Buckner
2cdd65b083
revert DOMPURIFY for now
2024-06-29 11:29:31 -04:00
Trevor Buckner
758a06e58a
Merge pull request #3545 from naturalcrit/3.13.0
...
Up version to 3.13.0
2024-06-28 22:47:31 -04:00
David Bolack
853f048812
Merge branch 'Issue_2563' of github.com:dbolack-ab/homebrewery into Issue_2563
2024-06-27 10:48:41 -05:00
David Bolack
4564066c63
Merge branch 'master' into Issue_2563
2024-06-27 10:44:32 -05:00
David Bolack
eb99acc95b
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-06-27 10:20:54 -05:00
David Bolack
ba76c51da7
Merge branch 'master' into brew_themes_user_selection
2024-06-19 19:32:04 -05:00
David Bolack
435fb6ecfe
Merge branch 'Issue_2688' of github.com:dbolack-ab/homebrewery into Issue_2688
2024-06-19 19:16:52 -05:00
David Bolack
8a10fac81e
Update Style based on suggestions.
2024-06-19 19:16:19 -05:00
David Bolack
7f1949a7f4
Merge branch 'master' into Issue_2688
2024-06-19 19:16:12 -05:00
David Bolack
060f28a0a6
Merge branch 'master' into Issue_241
2024-06-19 18:41:02 -05:00
David Bolack
a3f146cd53
Change the last Boneheaded hot change to something better
...
CTRL-SHIFT-LEFTARROW - Source Jump
CTRL-SHIFT-RIGHTARROW - Brew Jump
2024-06-19 18:39:20 -05:00
Víctor Losada Hernández
47b56398b1
Merge branch 'master' into Issue_2563
2024-06-15 18:09:55 +02:00
Víctor Losada Hernández
2ea2f41bd0
Merge branch 'master' into Issue_2688
2024-06-15 18:05:28 +02:00
David Bolack
7a349ae26d
Remove weirdly redundant error box.
2024-06-13 18:13:32 -05:00
David Bolack
0945a5e47e
Merge branch 'master' into brew_themes_user_selection
2024-06-13 15:15:30 -05:00
Víctor Losada Hernández
5232c16eb2
change div to form
2024-06-13 01:32:34 +02:00
Víctor Losada Hernández
bdfd194672
changed order of params per request
2024-06-13 01:13:38 +02:00
Víctor Losada Hernández
cb0cb32860
minor style changes & lint less file
2024-06-13 01:04:39 +02:00
Víctor Losada Hernández
1e080b30fd
finally fixed the damn issue
2024-06-13 00:41:40 +02:00
David Bolack
cba57d1033
Fix and future-proof tests to use page 0 where necessary in markdown.render() calls.
2024-06-11 20:06:20 -05:00
David Bolack
1bece09339
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-06-11 12:59:21 -05:00
Víctor Losada Hernández
90431efbc9
"Removed ArchivePage and related files, replaced with VaultPage, updated routes and API endpoints, and made minor changes to theme configuration and error handling."
2024-06-11 00:33:36 +02:00
Víctor Losada Hernández
99b0c2b54e
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-06-10 23:25:42 +02:00
Víctor Losada Hernández
042e217872
"Refactor ArchivePage component from createClass to functional component with hooks"
2024-06-10 23:23:31 +02:00
Víctor Losada Hernández
65d6eb11dd
suggested changes
2024-06-10 22:09:25 +02:00
Víctor Losada Hernández
a591763d10
"Moved iOS-specific styles from .monster.frame to a separate @supports block"
2024-06-09 00:43:11 +02:00
Víctor Losada Hernández
62bf982a73
change to browser-specific solution
2024-06-08 23:40:11 +02:00
Víctor Losada Hernández
6294b12ad5
"Removed background-blend-mode from monster stat block and updated monsterBlockBackground image URL"
2024-06-08 22:59:12 +02:00
David Bolack
b7f88d53d0
Solve for .descriptive and .wide not getting along with suggested fix from Issue.
...
Uses more more direct target rather than rearrange the file.
2024-06-05 17:44:29 -05:00
David Bolack
cb8d98266c
Update table of content list-item breakage rules for wide table of contents
...
Solves #2563
2024-06-05 17:17:49 -05:00
David Bolack
c918a79957
Integrates corrections for Document level unique Header IDs in tandum with marked-gfm-header-id updates.
...
Requries https://github.com/markedjs/marked-gfm-heading-id/issues/542 and an assumed version bump to work.
Validated locally.
2024-06-05 12:44:46 -05:00
David Bolack
a48d9d295e
Try binging to ctrl-X and CTRL-Shift-X which seem to somehow be available...
2024-06-02 20:23:33 -05:00
Víctor Losada Hernández
a5f453f1e5
linting toolBar.less
2024-06-02 16:13:04 +02:00
Víctor Losada Hernández
c2170dd558
Remove line hiding toolbar in printCurrentBrew function
2024-06-02 16:12:46 +02:00
Víctor Losada Hernández
0c9958f461
"Removed '%' symbol handling from zoom input value"
2024-06-02 16:05:57 +02:00
Víctor Losada Hernández
e2a3959feb
"Update brewRenderer.less: changed padding-bottom to padding-block, removed empty lines, and reformatted some styles."
2024-06-02 16:03:54 +02:00
Víctor Losada Hernández
202ea1d905
"Removed margin-bottom from brewRenderer style, added padding-bottom and updated styles in brewRenderer.less"
2024-06-02 15:59:09 +02:00
Víctor Losada Hernández
e3c1e4b6f0
"Updated toolbar.less: changed hover selector to also include focus-within"
2024-06-02 15:50:47 +02:00
David Bolack
6464f35ce9
Forgot to run npm install after merge
2024-05-31 22:40:22 -05:00
David Bolack
5442f232d5
Merge branch 'master' into brew_themes_user_selection
2024-05-31 22:32:14 -05:00
Víctor Losada Hernández
3fad8227a7
"Updated brewRenderer.jsx: added id 'zoomStyle' to style tag and changed margin-bottom from 7cm to 5cm."
2024-06-01 00:50:16 +02:00
Víctor Losada Hernández
2d051fcdc0
misstype
2024-06-01 00:42:07 +02:00
Víctor Losada Hernández
95d7ce2876
move toolbar hiding to brewrenderer.less
2024-06-01 00:41:44 +02:00
Víctor Losada Hernández
1a52acd4a9
i fixed it wrong
2024-06-01 00:37:49 +02:00
Víctor Losada Hernández
de8194d7e0
hide toolbar during printing
2024-06-01 00:34:45 +02:00
Víctor Losada Hernández
c60ddb701c
this one works best
2024-05-31 21:06:39 +02:00
Víctor Losada Hernández
0e00460012
change margin bottom to fixed distance
2024-05-31 21:03:27 +02:00
Víctor Losada Hernández
ed92628012
udpate input zoom
2024-05-31 21:02:03 +02:00
Víctor Losada Hernández
12de8c5221
fix last page navigation
2024-05-31 21:00:01 +02:00
Víctor Losada Hernández
afa0571382
fix page displacement
2024-05-31 20:57:09 +02:00
Víctor Losada Hernández
75c592b437
"Update onPageChange argument in nextPage button onClick handler"
2024-05-31 20:28:34 +02:00
Víctor Losada Hernández
000c3db8cd
fixed page error
2024-05-31 20:14:41 +02:00
Víctor Losada Hernández
f23c0bccbc
"Added onKeyPress event handler to zoom input and page number input to blur the target on Enter key press."
2024-05-31 19:46:40 +02:00
Víctor Losada Hernández
69db1e2cb7
change page works, added change zoom via input too
2024-05-31 19:43:09 +02:00
Víctor Losada Hernández
933dc372d2
"Refactor scrollToPage function to retrieve iframe element internally and add page not found logging"
2024-05-31 17:10:35 +02:00
Víctor Losada Hernández
176766dfe7
change in themes.json apparently
2024-05-31 16:25:29 +02:00
Víctor Losada Hernández
6fb185a964
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into pdf-tools
2024-05-31 16:23:55 +02:00
Víctor Losada Hernández
1442414299
scroll to page
2024-05-31 16:23:47 +02:00
Víctor Losada Hernández
f6161abf52
bottom margin to prevent bottom clip
2024-05-29 16:23:32 +02:00
Víctor Losada Hernández
4543881808
functional zoom
2024-05-28 08:51:23 +02:00
Víctor Losada Hernández
609f5a3330
more logs
2024-05-23 14:08:37 +02:00
Víctor Losada Hernández
058d70ed82
auto, not scroll
2024-05-23 13:37:23 +02:00
Víctor Losada Hernández
cbdf06f39d
oops
2024-05-23 13:35:00 +02:00
Víctor Losada Hernández
6f6c142aa2
fixes scrolling error
2024-05-23 13:32:09 +02:00
Víctor Losada Hernández
72cb8e7db9
remove console logs and add forced space to brew count
2024-05-23 13:18:07 +02:00
Víctor Losada Hernández
133295c225
big changes to the UI
2024-05-22 20:10:54 +02:00
Víctor Losada Hernández
54efc18ad4
minimum range text to 3
2024-05-22 19:55:20 +02:00
Víctor Losada Hernández
43f77dc525
fix valid check
2024-05-22 19:49:06 +02:00
Víctor Losada Hernández
34d37b24f1
"Update text in 'noBrews' div from 'Whenever you want, just start typing...' to 'No search yet'"
2024-05-22 12:33:11 +02:00
Víctor Losada Hernández
1e6427ca56
non selection , as per request
2024-05-22 12:28:57 +02:00
Víctor Losada Hernández
b9152867b8
"Refactor UpdateURL function"
2024-05-22 12:26:47 +02:00
Víctor Losada Hernández
879a1f5a57
fix page size to count
2024-05-22 08:51:49 +02:00
Víctor Losada Hernández
0f9ba1a5ae
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-22 08:23:53 +02:00
Víctor Losada Hernández
d96d3c501e
logs
2024-05-22 08:22:19 +02:00
Víctor Losada Hernández
215888baf4
"Simplified conditional statement for displaying total brews count"
2024-05-22 08:21:00 +02:00
Víctor Losada Hernández
d56ea62b5e
"Refactor loadPage function in ArchivePage component to fix wrong load of data"
2024-05-22 08:17:12 +02:00
Víctor Losada Hernández
888cf55b3d
should render an icon while loading total count
2024-05-22 08:13:21 +02:00
Víctor Losada Hernández
4d7b1864d9
This should fix correct load on URL, will probably not work
2024-05-22 08:02:50 +02:00
Víctor Losada Hernández
319746f6cd
"Removed options from pageSize select, added new options, and updated CSS selector for searchButton"
2024-05-22 07:58:09 +02:00
Víctor Losada Hernández
8fd165a79b
form changes
2024-05-21 23:43:56 +02:00
Víctor Losada Hernández
ecfdada810
fix damn error finally
2024-05-21 12:24:47 +02:00
Víctor Losada Hernández
68c3e1ba84
log at will
2024-05-21 12:16:07 +02:00
Víctor Losada Hernández
efda06ebe5
console log to find the issue
2024-05-21 12:09:41 +02:00
Víctor Losada Hernández
e9b85e1a9a
damn totalBrews won't go away
2024-05-21 12:06:08 +02:00
Víctor Losada Hernández
f9d19c75b2
change renderPagination order of operations and fix pagination not loading properly
2024-05-21 11:57:48 +02:00
Víctor Losada Hernández
bc9ab284d8
Initial UI
2024-05-21 08:01:50 +02:00
David Bolack
eb809ca375
Merge branch 'master' into Issue_241
2024-05-20 17:59:34 -05:00
David Bolack
54d2709d6a
Merge
2024-05-20 17:58:22 -05:00
David Bolack
916bd5f4d6
Merge branch 'master' into brew_themes_user_selection
2024-05-20 17:56:21 -05:00
Víctor Losada Hernández
21244fba58
"Removed lodash import, simplified boolean assignments, refactored API request and error handling, and removed unused variables in ArchivePage component."
2024-05-19 23:45:12 +02:00
Víctor Losada Hernández
55dd4efe41
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-19 23:21:47 +02:00
David Bolack
40c8b04a98
Merge branch 'master' into Issue_241
2024-05-19 11:48:10 -05:00
David Bolack
c0cc27a750
Change Jump hotkeys to M ( move ) bindings.
2024-05-19 11:12:19 -05:00
Víctor Losada Hernández
6e08fcca80
minor changes
2024-05-18 23:47:29 +02:00
Víctor Losada Hernández
3d0a9ea805
"Update ArchivePage: erase brewcount when new query, modify error messages for 503 and 500 status codes"
2024-05-18 23:19:25 +02:00
Víctor Losada Hernández
a711f8eb89
remove regex search
2024-05-18 23:07:43 +02:00
David Bolack
9b0db15083
Add Jump To hotkeys
...
This binds CTRL/META-J to brewJump and SHIFT-CTRL/META-J to sourceJump.
2024-05-17 22:10:28 -05:00
David Bolack
c6f62142e1
Change the ID used for User Brews to the shareId for future-proofing.
2024-05-17 20:53:06 -05:00
Víctor Losada Hernández
97ef56f905
small changes, tips and style
2024-05-14 11:10:48 +02:00
Víctor Losada Hernández
124af97cc8
extra page buttons linked to relevant pages
2024-05-14 10:49:10 +02:00
Víctor Losada Hernández
021ac68400
Update archive page to use pagination with page numbers and ellipses
...
* Change the way pagination is handled on the archive page
* Display page links for 10 pages max
2024-05-14 10:44:16 +02:00
Víctor Losada Hernández
4b10686336
simplify logic
2024-05-14 09:49:14 +02:00
Víctor Losada Hernández
153812c6e5
simplify console log and remove unused code
2024-05-14 09:36:59 +02:00
Víctor Losada Hernández
9aa3ebe872
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-14 09:31:40 +02:00
Víctor Losada Hernández
e23166e1d5
when did i change this?
2024-05-14 09:31:22 +02:00
David Bolack
69f01b282a
CSS Tweaks for Theme Selector
...
Add 5e-Cleric's suggestsions to acvoid the title overflowing over the preview.
2024-05-13 22:33:58 -05:00
David Bolack
66e39d9c65
Update Theme Selector display
...
For User/Brew Themes, display the first author instead of Brew/V3 in the first column.
2024-05-13 22:24:41 -05:00
David Bolack
8c5f4e0605
Brew Theme Fixes.
...
This adds the User Brew themes, where applicible, to the /new path.
This adds a semi-graceful failure to the metadata panel when a Brew Theme is declared as used but is not present.
More gracefully handles loading with themes not present.
2024-05-13 11:14:35 -05:00
Víctor Losada Hernández
a89b575b26
archive 2.0
2024-05-13 13:37:53 +02:00
David Bolack
ed210da4af
Merge branch 'master' into brew_themes_user_selection
2024-05-12 12:08:16 -05:00
David Bolack
b6c2f96b82
Change tag filtering for theme detection to require meta prefix
2024-05-10 01:40:01 -04:00
Víctor Losada Hernández
5eeac603db
why didn't i think about this sooner
2024-05-09 08:24:27 +02:00
David Bolack
6f7a657b59
Merge branch 'brew_themes_user_selection' of github.com:dbolack-ab/homebrewery into brew_themes_user_selection
2024-05-08 12:52:01 -05:00
David Bolack
65495b4e7c
Prevent Legacy renderer brews from being listed as themes.
2024-05-08 12:51:10 -05:00
Víctor Losada Hernández
cca0f3b4dc
Revert "pagination controls update search terms"
...
This reverts commit 9966e6322d .
2024-05-08 15:51:31 +02:00
Víctor Losada Hernández
22f4dade4f
default value to page size
2024-05-08 15:51:14 +02:00
Víctor Losada Hernández
e30a0c3dce
page size log to track issue
2024-05-08 15:41:44 +02:00
Víctor Losada Hernández
9966e6322d
pagination controls update search terms
2024-05-08 15:33:27 +02:00
Víctor Losada Hernández
02450982c1
fix brewCollection issue
2024-05-08 13:32:03 +02:00
David Bolack
07ca134d98
Merge pull request #1 from Gazook89/dropdownTextures-User-Themes
...
Add dropdownTexture for user theme options
2024-05-07 16:39:13 -05:00
David Bolack
dde8e28d07
Merge branch 'brew_themes_user_selection' into dropdownTextures-User-Themes
2024-05-07 16:38:56 -05:00
David Bolack
872ee339da
Clean up console logs
...
Eliminate erroronous theme pulldown texture load.
2024-05-07 12:13:57 -05:00
Gazook89
295fea7581
Add dropdownTexture for user theme options
...
If a user theme document has a thumbnail, this will include that thumbnail as a dropdown texture in the options.
2024-05-07 11:00:20 -05:00
Víctor Losada Hernández
f9f2e604c0
linting and remove async conflict
2024-05-07 10:14:46 +02:00
David Bolack
f936b8b12b
Update User brew endpoint tests
2024-05-06 20:28:46 -05:00
David Bolack
9f04c34b06
Missed $
2024-05-06 20:07:33 -05:00
David Bolack
c9d416fec0
Small User Brew theme changes.
...
Move the Static Theme shortcut to getBrewThemeWithCSS to drop an unneeded URL load.
Change the comment in the CSS to refer to the shareURL for the theme
instead of its name if it is a user theme.
2024-05-06 19:39:27 -05:00
Víctor Losada Hernández
40ac8b1909
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-07 00:12:26 +02:00
Víctor Losada Hernández
f1a2037bca
page is sometimes a string??
2024-05-06 23:40:31 +02:00
Víctor Losada Hernández
ded78c6639
better error handling in jsx
2024-05-06 23:32:18 +02:00
Víctor Losada Hernández
51fcb59f09
debugging 500 errir catching
2024-05-06 23:26:02 +02:00
Víctor Losada Hernández
e75c556443
use $text instead
2024-05-06 22:59:09 +02:00
David Bolack
3dde6a098c
Test code to reduce duplicate theme loading
...
This shorts out loading of 5ePHB and/or blank from getBrewThemeParent
2024-05-06 12:12:46 -05:00
David Bolack
ef25139ffe
Merge branch 'master' into brew_themes_user_selection
2024-05-06 12:04:38 -05:00
Víctor Losada Hernández
752b2caaf4
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-06 13:45:06 +02:00
David Bolack
88ccb955ce
Merge branch 'master' into brew_themes_user_selection
2024-04-30 20:11:32 -05:00
David Bolack
980ed8e265
Merge branch 'master' into brew_themes_user_selection
2024-04-20 21:55:59 -05:00
David Bolack
1292d9ad9b
Merge branch 'master' into brew_themes_user_selection
2024-04-18 21:13:01 -05:00
Víctor Losada Hernández
3c84143511
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-04-02 14:40:24 +02:00
David Bolack
57f0aefbc8
Merge branch 'master' into brew_themes_user_selection
2024-03-25 20:38:28 -05:00
David Bolack
f2f32c35ea
Ensure shared pages work with user themes.
2024-03-10 11:54:48 -05:00
David Bolack
d4770f16e3
Merge branch 'master' into brew_themes_user_selection
2024-03-09 20:25:24 -06:00
David Bolack
e487f9a951
Fix remaining jest issues
2024-03-06 23:27:43 -06:00
David Bolack
eb4ecf853b
Fix Jest issues I was able to understand
2024-03-06 22:50:24 -06:00
David Bolack
54e2deaddc
Merge branch 'master' into brew_themes_user_selection
2024-03-06 19:28:37 -06:00
David Bolack
1ac510af3d
Heroku debug
2024-03-06 19:24:16 -06:00
David Bolack
a666c8def3
Heroku debug
2024-03-06 19:20:16 -06:00
David Bolack
33933ef212
Attempted fix on access
2024-03-06 19:14:16 -06:00
David Bolack
d9dade7181
Fix User Brew display label in metadata editor
2024-03-06 19:04:12 -06:00
David Bolack
87502f4249
Heavy rework for usertheme parents.
2024-03-06 18:55:12 -06:00
David Bolack
9adafbd473
more heroku debug
2024-03-06 14:12:13 -06:00
David Bolack
47ea2f6ed7
more heroku debug
2024-03-06 14:04:16 -06:00
David Bolack
e2ba0ec059
more heroku debug
2024-03-06 13:59:36 -06:00
David Bolack
870cbc103d
more heroku debug
2024-03-06 13:57:32 -06:00
David Bolack
dfca664f6e
more heroku debug
2024-03-06 13:53:54 -06:00
David Bolack
00cfd427b1
more heroku debug
2024-03-06 13:47:40 -06:00
David Bolack
e639a32822
more heroku debug
2024-03-06 13:41:58 -06:00
David Bolack
8765bc800d
more heroku debug
2024-03-06 13:38:48 -06:00
David Bolack
1dc73a951e
more heroku debug
2024-03-06 13:35:08 -06:00
David Bolack
317b80bf4d
more heroku debug
2024-03-06 13:20:57 -06:00
David Bolack
2aaae95e89
more heroku debug
2024-03-06 13:16:57 -06:00
David Bolack
0580e45af9
more heroku debug
2024-03-06 13:11:49 -06:00
David Bolack
0dbf6453ac
more heroku debug
2024-03-06 13:04:03 -06:00
David Bolack
695324832c
more heroku debug
2024-03-06 12:56:33 -06:00
David Bolack
ac4c84e7a4
config file fix
2024-03-06 12:44:20 -06:00
David Bolack
18aa453bb0
Rearrange and leverage getBrew
2024-03-06 12:38:00 -06:00
David Bolack
17f78169f2
More debug
2024-03-06 12:03:27 -06:00
David Bolack
6f6a06c8c3
More debug
2024-03-06 11:00:43 -06:00
David Bolack
79a4291153
More debug
2024-03-06 10:37:10 -06:00
David Bolack
a54fb98d4e
Additional debugging
2024-03-06 10:28:09 -06:00
David Bolack
a3549ae694
Merge branch 'master' into brew_themes_user_selection
2024-03-06 09:35:10 -06:00
David Bolack
42c441f534
Merge branch 'master' into brew_themes_user_selection
2024-03-04 16:54:13 -06:00
David Bolack
a924f53320
Merge branch 'master' into brew_themes_user_selection
2024-03-03 22:11:35 -06:00
David Bolack
4f90f92b38
Additional theme based error checking.
2024-02-28 15:08:00 -06:00
David Bolack
753b3befad
Fix issue with empty theme ( /faq )
2024-02-28 14:53:40 -06:00
David Bolack
544bc9bd01
Catch bad assumption in unlogged saves
2024-02-28 08:32:15 -06:00
David Bolack
1a467565c1
Merge branch 'master' into brew_themes_user_selection
2024-02-27 21:32:33 -06:00
David Bolack
562daf9b04
Handle some statics
2024-02-27 21:13:22 -06:00
David Bolack
8f15887c03
Cleanup of console logging
2024-02-27 20:51:59 -06:00
David Bolack
7384cdc241
My god it works
2024-02-27 20:20:43 -06:00
David Bolack
56851f2c2d
Edit working - with noise.
2024-02-27 19:33:33 -06:00
David Bolack
50c9d95ce0
WIP trying to debug theme selection.
2024-02-27 17:30:14 -06:00
David Bolack
4f4659b0e2
Cleaned up noise in homebrew.api.js
2024-02-27 13:57:58 -06:00
David Bolack
7b3a1eb4ff
Functional user theme loading though noising console
2024-02-27 13:41:51 -06:00
David Bolack
2456432844
Exclude self from brew themes list to prevent circular ref.
2024-02-23 17:12:54 -06:00
David Bolack
3e66647f9f
Fix @import loading on Chrome.
2024-02-23 14:43:29 -06:00
David Bolack
6d6571be0b
Merge branch 'master' into brew_themes_user_selection
2024-02-23 13:46:56 -06:00
Víctor Losada Hernández
dad4cd90ca
Merge branch 'master' into addCSSRoute-#1097
2024-02-23 20:23:19 +01:00
David Bolack
f9307986cd
WIP
...
@import statements are just not working. Uploaded for other eyes.
2024-02-22 23:06:40 -06:00
David Bolack
f60090e5fa
Update Theme Picker to use Brews tagged as a theme
...
This updates the theme picker to include brews tagged as themes owned by
the user.
Some supporting functions were updated. User themes are loaded on /edit
and added to the request.
2024-02-22 21:12:56 -06:00
Víctor Losada Hernández
094ad3bd59
-proj in countdocs
2024-02-21 08:07:46 +01:00
David Bolack
ae2bb3a028
Add missing style.css
2024-02-20 23:26:09 -06:00
David Bolack
c319d6bcfa
Consolidate and add theme parent walking
...
This consolidates the style/theme endpoint to a singular method, adds
interpretation of static themes, and allow parent theme recursion.
I am not 100% sure this will order styles correctly.
2024-02-20 23:15:37 -06:00
David Bolack
e2ef9b8122
Report Theme title with CSS
...
This adds a comment/field ( depending on endpoint ) that reports the
name of the Brew being used as a theming source.
2024-02-20 16:44:17 -06:00
David Bolack
8e48df5de1
Partial Code coverage for new endpoints
2024-02-18 12:45:14 -06:00
David Bolack
a3b1d7fb7c
Use a brew as a theme, three ways.
...
This has been implemented three different ways to allow for comparison
and discussion
- /api/css/:id : This returns the style frontmatter of the referenced
document as a text/css document.
/api/theme/:id : This returns an object with the reference'd object's
theme and style frontmatter.
/api/csstheme/:id : This returns the stylye frontmatter of the
referenced document as a text/css document and adds the theme as an
@import ( if not using the legacy renderer )
2024-02-17 11:01:21 -06:00
Víctor Losada Hernández
01e3cd0296
fix notitle search and catch 404?
2024-02-15 17:22:20 +01:00
Víctor Losada Hernández
fd6109099a
catch catch catch
2024-02-15 16:59:17 +01:00
Víctor Losada Hernández
8c07b12bb0
catch error codes
2024-02-15 16:56:09 +01:00
Víctor Losada Hernández
eb404b8e5b
where is my 503 error code
2024-02-15 16:51:20 +01:00
Víctor Losada Hernández
0fdb5e83cf
if this renders null i don't understand anything
2024-02-15 16:44:03 +01:00
Víctor Losada Hernández
2a780bc482
503
2024-02-15 16:36:10 +01:00
Víctor Losada Hernández
f61b664687
503 log
2024-02-15 16:32:50 +01:00
Víctor Losada Hernández
04844a4422
you know the deal
2024-02-15 16:27:50 +01:00
Víctor Losada Hernández
3afc9f83d9
where the hell did i lose the error handling
2024-02-15 16:23:37 +01:00
Víctor Losada Hernández
e08435568c
don't search on reload without title
2024-02-15 16:20:08 +01:00
Víctor Losada Hernández
1a80a74d4f
more error handling
2024-02-15 16:15:38 +01:00
Víctor Losada Hernández
9c53541cbd
searching animation
2024-02-15 15:53:26 +01:00
Víctor Losada Hernández
62db393969
proper error handling(i think)
2024-02-15 15:50:27 +01:00
Víctor Losada Hernández
d7c9ab43bc
more tests
2024-02-15 15:34:10 +01:00
Víctor Losada Hernández
fcb4c722c6
test 404 error
2024-02-15 15:28:36 +01:00
Víctor Losada Hernández
7626f63beb
page numberas as links
2024-02-15 15:16:01 +01:00
Víctor Losada Hernández
a6e45c7fd1
Merge branch 'master' into experimental-development
2024-02-15 13:49:43 +01:00
Víctor Losada Hernández
2658831e83
pagination controls don't reset search
2024-02-15 13:45:31 +01:00
Víctor Losada Hernández
ffdbe46a23
catch 503 without title query
2024-02-15 10:43:12 +01:00
Víctor Losada Hernández
6a11cd0e28
renderer filter query
2024-02-15 10:34:39 +01:00
Víctor Losada Hernández
153ab63393
pagesize as input
2024-02-15 08:48:47 +01:00
Víctor Losada Hernández
ea1855485c
css fixes
2024-02-15 01:27:05 +01:00
Víctor Losada Hernández
3427fa1e94
total brews found
2024-02-15 01:26:54 +01:00
Víctor Losada Hernández
46262c56db
503 catch 2
2024-02-15 01:15:00 +01:00
Víctor Losada Hernández
3482d92ab6
catch 503 error
2024-02-15 01:10:28 +01:00
Víctor Losada Hernández
74ac8f9ffa
quickfix
2024-02-13 10:52:12 +01:00
Víctor Losada Hernández
7e289950fa
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-02-13 10:48:24 +01:00
Víctor Losada Hernández
9fc8af6553
pagination controls render separately
2024-02-13 10:48:19 +01:00
G.Ambatte
7ffc02c3e5
Reset searching state on error
2024-02-13 13:25:45 +13:00
Víctor Losada Hernández
2f323cde8a
remove unused logic from loadpage
2024-02-12 23:54:15 +01:00
Víctor Losada Hernández
534131d994
edit console logs and change totalDocs logic to count correctly
2024-02-12 23:54:00 +01:00
Víctor Losada Hernández
d233e2b4a5
css fix, pagination controls basic look
2024-02-12 23:18:37 +01:00
Víctor Losada Hernández
05a7defcb8
remove brewCount useless element
2024-02-12 23:18:24 +01:00
G.Ambatte
eeec24ae78
Change fetch to use request-middleware instead
2024-02-13 09:14:31 +13:00
G.Ambatte
1d778e3249
Update API route
2024-02-13 09:13:47 +13:00
G.Ambatte
3bb44d8a17
Lint clean up
2024-02-13 09:06:33 +13:00
Víctor Losada Hernández
71c52b4587
fix html response
2024-02-12 08:44:18 +01:00
Víctor Losada Hernández
fe449abb47
trying to figure out pagination
2024-02-10 16:41:39 +01:00
Víctor Losada Hernández
46d1f89b77
minor fixes
2024-01-29 00:12:14 +01:00
Víctor Losada Hernández
bf1f2054de
minor fixes
2024-01-28 16:14:54 +01:00
Víctor Losada Hernández
399caaaeff
typo
2024-01-28 16:11:32 +01:00
Víctor Losada Hernández
27b4176e23
initial screen
2024-01-28 16:08:44 +01:00
Víctor Losada Hernández
a8bc6b4e1d
h2 to h3
2024-01-28 16:04:21 +01:00
Víctor Losada Hernández
3ca8f72762
brewCount
2024-01-28 16:02:19 +01:00
Víctor Losada Hernández
8aec5dbba6
error 500 catch and show
2024-01-28 15:57:51 +01:00
Víctor Losada Hernández
cccebd8494
title and no brews UI
2024-01-28 11:18:37 +01:00
Víctor Losada Hernández
5fbbd92ea7
limit to 1000
2024-01-28 01:12:46 +01:00
Víctor Losada Hernández
81f26e0892
exclude last fix
2024-01-28 00:55:22 +01:00
Víctor Losada Hernández
9366284e1d
quick fix
2024-01-28 00:26:35 +01:00
Víctor Losada Hernández
9aa5eea8c9
exclude fields and add a time limit
2024-01-27 23:31:56 +01:00
Víctor Losada Hernández
20f61bff07
limit to 2000
2024-01-27 21:46:28 +01:00
Víctor Losada Hernández
625819da91
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-01-27 19:14:48 +01:00
Víctor Losada Hernández
2c691d84f2
author fix 3
2024-01-27 19:14:38 +01:00
Víctor Losada Hernández
4630d2640b
author another fix
2024-01-27 17:29:16 +01:00
Víctor Losada Hernández
043f24d5ca
invited authors is not a thing
2024-01-27 16:56:38 +01:00
Víctor Losada Hernández
87e18c0521
no authors fix
2024-01-27 16:56:28 +01:00
Víctor Losada Hernández
7e30f860b2
typo fix
2024-01-27 16:26:06 +01:00
Víctor Losada Hernández
0ac0ffe53d
limit to 3000
2024-01-27 16:25:06 +01:00
Víctor Losada Hernández
ae4e1b55e6
minor changes
2024-01-27 16:24:45 +01:00
Víctor Losada Hernández
756ced088c
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-01-27 14:31:34 +01:00
Víctor Losada Hernández
8ce6b22be7
reject modernity, embrace tradition
2024-01-27 14:31:32 +01:00
Trevor Buckner
6184d64f89
Merge branch 'master' into pr/3263
2024-01-25 16:43:21 -05:00
Víctor Losada Hernández
c00c2626b4
Merge branch 'master' into experimental-development
2024-01-24 22:56:30 +01:00
Víctor Losada Hernández
89fddd0210
limit search and adapt ui
2024-01-24 21:15:26 +01:00
Víctor Losada Hernández
0c167d803c
limit the search
2024-01-24 21:15:00 +01:00
Víctor Losada Hernández
c50042c1e7
i love grid template area
2024-01-23 22:55:36 +01:00
Víctor Losada Hernández
0dc1b46466
stying updates, agnostic theme
2024-01-23 19:08:57 +01:00
Víctor Losada Hernández
4ed9fc7d0e
fix url params
2024-01-23 18:35:09 +01:00
Víctor Losada Hernández
162929bdca
trying to catch url with query
2024-01-23 14:02:27 +01:00
Víctor Losada Hernández
54a2f6940c
from admin to archive api
2024-01-23 10:40:53 +01:00
Víctor Losada Hernández
0dff59d793
linting and space issues
2024-01-23 08:07:51 +01:00
Víctor Losada Hernández
7951c4a03a
basic ui and small changes
2024-01-23 00:20:18 +01:00
Víctor Losada Hernández
66fd56fccb
basic functionality
2024-01-22 23:52:42 +01:00
Víctor Losada Hernández
da699e999f
basic looks
2024-01-22 23:20:36 +01:00
Víctor Losada Hernández
c6a5f50c76
admin page fix
2024-01-22 17:22:54 +01:00
Víctor Losada Hernández
74c7395ab9
admin look by title
2024-01-22 16:59:45 +01:00
G.Ambatte
0a309ad0e1
Remove debugging console.log
2023-10-01 21:46:52 +13:00
G.Ambatte
52b0ae0400
Basic functionality pass
2023-10-01 21:35:50 +13:00