G.Ambatte
4291284252
Merge branch 'master' into experimentalDeploymentIdentification
2024-10-11 11:10:28 +13:00
Víctor Losada Hernández
27f939201d
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-vulnerability-admin-pages
2024-10-10 22:54:22 +02:00
Víctor Losada Hernández
db618fe2ad
linting changes
2024-10-10 22:42:47 +02:00
G.Ambatte
d5cda45d4d
Merge branch 'master' into addIndexedDM-#3763
2024-10-10 08:50:39 +13: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
G.Ambatte
0bd3b53dd1
Merge branch 'master' into addIndexedDM-#3763
2024-10-09 19:00:45 +13:00
G.Ambatte
291e16b124
Revert to use local consts instead of config vars
2024-10-09 14:57:04 +13: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
Víctor Losada Hernández
d6ca6592a2
remove rateLimiter
2024-10-01 21:58:42 +02: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
Víctor Losada Hernández
f024bea493
delete unused error
2024-09-17 19:58:49 +02:00
Víctor Losada Hernández
8e4fc01831
linting
2024-09-16 23:03:50 +02:00
Víctor Losada Hernández
44262e2aae
change initial status code
2024-09-16 22:52:56 +02:00
Víctor Losada Hernández
0d2878a7e7
merge from master and change error codes
2024-09-16 22:34:28 +02:00
Víctor Losada Hernández
a0d043439c
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-vulnerability-admin-pages
2024-09-16 22:29:16 +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