Commit graph

338 commits

Author SHA1 Message Date
EntireTwix
89f268889c 🔥 remove legacy clear() 2021-07-15 14:49:17 -07:00
EntireTwix
66fa73ed24 🐛 fixed lambda 2021-07-15 13:05:36 -07:00
William Katz
2d62f51006
🐛🔥🔒 possible safety concern if interior while auto saving
May corrupt as static, one thread could clear as the other is copying for example
2021-07-15 01:47:27 -07:00
EntireTwix
e0b38be7e6 🐎:fire thread_local is not required as its only ever called by one thread 2021-07-15 01:25:36 -07:00
EntireTwix
0f128e04a0 reverted last commit oops 2021-07-15 01:15:51 -07:00
EntireTwix
3d8dc99874 🐎🔥 writer was faster without thread_local 2021-07-15 01:13:09 -07:00
EntireTwix
9c520d5e05 🐎 static thread_local when faster 2021-07-15 01:09:38 -07:00
EntireTwix
21abb82c76 cleaner solution to initial save file generation 2021-07-15 01:02:34 -07:00
EntireTwix
bf8ecccbb8 🔥 static not needed 2021-07-15 00:32:45 -07:00
EntireTwix
8fb7687d42 updated error message 2021-07-15 00:31:27 -07:00
EntireTwix
9223c520b1 clean solution found 2021-07-15 00:29:29 -07:00
EntireTwix
2599897788 🐛 fixed initial setup problem 2021-07-14 23:51:22 -07:00
EntireTwix
cbcfc1118c improved error handling 2021-07-14 23:42:23 -07:00
EntireTwix
ab1e154ab8 updated Save() and Load() paths 2021-07-14 23:02:34 -07:00
EntireTwix
727e4ab4b8 FBE 2021-07-14 22:59:18 -07:00
EntireTwix
78f7f34f63 🔥 removed MAX_LOG_SIZE == 1 specific case 2021-07-14 22:59:04 -07:00
EntireTwix
5bc3511c43 🔥 removed MAX_LOG_SIZE == 1 specific case 2021-07-14 22:57:39 -07:00
EntireTwix
e04dcc926d 🎨 changed SetBal format to match that of ImpactBal() 2021-07-14 00:31:14 -07:00
EntireTwix
a78afc314e SetBal and ImpactBal require valid name arg 2021-07-14 00:29:40 -07:00
EntireTwix
23da8c686f 🎨 simplified with .back() 2021-07-14 00:21:49 -07:00
EntireTwix
15ef40b143 💡🔥 removing legacy comments 2021-07-14 00:05:47 -07:00
EntireTwix
732984a45d 💡🔥 removing legacy comments 2021-07-14 00:04:54 -07:00
EntireTwix
521f8614dd 🐛 AddUser() needs valid name check most of all 2021-07-13 23:52:08 -07:00
EntireTwix
6c99d32a64 🐛 MAX_LOG_SIZE == 1 wasnt updated 2021-07-13 21:04:33 -07:00
EntireTwix
4a56d57314 🐎 SendFunds made many times faster 2021-07-13 20:27:02 -07:00
EntireTwix
e5302af958 🔥 removed move constructor variant & adjusted to new log structure 2021-07-13 20:26:36 -07:00
EntireTwix
8935b0cb4d 🔥 removed uneeded constructor 2021-07-13 20:25:58 -07:00
EntireTwix
e112468395 🐎 changed log structure from vector to deque 2021-07-13 20:25:41 -07:00
EntireTwix
91aa848d0b 🔥 removed now irrelevant move operations 2021-07-13 20:24:17 -07:00
EntireTwix
bafb4b801d 🐎 DelSelf optimization 2021-07-13 18:30:24 -07:00
EntireTwix
0ed5d5342b 🐎 inlined ValidUsername() && 🔥 removed GetChangeState() && 🐎 tweaked functions to include ValidUsername() && DelSelf() 2021-07-13 18:28:49 -07:00
EntireTwix
6e8b3357c9 🐎 inlined ValidUsername() 2021-07-13 18:26:52 -07:00
EntireTwix
a65224d39e 🐎🚚 moved shared lock to decrease scope accurately 2021-07-13 16:31:39 -07:00
EntireTwix
0954a76b6a 🔥 removed legacy constructor 2021-07-12 22:03:12 -07:00
EntireTwix
0f3a89b770 🎨 renamed auth input var 2021-07-12 21:41:03 -07:00
EntireTwix
a46801daea 🎨 style changes 2021-07-12 21:35:52 -07:00
EntireTwix
c94c19cbe1 🐎 made GetLogs() return move rather then const ref 2021-07-12 21:34:21 -07:00
EntireTwix
2f699e70c8 AdminChangePass must return when success 2021-07-12 21:29:27 -07:00
EntireTwix
df5dae02d0 AdminChangePass must return when success 2021-07-12 21:29:12 -07:00
EntireTwix
b2741aa276 🐛 changed some functions that previously returned true 2021-07-12 20:59:49 -07:00
EntireTwix
9b573ed7c3 🐛 JSON error responses werent strings 2021-07-12 20:55:07 -07:00
EntireTwix
6f8475ad1d 🔥 removed GEN_BODY and improved error responses of JSON parsing functions 2021-07-12 20:51:37 -07:00
William Katz
66b200be27
🐛 empty log responds with ']' 2021-07-12 17:22:41 -07:00
William Katz
eb282de108
🐛 RETURN_ON_DEL should return bool 2021-07-12 17:16:25 -07:00
EntireTwix
c2d8742138 🐛 bad logic for name size 2021-07-12 16:23:30 -07:00
William Katz
16d26d1901
🐎🐛 fixed name specs and replaced function calls 2021-07-12 16:14:56 -07:00
William Katz
70d0374dd7
🎨 simplified to islower 2021-07-12 16:11:46 -07:00
William Katz
a2e0149606
🎨 formatting 2021-07-12 16:09:50 -07:00
William Katz
31f8a67dfb
🔥 removed legacy benchmarking macros 2021-07-12 15:48:27 -07:00
William Katz
7be15963d0
🔥🐎 removed jsoncpp from API properties 2021-07-12 15:45:37 -07:00
EntireTwix
2b28822239 🐎🎨 re-arranged function control flow 2021-07-11 20:38:39 -07:00
EntireTwix
4b6c71354f 🎨 RESPOND_TRUE related functions return 204 now 2021-07-11 15:38:23 -07:00
EntireTwix
8a23c8fa00 ImpactBal() now responds with new balance 2021-07-11 15:32:03 -07:00
EntireTwix
94e6b3da44 🐛 changed from =default 2021-07-11 01:55:39 -07:00
EntireTwix
f7dbd4c3e0 🐎 made logs copy construct from thread_local 2021-07-11 00:55:24 -07:00
EntireTwix
4b7ef754c0 updated README redirect in preperation of release 2021-07-10 23:08:29 -07:00
EntireTwix
8c97d19330 🐛 I made a 0iq mistake 2021-07-10 21:49:24 -07:00
EntireTwix
9927bd8217 🐛🔥 fixed logs 2021-07-10 21:34:19 -07:00
EntireTwix
8063a344aa 🐎🔥 removed jsoncpp from GetLogs() solution 2021-07-10 21:23:28 -07:00
EntireTwix
36e2f6301f 🐎 noexcept constructors 2021-07-10 20:01:05 -07:00
EntireTwix
3a44c0b065 🔥racehorse: temporary resp variable was unessasary 2021-07-10 19:14:15 -07:00
EntireTwix
c1587f9e46 🐎 valid name/pass check before vpass call 2021-07-10 18:56:58 -07:00
EntireTwix
518c1b1203 🎨 made save results from Save() 2021-07-10 12:09:01 -07:00
EntireTwix
f87ec947b6 using std::optional for 204 responses 2021-07-10 11:49:09 -07:00
EntireTwix
82312b8702 🔥🐎 memset no longer needed 2021-07-10 09:59:37 -07:00
EntireTwix
c54f75a909 🐎 result_buffer is faster when local 2021-07-10 09:56:09 -07:00
EntireTwix
b91e928286 🐎 max base64 header size calculated compile time based on max name 2021-07-09 21:59:27 -07:00
EntireTwix
5a6a4180a0 🐛 nullptr isnt valid 2021-07-09 21:52:59 -07:00
EntireTwix
2d8cb3ee28 🐎 made resp construct a static thread_local again 2021-07-09 21:38:17 -07:00
EntireTwix
13d66b537c 🐎🚚 resp is faster when local 2021-07-09 21:35:01 -07:00
EntireTwix
074d024d77 🔥 removing static thread_local for temporary name/pass _val 2021-07-09 21:27:03 -07:00
EntireTwix
e0c79f980d 🐎 reverted changes after benchmarking 2021-07-09 21:19:34 -07:00
EntireTwix
6225083a06 🔥 removed legacy GEN_BODY 2021-07-09 21:06:27 -07:00
EntireTwix
408ea473d5 🐎 made each endpoint share the same name/pass intrusion strings 2021-07-09 21:04:01 -07:00
EntireTwix
386a140255 🐎🔨 modified endpoints to better adhere to JSON API conventions 2021-07-09 19:51:34 -07:00
EntireTwix
1f0a3dc28d 🐎🔨 modified endpoints to better adhere to JSON API conventions 2021-07-09 19:51:26 -07:00
EntireTwix
2d7d29372c 🔥🐎 changed local array to static thread_local buffer 2021-07-09 18:30:34 -07:00
EntireTwix
2e991da613 🔥🐎 changed local array to static thread_local buffer 2021-07-09 18:30:19 -07:00
EntireTwix
db5a54175c 🐛 fixed buffer size 2021-07-09 18:13:53 -07:00
EntireTwix
50a4e49452 🚚 renamed GetLog to GetLogs 2021-07-09 16:42:16 -07:00
EntireTwix
c7e2794e56 GetLogs() func doesnt compile when toggled off 2021-07-09 16:41:56 -07:00
EntireTwix
7803c5e1e5 🐎 static thread_local negatively effects BankResponse 2021-07-09 00:45:55 -07:00
EntireTwix
f2b5385e92 🐎 made const ref 2021-07-09 00:43:25 -07:00
EntireTwix
1d826fe96e 🐛 toResponse is also impacted by filter thread_local bug 2021-07-09 00:42:30 -07:00
EntireTwix
18452fdf1e 🐎 noexcept 2021-07-09 00:30:07 -07:00
EntireTwix
dc6c3d70a0 🔨 made str_intrusion.h into a wrapper 2021-07-09 00:07:45 -07:00
EntireTwix
1d6bbb35bf 🐛 static thread_local in filters cause highly incorrect responses 2021-07-09 00:06:49 -07:00
EntireTwix
6e57178dc8 🐛 add trans was skipping ChangeOn() when full 2021-07-08 20:42:26 -07:00
EntireTwix
b1f0aad79e 🐛 ImpactBal accepts Int64 not UInt64 2021-07-08 16:39:54 -07:00
EntireTwix
a657c9d6b2 🔥 remembered why I removed GetChangeState() check 2021-07-08 16:14:52 -07:00
EntireTwix
16494f971e 🎨 formatting 2021-07-08 14:58:58 -07:00
EntireTwix
175976e796 string move overload 2021-07-08 14:58:30 -07:00
EntireTwix
da89d390ea 🔨 using str_intrusion.h to write to private string data 2021-07-08 14:58:03 -07:00
EntireTwix
fd6d085ae5 🐎 thread_local 2021-07-08 03:00:57 -07:00
EntireTwix
805a7d05b3 🐎 thread_local 2021-07-08 02:59:27 -07:00
EntireTwix
22c99cfbfb 🐎🔨 thread_local & simdjson 2021-07-08 02:58:55 -07:00
EntireTwix
91523ca6a5 🐎 static thread_local changes 2021-07-08 02:22:59 -07:00
EntireTwix
dba161c42c simdjson for requests/responses 2021-07-08 02:21:56 -07:00
EntireTwix
6e688f1385 🔥 removed iostream header leftover from debugging 2021-07-08 02:21:07 -07:00
EntireTwix
826db0baef 🚚 moved xxhash back from submodule to header 2021-07-08 02:20:44 -07:00