Commit Graph
195 Commits
Author SHA1 Message Date
G.Ambatte f17fbaff49 Add event-stream route 2025-02-07 21:44:54 +13: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
Trevor Buckner e8aceac133 Move check for account up a little 2024-08-28 15:21:43 -04:00
Víctor Losada Hernández 6436e62ec0 set up error page 2024-08-28 21:10:28 +02:00
Víctor Losada Hernández c9947d7f91 handle invalid account in account page, redirect to home 2024-08-28 20:42:53 +02:00
Víctor Losada Hernández ca5a7a1dbb Merge branch 'master' into addCSSRoute-#1097 2024-08-23 23:16:19 +02:00
Trevor Buckner 40ab2c2283 rearrange code 2024-08-22 14:24:33 -04:00
Trevor Buckner 0f969ce383 Add catch-all for invalid paths
res.route is the currently-matched route. If nothing has been matched by this point (route = undefined), we have an invalid route.
2024-08-20 17:11:50 -04:00
G.Ambatte 00e113ff67 Move getCSS to homebrew.api.js 2024-08-13 22:02:54 +12:00
G.Ambatte 7d699e455e Switch CSS route to call a function 2024-08-12 18:48:28 +12:00
Trevor Buckner 4b3b44ecc8 Merge branch 'master' into addCSSRoute-#1097 2024-08-01 14:28:10 -04:00
Víctor Losada Hernández aa0d0bed48 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-07-31 23:12:47 +02:00
Trevor Buckner 27a4831ea0 Add a theme to our reference pages (changelog, FAQ, migrate) 2024-07-31 16:53:54 -04:00
Víctor Losada Hernández 51c7549b45 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-07-31 08:57:28 +02:00
Trevor Buckner 8aa88a2e45 Add proper error popup when theme fails to load 2024-07-28 16:45:01 -04:00
Trevor Buckner 27c52fc244 Fix loading CSS for Legacy 2024-07-23 17:11:48 -04:00
Trevor Buckner ac82e3ecb2 Add to home page 2024-07-23 16:50:29 -04:00
Trevor Buckner 22b6aa14f0 Add to /new page 2024-07-23 16:43:23 -04:00
Trevor Buckner 0a5ff213de use same theme endpoint for user and static themes
`getThemeBundle()` rework no longer needs two separate endpoints
2024-07-20 11:39:23 -04:00
Trevor Buckner 484b0a6dff simplify getThemeBundle() by using just one loop
Also, removes need for special handling of the "first" theme.
2024-07-15 16:38:19 -04:00
Trevor Buckner 4951b9bf1a Add async error handler to /edit and /new
Since /edit and /new endpoints now have an `await` inside that could return an error (`getUsersBrewThemes()`), asyncHandler must be added to pass errors along instead of just crashing
2024-07-13 19:46:12 -04:00
Trevor Buckner f392216ff4 Spacing 2024-07-13 18:08:29 -04:00