0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 18:38:40 +00:00
Commit Graph

215 Commits

Author SHA1 Message Date
David Bolack f16c8b7663 Add /embed endpoint
This duplicates the share endpoint. It uses the Share Page template
with a boolean for share vs embed to toggle displaying the navbar
and toolbar.

Added a showToolbar property to brewRender to toggle... showing
the toolbar.
2026-02-06 18:01:53 -06:00
David Bolack 5faa12a79e Initial Commit
Adds menu items for "regular", zipped, and inline output.

Currently only displays inline output with *no* URL massaging ( all relative path references are still relative )

Displays, not downloads
2026-01-09 16:22:07 -06:00
Trevor Buckner ae47442ed5 Merge branch 'master' into remove-config-enable-checks 2025-10-13 13:37:49 -04:00
Víctor Losada Hernández 4a5bb1efb1 initial commit 2025-10-05 22:14:13 +02: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 d171077798 Merge branch 'master' into addDBCheckMiddleware 2025-09-02 20:51:12 +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 7af22c9da7 Return a basic error message when DB connection is lost 2025-07-26 12:13:59 +12:00
David Bolack 7e56ae2019 locale typo. 2025-07-16 10:34:16 -05:00
David Bolack 702ece6671 Add brew locale to opengraph localization 2025-06-30 12:39:30 -05:00
David Bolack bbb812cb06 Clone snippets 2025-05-25 08:07:50 -05:00
Víctor Losada Hernández 4cc2d429c5 try to pass it as title 2025-05-02 17:15:24 +02:00
Víctor Losada Hernández b914bf3bf5 simple as cake 2025-05-02 17:09:09 +02:00
G.Ambatte 95f44f4460 Revert unnecessary change in app.js 2025-04-09 11:04:57 +12:00
G.Ambatte 0a4ac7a35a Adjust location of package.json 2025-04-06 19:48:32 +12:00
G.Ambatte cb61891450 Change local regex testing 2025-03-22 12:31:38 +13:00
Víctor Losada Hernández f076e05f49 js files 2025-03-18 19:46:11 +01:00
Víctor Losada Hernández 94bcc8e997 update to include all possible local adresses 2025-03-13 22:59:23 +01:00
Víctor Losada Hernández 72c2857237 initial fix 2025-03-13 22:32:12 +01:00
Trevor Buckner f326d11232 Added input validation (allows Share ID or Share URL) 2025-02-13 00:05:30 -05:00
Trevor Buckner aee5b7a8cc Require user to be logged in to change name 2024-12-18 12:14:08 -05:00
Víctor Losada Hernández efa8f3fedf remove unnecessary, cluttering logs 2024-12-16 22:13:14 +01:00
Víctor Losada Hernández 35be1e9b94 quickfix 2024-12-16 16:43:40 +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 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 c29e1905bf add localhost to allowed origins only if in local, also remake regex 2024-12-10 19:24:23 +01:00
Víctor Losada Hernández 81f56ec91d add heroku apps to cors 2024-12-09 18:59:48 +01: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 31a22703c1 initial commit 2024-12-08 12:05:01 +01:00
Trevor Buckner fb9148ada5 Site runs and all tests pass 2024-11-20 16:21:35 -05:00
Trevor Buckner 76d6679002 Fix line endings on app.js 2024-10-11 23:50:08 -04:00
Trevor Buckner dfe26280d2 Update app.js 2024-10-11 23:38:00 -04:00
Trevor Buckner 7894d9fbec Update app.js 2024-10-11 23:35:15 -04:00
Trevor Buckner 134fe7d372 Remove /ip path 2024-10-11 23:15:56 -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
Trevor Buckner 0110c6afed Remove duplicate error log for googleActions.list 2024-10-01 15:06:11 -04:00
Trevor Buckner 3a6750613b express proxy settings 2024-09-30 00:31:58 -04:00
Trevor Buckner ff9a75f6b6 Remove duplicate error logs for google drive update / new
Errors are now logged once in the central error handler in app.js
2024-09-26 19:00:07 -04:00
Víctor Losada Hernández 8d2a9ed9cb adress app.js changes requested 2024-08-31 22:08:21 +02:00
Víctor Losada Hernández f7c3e81b7b "Added new route for '/vault' and updated catch-all for invalid routes" 2024-08-31 19:35:44 +02:00
Víctor Losada Hernández c7f695e86a Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-08-31 19:21:06 +02:00
Trevor Buckner a124bd8657 I'm dumb. 2024-08-28 16:59:22 -04:00