Reckless_Satoshi
025d975b6c
Improve handling of long in_transition htlcs
2023-04-08 04:19:56 -07:00
Reckless_Satoshi
ee8becebd9
Add stray locked htlc handler ( #410 )
2023-04-06 10:59:50 +00:00
Reckless_Satoshi
399f8102f2
Add notification for new in-app chat messages ( #403 )
...
* Add TG message for new in-app chat messages
* Add emojis and collect phrases
2023-03-27 09:37:36 +00:00
Reckless_Satoshi
7fdbebb2aa
Add envvars for target_conf
2023-03-18 03:39:37 -07:00
Reckless_Satoshi
9158bd4c98
Fix reject too low mining fees (< 12 blocks conf target)
2023-03-17 15:06:15 -07:00
Reckless_Satoshi
eac5a5f714
Fix robots with tg enabled were being killed
2023-03-17 13:01:59 -07:00
Reckless_Satoshi
f5853c6e7b
Improve LN retry handling and logs
2023-03-16 11:11:39 -07:00
Reckless_Satoshi
94bc44ad0e
Improve tasks reliability ( #390 )
...
* Add broadcasted flag
* Improve celery tasks reliability
2023-03-16 00:53:37 +00:00
Reckless_Satoshi
82c8f2280b
Add MAX_SWAP_AMOUNT envvar ( #389 )
2023-03-14 19:54:31 +00:00
Reckless_Satoshi
42f208fad4
Fix race condition onchain ( #388 )
...
* Fix race condition swaps
* Collect new phrases
* Increase random delay interval
2023-03-14 17:23:11 +00:00
Reckless_Satoshi
ef55207812
Add envvar for spend_unconfirmed
2023-03-10 04:52:33 -08:00
Reckless_Satoshi
09027deffc
Fix order click on matches. Fix existing PGP on deleted robot rebuild.
2023-03-03 11:00:08 -08:00
Reckless_Satoshi
d88c2a5eff
Add App context ( #369 )
...
* Refactor fetchRobot
* Add appcontext
* Robot recovery fixes
* Add usecontext on maker and settings forms
* Add usecontext to booktable
* Add useContext to order page and main dialogs
* Small fixes
2023-02-24 19:17:13 +00:00
Reckless_Satoshi
6ef62a1fa4
Update minimum swap mining fee to 2 Sats/vbyte
2023-02-13 05:57:00 -08:00
Reckless_Satoshi
1c696beb5d
Fix telegram watcher ( #354 )
...
* Update telegram_watcher.py
It is used "startswith()" to check if the text start with "/start".
"filter()" instead of "get()" to avoid an exception if there is no profile asociated with a token.
"attempts -= 1" instead of "attempts = attempts - 1"
An "error.log" file is created if "response = self.session.get" does not work
* Update telegram_watcher.py
Added instructions for the user if the format is not correct
* Update telegram_watcher.py
* Update telegram_watcher.py
* Update telegram_watcher.py
* Update telegram_watcher.py
* Update telegram_watcher.py
* Fix bugs
---------
Co-authored-by: Kote <45825337+Gravity2106@users.noreply.github.com>
2023-02-13 12:41:06 +00:00
Reckless_Satoshi
b02fdcb084
Deprecate old routing budget pipeline ( #347 )
...
Delete old routing budget routines. Clients older than 0.3.1 are now incompatible!
2023-02-10 13:34:35 +00:00
Reckless_Satoshi
0c7e1ae021
Fix reliability telegram notifications
2023-01-31 10:58:11 -08:00
Reckless_Satoshi
d3851784e2
Fix confusing prompt title for submission of payout information
2023-01-14 04:52:47 -08:00
Reckless_Satoshi
62ec832c2e
Fix routing hint checks for rewards invoices
2023-01-14 04:38:27 -08:00
Reckless_Satoshi
b7925ac5bc
Fix adjust onchain reserve closer to LND's default anchor reserve
2023-01-14 04:12:10 -08:00
Reckless_Satoshi
6feed1046c
Fix spinning wheel of death at trade summary generation w onchain payouts
2022-12-01 10:17:25 -08:00
Reckless_Satoshi
53dd8777cb
Fix claim rewards
2022-11-28 08:23:37 -08:00
Reckless_Satoshi
b4072b95da
Small fixes missing finalization time and unit trade_satoshis response
2022-11-25 16:06:40 -08:00
Reckless_Satoshi
86e6bed37c
Add advanced options to LN payout form ( #326 )
...
* Add advanced options to LN payout form
* Complete amount calcs
* Temporary working solution for lnproxy web only (uses text instead of json)
* Update LNpayment model and logics to use user's routing budget
* Add handle lnproxyserver networks (i2p, tor, clearnet) / (mainnet,testnet)
* Small fixes
2022-11-24 17:42:30 +00:00
Reckless_Satoshi
3446fc33d3
Add turtle chat component
...
Squashed commit of the following:
commit f60870fcfe574dc4ab1343e25241b6ef7cc2721b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Thu Nov 10 10:30:42 2022 -0800
Fix internal error when entering chat
commit f1eeb49f2a86575eb2e85cdff20460276e71b806
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Tue Nov 8 10:08:22 2022 -0800
Fix final serializer
commit d0c08ba6ad4378a9539c0be83b6f4f8b958b532e
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Tue Nov 8 09:44:57 2022 -0800
Chat API changes
commit a66bf64edc06d936612db6bf75476b54e6a84334
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Tue Nov 8 09:28:29 2022 -0800
Fix param on post
commit 60b18d13c2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Tue Nov 8 08:56:25 2022 -0800
Fix serializer
commit 11212d30ee
Author: KoalaSat <yv1vtrul@duck.com>
Date: Sun Nov 6 21:07:18 2022 +0100
CR 2
commit c82790cb81
Author: KoalaSat <yv1vtrul@duck.com>
Date: Sun Nov 6 20:09:18 2022 +0100
Fix
commit 605a3b69a1
Author: KoalaSat <yv1vtrul@duck.com>
Date: Sun Nov 6 14:44:42 2022 +0100
CR
commit 09776e9c8f
Author: KoalaSat <yv1vtrul@duck.com>
Date: Wed Nov 2 18:12:29 2022 +0100
translations
commit 432e4d2399
Author: KoalaSat <yv1vtrul@duck.com>
Date: Wed Nov 2 17:39:02 2022 +0100
Switch and better UX
commit df6e476613
Author: KoalaSat <yv1vtrul@duck.com>
Date: Tue Nov 1 18:20:01 2022 +0100
Unused code
commit 5b8d6b4d32
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Mon Oct 31 09:20:20 2022 -0700
Add Chat Turtle Mode
2022-11-11 01:28:09 -08:00
Reckless_Satoshi
227610c84a
Add Nav Bar, Settings Page, large refactor ( #308 )
...
commit a5b63aed93
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Sun Oct 30 10:46:05 2022 -0700
Small fixes
commit d64adfc2bf
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Sun Oct 30 06:02:06 2022 -0700
wip work on federation settings
commit ca35d6b3d2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Sun Oct 30 04:05:33 2022 -0700
Refactor confirmation Dialogs
commit c660a5b0d1
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Sat Oct 29 13:36:59 2022 -0700
refactor login (clean separation robot/info. Style navbar.
commit b9dc7f7c95
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Fri Oct 28 09:54:38 2022 -0700
Add size slider and settings widget
commit 20b2b3dcd6
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Fri Oct 28 05:41:48 2022 -0700
Add show more and Dialogs
commit da8b70091b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Thu Oct 27 16:26:07 2022 -0700
Add sliding pages
commit 6dd90aa118
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Thu Oct 27 06:34:58 2022 -0700
Add settings forms
commit d3d0f3ee1a
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date: Wed Oct 26 04:16:06 2022 -0700
Refactor utils
2022-10-30 12:13:01 -07:00
Reckless_Satoshi
7643e524f1
Fix all files with pre-commit
2022-10-25 11:04:12 -07:00
Reckless_Satoshi
5723cde20e
Fix onchain payouts bug
2022-10-22 07:23:22 -07:00
redphix
aa445418d5
Annoy black ( #293 )
2022-10-20 20:57:46 +00:00
redphix
4d5c60239f
Conform to pep8 rules ( #295 )
...
* Conform to pep8 rules
* Fix some more flake8 linting errors
2022-10-20 20:53:51 +00:00
Lint Action
3d3da78f8a
Fix code style issues with Black
2022-10-20 09:56:10 +00:00
redphix
c32c07eaa6
Python files style cleanup ( #281 )
...
* Remove unused imports in python files
* Add black and isort dependencies
Also added pyproject.toml for isort config, but later can be used to
configure various other python tools
* Add flake8 in requirements.txt
* Add py-linter workflow
2022-10-20 09:55:24 +00:00
Reckless_Satoshi
79dad7afe2
Add Chat endpoint to API v0 ( #288 )
...
* Add /api/chat route and GET method
* Add message POST method
* Wrap /api/chat GET in /api/order GET
* Add send channel message on POST request
* Fix OAS schema bug
2022-10-16 21:11:48 +00:00
redphix
7d887804a0
Fix docs - add missing field in /api/book ( #279 )
2022-10-11 17:26:06 +00:00
Reckless_Satoshi
0a100802f2
Add bond size to order book
2022-10-02 13:54:45 -07:00
redphix
9a6d3d33a4
Add OpenAPI v3.0 Docs for API ( #243 )
...
* Add initial api docs using drf-spectacular
This commit adds the inital and basic docs using drf-spectacular.
It also adds some serializers to be used for automatically
generating response objects by drf-spectacular
* Update api docs with correct request and response objects
- TODO: /order route
* Fix typo in api docs
* Separate OpenAPI schemas into it's own file
* Update drf-spectacular and add API intro and logo
* Update API docs for GET /order
* Add api docs for POST /order route
* Update serializers.py
2022-10-02 18:02:35 +00:00
Reckless_Satoshi
f5f707bd4e
Add version mismatch detection, refactor GH workflows, draft release.yml, increase prettier scope ( #250 )
...
* Refactor GH workflows
* Add version mismatch checker and UpdateClient Dialog
* Fix finalize release workflow
* Increase prettier scope
* Increase prettier coverage, add some static to prettierignore
* Add CodeQL on PR
2022-09-22 15:22:51 -07:00
Reckless_Satoshi
dc3a40e71f
Add stealth response to Info, tg_token to order, delete deprecated GET User
2022-09-18 10:37:39 -07:00
Reckless_Satoshi
34a8fd99ed
Make stealth invoices the default
2022-09-16 09:50:11 -07:00
Reckless_Satoshi
f2cd20c8f0
Add Telegram context on UserGen response
2022-09-16 09:45:09 -07:00
redphix
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
Reckless_Satoshi
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
redphix
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
KoalaSat
c62a6369b0
Expose Satoshis Now on API ( #236 )
2022-09-10 13:51:15 +00:00
Reckless_Satoshi
f8e879a3f7
Fix unreproducible bug (at least try) when order does not advance into CHA status.
2022-08-18 11:13:20 -07:00
Reckless_Satoshi
860b3c136b
Fix dispute solve admin actions. Fix i18n var for takerFee.
2022-08-18 03:33:55 -07:00
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