Trevor Buckner
6ed52f37cc
Only fix stub if we actually found one.
2023-01-09 17:30:49 -05:00
Trevor Buckner
15e5a31767
If no stub exists, start stub as {}, not undefined
...
Recent changes to handle bad brew properties (tags as strings, no renderer, etc.) didn't account for the case where an old Google brew is first being stubbed; since no stub exists, there is no object to perform the corrections on, and we crash.
2023-01-09 14:53:35 -05:00
Trevor Buckner
8cbab4d4ce
Fix saving issue when tags do not exist
...
Rare case where tags don't exist at all; gets confused in the step of converting tag strings to arrays
2023-01-09 14:12:57 -05:00
Trevor Buckner
a9c28e84d0
Enable brew version mismatch checking on server
...
Was commented out previously to allow users time to update client code so the proper error displays
2023-01-09 10:30:07 -05:00
Trevor Buckner
bafabb84b4
Merge pull request #2591 from naturalcrit/dependabot/npm_and_yarn/mongoose-6.8.3
...
Bump mongoose from 6.8.2 to 6.8.3
2023-01-09 10:26:36 -05:00
dependabot[bot]
f5d592a291
Bump mongoose from 6.8.2 to 6.8.3
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 6.8.2 to 6.8.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/6.8.2...6.8.3 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-09 03:00:50 +00:00
Trevor Buckner
18f277182a
Merge pull request #2588 from naturalcrit/dependabot/npm_and_yarn/babel/core-7.20.12
...
Bump @babel/core from 7.20.7 to 7.20.12
2023-01-06 13:08:12 -05:00
Trevor Buckner
344a9d8334
Merge pull request #2548 from jeddai/api-tests
...
Add api tests
2023-01-06 13:07:54 -05:00
Charlie Humphreys
67a76f9d86
adjust circleci command for API unit tests
2023-01-06 11:53:38 -06:00
Charlie Humphreys
93d6d1ac6a
add unit test command
2023-01-06 11:48:00 -06:00
Charlie Humphreys
4b3edf053f
add coverage thresholds and coverage command
2023-01-05 23:30:20 -06:00
Charlie Humphreys
0720ac6a15
update changelog
2023-01-05 23:29:58 -06:00
Charlie Humphreys
c0b9cd951e
update circleci test config to run test coverage
2023-01-05 23:29:43 -06:00
Charlie Humphreys
a54ebabf53
fix tests after merge from master
2023-01-05 23:10:25 -06:00
Charlie Humphreys
676acb9e5a
Merge branch 'master' into api-tests
2023-01-05 23:02:43 -06:00
Charlie Humphreys
387c468d84
add tests for deletion and address PR feedback
2023-01-05 22:56:54 -06:00
dependabot[bot]
64e7fe3422
Bump @babel/core from 7.20.7 to 7.20.12
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.20.7 to 7.20.12.
- [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.20.12/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 >
2023-01-05 03:01:25 +00:00
Trevor Buckner
2b1466c51b
Merge pull request #2587 from naturalcrit/FixThemesOnPrint
...
Fix Themes on /print
2023-01-04 21:41:15 -05:00
Trevor Buckner
332bcde4b2
Themes weren't being picked up for rendering
2023-01-04 21:39:51 -05:00
Trevor Buckner
db783179ce
Merge pull request #2429 from G-Ambatte/fixThemesDefault
...
Add default brew on load and before save
2023-01-04 21:36:37 -05:00
Trevor Buckner
c78d687387
Fix all brews being forced to V3 on load
2023-01-04 21:32:16 -05:00
Trevor Buckner
b717059a39
Fix /new storing string "undefined" in Style tab
2023-01-04 20:58:29 -05:00
Trevor Buckner
e02bde5eed
Cleanup; added more fields to DEFAULT_BREW
2023-01-04 17:33:23 -05:00
Trevor Buckner
e1765cad41
Merge branch 'fixThemesDefault' of https://github.com/G-Ambatte/homebrewery into pr/2429
2023-01-03 15:13:41 -05:00
Trevor Buckner
6dab5f836e
Merge branch 'master' into pr/2429
2023-01-03 15:13:19 -05:00
Charlie Humphreys
e47f81698c
Merge branch 'master' into api-tests
2023-01-03 13:47:09 -06:00
Trevor Buckner
2b824839c3
Merge pull request #2581 from naturalcrit/dependabot/npm_and_yarn/eslint-8.31.0
...
Bump eslint from 8.30.0 to 8.31.0
2023-01-03 14:05:28 -05:00
Trevor Buckner
26f009a295
Merge pull request #2577 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.6.1
...
Bump react-router-dom from 6.6.0 to 6.6.1
2023-01-03 14:05:18 -05:00
Trevor Buckner
9b4c997b57
Merge pull request #2578 from naturalcrit/dependabot/npm_and_yarn/mongoose-6.8.2
...
Bump mongoose from 6.8.1 to 6.8.2
2023-01-03 14:05:10 -05:00
Trevor Buckner
39143295b1
Merge pull request #2576 from naturalcrit/dependabot/npm_and_yarn/marked-4.2.5
...
Bump marked from 4.2.4 to 4.2.5
2023-01-03 14:05:01 -05:00
Trevor Buckner
6eaf2feb40
Log version mismatch errors
...
To gauge how frequently they are occurring for future update.
2023-01-03 12:47:17 -05:00
Trevor Buckner
4fe0f1a7af
Comment out server-side brew version checking
...
Requires client-side update to apply brew version correctly; temporarily disabling server-side checking for a few days until more users have updated their clients.
2023-01-03 12:38:00 -05:00
Trevor Buckner
7aac377ce8
Merge pull request #2575 from jeddai/google-brew-version-comparison-fix
...
add check for truthy version, and make sure the version exists when incrementing it
2023-01-03 11:22:37 -05:00
dependabot[bot]
77542c5f06
Bump eslint from 8.30.0 to 8.31.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.30.0 to 8.31.0.
- [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/v8.30.0...v8.31.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-02 03:01:18 +00:00
dependabot[bot]
3d365339e4
Bump mongoose from 6.8.1 to 6.8.2
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 6.8.1 to 6.8.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/6.8.1...6.8.2 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-29 03:01:18 +00:00
dependabot[bot]
66be400f5f
Bump react-router-dom from 6.6.0 to 6.6.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.6.0 to 6.6.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.6.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 >
2022-12-26 03:01:12 +00:00
dependabot[bot]
9880792c4d
Bump marked from 4.2.4 to 4.2.5
...
Bumps [marked](https://github.com/markedjs/marked ) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json )
- [Commits](https://github.com/markedjs/marked/compare/v4.2.4...v4.2.5 )
---
updated-dependencies:
- dependency-name: marked
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-26 03:00:50 +00:00
Charlie Humphreys
ca03a473ec
add check for truthy version, and make sure the version exists when incrementing it
2022-12-23 14:31:58 -06:00
Trevor Buckner
c364856942
Merge branch 'master' into fixThemesDefault
2022-12-23 13:40:12 -05:00
Trevor Buckner
4e7a96b67c
Merge pull request #2571 from naturalcrit/v3.5.0
...
v3.5.0
2022-12-23 13:25:00 -05:00
Trevor Buckner
39bfc818a6
Merge pull request #2572 from jeddai/new-props-authors-fix
...
add elvis to fix invited authors editor
2022-12-23 13:24:48 -05:00
Charlie Humphreys
6d9982f735
add elvis to fix invited authors editor
2022-12-23 12:21:15 -06:00
Trevor Buckner
4f6ba7a388
v3.5.0
2022-12-23 12:07:31 -05:00
Trevor Buckner
0274fb214c
Merge pull request #2566 from naturalcrit/dependabot/npm_and_yarn/mongoose-6.8.1
...
Bump mongoose from 6.8.0 to 6.8.1
2022-12-23 01:57:27 -05:00
Trevor Buckner
15519f142d
Merge pull request #2569 from naturalcrit/dependabot/npm_and_yarn/googleapis-110.0.0
...
Bump googleapis from 109.0.1 to 110.0.0
2022-12-23 01:53:09 -05:00
Trevor Buckner
6b258886a4
Merge pull request #2570 from naturalcrit/dependabot/npm_and_yarn/babel/core-7.20.7
...
Bump @babel/core from 7.20.5 to 7.20.7
2022-12-23 01:52:49 -05:00
Trevor Buckner
d23a88c997
Merge pull request #2568 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.6.0
...
Bump react-router-dom from 6.4.5 to 6.6.0
2022-12-23 01:52:42 -05:00
Trevor Buckner
096e17ab5a
Merge pull request #2564 from naturalcrit/dependabot/npm_and_yarn/eslint-8.30.0
...
Bump eslint from 8.29.0 to 8.30.0
2022-12-23 01:52:32 -05:00
Charlie Humphreys
da9e20e96f
add more tests and merge from main
2022-12-23 00:11:46 -06:00
dependabot[bot]
53d5f9f6e0
Bump @babel/core from 7.20.5 to 7.20.7
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.20.5 to 7.20.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.20.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 >
2022-12-23 03:01:08 +00:00