G.Ambatte
2dc8a8fbe9
Remove req.account from update request
2024-12-19 16:20:04 +13:00
Trevor Buckner
5f14f656ef
Logging
2024-12-18 17:23:38 -05:00
Trevor Buckner
6e8a0d7314
current user owns 0-author brew only if edit mode
...
Previous code was treating /share/ visits to google brews with no stub as visits by owner, thus using their own credentials to open the file instead of serviceaccount
2024-12-18 17:07:09 -05:00
Trevor Buckner
e61144beb8
Mark as owner if stub doesn't exist
...
Old Google Drive files without a stub have no author, so if no stub exists, consider the current user the owner.
2024-12-18 13:45:53 -05:00
Trevor Buckner
64b792c645
Fix case where no stub is found
...
When retrieving a Google Brew with no stub yet, if the user is not logged in or has expired credentials, we enter this error handler. However, the error message itself tries to send a list of authors.
If there was no stub, we crash here with a 500 error.
This adds conditional operator to any stub value so we can send the actual "not logged in" error in case of no stub.
2024-12-18 13:02:14 -05:00
Trevor Buckner
aee5b7a8cc
Require user to be logged in to change name
2024-12-18 12:14:08 -05:00
Trevor Buckner
0148eafce0
Merge pull request #3951 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.9.1
...
Bump mongoose from 8.9.0 to 8.9.1
2024-12-17 19:34:44 -05:00
dependabot[bot]
a3ec5b8d3b
Bump mongoose from 8.9.0 to 8.9.1
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.9.0 to 8.9.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.9.0...8.9.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-12-17 03:25:20 +00:00
Trevor Buckner
4ded48df1e
Merge pull request #3905 from naturalcrit/fixContentNegotiationTestFail-#3904
...
Fixes #3904 - content negotiation test failure
2024-12-16 18:11:52 -05:00
Trevor Buckner
bc14246fe7
fix import
2024-12-16 17:58:08 -05:00
Trevor Buckner
fcf985a115
Restore content-negotiation test
2024-12-16 17:42:06 -05:00
Trevor Buckner
a060fd123c
Merge branch 'master' into fixContentNegotiationTestFail-#3904
2024-12-16 17:39:34 -05:00
Víctor Losada Hernández
7c7e143365
Merge pull request #3950 from naturalcrit/quickfix-CORS
...
Remove app.js logs to avoid cluttering and buffer overflow errors in heroku
2024-12-16 22:16:12 +01:00
Víctor Losada Hernández
efa8f3fedf
remove unnecessary, cluttering logs
2024-12-16 22:13:14 +01:00
Víctor Losada Hernández
972a93d292
Merge pull request #3949 from naturalcrit/quickfix-CORS
...
quickfix to the CORS policy
2024-12-16 16:47:09 +01:00
Víctor Losada Hernández
35be1e9b94
quickfix
2024-12-16 16:43:40 +01:00
Trevor Buckner
1a91c390f8
Merge pull request #3948 from naturalcrit/dependabot/npm_and_yarn/stylelint-16.12.0
...
Bump stylelint from 16.11.0 to 16.12.0
2024-12-16 00:09:18 -05:00
dependabot[bot]
206e4fbda8
Bump stylelint from 16.11.0 to 16.12.0
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.11.0 to 16.12.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.11.0...16.12.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-12-16 05:01:24 +00:00
Trevor Buckner
af98cb3867
Merge pull request #3947 from naturalcrit/dependabot/npm_and_yarn/eslint-9.17.0
...
Bump eslint from 9.16.0 to 9.17.0
2024-12-16 00:00:08 -05:00
dependabot[bot]
f8fc6f7aa4
Bump eslint from 9.16.0 to 9.17.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.16.0 to 9.17.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/v9.16.0...v9.17.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-16 04:59:23 +00:00
Trevor Buckner
eb0fa28a03
Merge pull request #3946 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.9.0
...
Bump mongoose from 8.8.4 to 8.9.0
2024-12-15 23:58:09 -05:00
Trevor Buckner
4ab1a22eb3
Merge pull request #3863 from 5e-Cleric/fix-reddit-link-generation-crashing-website-if-encodeURI-fails
...
Fix crashes if title is invalid as URI
2024-12-15 23:57:38 -05:00
Trevor Buckner
962a46a670
Merge branch 'master' into fix-reddit-link-generation-crashing-website-if-encodeURI-fails
2024-12-15 23:46:54 -05:00
Trevor Buckner
cb16b32016
tabs
2024-12-15 23:45:54 -05:00
Trevor Buckner
56f348f7ed
Replace with toWellFormed()
2024-12-15 23:44:56 -05:00
dependabot[bot]
b7c99b2d52
Bump mongoose from 8.8.4 to 8.9.0
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.8.4 to 8.9.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.8.4...8.9.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-12-16 03:57:07 +00:00
Trevor Buckner
889f80f537
Replace react-router-dom with react-router
...
react-router-dom has been replaced by react-router, so changing packages
2024-12-14 21:48:13 -05:00
Trevor Buckner
c270a69bb9
Merge pull request #3933 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-7.0.2
...
Bump react-router-dom from 6.28.0 to 7.0.2
2024-12-14 21:36:20 -05:00
Trevor Buckner
db0df82202
Change imports
2024-12-14 21:31:49 -05:00
Trevor Buckner
1346361f80
Merge branch 'dependabot/npm_and_yarn/react-router-dom-7.0.2' of https://github.com/naturalcrit/homebrewery into dependabot/npm_and_yarn/react-router-dom-7.0.2
2024-12-14 19:13:44 -05:00
dependabot[bot]
fdaf9d4808
Bump react-router-dom from 6.28.0 to 7.0.2
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.28.0 to 7.0.2.
- [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@7.0.2/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-15 00:10:44 +00:00
Víctor Losada Hernández
3cdfae4270
Merge pull request #3942 from naturalcrit/re-author-brews-on-batch
...
Create backend batch re-author framework
2024-12-15 00:09:48 +01:00
Víctor Losada Hernández
a9275698fa
add comment to tell future me to remove logs when feature comes
2024-12-14 23:41:05 +01:00
Víctor Losada Hernández
99f2972079
fixes as asked
2024-12-14 23:34:12 +01:00
Víctor Losada Hernández
afc92c4545
fix check client version middleware to stop checking outside calls
2024-12-14 22:30:24 +01:00
Víctor Losada Hernández
b26526a2f1
lint and logging pass prepared for in server auth from this end
2024-12-14 22:24:52 +01:00
Víctor Losada Hernández
4f57f006ce
log cookies at auth middleware
2024-12-14 21:20:39 +01:00
Víctor Losada Hernández
666a94cd65
fix log
2024-12-14 21:15:16 +01:00
Víctor Losada Hernández
f0c094e9d8
logs to account middleware
2024-12-14 21:12:35 +01:00
Víctor Losada Hernández
a1c228b1d1
log req account
2024-12-14 21:01:38 +01:00
Víctor Losada Hernández
5e5c637c79
revert api catch on wrong route middleware
2024-12-14 20:59:51 +01:00
Víctor Losada Hernández
d573129f31
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into re-author-brews-on-batch
2024-12-14 20:34:41 +01:00
Trevor Buckner
57cb334c15
Update pull_request_template.md
2024-12-10 13:35:16 -05:00
Víctor Losada Hernández
c29e1905bf
add localhost to allowed origins only if in local, also remake regex
2024-12-10 19:24:23 +01:00
Trevor Buckner
52d00b17a4
Merge branch 'master' into fixContentNegotiationTestFail-#3904
2024-12-10 11:58:05 -05:00
dependabot[bot]
35364c400a
Bump react-router-dom from 6.28.0 to 7.0.2
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.28.0 to 7.0.2.
- [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@7.0.2/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-10 16:23:58 +00:00
Trevor Buckner
77f0c1bf56
Merge pull request #3944 from naturalcrit/dependabot/npm_and_yarn/dompurify-3.2.3
...
Bump dompurify from 3.2.2 to 3.2.3
2024-12-10 11:22:39 -05:00
dependabot[bot]
2d281072fa
Bump dompurify from 3.2.2 to 3.2.3
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.2...3.2.3 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-10 03:53:51 +00:00
Víctor Losada Hernández
83b8f9c3b7
Merge pull request #3809 from 5e-Cleric/adress-small-accessibility-concerns
...
Adress small accessibility concerns
2024-12-09 22:28:52 +01:00
Víctor Losada Hernández
3a20452214
hide unusable editors
2024-12-09 22:18:15 +01:00