Commit graph

294 commits

Author SHA1 Message Date
EntireTwix
d9986db962 🎨 changed how API versions are handled 2021-06-27 17:34:12 -07:00
EntireTwix
539df650ea API version compiler flag 2021-06-27 17:13:19 -07:00
EntireTwix
7dec3bea72 admin filter header 2021-06-27 17:10:51 -07:00
EntireTwix
371cd16e38 🐎 made admin vpass internal 2021-06-27 16:59:22 -07:00
EntireTwix
a32efe611f admin filter 2021-06-27 16:58:34 -07:00
EntireTwix
b64e562235 changed error status 2021-06-27 12:47:20 -07:00
EntireTwix
faf63b0d4b changed structure 2021-06-27 11:33:46 -07:00
EntireTwix
a4505b1408 :construction 2021-06-27 00:01:00 -07:00
EntireTwix
8eadc3e6d9 changed some constexpr flags to macros 2021-06-26 19:21:39 -07:00
EntireTwix
42ed5b3424 UserFilter for endpoints 2021-06-26 19:21:20 -07:00
EntireTwix
9a0e59c83a 🚧 converting functions 2021-06-26 19:20:41 -07:00
EntireTwix
d8faf47801 changed comments 2021-06-24 10:35:18 -07:00
EntireTwix
85ffb7e1c3 changed comments 2021-06-24 10:34:28 -07:00
EntireTwix
6abca9b0f0 made constexpr rather then macro 2021-06-23 19:47:22 -07:00
EntireTwix
6161ca8d59 simplified changes saved 2021-06-23 18:51:10 -07:00
EntireTwix
57a0ab5d54 changed default 2021-06-23 18:15:56 -07:00
EntireTwix
f98975ae35 🐛 got change flag working 2021-06-23 18:15:42 -07:00
EntireTwix
72c5369b58 🔥 removed alg header 2021-06-23 18:15:28 -07:00
EntireTwix
2ea4d93c10 atomic flag 2021-06-23 17:17:13 -07:00
EntireTwix
33ff53de1d 🐛 corrected macro usage 2021-06-23 15:32:22 -07:00
EntireTwix
d8a840d052 changed default and added to comment 2021-06-23 15:28:50 -07:00
EntireTwix
dabcf1d311 updated comments 2021-06-23 15:24:59 -07:00
EntireTwix
839d7eb96b conservative saving 2021-06-23 15:24:00 -07:00
EntireTwix
cf036901bb conservative saving 2021-06-23 15:23:54 -07:00
EntireTwix
6637f0042e 🐛 changed uint64 to time_t 2021-06-23 14:24:20 -07:00
EntireTwix
e2c657bf2d 🐎 supplemented chrono ms for ctime time() 2021-06-23 14:20:11 -07:00
EntireTwix
9be3333efb renamed bank_f->bank_api 2021-06-23 14:18:47 -07:00
EntireTwix
85cbff7a62 🐛 fixed previous commits 2021-06-23 10:17:21 -07:00
EntireTwix
29f9905b53 changed b arg to reference 2021-06-23 10:07:05 -07:00
EntireTwix
6f84d90f51 🔥 removed simdjson in pursuit of a serialization lib 2021-06-22 17:43:56 -07:00
EntireTwix
3905ec219a renamed BankF->api 2021-06-22 17:23:04 -07:00
EntireTwix
ec9b9f389d added simdjson 2021-06-22 17:22:27 -07:00
EntireTwix
0b10a51a19 Return to Reserve Feature 2021-06-20 21:54:32 -07:00
EntireTwix
f2b7a563d9 🐎 made send funds 30% faster 2021-06-19 14:23:19 -07:00
EntireTwix
e40aa29b59 🎨 formatting 2021-06-16 21:42:46 -07:00
EntireTwix
e681b4109d made user & config save configurable 2021-06-16 21:40:31 -07:00
EntireTwix
bd357db0ac admin wrong password removed 2021-06-14 22:14:16 -07:00
EntireTwix
67a8642245 added ? to query param of setbal & sendfunds 2021-06-14 10:59:03 -07:00
EntireTwix
9b9d5cf430 made Contains return -1 instead of 0 in false case 2021-06-12 22:34:19 -07:00
EntireTwix
3e857f455e removed AdminWrongPassword error 2021-06-12 20:50:46 -07:00
EntireTwix
c7695dd6db made responses more inuitive for vpass and admin/vpass & fixed send funds bug 2021-06-12 20:39:07 -07:00
EntireTwix
eed41a1de1 🐛 fixed unintuitive design of AddUser having password in body 2021-06-10 21:30:30 -07:00
EntireTwix
9bcc9b13b6 made string_view to work with PASS_HEADER 2021-06-10 20:19:31 -07:00
EntireTwix
503462508f reverted xxhash changes 2021-06-10 14:11:51 -07:00
EntireTwix
cc23bc8142 🐎 made xxhash dynamically linked 2021-06-10 13:14:12 -07:00
EntireTwix
84f934f39d Split .hpp into .h and .cpp 2021-06-10 01:57:18 -07:00
EntireTwix
b1e8021821 fixed header for now renamed endpoint.h 2021-06-10 00:02:29 -07:00
EntireTwix
437c8b5f20 updated logs and fixed renamed header 2021-06-10 00:02:02 -07:00
EntireTwix
179deb85cc re-ordered maps 2021-06-09 23:49:07 -07:00
EntireTwix
01bf8bea9a made methods GET 2021-06-09 22:00:50 -07:00
EntireTwix
c0439ed6a8 renamed to error responses 2021-06-09 21:20:58 -07:00
EntireTwix
ba21d5b6aa finished password header 2021-06-09 21:07:06 -07:00
EntireTwix
3b6cf887c8 🐛 saving bug foundg 2021-06-09 20:47:42 -07:00
EntireTwix
803aeb11c3 implementing password in header 2021-06-09 20:44:44 -07:00
EntireTwix
37dbe3a3c6 made system indepdent 2021-06-09 19:36:39 -07:00
EntireTwix
7646d4861e further path changes 2021-06-09 17:33:51 -07:00
EntireTwix
6bc3a38aa2 🐛 load/save error caught 2021-06-09 16:20:21 -07:00
EntireTwix
86ab9a0e8e making error returns uniform 2021-06-09 16:12:33 -07:00
doggo
552c2deca8 Changed initial check to all static assertions 2021-06-07 09:03:04 -05:00
William Katz
a4ffee5992
removed var 2021-06-06 16:54:49 -07:00
William Katz
0947ad9b93
🐛 bugged for loop 2021-06-06 16:53:28 -07:00
doggo
a6c0595f64 Branchless loop init 2021-06-05 22:15:01 -05:00
doggo
84f835e8b8 User log constructor change
Now shifts to the end, is in order but takes only the lotest logs that it is able to.
2021-06-05 21:25:27 -05:00
doggo
6a79ca9c39 request 2021-06-04 21:51:06 -05:00
doggo
a652fded48 Changed logging, added assertations in main, changed user constructor to enforce logging struct reqs 2021-06-04 00:27:47 -05:00
EntireTwix
4455ddf308 fixed direction of getlogsg 2021-06-03 20:23:47 -07:00
EntireTwix
d5551aa74a fixed direction of getlogsg 2021-06-03 20:21:25 -07:00
EntireTwix
acfbb738bb reverted getlog direction 2021-06-03 20:18:07 -07:00
EntireTwix
2e05197791 fixed build issues 2021-06-03 18:39:18 -07:00
William Katz
5095ad0adb
legacy print 2021-06-03 18:24:23 -07:00
William Katz
e6988b8abc
fixed logic 2021-06-03 18:18:13 -07:00
William Katz
c6c08832e7
reverted doggos changes till fixed 2021-06-03 18:17:43 -07:00
William Katz
5e4113bf8f
reversed endpoint to match new internal structure 2021-06-03 18:16:56 -07:00
doggo
69121557a9 User constructor now enforces logging rule 2021-06-03 19:11:32 -05:00
doggo
ab11101611 Idiot changed the variable name 2021-06-03 17:36:44 -05:00
doggo
af51335aa7 Code comments for logs 2021-06-03 16:50:13 -05:00
doggo
a2287a4d36 Logging update, adding transactions optimized 2021-06-03 16:40:08 -05:00
EntireTwix
9e056a640a 🐛 for loop in wrong direction when full 2021-06-03 14:19:15 -07:00
EntireTwix
00ec8397d6 🐛 forgot conditional for if log is has reached max size 2021-06-03 14:09:29 -07:00
EntireTwix
d4179ed063 major simplification via reserve() and capacity() 2021-06-03 13:49:35 -07:00
EntireTwix
a78b4e5b1d 🐎 made getlogs endpoint cache result when disabled 2021-06-03 12:47:50 -07:00
EntireTwix
9101a42b5d slight change 2021-06-03 02:27:35 -07:00
EntireTwix
899851bec3 Simplified and Commented log end->size 2021-06-03 02:19:05 -07:00
EntireTwix
a1988d3bd5 🐛 further bug fixes 2021-06-03 01:54:58 -07:00
EntireTwix
aa7a389de0 🐛 degrading logs bug 2021-06-03 01:17:30 -07:00
EntireTwix
bf1a904c84 :bug 2021-06-01 16:53:22 -07:00
EntireTwix
6927061705 default users.json location 2021-06-01 16:30:29 -07:00
EntireTwix
596ae46286 further safegaurds 2021-06-01 16:17:40 -07:00
EntireTwix
cc3aa0882a 🐛 finally fixed big "end" bug 2021-05-29 21:26:11 -07:00
EntireTwix
742396c32e Serialize dont log 0 amount 2021-05-29 20:28:39 -07:00
EntireTwix
c833f66d9f 🐛 seg fault bug fixed 2021-05-29 20:11:02 -07:00
EntireTwix
56aa6f31f0 Merge branch 'main' of https://github.com/EntireTwix/CCash 2021-05-28 16:20:27 -07:00
EntireTwix
aa91026012 🐎 improved saving for when logs are disabled 2021-05-28 16:20:21 -07:00
William Katz
48a7c34f6f
typo 2021-05-28 02:47:17 -07:00
William Katz
662685a0ac
Update user.hpp 2021-05-28 02:41:13 -07:00
William Katz
dc11416d9a
New time constructor 2021-05-28 02:39:57 -07:00
EntireTwix
239573e246 🐎 improved getlogs endpoint when max log size is 0 2021-05-28 02:25:48 -07:00
EntireTwix
a45dca028c 🐛 fixed logs finally 2021-05-28 02:23:01 -07:00
EntireTwix
efec7d0da9 🐛 fixed last commit 2021-05-28 01:58:56 -07:00
EntireTwix
4a0b7cafa6 🐛 infinite allocate bug 2021-05-28 01:56:16 -07:00