464 Commits

Author SHA1 Message Date
34a8fd99ed Make stealth invoices the default 2022-09-16 09:50:11 -07:00
f2cd20c8f0 Add Telegram context on UserGen response 2022-09-16 09:45:09 -07:00
6fc20424a8 Fix logic of checking whether non-participants can view order details (#245)
* Fix logic of checking whether non-participants can view order details

* Fix for no participants to not get lengthy responses on public orders

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2022-09-15 15:47:09 +00:00
1ba94b2abc Add Telegram notifications for order takers (#244)
* Create EnableTelegramDialog functional component

* Move Enable TG button to Profile dialog

* Add TG bot_name, token and state to API /info/

* Add messages for order takers to Telegram class
2022-09-15 15:42:33 +00:00
215e04f75e Fix error when query parameters not passed (#239)
if no parameters are passed to `/api/book` then just return
orders of ALL currency of ANY type.

Currently, if no query parameters are passed, then the API returns
500 status code
2022-09-11 15:04:03 +00:00
c62a6369b0 Expose Satoshis Now on API (#236) 2022-09-10 13:51:15 +00:00
f8e879a3f7 Fix unreproducible bug (at least try) when order does not advance into CHA status. 2022-08-18 11:13:20 -07:00
860b3c136b Fix dispute solve admin actions. Fix i18n var for takerFee. 2022-08-18 03:33:55 -07:00
eff58dc91d Add stealth invoices (#210)
* Add stealth invoice switch to profile

* Add stealth invoice including only order uuid

* Add explanatory tooltip for stealth invoices and fix code smells
2022-08-12 17:41:06 +00:00
5281176e3c Add use_tor boolean to envvars 2022-08-08 08:58:06 -07:00
f4cd676d2b Fix linear determinate countdown timer bug when waiting for escrow 2022-08-03 14:24:30 -07:00
5ed4245298 Add tor proxy setting to envvars 2022-08-03 14:21:02 -07:00
6f1e865a15 Enable warnings logging to console via envvar 2022-08-01 05:55:43 -07:00
f0cde287e1 Clean up and finish new adress validator method (#202)
* Removed coinaddrvalidator dependency

* Return generic "Ivalid address" error message instead of the error returned by bitcoind when validating an address

* Modified messages related to bitcoin addresses validation
2022-08-01 01:03:33 +00:00
56bc602d34 Compute percentile over orders of the same type (#201) 2022-07-31 19:43:46 +00:00
3ae6087a87 Add bitcoin RPC methods for onchain address validation (#198)
* Added params to connect to bitcoin core daemon. Needed by api.utils.validate_onchain_address()

* Fixes issue#194

* Modified BITCOIND_RPCUSER and BITCOIND_RPCPASSWORD to default development environment

* Modified BITCOIND_RPCURL port number to default development environment
2022-07-31 14:35:12 +00:00
aad87e7d98 Increase Max trade size to 4M, increase max range size from 5 to 8 2022-07-30 05:27:15 -07:00
040fc3e679 Fix payments_cleansin for onchain payments with no order key 2022-07-24 04:29:13 -07:00
d813be33d8 Add admin action to compute median trade completion time 2022-07-22 08:32:35 -07:00
ff0efd7664 Update Phoenix wallet compatibility. Fix escrow cltv expiry blocks computation 2022-07-22 08:13:37 -07:00
8423896285 Tight CLTV expiry dynamically 2022-07-21 06:19:47 -07:00
98e2da68d0 Add admin action shortcuts for dispute resolution. Update compensation docs 2022-07-19 15:14:08 -07:00
916a5fdf5a Add total time to contract completion to trade summary 2022-07-18 17:37:35 -07:00
456723973c Add contract oracle timestamp and exchange rate to summary 2022-07-18 06:50:56 -07:00
638d3b1d6c Fix serve summary when order partially finished. Trade summary as accordion 2022-07-17 11:49:44 -07:00
7d22dbd26d Fix current commit sha on Docker CI images 2022-07-16 07:01:45 -07:00
834733cb61 Add trade summary at trade finish 2022-07-16 04:26:44 -07:00
a7cb34e55f Add npm test github actions workflow 2022-07-13 13:50:06 -07:00
b76b333413 Fix clean onchain_payment, also deletes 'created' objects. Fix rewards timeout 2022-07-10 04:04:27 -07:00
b33b45f7b3 Fix do_accounting. Improve ProfileAdmin load time. 2022-07-03 10:39:40 -07:00
a98ff65638 Fix UI. Hide unneeded expiry bars. Refresh book always. Round to 8 BTC decimals. 2022-07-02 12:51:29 -07:00
41f3df570e Hotfix for weighted median premium (#180)
* hotfix for empty array handling
2022-07-01 14:48:17 +00:00
b5dd4fbea5 Improve clarity on order not available message 2022-07-01 04:22:26 -07:00
eaa40417ad Fix format and PT style. Optimize OrderAdmin load. 2022-06-29 05:58:34 -07:00
6952bedbf6 Merge PR 'Replace weighted average to weighted median. #173' into main 2022-06-29 02:42:31 -07:00
0866109072 Fix bug on weighted median 2022-06-29 02:41:59 -07:00
2f5bb6e9ae Add explicit min/max amounts on mining fee rate error 2022-06-27 07:22:10 -07:00
f4caa98eef replaced weighted mean to weighted median
This commit changes the weighted mean to the weighted median for the calculation of the premium displayed on the robosats.
2022-06-25 12:47:35 +02:00
f2f90bd948 replaced weighted mean to weighted median
This commit changes the weighted mean to the weighted median for the calculation of the premium displayed on the robosats.
2022-06-25 12:44:32 +02:00
70fe9d6dcb Update messages.py (#167) 2022-06-22 13:09:41 +00:00
bd70d94d4a Add MarketTicks endpoint /api/ticks. Fix do_accounting. 2022-06-21 13:25:03 -07:00
e525b84c9e Fix payments cleansing 2022-06-21 06:32:35 -07:00
c12c18a5c7 Update wallet docs relating to Muun 2022-06-21 05:07:45 -07:00
c397ff63e5 Add rewards and referral code on usergen api responses 2022-06-21 04:47:29 -07:00
20432dfce1 Add nickmane on every TG message 2022-06-20 13:31:28 -07:00
6f7cfb5147 Fix avatar persistance and login issues. Add onchain payment cleanup. 2022-06-20 10:56:56 -07:00
009c88a988 Add Statistics to documentation site. Add order made on onchain admin panel. 2022-06-20 01:42:41 -07:00
f1c4754868 Fix bad reply after submitting invoice 2022-06-19 07:32:00 -07:00
164a960b62 Merge branch 'onchain-buyer-payouts' into main #160 2022-06-17 05:19:59 -07:00
2289274251 Improve toggle button onchain/LN, add bad address messages 2022-06-17 04:36:27 -07:00