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

961 Commits

Author SHA1 Message Date
Trevor Buckner 544175b994 Merge branch 'master' into experimentalIDValidations 2025-07-15 11:14:11 -04:00
G.Ambatte 90e577dd3f Rework tests 2025-07-15 09:02:57 +12:00
G.Ambatte 828208aadb Add more ID validation test cases 2025-07-15 08:19:05 +12:00
G.Ambatte 973e071e93 Slightly loosen Google ID match criteria, add comments 2025-07-15 08:13:35 +12:00
Trevor Buckner 24dfd41714 Merge branch 'master' into experimentalIDValidations 2025-07-14 13:37:19 -04:00
Trevor Buckner 638e54535d Merge branch 'master' into addForceSSLTests 2025-07-14 13:16:14 -04:00
Trevor Buckner cbc6956221 Merge pull request #4334 from G-Ambatte/addTokenTests
Add token.js tests
2025-07-14 13:15:43 -04:00
Trevor Buckner 248d2038ec Cleanup token.js 2025-07-14 13:10:19 -04:00
G.Ambatte 2fbcc84a50 Merge branch 'master' into experimentalIDValidations 2025-07-14 14:50:05 +12:00
G.Ambatte 45e4d27c0a Merge branch 'master' into addForceSSLTests 2025-07-14 14:46:10 +12:00
G.Ambatte 77bf3ffc6f Merge branch 'master' into addTokenTests 2025-07-14 14:46:07 +12:00
G.Ambatte 90ee08de42 Add text property to test object 2025-07-14 11:06:35 +12:00
G.Ambatte 40839b18e4 Add tests for token.js 2025-07-14 00:14:58 +12:00
G.Ambatte 677c02cfa5 Add forceSSL tests 2025-07-13 22:36:53 +12:00
G.Ambatte a7a8803e9d Merge branch 'master' into experimentalIDValidations 2025-07-13 20:52:52 +12:00
Trevor Buckner 9da8a17053 Remove text mismatch logs 2025-07-10 17:17:25 -04:00
Trevor Buckner 7cadbfbd7b allowExceedingIndices for our patch applier
Test if it allows patches to go through, and log error if it doesn't match the expected output.
2025-07-10 17:11:31 -04:00
Trevor Buckner 489b4b2694 Also log differences on MD5 mismatch 2025-07-10 12:04:09 -04:00
Trevor Buckner 8d279260c2 Merge branch 'master' into AdditionalPatchLogging 2025-07-10 11:19:07 -04:00
Trevor Buckner 45689d119e Comment out one failing test
Patch failure test is no longer being thrown while we monitor in the background
2025-07-10 11:18:39 -04:00
Trevor Buckner c5805af935 On patch failure, compare client and server text bytewise 2025-07-10 11:12:42 -04:00
Trevor Buckner b2c4bb7082 Merge branch 'master' into experimentalSplitHashAndVersionChecks 2025-07-10 11:06:29 -04:00
David Bolack c7610cf0f8 Run patch processing in parallel to prior system to attempt to narrow down not-quite-so-edge cases that did not come up prior to user testing. 2025-07-10 07:10:13 -05:00
G.Ambatte 7f3a818558 Add Homebrew API coverage tests 2025-07-10 23:25:57 +12:00
G.Ambatte bc82afa5b2 Split version from hash checks 2025-07-10 21:42:51 +12:00
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