Commit Graph

196 Commits

Author SHA1 Message Date
Mark Veidemanis c5c3e951cf
Fix dist function 2022-02-02 14:40:17 +00:00
Mark Veidemanis 39254ef684
Implement OTP and fix getting public ads 2022-02-02 13:36:18 +00:00
Mark Veidemanis 0813709e61
Fix AgoraDesk PaymentMethodDetail specification 2022-02-02 12:53:23 +00:00
Mark Veidemanis 5a59e5e804
Fix redist command 2022-02-02 12:53:05 +00:00
Mark Veidemanis 8961fe2c42
Remove old command and add redist command 2022-02-01 20:50:08 +00:00
Mark Veidemanis a1a13478cb
Implement editing ads and distributing providers 2022-02-01 20:49:54 +00:00
Mark Veidemanis 22f842e2cb
Fix autoprice bugs and re-enable withdrawing on release 2022-01-31 13:45:02 +00:00
Mark Veidemanis 0675b015e5
Implement remaining command 2022-01-31 11:32:47 +00:00
Mark Veidemanis 348a27d3df
Fix bug in IRC with zero length messages 2022-01-30 09:03:47 +00:00
Mark Veidemanis ad87e88b69
Make ad listing getters understand providers 2022-01-29 09:02:27 +00:00
Mark Veidemanis 768ad84982
Implement changing the online_provider when creating an ad 2022-01-29 08:25:50 +00:00
Mark Veidemanis 21b5a839c1
Disable withdrawal on release and don't lowball people 2022-01-28 17:16:59 +00:00
Mark Veidemanis 45419d7556
Add boilerplate code for topup notifications 2022-01-28 17:16:47 +00:00
Mark Veidemanis 04ef03f543
Add the notify module 2022-01-27 19:12:15 +00:00
Mark Veidemanis d11745319d
Improve cheat system with asset turns 2022-01-27 16:52:32 +00:00
Mark Veidemanis 573163d4a1
Implement updating ads with exponential backoff 2022-01-27 13:45:08 +00:00
Mark Veidemanis b7acf5a84d
Improve Agora error handling 2022-01-27 12:08:26 +00:00
Mark Veidemanis 2afddf9814
Handle Agora library exceptions properly 2022-01-27 11:36:17 +00:00
Mark Veidemanis f871e8b93a
Don't make unnecessary calls to update ad equations 2022-01-27 11:16:28 +00:00
Mark Veidemanis 35cf84998e
Add extra checks around APIs 2022-01-27 09:49:16 +00:00
Mark Veidemanis 40686ac0b7
Fix another dash bug 2022-01-26 19:46:23 +00:00
Mark Veidemanis 9d9bf9eba4
Implement converting all Revolut accounts to one currency 2022-01-25 20:01:22 +00:00
Mark Veidemanis 2f0cb38abd
Add more error handling to AgoraDesk library 2022-01-25 20:00:25 +00:00
Mark Veidemanis 1e685c9f8d
Nag on IRC if there's not enough in the XMR wallet to withdraw 2022-01-25 18:57:35 +00:00
Mark Veidemanis bb34baee31
Implement withdrawing to wallets 2022-01-25 18:39:35 +00:00
Mark Veidemanis 469eb762f0
Move totals code to transactions 2022-01-25 17:54:42 +00:00
Mark Veidemanis ae4db73835
Implement detecting Revolut callback updates 2022-01-25 17:53:56 +00:00
Mark Veidemanis 87dccc1cf4
Don't print the access/refresh tokens 2022-01-25 13:38:40 +00:00
Mark Veidemanis 0d85d19ab9
Ignore card and negative transactions 2022-01-25 13:01:39 +00:00
Mark Veidemanis fd6fbec312
Change help text to clarify asset 2022-01-25 11:51:44 +00:00
Mark Veidemanis 8300360894
Separate out the autoprice system for XMR and BTC 2022-01-25 11:48:12 +00:00
Mark Veidemanis 862a1fa28b
Add more checks on getting messages 2022-01-25 08:43:53 +00:00
Mark Veidemanis 835307b217
Properly handle ad substitutions 2022-01-24 19:17:12 +00:00
Mark Veidemanis 7e42bbebf3
Fix posting BTC ads 2022-01-23 17:08:01 +00:00
Mark Veidemanis 38425173b9
Fix BTC aspects of commands 2022-01-23 17:07:53 +00:00
Mark Veidemanis df592785fb
Make everything work with BTC 2022-01-21 13:54:47 +00:00
Mark Veidemanis d579f25e59
Update release URL getter to understand BTC 2022-01-21 13:27:53 +00:00
Mark Veidemanis 725eb89f27
Update dashboard hook to understand BTC 2022-01-21 13:26:58 +00:00
Mark Veidemanis 90b0c6fa70
Update dashboard getter to understand BTC 2022-01-21 13:25:33 +00:00
Mark Veidemanis 50e114cf90
Add extra check in dashboard 2022-01-21 09:17:18 +00:00
Mark Veidemanis ad04c1ac3f
Format the output from releasing funds nicer 2022-01-20 14:48:14 +00:00
Mark Veidemanis 5c7225b393
Implement getting XMR/BTC rates and total balance 2022-01-12 19:56:08 +00:00
Mark Veidemanis 2bd049a2fd
Run autoprice in thread 2022-01-12 19:55:50 +00:00
Mark Veidemanis 9de01fbb39
Reimplement autoprice function better 2022-01-12 19:17:53 +00:00
Mark Veidemanis eae7ec6539
Add minimum check to Agora autoprice 2022-01-12 10:11:44 +00:00
Mark Veidemanis fb0b5eab5d
Make cheating configurable 2022-01-11 21:40:55 +00:00
Mark Veidemanis 6b75c847b8
Schedule running cheat 2022-01-11 21:40:05 +00:00
Mark Veidemanis 1895319e17
Fix cheating logic 2022-01-11 21:22:16 +00:00
Mark Veidemanis 4b07ad9065
Add extra checks for getting messages 2022-01-11 21:16:49 +00:00
Mark Veidemanis bd48bf37f5
Fix trades command 2022-01-09 22:11:39 +00:00
Mark Veidemanis 4db63998a1
Improve market cheating algorithm 2022-01-09 17:52:26 +00:00
Mark Veidemanis ec73d1b2e1
Implement cheating the price market 2022-01-09 14:34:37 +00:00
Mark Veidemanis 1aedadd76e
Inline the AgoraDesk library 2022-01-08 17:49:04 +00:00
Mark Veidemanis 71389f7ff9
Add more error handling to Agora API calls 2022-01-06 12:33:06 +00:00
Mark Veidemanis 23a30ebb86
Customise messages and add extra error checking 2022-01-05 19:24:15 +00:00
Mark Veidemanis 8bb2c2b950
Uncomment release funds code 2022-01-01 21:00:37 +00:00
Mark Veidemanis faa71dc2ed
Add more debugging 2022-01-01 20:27:30 +00:00
Mark Veidemanis 4053dce048
Fix alt reference implementation 2022-01-01 20:22:53 +00:00
Mark Veidemanis bc68bcd74f
Use the right variable to check amount 2022-01-01 20:01:01 +00:00
Mark Veidemanis 5ea1c26a84
Don't check non-exact values if we looked up without reference 2022-01-01 19:33:15 +00:00
Mark Veidemanis 19724eac77
Implement looking up trade by partial reference message or amount/currency 2022-01-01 19:20:20 +00:00
Mark Veidemanis 1227a16b72
Implement helper function to send messages on IRC 2022-01-01 16:39:36 +00:00
Mark Veidemanis 86271891a7
Fix and simplify dashboard hooks 2022-01-01 16:34:32 +00:00
Mark Veidemanis 05045c2a8e
Simplify dashboard 2021-12-31 18:21:56 +00:00
Mark Veidemanis b7dd850c61
Fix commands 2021-12-31 18:21:27 +00:00
Mark Veidemanis 520c0aa253
Implement help for commands 2021-12-31 00:51:43 +00:00
Mark Veidemanis 5649909385
Implement smarter ad management 2021-12-31 00:39:52 +00:00
Mark Veidemanis 21fce0e685
Reimplement messaging and implement bruteforce 2021-12-30 22:41:28 +00:00
Mark Veidemanis 1ee39989af
Post a nice message when releasing funds 2021-12-30 22:41:03 +00:00
Mark Veidemanis d060120c9b
Implement nuke command to remove all ads 2021-12-30 14:15:34 +00:00
Mark Veidemanis 80f0d4a5fd
Implement recursively getting ads 2021-12-30 14:15:24 +00:00
Mark Veidemanis 88d3cfba30
Add debug code in Transactions 2021-12-30 14:15:07 +00:00
Mark Veidemanis 44d997ea20
Add release funds command 2021-12-29 19:21:27 +00:00
Mark Veidemanis 3bcebb9d61
Add hook to release funds 2021-12-29 19:21:18 +00:00
Mark Veidemanis bdd7921bc0
Implement releasing funds 2021-12-29 19:21:05 +00:00
Mark Veidemanis d1252a1d42
Fix Transactions error messages 2021-12-29 18:52:27 +00:00
Mark Veidemanis 712a144467
Fix race conditions in cleanup 2021-12-29 18:40:44 +00:00
Mark Veidemanis 6418c5ecca
Add some comments to Transactions 2021-12-29 15:32:38 +00:00
Mark Veidemanis 4ff6875638
Allow using TX or reference for payment reference 2021-12-29 15:26:23 +00:00
Mark Veidemanis 23372bd491
Fix log message 2021-12-29 15:05:21 +00:00
Mark Veidemanis c7f4230a91
Fix getting new messages 2021-12-29 15:04:17 +00:00
Mark Veidemanis be46f79ef7
Archive old reference IDs 2021-12-29 15:03:47 +00:00
Mark Veidemanis b1fa6182ef
Fix some commands 2021-12-29 14:49:29 +00:00
Mark Veidemanis b160ac10e3
Use reference instead of transaction ID 2021-12-29 14:41:05 +00:00
Mark Veidemanis bf4381caa6
Implement looking up references 2021-12-29 14:32:06 +00:00
Mark Veidemanis 64bf5a77ee
Handle dashbord smarter and poll messages 2021-12-29 14:25:07 +00:00
Mark Veidemanis d5c272d3f9
Add some docstrings 2021-12-29 00:04:24 +00:00
Mark Veidemanis 82b70991a4
Implement the min/max acceptable margin checks 2021-12-28 23:58:00 +00:00
Mark Veidemanis 6743bd5106
Add commands to manage references 2021-12-28 23:57:25 +00:00
Mark Veidemanis 70682d1a9c
Add function to get acceptable margins 2021-12-28 23:56:32 +00:00
Mark Veidemanis cd6e19a38a
Fix incoming transaction matching 2021-12-28 17:47:07 +00:00
Mark Veidemanis f0b31ac17d
Implement more transaction handling 2021-12-28 15:29:15 +00:00
Mark Veidemanis 906048a797
Add message command 2021-12-28 15:28:56 +00:00
Mark Veidemanis 1699dc5593
Pass through Transactions to Agora 2021-12-28 15:28:45 +00:00
Mark Veidemanis 7fd784b83b
Hook in Transactions to incoming trades 2021-12-28 15:28:28 +00:00
Mark Veidemanis 535f890554
Add error handling in commands 2021-12-28 14:10:05 +00:00
Mark Veidemanis 3340b6d4da
Additional error handling 2021-12-28 14:09:33 +00:00
Mark Veidemanis f28e42c42f
Add release URLs and squish bug 2021-12-28 13:42:31 +00:00
Mark Veidemanis 0223b2ea7a
Add release_url command 2021-12-28 13:41:48 +00:00
Mark Veidemanis 266a294e73
Remove fields from transactions 2021-12-28 13:41:36 +00:00