0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00
Commit Graph

1002 Commits

Author SHA1 Message Date
G.Ambatte
14ea286aa2 Remove Google permissions check function 2025-11-10 06:07:37 +00:00
G.Ambatte
de85c84685 Remove permissionsCheck from brew listing 2025-11-10 06:05:58 +00:00
G.Ambatte
35d93582d7 Remove unnecessary async map function 2025-11-10 06:04:10 +00:00
G.Ambatte
c2ceba2ff6 Merge branch 'master' into experimentalGoogleServiceAccountChange 2025-11-10 19:00:06 +13:00
Gazook89
c5aa774daa Move markdown.js and markdownlegacy.js
Moves the two files up a level, directly in `/shared/`.  Everything else is just updating paths for that.
2025-11-04 22:29:28 -06:00
Trevor Buckner
d8aabb2f57 Merge branch 'master' into fix-googleId-error 2025-10-15 17:08:23 -04:00
Víctor Losada Hernández
3f29eb227a next for throw 2025-10-15 21:22:45 +02:00
Víctor Losada Hernández
f604d0a41f handle getid uncatched error 2025-10-15 20:52:34 +02:00
Trevor Buckner
ae47442ed5 Merge branch 'master' into remove-config-enable-checks 2025-10-13 13:37:49 -04:00
G.Ambatte
0d38b8607e Shift to router.use(dbCheck) instead of defining on every route 2025-10-06 18:51:05 +13:00
G.Ambatte
5e35ae0c8b Merge branch 'master' into addDBCheckMiddleware 2025-10-06 18:12:40 +13:00
Trevor Buckner
63bebe1efd Lint everything
Catching up on a bunch of linting so random changes stop showing up on PRs when the linter is run.
2025-10-06 00:02:24 -04:00
Víctor Losada Hernández
4a5bb1efb1 initial commit 2025-10-05 22:14:13 +02:00
G.Ambatte
c17a5e72b9 Switch to Calc's simplified test spec 2025-10-05 15:40:40 +13:00
G.Ambatte
a14ea89562 Post-merge cleanup 2025-10-05 15:31:04 +13:00
G.Ambatte
bb0a840113 Fix HBErrorCode to string, not number 2025-10-05 15:30:47 +13:00
G.Ambatte
d40f8ff380 Merge branch 'master' into addDBCheckMiddleware 2025-10-05 14:58:56 +13:00
G.Ambatte
2b138e56db Add dbCheck middleware to app.js routes that use DB 2025-10-04 12:29:06 +13:00
G.Ambatte
f141c0bebd Move dbCheck to only API calls that touch the database 2025-10-02 19:28:10 +13:00
G.Ambatte
d6a7d0272a Update dbCheck test 2025-09-02 21:08:15 +12:00
G.Ambatte
4fca207e0e Change error result to use Error Page 2025-09-02 20:58:08 +12:00
G.Ambatte
d171077798 Merge branch 'master' into addDBCheckMiddleware 2025-09-02 20:51:12 +12:00
G.Ambatte
06d1652f51 Merge branch 'master' into experimentalGoogleServiceAccountChange 2025-08-26 07:32:29 +12:00
G.Ambatte
6c3a5f193d Merge branch 'master' into addMongoIndexes 2025-08-25 17:24:27 +12:00
Emmanuel Ferdman
1eb226ea13 Handle mongo count qurey error by returning default value
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-08-10 23:26:41 -07:00
G.Ambatte
005c05376c Add DB connection/disconnections events to log 2025-07-26 14:11:20 +12:00
G.Ambatte
7af22c9da7 Return a basic error message when DB connection is lost 2025-07-26 12:13:59 +12:00
G.Ambatte
8e2abb9f78 Basic Google file permission checking 2025-07-25 12:04:41 +12:00
Trevor Buckner
990bf80b59 Comment out patch contents from logs
patch contents on failed patches clogging logs with pages and pages of text
2025-07-22 14:45:57 -04:00
Trevor Buckner
f16598f238 Fix Google ID Validation Regex
Google IDs with underscores were failing.

Regex found in Google drive documentation: https://developers.google.com/workspace/docs/api/concepts/document
2025-07-22 14:39:09 -04:00
G.Ambatte
b447d81b4c Add service account to file permissions 2025-07-22 18:23:11 +12:00
G.Ambatte
4d014bf379 Merge branch 'master' into addMongoIndexes 2025-07-20 14:06:53 +12:00
G.Ambatte
4856c803ed Use local_environments from config 2025-07-20 11:48:22 +12:00
G.Ambatte
d9cd270f3b Add autobuild to Mongoose connection (local/docker ONLY) 2025-07-20 11:43:14 +12:00
G.Ambatte
878ea1449d Add indexes to HomebrewSchema 2025-07-20 11:42:24 +12:00
Trevor Buckner
579e9e0ec5 Merge pull request #4347 from G-Ambatte/experimentalDiffSaveFix
Diff patching fix using encodeURI
2025-07-19 15:30:10 -04:00
G.Ambatte
b87c78474d Fix for diff patching using encodeURI 2025-07-19 14:49:02 +12:00
Trevor Buckner
958d282a58 Merge branch 'master' into opengraph_locale 2025-07-17 14:30:16 -04:00
David Bolack
7e56ae2019 locale typo. 2025-07-16 10:34:16 -05:00
David Bolack
ebca50ed4b Merge branch 'master' into opengraph_locale 2025-07-16 10:33:27 -05:00
Trevor Buckner
544175b994 Merge branch 'master' into experimentalIDValidations 2025-07-15 11:14:11 -04:00
G.Ambatte
90e577dd3f Rework tests 2025-07-15 09:02:57 +12:00
G.Ambatte
828208aadb Add more ID validation test cases 2025-07-15 08:19:05 +12:00
G.Ambatte
973e071e93 Slightly loosen Google ID match criteria, add comments 2025-07-15 08:13:35 +12:00
Trevor Buckner
24dfd41714 Merge branch 'master' into experimentalIDValidations 2025-07-14 13:37:19 -04:00
Trevor Buckner
638e54535d Merge branch 'master' into addForceSSLTests 2025-07-14 13:16:14 -04:00
Trevor Buckner
cbc6956221 Merge pull request #4334 from G-Ambatte/addTokenTests
Add token.js tests
2025-07-14 13:15:43 -04:00
Trevor Buckner
248d2038ec Cleanup token.js 2025-07-14 13:10:19 -04:00
G.Ambatte
2fbcc84a50 Merge branch 'master' into experimentalIDValidations 2025-07-14 14:50:05 +12:00
G.Ambatte
45e4d27c0a Merge branch 'master' into addForceSSLTests 2025-07-14 14:46:10 +12:00