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

7281 Commits

Author SHA1 Message Date
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
David Bolack
abd52f93d8 Merge branch 'master' into horizontalSpace 2024-12-10 23:21:26 -06: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
Víctor Losada Hernández
3e4ba89ed9 change div selector 2024-12-09 22:11:10 +01:00
Víctor Losada Hernández
2c5c3d40df revert toolbar changes 2024-12-09 22:08:39 +01:00
Víctor Losada Hernández
213240327d resolve issues 2024-12-09 22:05:04 +01:00
Víctor Losada Hernández
eca0f59b40 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into adress-small-accessibility-concerns 2024-12-09 21:52:25 +01:00
Trevor Buckner
51936a1b99 Merge pull request #3936 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.8.4
Bump mongoose from 8.8.3 to 8.8.4
2024-12-09 13:44:42 -05:00
Trevor Buckner
6136b78395 Merge pull request #3943 from naturalcrit/Fix_#2954
Get Google Brews with user auth if owner
2024-12-09 13:44:01 -05:00
Víctor Losada Hernández
81f56ec91d add heroku apps to cors 2024-12-09 18:59:48 +01:00
Trevor Buckner
c7d94b0779 Small cleanup 2024-12-08 23:59:27 -05:00
Trevor Buckner
9758797e2b If user is owner, fetch Google Brew with user auth
Fixes the case where a user can see a Google Brew under their account (`listBrew()` uses their personal auth) but can't actually delete it (`getBrew()`  only uses the serviceAccount). Occurs if a Google brew has lost its permissions somehow (set to "restricted", etc.) such that serviceAccount can no longer interact with it.
2024-12-08 23:42:14 -05:00
Trevor Buckner
74a7983757 Refactor and clean up "getBrew()"
Some redundant logic and sprawling formatting
2024-12-08 23:39:26 -05:00
Víctor Losada Hernández
4eb8abf1e7 Update CORS error message in app.js 2024-12-08 23:46:27 +01:00
Víctor Losada Hernández
23910cc94c add cors policy and rename route 2024-12-08 23:43:32 +01:00
Víctor Losada Hernández
ef0ee78758 revert check client version changes 2024-12-08 23:43:06 +01:00
Víctor Losada Hernández
1b20c00842 log headers 2024-12-08 20:46:02 +01:00
Víctor Losada Hernández
db9212bd12 log req 2024-12-08 20:45:43 +01:00
Víctor Losada Hernández
7348ecbb3d Merge branch 'master' of https://github.com/naturalcrit/homebrewery into re-author-brews-on-batch 2024-12-08 12:07:53 +01:00
Víctor Losada Hernández
31a22703c1 initial commit 2024-12-08 12:05:01 +01:00
Trevor Buckner
33f8f6bf38 Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.8.4 2024-12-07 21:32:53 -05:00
Trevor Buckner
a62d2bd457 Merge pull request #3937 from naturalcrit/dependabot/npm_and_yarn/express-4.21.2
Bump express from 4.21.1 to 4.21.2
2024-12-06 16:30:42 -05:00
dependabot[bot]
ffa9666bb9 Bump express from 4.21.1 to 4.21.2
Bumps [express](https://github.com/expressjs/express) from 4.21.1 to 4.21.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.1...4.21.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 21:29:54 +00:00
Trevor Buckner
406f5d4e14 Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.8.4 2024-12-06 16:29:02 -05:00
Trevor Buckner
ed404d3906 Merge pull request #3935 from naturalcrit/dependabot/npm_and_yarn/babel/preset-react-7.26.3
Bump @babel/preset-react from 7.25.9 to 7.26.3
2024-12-06 16:28:35 -05:00