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

936 Commits

Author SHA1 Message Date
G.Ambatte
abef250631 Update ID validation check 2025-07-10 20:58:46 +12:00
G.Ambatte
1794e96d50 Update tests 2025-07-10 20:46:01 +12:00
G.Ambatte
25f25da499 Adjust validation regex for IDs 2025-07-10 20:39:12 +12:00
G.Ambatte
aa15bdaacb Initial pass at ID validations 2025-07-10 19:59:09 +12:00
Trevor Buckner
7ba7991631 Additional diff server error logging 2025-07-10 00:37:03 -04:00
Trevor Buckner
daf4eceedd Small rearrangement 2025-07-09 22:09:16 -04:00
David Bolack
a02361ee65 Move normalization to before diffing 2025-07-09 19:37:57 -05:00
David Bolack
81e20f032e NOrmalize strings before rnuning MD5s 2025-07-09 18:52:45 -05:00
David Bolack
0f4157d084 Add Patch wrapper/unwrapper for saves
Object encapsulation for the win?
2025-07-09 17:16:47 -05:00
Trevor Buckner
6414e73e7d Cleanup and better handling of pre-save snapshot 2025-07-08 15:50:27 -04:00
Trevor Buckner
41daf8d172 comment out hash check 2025-07-07 21:05:50 +00:00
Trevor Buckner
4c897fdeb5 Add MD5 hash check 2025-07-07 21:00:03 +00:00
Trevor Buckner
e1e661976d Initial test 2025-06-27 08:07:02 -04:00
Trevor Buckner
862fa7de89 Don't send full text back to client on save
We return the stub after saving. When saving to HB MongoDB, the stub also includes the full text. This does not need to be sent back to the client.
2025-06-24 17:44:22 -04: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
Víctor Losada Hernández
9c1a0fd798 Merge branch 'master' into addLockRoutes-#3326 2025-04-10 13:46:15 +02:00
G.Ambatte
0c33df1cd6 Add tests for lock API functions 2025-04-10 19:15:34 +12:00
G.Ambatte
73bb6acc14 Update locked brew test for new structure 2025-04-10 10:21:35 +12:00
David Bolack
c6cd6e9864 A little bit of cleanup and structure flattening
Fixes failed tests.
2025-04-08 20:29:32 -05:00
G.Ambatte
5e7e314baa Update fields returned for Lock and Review Tables 2025-04-09 11:38:57 +12:00
G.Ambatte
95f44f4460 Revert unnecessary change in app.js 2025-04-09 11:04:57 +12:00
G.Ambatte
bd68b9c0cb Remove unnecessary variable 2025-04-09 10:48:02 +12:00
G.Ambatte
b19d05fbf7 Remove commented out console.logs 2025-04-09 10:41:58 +12:00
G.Ambatte
be2f1786b5 Add authors to locked brew error message 2025-04-09 09:59:34 +12:00
David Bolack
d0c3765f8f Move Snippets store to metadata block.
Note this still stores the snippets as a string for the passed about brew object.
2025-04-07 23:22:47 -05:00
G.Ambatte
1ded1cad5a Change accessType check 2025-04-08 09:28:54 +12:00
G.Ambatte
ec6258a2a5 Add overwrite option to API function 2025-04-07 22:02:53 +12:00
G.Ambatte
ab9b151b8a Add API route to return all locked brews 2025-04-07 20:52:35 +12:00
G.Ambatte
26aa302714 Remove debugging test route 2025-04-07 20:04:45 +12:00
G.Ambatte
a218b87215 Shift remaining lock API functions to use throw 2025-04-07 16:32:33 +12:00
G.Ambatte
1e35e1096f Reduce data retrieved for brews with requested reviews 2025-04-07 14:39:33 +12:00
G.Ambatte
99c342f19b Use throw in Lock API calls 2025-04-07 14:38:25 +12:00
G.Ambatte
0bca3393d4 Add LOCK header in comment 2025-04-07 08:39:33 +12:00
G.Ambatte
41bd27b573 Refactor /api/lock/review/remove 2025-04-07 08:37:35 +12:00
G.Ambatte
30430cb8cb Refactor /admin/lock/review/request 2025-04-07 08:36:33 +12:00
G.Ambatte
3cf98617f5 Refactor /api/lock/reviews 2025-04-07 08:33:39 +12:00
G.Ambatte
fa4b2ae0e3 Refactor /api/lock 2025-04-07 08:27:32 +12:00
G.Ambatte
e2b38829f2 Refactor /api/lock/count 2025-04-07 08:25:42 +12:00
G.Ambatte
0a4ac7a35a Adjust location of package.json 2025-04-06 19:48:32 +12:00
G.Ambatte
ac89f428b2 Post merge fixes 2025-03-27 18:25:56 +13:00
G.Ambatte
7765cb31bf Merge branch 'master' into addLockRoutes-#3326 2025-03-27 17:43:21 +13:00
David Bolack
2f95cc5f45 Merge branch 'master' into localSnippetEditor 2025-03-24 15:10:25 -05: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
547682a59a Merge branch 'master' into allow-all-origins-when-local 2025-03-18 09:31:10 +01:00
David Bolack
ab6c1ae402 Merge branch 'master' into localSnippetEditor 2025-03-14 17:44:32 -05: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