Commit Graph

93 Commits

Author SHA1 Message Date
Mark Veidemanis 74522342f7
Move lookup rates into new Money library 2022-07-21 13:44:00 +01:00
Mark Veidemanis 896318982f
Move some functions to a util class from Agora 2022-07-21 13:43:59 +01:00
Mark Veidemanis fc103e5bfa
Add check in Agora for validating ad response 2022-07-21 13:43:56 +01:00
Mark Veidemanis a46f6ed3f3
Handle another kind of exception 2022-07-21 13:43:47 +01:00
Mark Veidemanis d9f55ce497
Add provider to trade information 2022-07-21 13:43:46 +01:00
Mark Veidemanis 9a50865480
Disable automatic withdrawals 2022-07-21 13:43:45 +01:00
Mark Veidemanis 5d5b818b9a
Write docstrings for Agora and Transactions classes 2022-07-21 13:43:41 +01:00
Mark Veidemanis 91f457c82d
Remove debugging code 2022-07-21 13:43:40 +01:00
Mark Veidemanis 8782aeaead
Fix Agora tests 2022-07-21 13:43:39 +01:00
Mark Veidemanis 5c07112ca7
Fix rounding bug in cheat 2022-07-21 13:43:38 +01:00
Mark Veidemanis 5dcd33433d
Fix transaction handling for non-Revolut trades 2022-07-21 13:43:36 +01:00
Mark Veidemanis e88a6d462d
Remove all cheat output 2022-07-21 13:43:33 +01:00
Mark Veidemanis 3c1cbf1d94
Remove more cheat debugging and useless output 2022-07-21 13:43:32 +01:00
Mark Veidemanis b3e71f84d1
Remove some debug output 2022-07-21 13:43:31 +01:00
Mark Veidemanis cd10deaa71
Account trades for withdrawal calculation and fix cheat for multiple providers 2022-07-21 13:43:30 +01:00
Mark Veidemanis aa4b623ae6
Fix pubads command after ads refactor 2022-07-21 13:43:29 +01:00
Mark Veidemanis 32a24b3e43
Create more Agora tests 2022-07-21 13:43:27 +01:00
Mark Veidemanis 899a6e60e3
Fix minor bugs with the cheat system 2022-07-21 13:43:25 +01:00
Mark Veidemanis 5c10d5f044
Increase decimal places in rate 2022-07-21 13:43:24 +01:00
Mark Veidemanis 06e8662c21
Use GBP details when currency is GBP, without checking country 2022-07-21 13:43:23 +01:00
Mark Veidemanis 9d04db7205
Finish implementation and tests for the cheat system 2022-07-21 13:43:22 +01:00
Mark Veidemanis 4414132674
Add some Agora tests 2022-07-21 13:43:21 +01:00
Mark Veidemanis db859e803f
Improve class passing and refactor 2022-07-21 13:43:20 +01:00
Mark Veidemanis f6a67abd4f
Fix dist function 2022-07-21 13:43:19 +01:00
Mark Veidemanis eaa4528634
Implement OTP and fix getting public ads 2022-07-21 13:43:18 +01:00
Mark Veidemanis 81e3232456
Implement editing ads and distributing providers 2022-07-21 13:43:13 +01:00
Mark Veidemanis c3ff7d6e76
Fix autoprice bugs and re-enable withdrawing on release 2022-07-21 13:43:12 +01:00
Mark Veidemanis bac6f26311
Make ad listing getters understand providers 2022-07-21 13:43:09 +01:00
Mark Veidemanis 61b064635d
Implement changing the online_provider when creating an ad 2022-07-21 13:43:08 +01:00
Mark Veidemanis d2d1c4573f
Disable withdrawal on release and don't lowball people 2022-07-21 13:43:07 +01:00
Mark Veidemanis 365fc71f64
Add the notify module 2022-07-21 13:43:05 +01:00
Mark Veidemanis b91431b3ba
Improve cheat system with asset turns 2022-07-21 13:43:04 +01:00
Mark Veidemanis 4a9e611651
Implement updating ads with exponential backoff 2022-07-21 13:43:03 +01:00
Mark Veidemanis f7ad74c510
Improve Agora error handling 2022-07-21 13:43:02 +01:00
Mark Veidemanis 72afa1b25b
Handle Agora library exceptions properly 2022-07-21 13:43:01 +01:00
Mark Veidemanis 965bba8d15
Don't make unnecessary calls to update ad equations 2022-07-21 13:43:00 +01:00
Mark Veidemanis b60ae03699
Add extra checks around APIs 2022-07-21 13:42:59 +01:00
Mark Veidemanis f906478d45
Fix another dash bug 2022-07-21 13:42:59 +01:00
Mark Veidemanis a4ae7da715
Nag on IRC if there's not enough in the XMR wallet to withdraw 2022-07-21 13:42:56 +01:00
Mark Veidemanis 7b5290a1e0
Implement withdrawing to wallets 2022-07-21 13:42:55 +01:00
Mark Veidemanis 49e02ce549
Move totals code to transactions 2022-07-21 13:42:54 +01:00
Mark Veidemanis 8092837b37
Separate out the autoprice system for XMR and BTC 2022-07-21 13:42:50 +01:00
Mark Veidemanis 483f893ffb
Add more checks on getting messages 2022-07-21 13:42:49 +01:00
Mark Veidemanis 0cd8c0b358
Properly handle ad substitutions 2022-07-21 13:42:48 +01:00
Mark Veidemanis e9ecd5fb30
Fix posting BTC ads 2022-07-21 13:42:47 +01:00
Mark Veidemanis 3632eea5a6
Make everything work with BTC 2022-07-21 13:42:44 +01:00
Mark Veidemanis bb879508ed
Update release URL getter to understand BTC 2022-07-21 13:42:43 +01:00
Mark Veidemanis b2b669d57d
Update dashboard hook to understand BTC 2022-07-21 13:42:42 +01:00
Mark Veidemanis bb1734142d
Update dashboard getter to understand BTC 2022-07-21 13:42:41 +01:00
Mark Veidemanis fcd34a11c2
Add extra check in dashboard 2022-07-21 13:42:41 +01:00