Commit graph

253 commits

Author SHA1 Message Date
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
EntireTwix
c95753550c 🐛 fixed a 0 amount bug on logs 2021-05-21 16:17:49 -07:00
EntireTwix
630ea79b17 legacy logging 2021-05-20 22:10:11 -07:00
EntireTwix
b808351621 🐛 Log saving fixed 2021-05-20 22:03:30 -07:00
EntireTwix
0d7b7b5df2 🐛 saving of logs bug fixed 2021-05-20 22:00:52 -07:00
William Katz
5a6ac776bd
🐛 if load data was larger then max size, incorrect resize would occur 2021-05-20 21:29:46 -07:00
EntireTwix
59417ccebf 🐛 Log Size reduction will load correctly now 2021-05-19 14:27:29 -07:00
EntireTwix
517f6dfcbe 🐛 2021-05-19 14:24:43 -07:00
EntireTwix
0d4f49213e 🐛 last commit changes 2021-05-19 14:23:41 -07:00
EntireTwix
dc74da6072 🐎 Max size 0 optimizations 2021-05-19 14:18:01 -07:00
EntireTwix
47319ae412 changed logs prefetch 2021-05-19 13:22:01 -07:00
EntireTwix
4d52d4c821 🐎 reworked memory prefetching for lower memory usage 2021-05-19 13:20:48 -07:00
EntireTwix
74861d8a74 🐛 fixed loading for logs 2021-05-19 13:09:10 -07:00
EntireTwix
eb9b724be5 Logging Saved 2021-05-19 13:06:51 -07:00
William Katz
0a919a07c8
🔥 removed legacy logging 2021-05-12 18:03:40 -07:00
William Katz
00c476954c
removed legacy logging 2021-05-12 18:01:26 -07:00
EntireTwix
8f3f2f0b32 🐛 fixed logging broken 2021-05-03 17:31:21 -07:00
EntireTwix
e241de3cf9 🐛 fixed Log method 2021-04-26 19:00:00 -07:00
EntireTwix
4b969003dc Limited Usernames to 50 chars, expanded log size to 50 2021-04-26 18:45:45 -07:00
EntireTwix
4a62e7e0e4 🐛 json indexing 2021-04-25 13:49:35 -07:00
EntireTwix
c5120b8944 🐎 made logs more cache coherent 2021-04-25 13:29:46 -07:00
EntireTwix
25802ecd0d 🔥 legacy code removed 2021-04-22 12:39:01 -07:00
EntireTwix
94b52f6566 🐛 blank reciever in logs 2021-04-22 11:17:24 -07:00
EntireTwix
a898d6bb02 🐛 -1 fix 2021-04-22 01:13:35 -07:00
EntireTwix
9ec6a5de56 🐛 finally fixed Log bug 2021-04-22 01:08:10 -07:00
EntireTwix
4e442d7abc 0 return re-implemented 2021-04-22 00:52:10 -07:00
EntireTwix
4f657a3ecd 🐛 GetLogs Seg fault out range seg 2021-04-22 00:36:53 -07:00
EntireTwix
7e76c668f2 Docs Updated 2021-04-22 00:18:21 -07:00
EntireTwix
f75f519e64 integrated logs into user struct 2021-04-22 00:11:13 -07:00
EntireTwix
a3d93b5831 🐎 reduced time vars size 2021-04-21 23:25:16 -07:00
EntireTwix
34ced37a71 🐛 fixed sendfunds log 2021-04-21 23:21:50 -07:00
EntireTwix
417f52253b 🐛 concurrent del user & adding log entry would allow a ghost log to be made 2021-04-21 21:42:30 -07:00
EntireTwix
7d38974ba0 🐛 json 64 bug 2021-04-21 21:24:23 -07:00
EntireTwix
9e8ce406ec 🐛 made time 64 bit 2021-04-21 21:22:56 -07:00
EntireTwix
d96364d1f0 time added as part of log 2021-04-21 20:54:49 -07:00
EntireTwix
fcff1c5074 🐛 return 0 for logs wasnt working 2021-04-21 20:30:43 -07:00
EntireTwix
f7b62913cd 🐛 return 0 for logs wasnt working 2021-04-21 20:29:11 -07:00
EntireTwix
5f6a413923 🐛 return 0 for logs wasnt working 2021-04-21 20:28:35 -07:00
EntireTwix
66f29b795f 🐛 many GetLogs Bugs 2021-04-21 20:16:36 -07:00
EntireTwix
cfc99627f8 🐎 reduced by one locking call 2021-04-21 19:30:50 -07:00
EntireTwix
8634c99785 🐎 avoiding one branch 2021-04-21 19:25:47 -07:00
EntireTwix
3965cc0ce3 🐛 fixed last commit 2021-04-21 19:20:40 -07:00