Commit graph

294 commits

Author SHA1 Message Date
William Katz
a96e26ff15
Updated comment 2021-04-19 22:42:59 -07:00
EntireTwix
17091ad9d2 🐎 replaced hash function 2021-04-19 06:58:56 -07:00
EntireTwix
50e8ca5c7c 🔥 simplified via removing allusers 2021-04-19 03:56:41 -07:00
EntireTwix
32b6af280e incremented too soon in allusers 2021-04-19 03:42:39 -07:00
EntireTwix
a80f6b5959 fixed allusers 2021-04-19 03:23:46 -07:00
EntireTwix
13cafcca85 fixed allusers 2021-04-19 03:18:53 -07:00
EntireTwix
3f4f9e0fe2 allusers returns balance now 2021-04-19 03:17:18 -07:00
EntireTwix
bd4bd74311 🐛 made admin/vpass POST 2021-04-13 14:06:46 -07:00
EntireTwix
3c5e6e824b tiny html change 2021-04-13 14:04:22 -07:00
EntireTwix
717b598383 updated Docs 2021-04-13 14:01:12 -07:00
EntireTwix
d9b47480e9 Admin Verify Pass 2021-04-13 13:50:06 -07:00
EntireTwix
541717ef7b 🐛 fixed hash loading bug 2021-04-13 10:52:36 -07:00
EntireTwix
bd8bf25b08 🐛 fixed hash loading bug 2021-04-13 10:48:07 -07:00
EntireTwix
e4b6d2987d 🐛 hash deterministic 2021-04-13 09:07:30 -07:00
EntireTwix
068ef5e136 small change 2021-04-13 03:04:26 -07:00
EntireTwix
837e63c03f changed URL of setbal 2021-04-12 15:59:35 -07:00
EntireTwix
7a24065a13 forgot to add xxhash files 2021-04-12 20:17:31 -07:00
EntireTwix
318ebc07bb 🐛 xxhash added 2021-04-12 20:12:23 -07:00
EntireTwix
8cb4702825 🐛 std::hash was deterministic 2021-04-12 20:01:32 -07:00
EntireTwix
aead847df9 🐛 amphigous json cast 2021-04-12 19:09:20 -07:00
EntireTwix
c94c9bdc76 🐎 made users flat as its now <100 bytes 2021-04-12 19:04:00 -07:00
EntireTwix
4f4637eec6 Hashed Passwords 2021-04-12 19:03:13 -07:00
EntireTwix
b167f34b5c 🔥 reverted changes again 2021-04-11 23:17:10 -07:00
EntireTwix
35f1c63c80 🐎 added add/del overhead in exchange for allusers scaling better 2021-04-11 23:08:24 -07:00
EntireTwix
ad814f99b8 🔥 reverted last couple commits 2021-04-11 15:38:52 -07:00
EntireTwix
32c8964647 🐛 legacy line on 170 2021-04-11 14:55:34 -07:00
EntireTwix
104f36f9ec 🐛 AllUsers should be checking for if changes have been made 2021-04-11 14:45:27 -07:00
EntireTwix
706b6a9b70 🐛 oops z 2021-04-11 14:42:00 -07:00
EntireTwix
163e00ad3e 🐛 AdminAddUser modified size_lock_flag out of scope of lock 2021-04-11 14:37:50 -07:00
EntireTwix
2fabf8d8db 🐎 made AllUsers more effecient 2021-04-11 14:28:30 -07:00
EntireTwix
1048ed9353 🐛 long val was being cast to unsigned instead of signed 2021-04-09 19:57:19 -07:00
EntireTwix
7ce3c0f7d4 🐎 removed contains check in SendFunds 2021-04-09 16:47:22 -07:00
EntireTwix
513e0bb643 🐎 SendFunds checks for contains 2021-04-09 16:20:15 -07:00
EntireTwix
61a6d67177 simplified Contains 2021-04-09 02:22:27 -07:00
EntireTwix
447458ca25 🐎 reworked locking based on frequency of fucking called 2021-04-09 02:16:50 -07:00
EntireTwix
c1c077fc81 🐎 AllUsers added & seperated save_l into bal_l/size_l 2021-04-09 01:36:00 -07:00
EntireTwix
81930874db moved state&comment 2021-04-09 00:16:43 -07:00
EntireTwix
00a8e034c8 🐎 stopping sendfund calls to self 2021-04-08 20:24:46 -07:00
EntireTwix
4ffc88b54d 🐛 huge CORS bug 2021-04-07 12:49:15 -07:00
EntireTwix
56bae9cf8a 🐛 finally fixed Json type issues 2021-04-07 00:49:01 -07:00
EntireTwix
be1ff5dc5c reverted last two changes 2021-04-07 00:30:08 -07:00
EntireTwix
2c8c3f2c9f type fixes 2021-04-07 00:22:52 -07:00
EntireTwix
ba30269104 🐛 fix 2021-04-07 00:16:42 -07:00
EntireTwix
bbb6df2088 HTML fix 2021-04-06 12:23:39 -07:00
EntireTwix
0d83a4a9fb fixed HTML 2021-04-06 12:21:25 -07:00
EntireTwix
f64078fbd5 fixed HTML 2021-04-06 12:19:55 -07:00
EntireTwix
78327cec77 re-ordered /help and added setbal 2021-04-06 11:50:38 -07:00
EntireTwix
dc1e145a2d updated HTML help page 2021-04-06 00:19:16 -07:00
EntireTwix
59ec2eb14c changed contains path 2021-04-06 00:17:04 -07:00
EntireTwix
375913c0db made changepass PATCH method 2021-04-05 23:26:35 -07:00
EntireTwix
6187a3b521 path changes 2021-04-05 23:14:45 -07:00
EntireTwix
bc9b820429 re-ordered bank_f methods 2021-04-05 21:05:13 -07:00
EntireTwix
fb7f4b4051 🐎 made contains faster 2021-04-05 21:02:55 -07:00
EntireTwix
872be4857f improved /help 2021-04-05 19:07:53 -07:00
EntireTwix
f2bf8d99c8 made .asCString so it errors when data is false rather then sending 0 as response 2021-04-05 17:26:46 -07:00
EntireTwix
72d4ffe679 made close an admin/ 2021-04-05 17:22:22 -07:00
EntireTwix
a0ae77e729 API side is done 2021-04-05 16:39:58 -07:00
EntireTwix
c32e70c3a5 🐛 fixed bugged http response for Close() 2021-04-04 22:01:20 -07:00
EntireTwix
53b3c2c3ac JsonReturn changes 2021-04-04 21:57:01 -07:00
EntireTwix
6a1fbe23a1 cleaning code 2021-04-04 21:56:22 -07:00
EntireTwix
ef0e4859d1 🚧 adding bindings for API 2021-04-04 21:41:47 -07:00
EntireTwix
769c0762f3 got web framework working 2021-04-04 21:04:05 -07:00
EntireTwix
01bcd2d947 converted forward calls to move 2021-04-04 18:34:16 -07:00
EntireTwix
56fe9d6152 🐛 std::forward changes and ChangePass return 2021-04-04 18:27:38 -07:00
EntireTwix
46c9eb7b7e 🔥 removed Save changes 2021-04-04 18:21:27 -07:00
EntireTwix
7c4da5771f Contains 2021-04-04 18:13:40 -07:00
EntireTwix
b80ff10c5b ChangePassword 2021-04-04 17:51:13 -07:00
EntireTwix
5520d508ff VerifyPassword 2021-04-04 17:45:23 -07:00
EntireTwix
18424c64c3 🐎 reduced time that Save() needs lock 2021-04-04 17:20:04 -07:00
William Katz
2d315625cd
Removed debugging line 2021-04-03 11:01:10 -10:00
William Katz
795671d685
🐛 del user funcs didn't grab save lock 2021-04-02 22:59:41 -10:00
William Katz
34873d702b
🐛 Send funds wasn't grabbing save_lock as shared 2021-04-02 22:58:28 -10:00
EntireTwix
950a74dff1 🐛 forgot header <shared_mutex> 2021-04-03 01:06:29 -07:00
EntireTwix
4026d7c632 loading & admin pass 2021-04-03 00:24:51 -07:00
EntireTwix
d2fcf4f863 🐎 made add/del user based on shared lock system for Save() 2021-04-02 23:55:31 -07:00
EntireTwix
ea511c71b2 made Add/Del User operations locking as to allow Saving to be thread safe 2021-04-02 14:57:11 -07:00
EntireTwix
8ebe23fa15 Saving/Loading 2021-04-02 14:38:39 -07:00
EntireTwix
92a48c5f0c small admin add user changes 2021-04-02 13:21:07 -07:00
EntireTwix
ffce6bf2f4 removed header 2021-04-02 12:51:34 -07:00
EntireTwix
d263ae4966 🐎 massively reduced DelUser functions 2021-04-02 12:41:05 -07:00
EntireTwix
1f6378ad92 🐛 bug fixes and implementing Bank API 2021-04-02 12:32:00 -07:00
EntireTwix
e4c262bd79 🐛 Send funds should return false if refunded 2021-04-02 11:36:20 -07:00
EntireTwix
efb769ee29 🚧 bank class and re-structure 2021-04-02 02:12:41 -07:00
EntireTwix
80ffdff068 added drogon 2021-04-02 01:28:19 -07:00
EntireTwix
0ed92a63ef made some member funcs const 2021-04-01 21:53:36 -07:00
EntireTwix
1d5f93479b 🐎 forgot GetBal & VerifyPass in last commit 2021-04-01 21:25:59 -07:00
EntireTwix
030d5d4a3e 🐎 removed thread safety locks as the phmap will handle thread safety 2021-04-01 21:24:29 -07:00
EntireTwix
dd09559253 added submodule phmap 2021-04-01 21:06:16 -07:00
EntireTwix
2c35b3abc8 💡 Comments 2021-04-01 20:38:46 -07:00
EntireTwix
33c3abf84b 🐛 ChangePass fix didnt push??? 2021-04-01 20:15:17 -07:00
EntireTwix
ed04fb556f 🐎 made SendFunds 10% faster 2021-04-01 20:13:47 -07:00
EntireTwix
1c7b2f67fe 🐛 ChangePassword accidentately didnt set new pass 2021-04-01 19:39:58 -07:00
EntireTwix
8aa4581ffb 🐛 User::GetBal() returned bool instead of 64 bit int 2021-04-01 19:22:39 -07:00
EntireTwix
419428534a User class 2021-04-01 18:54:15 -07:00