Commit Graph

356 Commits

Author SHA1 Message Date
ShatteredBunny
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
Reckless_Satoshi
5281176e3c
Add use_tor boolean to envvars 2022-08-08 08:58:06 -07:00
Reckless_Satoshi
f4cd676d2b
Fix linear determinate countdown timer bug when waiting for escrow 2022-08-03 14:24:30 -07:00
Reckless_Satoshi
5ed4245298
Add tor proxy setting to envvars 2022-08-03 14:21:02 -07:00
Reckless_Satoshi
6f1e865a15
Enable warnings logging to console via envvar 2022-08-01 05:55:43 -07:00
zx9r
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
merchero
56bc602d34
Compute percentile over orders of the same type (#201) 2022-07-31 19:43:46 +00:00
zx9r
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
Reckless_Satoshi
aad87e7d98
Increase Max trade size to 4M, increase max range size from 5 to 8 2022-07-30 05:27:15 -07:00
Reckless_Satoshi
040fc3e679
Fix payments_cleansin for onchain payments with no order key 2022-07-24 04:29:13 -07:00
Reckless_Satoshi
d813be33d8
Add admin action to compute median trade completion time 2022-07-22 08:32:35 -07:00
Reckless_Satoshi
ff0efd7664
Update Phoenix wallet compatibility. Fix escrow cltv expiry blocks computation 2022-07-22 08:13:37 -07:00
Reckless_Satoshi
8423896285
Tight CLTV expiry dynamically 2022-07-21 06:19:47 -07:00
Reckless_Satoshi
98e2da68d0
Add admin action shortcuts for dispute resolution. Update compensation docs 2022-07-19 15:14:08 -07:00
Reckless_Satoshi
916a5fdf5a
Add total time to contract completion to trade summary 2022-07-18 17:37:35 -07:00
Reckless_Satoshi
456723973c
Add contract oracle timestamp and exchange rate to summary 2022-07-18 06:50:56 -07:00
Reckless_Satoshi
638d3b1d6c
Fix serve summary when order partially finished. Trade summary as accordion 2022-07-17 11:49:44 -07:00
Reckless_Satoshi
7d22dbd26d
Fix current commit sha on Docker CI images 2022-07-16 07:01:45 -07:00
Reckless_Satoshi
834733cb61
Add trade summary at trade finish 2022-07-16 04:26:44 -07:00
Reckless_Satoshi
a7cb34e55f
Add npm test github actions workflow 2022-07-13 13:50:06 -07:00
Reckless_Satoshi
b76b333413
Fix clean onchain_payment, also deletes 'created' objects. Fix rewards timeout 2022-07-10 04:04:27 -07:00
Reckless_Satoshi
b33b45f7b3
Fix do_accounting. Improve ProfileAdmin load time. 2022-07-03 10:39:40 -07:00
Reckless_Satoshi
a98ff65638
Fix UI. Hide unneeded expiry bars. Refresh book always. Round to 8 BTC decimals. 2022-07-02 12:51:29 -07:00
satsbaba
41f3df570e
Hotfix for weighted median premium (#180)
* hotfix for empty array handling
2022-07-01 14:48:17 +00:00
Reckless_Satoshi
b5dd4fbea5
Improve clarity on order not available message 2022-07-01 04:22:26 -07:00
Reckless_Satoshi
eaa40417ad
Fix format and PT style. Optimize OrderAdmin load. 2022-06-29 05:58:34 -07:00
Reckless_Satoshi
6952bedbf6
Merge PR 'Replace weighted average to weighted median. #173' into main 2022-06-29 02:42:31 -07:00
Reckless_Satoshi
0866109072
Fix bug on weighted median 2022-06-29 02:41:59 -07:00
Reckless_Satoshi
2f5bb6e9ae
Add explicit min/max amounts on mining fee rate error 2022-06-27 07:22:10 -07:00
satsbaba
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
satsbaba
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
Gravity2106
70fe9d6dcb
Update messages.py (#167) 2022-06-22 13:09:41 +00:00
Reckless_Satoshi
bd70d94d4a
Add MarketTicks endpoint /api/ticks. Fix do_accounting. 2022-06-21 13:25:03 -07:00
Reckless_Satoshi
e525b84c9e
Fix payments cleansing 2022-06-21 06:32:35 -07:00
Reckless_Satoshi
c12c18a5c7
Update wallet docs relating to Muun 2022-06-21 05:07:45 -07:00
Reckless_Satoshi
c397ff63e5
Add rewards and referral code on usergen api responses 2022-06-21 04:47:29 -07:00
Reckless_Satoshi
20432dfce1
Add nickmane on every TG message 2022-06-20 13:31:28 -07:00
Reckless_Satoshi
6f7cfb5147
Fix avatar persistance and login issues. Add onchain payment cleanup. 2022-06-20 10:56:56 -07:00
Reckless_Satoshi
009c88a988
Add Statistics to documentation site. Add order made on onchain admin panel. 2022-06-20 01:42:41 -07:00
Reckless_Satoshi
f1c4754868
Fix bad reply after submitting invoice 2022-06-19 07:32:00 -07:00
Reckless_Satoshi
164a960b62
Merge branch 'onchain-buyer-payouts' into main #160 2022-06-17 05:19:59 -07:00
Reckless_Satoshi
2289274251
Improve toggle button onchain/LN, add bad address messages 2022-06-17 04:36:27 -07:00
Reckless_Satoshi
43b85d79d4
Fix invoice payouts. Add onchain summary to accounting days. 2022-06-16 15:48:35 -07:00
Reckless_Satoshi
5c87c5ad85
Add UI elements for swap fee and TXID payout. Fix bugs. 2022-06-16 13:01:10 -07:00
Reckless_Satoshi
efed6b3c0a
Pay buyer onchain-tx 2022-06-16 08:31:30 -07:00
Reckless_Satoshi
d05ce86189
Merge pull request #162 from Gravity2106/patch-1
Fix Spanish TG message
2022-06-14 18:24:37 +00:00
Reckless_Satoshi
8f93c8f7b6
Add address submission and validation checks 2022-06-13 15:27:09 -07:00
Reckless_Satoshi
dc9d5e5e2a
Add frontend input address components 2022-06-11 09:21:53 -07:00
Reckless_Satoshi
b1d68a39f7
Add onchain logics pt3 2022-06-09 10:41:21 -07:00
Reckless_Satoshi
9da33b60e6
Lower time between retries to 1min. Disable ResetMC. Increase timeout. 2022-06-09 03:56:17 -07:00
Reckless_Satoshi
31730e0a05
Exclude BTC swaps from avg premium calculation 2022-06-07 14:05:34 -07:00
Reckless_Satoshi
cf82a4d6ae
Add onchain logics pt2 2022-06-06 13:37:51 -07:00
Reckless_Satoshi
1905d147bf
Reset mission control only on no routes found failure 2022-06-06 11:00:50 -07:00
Reckless_Satoshi
8d0b518222
Add onchain logics pt1 2022-06-06 10:57:04 -07:00
Reckless_Satoshi
f538d26355
Create Balance model and log task 2022-06-06 02:32:39 -07:00
Gravity2106
fe2b3918f1
Update messages.py 2022-06-06 02:09:06 +02:00
Reckless_Satoshi
4ac3618fd7
Add routing timeout to .env 2022-06-05 09:15:40 -07:00
Reckless_Satoshi
08f73ad923
Fix autoscroll, allow plaintext chat, forbid collab cancelation on wrong status 2022-06-04 14:26:53 -07:00
Reckless_Satoshi
ec167b6573
Fix chatroom names. Fix users entering old chats 2022-06-03 02:39:48 -07:00
Reckless_Satoshi
8663fb3423
Add TG messages for dispute open and collaborative cancellation 2022-06-02 15:32:01 -07:00
Reckless_Satoshi
7623d30670
Add new PGP keys validation on backend. Raise default bond size to 3% and minimum to 2% 2022-06-01 16:49:27 -07:00
Reckless_Satoshi
5534ada1be
Fix robot PGP keys created in a future time 2022-06-01 14:44:58 -07:00
Reckless_Satoshi
6fa145c185
Create task to delete canceled LNpayments older than 3 days 2022-05-31 03:35:36 -07:00
Reckless_Satoshi
8b7e05a24d
Create task to delete older than 3 days encrypted messages 2022-05-31 02:23:01 -07:00
Reckless_Satoshi
bedac53e29
Fix missing PGP keys when early login. Fix avatar not found when make/book is clicked. 2022-05-30 14:19:16 -07:00
Reckless_Satoshi
5b214c3b9c
Validate length of token_hash. Increase expiry times of routing status. 2022-05-30 07:08:32 -07:00
Reckless_Satoshi
d1f671cf66
Validate PGP keys with GnuPG when a new robot is created 2022-05-30 06:34:27 -07:00
Reckless_Satoshi
6f2aed095d
Make pgp keys read-only on admin panel. Improve homepage copy button behaviour. 2022-05-30 04:19:12 -07:00
Reckless_Satoshi
f304fa27f9
Fix empty invoice unhandled error 2022-05-28 06:05:26 -07:00
Reckless_Satoshi
d24e01f1f5
Add validation of invoice based on total cost of routing hints 2022-05-26 16:35:45 -07:00
Reckless_Satoshi
4da6a43a59
PGP ID is second hash of token 2022-05-26 14:16:02 -07:00
Reckless_Satoshi
3cb544ef10
Fix bug 'dispute cannot be open in this stage'. Update Dockerfile 2022-05-25 00:46:57 -07:00
Reckless_Satoshi
ac0969baf6
Convert new UserGen into POST. Fix misformed armored keys. Example encrypt/decrypt. 2022-05-23 04:21:01 -07:00
Reckless_Satoshi
789f9fbdb1
Add pub_key and enc_priv_key fields. Store in cookies. Bug: misformed 2022-05-22 15:12:25 -07:00
Reckless_Satoshi
191dfe0d3b
Upgrade userGen, only token_sha256 used. Deprecate token user generation. 2022-05-22 12:30:12 -07:00
Reckless_Satoshi
d48ee9ced4
Add explicit routing failure reasons for users 2022-05-19 07:00:55 -07:00
Reckless_Satoshi
b24bd4c2db
Constrain open dispute valid status 2022-05-15 23:47:22 -07:00
Reckless_Satoshi
1b4d42cfdf
Implement last order always shown on robot profile 2022-05-09 15:34:10 -07:00
Reckless_Satoshi
83c8d80da3
Add exchange historical endpoint api/historical 2022-05-09 10:35:04 -07:00
Reckless_Satoshi
718f42abf9
Fix active order shows on profile in Sending Satoshis status 2022-05-08 09:52:19 -07:00
Reckless_Satoshi
e4e33d39f5
Fix charged maker bond at cancel before taker bond is locked 2022-05-05 11:15:14 -07:00
Reckless_Satoshi
2b44d32b01
Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07:00
ibertario
b36155fbd6
BTC instead of Sats on Stats For Nerds (#98)
* Update views.py

* Update BottomBar.js
2022-05-01 18:09:17 +00:00
Reckless_Satoshi
1f920c9268
Fix DEL in clean orders. Add cancel button to paused order 2022-05-01 10:05:58 -07:00
Reckless_Satoshi
419fadc125
Add new icons, add new limits. Fix minor bugs. 2022-05-01 06:41:55 -07:00
Reckless_Satoshi
755874b100
Advanced maker options v2 (#110)
* Add escrow/invoice time customization

* Add accordion for Expiry times

* Add current price on order maker

* Add deposit timeout limit on order page

* Minor aestetic fixes

* Implement pause/unpause and expiry reasons

* Add renew order

* Add highlight buy/sell on maker page

* Fix order renewal. Improve book visuals and response.

* Fix double renew requests

* Fix cancel orders. Fix paused status to delay

* Fix paused order layout and loading spinner

* Add telegram message: order is in chat
2022-04-29 18:54:20 +00:00
Reckless_Satoshi
433952cbf4
Fix lnpayment deletion at profile deletion. Fix precision premium rank. 2022-04-24 04:20:05 -07:00
Reckless_Satoshi
5c06cab195
Rework concurrent payments. in_flight true/false 2022-04-18 15:19:58 -07:00
Reckless_Satoshi
f00bafb5d8
Rework concurrent payments. in_flight true/false 2022-04-18 06:57:03 -07:00
Reckless_Satoshi
42cf915dea
Fix re-taken order asks for new buyer invoice 2022-04-16 12:50:40 -07:00
Reckless_Satoshi
14b4c16fa3
Fix for UI & Spanish translation. Implement concurrent invoice payments. 2022-04-15 17:04:17 -07:00
Reckless_Satoshi
b85b78c722
Fix payment method delete bug, improve viz (better icons, better shadows) 2022-03-30 13:01:26 -07:00
Reckless_Satoshi
8265dc1dc4
Make method picker functional. Add Swap methods and icons. 2022-03-30 03:57:56 -07:00
Reckless_Satoshi
baf76025c2
Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
Reckless_Satoshi
fae1f1317e
Fix TG retry welcome bug 2022-03-26 08:23:34 -07:00
Reckless_Satoshi
6ce9957694
mend 2022-03-24 17:30:40 -07:00
Reckless_Satoshi
dc5f228fce
Fix percentile computing for ranges, fix limit adjusts by premium 2022-03-24 17:09:55 -07:00
Reckless_Satoshi
cb7dcab147
Remove input numeric arrows 2022-03-24 10:29:51 -07:00
Reckless_Satoshi
5aa0304d32
Improve amount specification UI 2022-03-24 08:43:31 -07:00
Reckless_Satoshi
8ae2406275
Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00