Commit graph

269 commits

Author SHA1 Message Date
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
EntireTwix
6b481802e5 🔥 reverted last commit 2021-07-07 16:41:05 -07:00
EntireTwix
b18ec4e26d 🐛 fixed last commit -m 2021-07-07 16:40:03 -07:00
EntireTwix
a1df11eeeb 🐛 fixed last commit -m 2021-07-07 16:37:50 -07:00
EntireTwix
51a9ab8ff8 🐎 response is always true or false so to_string is slower 2021-07-07 16:30:28 -07:00
EntireTwix
9ee4f7ab88 🐎🚚 moved CORS to bank_api.cpp and cached RESPOND_TRUE 2021-07-07 16:14:54 -07:00
EntireTwix
85e3dc038c NumOfLogs() 2021-07-07 16:13:31 -07:00
EntireTwix
b0fdfc5f4f 🐎 checking if balance copied is non zero before modify call 2021-07-07 14:33:34 -07:00
EntireTwix
bd87a14131 🔥🐎 simplified 2021-07-07 03:14:51 -07:00
EntireTwix
6af072cf66 updated name requirements to conform with minecraft names 2021-07-07 03:11:55 -07:00
EntireTwix
23b6362d91 🐛 fixed from \"true\"->true 2021-07-07 03:06:58 -07:00
EntireTwix
9fabf137f1 made RESPOND_TRUE use the custom BankResponse response 2021-07-07 02:44:11 -07:00
EntireTwix
f4f28fa92f 🐛 changed JsonFilter saving to body to setting parameter 2021-07-07 02:21:05 -07:00
EntireTwix
e3210f7337 🐛 undeflow check 2021-07-07 01:42:41 -07:00
EntireTwix
2681ca86c2 🐛 fixed error messages for filters 2021-07-06 22:00:43 -07:00
EntireTwix
dedff14e7e 🐛🎨 fixed filters reliance on toResponse for bank responses crashing 2021-07-06 21:53:32 -07:00
EntireTwix
e02120b6f2 🔥 fucky wuck removed 2021-07-06 21:37:19 -07:00
EntireTwix
e502f3ce1f 🔥🐎 made initial value compile time 2021-07-06 21:12:16 -07:00
EntireTwix
6dbb9fd98a 🔥🎨 replaced template specializations with class instaniations 2021-07-06 21:11:45 -07:00
EntireTwix
18b7923d7f 🐛 fixed testing state 2021-07-06 20:43:22 -07:00
EntireTwix
5ab0f89e89 🐎 noexcept and new constructor 2021-07-06 20:29:27 -07:00
EntireTwix
80cc3a99cf 🚧🐎 preparing to use FBE, in the meantime its 99% faster 2021-07-06 20:29:00 -07:00
EntireTwix
bf5c2fde33 🐛 fixed last commit 2021-07-06 19:02:23 -07:00
EntireTwix
73ebb6e5bd 🔥 removed preallocting log functionality 2021-07-06 18:54:31 -07:00
EntireTwix
ff89efe4fc 🎉 BankResponse struct 2021-07-06 18:52:27 -07:00
EntireTwix
f431d8bcda 🔥racehorse: jsoncpp removed! 2021-07-06 18:51:56 -07:00
EntireTwix
448149e60d 🎨fire: used custom HTTP response in filters 2021-07-06 15:05:03 -07:00
EntireTwix
46fcb1f443 🐛 Max log 1 optimizations fixed 2021-07-06 02:12:38 -07:00
EntireTwix
99f35a11df 🐛 Max log 1 optimizations fixed 2021-07-06 02:09:53 -07:00
EntireTwix
ae219af90e 🐛 fixed NumOfLogs if logs disabled 2021-07-06 02:04:44 -07:00
EntireTwix
cf580ae876 🐎🔥 std::move was not required 2021-07-05 19:49:51 -07:00
EntireTwix
c82a90f054 🐛 switched conditional oops 2021-07-05 19:42:35 -07:00
EntireTwix
9fce1fd083 🎨 renamed GetLog->GetLogs 2021-07-05 19:34:05 -07:00
EntireTwix
cca2bf6216 🎨 uniform naming 2021-07-05 18:55:16 -07:00
EntireTwix
99af2c02ab 🎨 uniform naming 2021-07-05 18:52:58 -07:00
EntireTwix
c29abc34e0 🐛 fixed last commit 2021-07-05 18:49:41 -07:00
EntireTwix
597a710e2b made save function absolute 2021-07-05 18:49:13 -07:00
EntireTwix
4c3b521966 🐛 as amount can be negative now, conditional must change 2021-07-05 17:43:25 -07:00
EntireTwix
cb06dd31dd 2021-07-05 17:30:20 -07:00
EntireTwix
297b184a11 🎨🔥 reduced Sub/Add Bal() to ImpactBal() 2021-07-05 17:27:18 -07:00
EntireTwix
da2074859e 🎨🔥 merged admin filter with user filter as template arg 2021-07-05 17:11:24 -07:00
EntireTwix
6926cf8791 🔥🐛 left a legacy cout in 2021-07-05 15:54:32 -07:00
EntireTwix
d25ff09bdf 🎨 simplified by specializing toResponse() 2021-07-05 14:52:31 -07:00
EntireTwix
f6a6c23fc3 🔥 removed ping transformed api version into api properties 2021-07-05 13:54:30 -07:00
EntireTwix
7abca3126b 🎨 for conformity, GetLogs always returns 64 bit time_t 2021-07-05 01:13:33 -07:00
EntireTwix
6eb02a8288 🐛🎨 fixed filter organization 2021-07-05 00:44:53 -07:00
EntireTwix
97fd39b1d4 🐎 body only set if method needs it 2021-07-04 23:42:18 -07:00
EntireTwix
b310c8ec2b 🐛🐎 fixed last commit and made faster 2021-07-04 23:18:55 -07:00
EntireTwix
5275028fd6 🐛 fixed user/admin filter std::string_view fuckery 2021-07-04 22:48:24 -07:00
EntireTwix
27f0c951ad 🐛 typo 2021-07-04 21:02:24 -07:00
EntireTwix
3edd25dbe8 🐎 optimized for when log == 1 2021-07-04 20:34:49 -07:00
EntireTwix
317233be67 changed redirect adress 2021-07-04 18:18:16 -07:00
EntireTwix
6a8b5da869 🐛 always init ints kids 2021-07-04 03:46:41 -07:00
EntireTwix
b6344da31d 💄 NumOfUsers() & NumOfLogs() for loading output 2021-07-04 03:33:17 -07:00
EntireTwix
e81a7b281e SubBal() 2021-07-04 03:12:17 -07:00
EntireTwix
b0ba114445 🔥 default is k200 2021-07-04 02:58:53 -07:00
EntireTwix
d6a55652ca AddBal 2021-07-04 02:48:09 -07:00
EntireTwix
77c6923765 🐛 self delete uses name as param 2021-07-04 02:36:23 -07:00
EntireTwix
65d21848b3 🚧 help redirects to repo help docs 2021-07-04 02:32:41 -07:00
EntireTwix
b9af380b64 🐎 very slight improvement 2021-07-04 02:24:38 -07:00
EntireTwix
6402ad300c 🐛 fixed Json Filter 2021-07-04 02:14:19 -07:00
EntireTwix
ea35a04b66 🎨 made vpass and admin/vpass POST 2021-07-04 01:57:01 -07:00
EntireTwix
29044d697c 🐎 references rather then copy 2021-07-04 01:32:03 -07:00
EntireTwix
46b48b1d6f 🚧 working on 2021-07-04 01:31:43 -07:00
EntireTwix
f0a296d97b Accept Filter 2021-07-04 01:26:44 -07:00
EntireTwix
8b30588d8f 🐎 made RESPOND_TRUE cached 2021-07-04 01:24:36 -07:00
EntireTwix
89e4da34bf 🚚 moved CORS back 2021-07-04 00:48:43 -07:00
EntireTwix
85ee2167ff 🚚 moved CORS back 2021-07-04 00:47:35 -07:00