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

7562 Commits

Author SHA1 Message Date
G.Ambatte
c9241e3091 WIP Update 2024-10-07 18:22:06 +13:00
dependabot[bot]
70118022b8 Bump @stylistic/stylelint-plugin from 3.1.0 to 3.1.1
Bumps [@stylistic/stylelint-plugin](https://github.com/stylelint-stylistic/stylelint-stylistic) from 3.1.0 to 3.1.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.1.0...v3.1.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-10-07 03:36:16 +00:00
Gazook89
68c75fbfd2 adjust CSS to support Firefox
Set's a non-ideal but functional css style for the box when using Firefox so the box is at least visible.
2024-10-06 22:16:46 -05:00
Gazook89
d6d6cc1e29 Add View Mode Options
Adds a new AnchoredBox component that is functionally a clone of the "saving error" notifications, but drops a lot of the JS in favor of the new (chrome-only!) CSS Anchor Positioning API.  In subsequent commits, either alternate styling or a polyfill will be added non-supported browsers.

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

Update toolBar.less
2024-10-06 21:26:48 -05:00
Gazook89
41f390b305 Add a classname to recto configuration
Adding class name so that it can be toggled between 'recto' and 'verso'.  Verso being the normal left/right configuration, no styling is needed.  With recto, the first page is shifted to the second slot, or right side.
2024-10-06 21:24:50 -05:00
Trevor Buckner
226e714f32 Merge pull request #3793 from 5e-Cleric/fix-wrong-brew-id-links-generated 2024-10-06 15:57:11 -04:00
Trevor Buckner
f3332fb95b Merge branch 'master' into fix-wrong-brew-id-links-generated 2024-10-06 15:54:37 -04:00
Trevor Buckner
10d4cd4ab3 Merge pull request #3796 from naturalcrit/FixGoogleLinksinUserPage v3.15.2ABC v3.15.2 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
64dd71601c last changes 2024-10-06 19:59:58 +02:00
Víctor Losada Hernández
4968300e7a return correct data 2024-10-06 19:54:41 +02:00
Víctor Losada Hernández
3acb25ce3a adress comments 2024-10-06 19:43:51 +02:00
Víctor Losada Hernández
487a574f50 initital fix 2024-10-06 00:05:12 -04:00
Gazook89
8115b1504e Add flex property to pages 2024-10-05 23:01:08 -05:00
Gazook89
34fa724fdd Change .pages margin to .brewRenderer padding
More consistent visuals since the zooming of the .pages element affects the spacing around the edges, and the brewRenderer padding isn't affected.
2024-10-05 22:43:13 -05:00
Gazook89
24544e713e Basically revert previous change
Adding the margin resets back in because otherwise each .page margin is set to "auto" on the sides, and that makes them zoom awkwardly when in facing and flow modes.
2024-10-05 22:35:42 -05:00
Gazook89
06a806e260 preserve margin around .pages
Keep margin around .pages element such that the pages are never bumped right against the divider.
2024-10-05 21:55:42 -05:00
Gazook89
4259931b67 Merge branch 'master' into View-Modes 2024-10-05 21:39:06 -05:00
Víctor Losada Hernández
a4e0f1fc0f initital fix 2024-10-04 22:18:11 +02:00
Trevor Buckner
2ada6ce70d Merge pull request #3789 from naturalcrit/dependabot/npm_and_yarn/babel/core-7.25.7
Bump @babel/core from 7.25.2 to 7.25.7
2024-10-04 13:53:11 -04:00
dependabot[bot]
132878fd8c Bump @babel/core from 7.25.2 to 7.25.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.25.2 to 7.25.7.
- [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.7/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-04 17:49:46 +00:00
Trevor Buckner
0146ab7ce0 Merge pull request #3787 from naturalcrit/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.25.7
Bump @babel/plugin-transform-runtime from 7.25.4 to 7.25.7
2024-10-04 13:48:31 -04:00
dependabot[bot]
a29addbfa3 Bump @babel/plugin-transform-runtime from 7.25.4 to 7.25.7
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.25.4 to 7.25.7.
- [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.7/packages/babel-plugin-transform-runtime)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-04 17:46:56 +00:00
Trevor Buckner
796f8ac8b7 Merge pull request #3788 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.25.7
Bump @babel/preset-env from 7.25.4 to 7.25.7
2024-10-04 13:45:42 -04:00
dependabot[bot]
19d76bd077 Bump @babel/preset-env from 7.25.4 to 7.25.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.25.4 to 7.25.7.
- [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.7/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-10-04 14:51:12 +00:00
Trevor Buckner
f59a250bb1 Merge pull request #3790 from naturalcrit/dependabot/npm_and_yarn/babel/preset-react-7.25.7
Bump @babel/preset-react from 7.24.7 to 7.25.7
2024-10-04 10:49:52 -04:00
David Bolack
5b64052c21 Helps if I update the tests. 2024-10-03 18:49:16 -05:00
David Bolack
f00e76319c Hard code latest as min 2024-10-03 18:44:47 -05:00
David Bolack
a844b29165 Try further down the updates. 2024-10-03 18:40:22 -05:00
David Bolack
fcd1a2de5b Update node version one release. 2024-10-03 09:16:08 -05:00
Víctor Losada Hernández
5eb1456915 fix tests 2 2024-10-03 09:15:08 +02:00
Víctor Losada Hernández
a82e9758b3 fix test errors 2024-10-03 09:08:24 +02:00
Víctor Losada Hernández
6adac74f76 updated test 2024-10-03 09:01:12 +02:00
Víctor Losada Hernández
3c3b4d8466 "Updated mock implementation for deleting a notification in admin API test" 2024-10-03 09:00:57 +02:00
Víctor Losada Hernández
9cc4d2d7c5 add last test 2024-10-03 08:53:27 +02:00
Víctor Losada Hernández
d216216df7 remove unnecessary methods and comments 2024-10-03 08:48:54 +02:00
dependabot[bot]
9fd92e00a1 Bump @babel/preset-react from 7.24.7 to 7.25.7
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.24.7 to 7.25.7.
- [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.7/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 03:17:35 +00:00
David Bolack
afeadb5417 Enable --experimental-require-module flag on node build in order to support ESM module only modules. 2024-10-02 22:05:09 -05:00
Trevor Buckner
e9286d4bb7 Merge pull request #3784 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.37.1
Bump eslint-plugin-react from 7.37.0 to 7.37.1
2024-10-01 23:39:13 -04:00
dependabot[bot]
22dbe1ebf0 Bump eslint-plugin-react from 7.37.0 to 7.37.1
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.37.0 to 7.37.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.37.0...v7.37.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-10-02 03:34:52 +00:00
Trevor Buckner
53761bc567 Merge pull request #3785 from naturalcrit/dependabot/npm_and_yarn/globals-15.10.0
Bump globals from 15.9.0 to 15.10.0
2024-10-01 23:33:33 -04:00
dependabot[bot]
e6e9029bb7 Bump globals from 15.9.0 to 15.10.0
Bumps [globals](https://github.com/sindresorhus/globals) from 15.9.0 to 15.10.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.9.0...v15.10.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 03:26:23 +00:00
Trevor Buckner
1a325fb3c5 New notification 2024-10-01 22:25:17 -04:00
Trevor Buckner
84f49aebce Add test for "add notification" 2024-10-01 21:54:22 -04:00
Trevor Buckner
8949248bc4 Example test
Added an example test that queries /admin/notification/all and checks if the response returns a list of notifications.

Since we don't have a real database, we overwrite (mock) NotificationModel to just return some fake data, otherwise the test would crash.
2024-10-01 17:15:36 -04:00
Víctor Losada Hernández
df06d8fcd3 update error index 2024-10-01 21:58:52 +02:00
Víctor Losada Hernández
d6ca6592a2 remove rateLimiter 2024-10-01 21:58:42 +02: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