Commit Graph

45 Commits

Author SHA1 Message Date
Reckless_Satoshi
e6ddcf9e4b
Add RobotTokenSHA256 middleware, /api/robot and frontend entropy calc (#512)
* Add RobotTokenSHA256 middleware for in-the-fly robot generation/login

* Add RobotView, fix middleware, upgrade frontend

* Token header as base91

* Add OAS schema of RobotView

* Use RobotView on new fetchRobot(), mimick old fetchRobot() functionality

* Upgrade websockets for token based authentication

* Small fixes

* Add frontend token entropy checks, add token on route /robot/<token>

* Rename admin panel

* Collect phrases
2023-05-05 10:12:38 +00:00
Reckless_Satoshi
ac24c310c5
Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432)
* Add Versioner rpc, use versioner for LND get_version, refactor macaroon

* Move LND specific rpc calls from the follow-invoices thread to LNNode

* Move LND specific rpc calls from tasks to LNNode
2023-04-22 18:54:03 +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
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
5281176e3c
Add use_tor boolean to envvars 2022-08-08 08:58:06 -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
7d22dbd26d
Fix current commit sha on Docker CI images 2022-07-16 07:01:45 -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
0866109072
Fix bug on weighted median 2022-06-29 02:41:59 -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
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
31730e0a05
Exclude BTC swaps from avg premium calculation 2022-06-07 14:05:34 -07:00
Reckless_Satoshi
8d0b518222
Add onchain logics pt1 2022-06-06 10:57:04 -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
f383d20c37
Implement public API non-KYC BTC prices 2022-03-12 03:24:11 -08:00
Reckless_Satoshi
d146f522f3
Add frontend enable telegram button. Torify all requests. 2022-02-21 16:50:25 -08:00
Reckless_Satoshi
df320ea4d0
Add telegram functionality to backend. Messages: welcome and order taken. 2022-02-21 15:41:36 -08:00
Reckless_Satoshi
fc4ccd5281
Re-format all python code 2022-02-17 11:50:10 -08:00
Reckless_Satoshi
1e0bd51f1f
Add BTC (rBTC, wBTC, swaps...). Fix setup guide and env-sample. 2022-02-16 14:02:21 -08:00
Reckless_Satoshi
8fcad56e15
Fix LND version and correct onlion urls 2022-02-12 10:22:05 -08:00
Reckless_Satoshi
d257848940
Add statsfornerds: alternative site, node alias, node id, 1ML link 2022-02-12 05:59:59 -08:00
Reckless_Satoshi
243690899e
Add delay on annoying tooltips. Add more characters to default token. 2022-02-08 08:20:41 -08:00
Reckless_Satoshi
5a677067f7
Record expiry height into lnpayment and admin panel 2022-01-25 06:46:02 -08:00
Reckless_Satoshi
7c0e3a74fa
Fix premium percentile computation 2022-01-19 12:55:24 -08:00
Reckless_Satoshi
980a385528
Premium percentile computing 2022-01-18 10:24:45 -08:00
Reckless_Satoshi
e31bc1adad
Bug fix invoice follow. Copy user token button. 2022-01-18 05:20:19 -08:00
Reckless_Satoshi
0db73c7c82
Convert order cleaning task into admin command 2022-01-17 10:11:44 -08:00
Reckless_Satoshi
eddd4674f6
Add admin background task: follow all active hold invoices 2022-01-17 08:41:55 -08:00
Reckless_Satoshi
185cc71e91
Improve market price fetching and caching 2022-01-16 07:18:23 -08:00
Reckless_Satoshi
8e609b9e47
Add dynamic refresh rate to OrderPage based on order status 2022-01-15 04:00:11 -08:00
Reckless_Satoshi
a995a4e2ea
Add Info and Stats for nerds popups 2022-01-14 16:28:19 -08:00
Reckless_Satoshi
ad58f66968
Add second market price API. Median price is used. 2022-01-14 06:57:56 -08:00
Reckless_Satoshi
17df987630
Rework lightning module. Add version info 2022-01-11 06:36:43 -08:00
Reckless_Satoshi
de66040893
Add cancel taker penalty time 2022-01-10 04:10:32 -08:00
Reckless_Satoshi
cf11583d6d
Add scrolling book 2022-01-10 02:49:21 -08:00
Reckless_Satoshi
9bc6757ba3
Revamp UI 2022-01-09 17:12:58 -08:00
Reckless_Satoshi
eb9042eaa4
Add Non-KYC Bitcoin price historical records 2022-01-07 14:46:30 -08:00