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

725 Commits

Author SHA1 Message Date
Víctor Losada Hernández 656c9399ef initial commit 2024-10-10 02:06:00 +02:00
Trevor Buckner a9aab5bb0c Add test for error handling deleting notifications 2024-10-09 14:52:56 -04:00
Trevor Buckner 5ca970bdee Typo 2024-10-09 14:46:18 -04:00
Trevor Buckner 9635e1a8eb Change another return to throw 2024-10-09 14:41:37 -04:00
Trevor Buckner 23e3c98a0d Add test for adding notification without dismissKey 2024-10-09 14:40:38 -04:00
Trevor Buckner 346bb0086e Should throw, not return errors, so they land in catch 2024-10-09 14:40:11 -04:00
Trevor Buckner e873dcf3a8 Fix error messages crashing page 2024-10-09 14:35:16 -04:00
Trevor Buckner 269dd6107c Merge branch 'master' into experimentalNotificationDB 2024-10-09 11:12:23 -04:00
David Bolack c4b754e467 Lost a stray ) on update 2024-10-07 14:45:33 -05:00
David Bolack e82411d3d2 Merge branch 'master' into Issue_1958 2024-10-07 14:35:19 -05:00
Víctor Losada Hernández 64dd71601c last changes 2024-10-06 19:59:58 +02:00
Víctor Losada Hernández 4968300e7a return correct data 2024-10-06 19:54:41 +02:00
Víctor Losada Hernández 3acb25ce3a adress comments 2024-10-06 19:43:51 +02:00
Víctor Losada Hernández 5eb1456915 fix tests 2 2024-10-03 09:15:08 +02:00
Víctor Losada Hernández a82e9758b3 fix test errors 2024-10-03 09:08:24 +02:00
Víctor Losada Hernández 6adac74f76 updated test 2024-10-03 09:01:12 +02:00
Víctor Losada Hernández 3c3b4d8466 "Updated mock implementation for deleting a notification in admin API test" 2024-10-03 09:00:57 +02:00
Víctor Losada Hernández 9cc4d2d7c5 add last test 2024-10-03 08:53:27 +02:00
Víctor Losada Hernández d216216df7 remove unnecessary methods and comments 2024-10-03 08:48:54 +02:00
Trevor Buckner 84f49aebce Add test for "add notification" 2024-10-01 21:54:22 -04:00
Trevor Buckner 8949248bc4 Example test
Added an example test that queries /admin/notification/all and checks if the response returns a list of notifications.

Since we don't have a real database, we overwrite (mock) NotificationModel to just return some fake data, otherwise the test would crash.
2024-10-01 17:15:36 -04:00
Trevor Buckner 58b0e12fcc Update app.js 2024-09-27 00:34:35 -04:00
Trevor Buckner 51f4c83ec0 Update app.js 2024-09-27 00:34:12 -04:00
Trevor Buckner 15fde76209 Merge branch 'master' into v3.15.1 2024-09-27 00:13:32 -04:00
Trevor Buckner 2ba160fe65 Re-remove extra error log for new google brews. 2024-09-27 00:08:23 -04:00
Trevor Buckner c8424e0b10 Remove test that no longer applies 2024-09-26 19:12:19 -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
Trevor Buckner 971be6375e lint 2024-09-20 16:02:09 -04:00
Trevor Buckner 4353c01032 Update server/vault.api.js 2024-09-20 16:01:29 -04:00
Víctor Losada Hernández d09cecedd7 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into sort-in-vault 2024-09-20 20:54:14 +02:00
Víctor Losada Hernández b53b279241 fix pagination not applying sort 2024-09-20 20:38:54 +02:00
David Bolack 672b787cd5 Merge branch 'Issue_1958' of github.com:dbolacksn/homebrewery-broken into Issue_1958 2024-09-18 16:28:19 -05:00
David Bolack 931566636b Merge branch 'master' into Issue_1958 2024-09-18 16:26:39 -05:00
David Bolack ffaca4ec10 Update server/middleware/content-negotiation.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2024-09-18 16:21:31 -05:00
Trevor Buckner 5c2ad7dfee More Linting 2024-09-18 15:50:46 -04:00
Víctor Losada Hernández 84f84782f5 Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery; branch 'master' of https://github.com/naturalcrit/homebrewery into experimentalNotificationDB 2024-09-18 21:32:17 +02:00
Trevor Buckner dfd3b99232 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-16 01:50:54 -04:00
Trevor Buckner 63675a46e0 Lint more things 2024-09-16 01:42:21 -04:00
Trevor Buckner 1645a5acf4 Lint App.js
Just whitespace changes
2024-09-16 01:39:44 -04:00
David Bolack dc67c75130 Merge branch 'master' into Issue_1958 2024-09-15 18:15:19 -05:00
G.Ambatte 2f392a7517 Lint fixes 2024-09-15 14:19:32 +12:00
G.Ambatte 531e6efa5e Get configuration from config files 2024-09-15 14:19:24 +12:00
Víctor Losada Hernández ebc3b4ee66 "Updated admin notification management: added error handling and styling, modified notification add and lookup functionality, and refactored server-side API routes and error handling." 2024-09-14 23:58:47 +02:00
Víctor Losada Hernández 9bf28f1433 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimentalNotificationDB 2024-09-13 23:54:01 +02:00
Víctor Losada Hernández c411691fd6 remove lookup by id and admin access middleware from lookup all 2024-09-13 20:29:09 +02:00
Trevor Buckner 29460edca9 Merge branch 'master' into metadata-api-endpoint 2024-09-10 13:26:40 -04:00
Víctor Losada Hernández ea1d0714b4 initial commit 2024-09-10 08:28:34 +02:00
David Bolack 240dfa3954 Merge branch 'Issue_1958' of github.com:dbolacksn/homebrewery-broken into Issue_1958
Only except /staticImages with a `local` NODE_ENV
2024-09-06 11:55:21 -05:00
David Bolack d19aaf6c78 Except staticImages and staticFonts paths from middleware evaluation if in a local ENV. 2024-09-06 11:50:46 -05:00
Gazook89 03c14e5847 adds meta tags for the Vault page
So they show up when sharing the link in Discord or wherever.
2024-09-05 11:24:59 -05:00