Commit Graph

73 Commits

Author SHA1 Message Date
Reckless_Satoshi
27b265220e
Fix too-many fetchRobots and coordinator endpoints print 2024-01-14 18:20:48 +00:00
Reckless_Satoshi
c98e643645
Small fixes 2024-01-14 16:56:03 +00:00
Reckless_Satoshi
8ae259e143
Re-set fetchOrder on page change, empty book on not_found 2024-01-13 12:43:17 +00:00
KoalaSat
94af0b2afd
Fix order autoupdate and chat (#1047)
* Fix Order autoupdate and chat

* Remove console.log
2024-01-06 12:33:57 +00:00
KoalaSat
4b99b38853
Fix depth chart and coordinator table (#1039)
Fix depth chart and Coordinator table
2023-12-31 14:59:46 +00:00
Reckless_Satoshi
bfb97e034f
Fix update coordinators urls on network change 2023-12-30 16:45:45 +00:00
KoalaSat
40b687dc18
Robohash gereator queue (#1035)
Robohash generator queue
2023-12-30 16:01:08 +00:00
Reckless_Satoshi
e4b5843a42
Feat hide LocalDev coordinator conditionally 2023-12-30 12:27:27 +00:00
KoalaSat
16a16da96a
Fix navbar and book duplication (#1031) 2023-12-30 10:32:18 +00:00
KoalaSat
8884c7f187
Fix and disable strict boolean lintern 2023-12-22 13:58:59 +01:00
KoalaSat
4a273fd98a
Avatar hashid in Garage (#983) 2023-12-15 15:17:46 +00:00
Reckless_Satoshi
4fda9370fd
Small fixes 2023-12-02 20:05:17 +00:00
Reckless_Satoshi
7e97c325f1
Add robo-identity-wasm 2023-12-02 20:01:11 +00:00
Reckless_Satoshi
2408190869
Fix statusToDelay, linting and others 2023-12-02 19:50:07 +00:00
Reckless_Satoshi
9fee3b3bba
Update temple of sats, new prettier format 2023-12-02 17:42:14 +00:00
KoalaSat
802942761d Fix mobile app (#969) 2023-12-02 10:40:59 +00:00
KoalaSat
e8ec7f989a Adapt garage to coordinators 2023-12-02 10:40:59 +00:00
KoalaSat
eb840c5b14 Fix order workflow (#957)
* Order workflow working

* Refactoring
2023-12-02 10:40:59 +00:00
KoalaSat
937ac62c5d Change getRobot by getSlot (#955) 2023-12-02 10:40:59 +00:00
KoalaSat
48dd17b2c6 Fix 2023-12-02 10:40:59 +00:00
KoalaSat
88833a5a10 Fix last order 2023-12-02 10:40:59 +00:00
KoalaSat
7c06c229b4 Fix order page 2023-12-02 10:40:59 +00:00
KoalaSat
8d8e3a5688 Fix robot recovery (#945)
* Fix Robot recovery

* Change testralia onion
2023-12-02 10:40:59 +00:00
Reckless_Satoshi
013ca083c4 Add Simplex contact method to coordinator dialog 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
7f78f69df6 More fixes 2023-12-02 10:40:59 +00:00
KoalaSat
1fcd12dbab Federation view fixes (#923) 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
2361b728fc Fix (some) lint issues 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
66c16760f6 Fix version, release_note and small typo 2023-12-02 10:40:59 +00:00
KoalaSat
293c0b604d Refactor contexts and models (#921)
* Add SVG icons for map pins

* Add federation basis and new coordinator form (#793)

* Add new coordinator entry issue form

* Add Federation basis

* Fix eslint errors from F2F and fix languages

* Redo eslint @typescript-eslint/strict-boolean-expressions

* Robot Page working

* Contexts Working

* Garage Working

* CurrentOrder working

* Federation model working

---------

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-12-02 10:40:59 +00:00
KoalaSat
a338dfc2ee Book map 2023-10-17 08:26:30 +00:00
KoalaSat
4d45b884cf
Add location to F2F payment option (backend) (#867)
* Add location to F2F payment option

* Fix py linterns

* Include migration

* Revert docker-compose changes

* Remove bond_size from migration

* Rename 0043_order_latitude_order_longitude_alter_order_bond_size.py to 0043_order_latitude_order_longitude.py
2023-10-10 12:47:22 +00:00
Reckless_Satoshi
19597ca8e5
Add coordinator maintainance notice 2023-09-08 08:33:00 -07:00
Reckless_Satoshi
b4b6709918
Enable Swahili 2023-09-05 04:16:22 -07:00
Reckless_Satoshi
052865c53b
Add selfhosted client custom builds (#630)
Add scripts for selfhosted client
2023-05-29 15:58:12 +00:00
Reckless_Satoshi
5ff70bccb7
Add core-lightning as backend lightning node vendor (#611)
* Add CLN node backend image and service (#418)

* Add cln service

* Add hodlvoice Dockerfile and entrypoint

* Add lnnode vendor switch (#431)

* Add LNNode vendor switch

* Add CLN version to frontend and other fixes

* init

* first draft

* add unsettled_local_balance and unsettled_remote_balance

* gen_hold_invoice now takes 3 more variables to build a label for cln

* remove unneeded payment_hash from gen_hold_invoice

* remove comment

* add get_cln_version

* first draft of clns follow_send_payment

* fix name of get_lnd_version

* enable flake8

* flake8 fixes

* renaming cln file, class and get_version

* remove lnd specific commented code

* get_version: add try/except, refactor to top to mimic lnd.py

* rename htlc_cltv to htlc_expiry

* add clns lookup_invoice_status

* refactored double_check_htlc_is_settled to the end to match lnds file

* fix generate_rpc

* Add sample environmental variables, small fixes

* Fix CLN gRPC port

* Fix gen_hold_invoice, plus some other tiny fixes (#435)

* Fix channel_balance to use int object inside Amount (#438)

* Add CLN/LND volume to celery-beat service

* Add CLN/LND volume to celery-beat service

* Bump CLN to v23.05

* changes for 0.5 and some small fixes

* change invoice expiry from absolute to relative duration

* add try/except to catch timeout error

* fix failure_reason to be ln_payment failure reasons, albeit inaccurate sometimes

* refactor follow_send_payment and add pending check to expired case

* fix status comments

* add send_keysend method

* fix wrong state ints in cancel and settle

* switch to use hodlinvoicelookup in double_check

* move pay command after lnpayment status update

* remove loop in follow_send_payment and add error result for edge case

* fix typeerror for payment_hash

* rework follow_send_payment logic and payment_hash, watch harder if pending

* use fully qualified names for status instead of raw int

* missed 2 status from prev commit

* Always copy the cln-grpc-hodl plugin on start up

* Fix ALLOW_SELF_KEYSEND linting error

* Fix missing definition of failure_reason

---------

Co-authored-by: daywalker90 <admin@noserver4u.de>
2023-05-22 14:56:15 +00:00
+shyfire131
3bd7ade298
Fix lnproxy support and add lnproxy relays workflow (#586)
* Use new lnproxy API

- Use POST instead of GET, so create and send a body parameter
- Path is /spec/ instead of /api/, and list of relays from lnproxy will contain /spec already, so path parameter for ApiClient.post() is an empty string

* add lnproxy sync workflow

* Use new lnproxy JSON structure

* Remove virtualenv

doing this so that the “scripts” subfolder in .github/workflows can be added

* Move workflow script to subfolder

* Add translation support

Locale strings not added yet

* Simplify coordinator updates, automatic migrations and collect statics (#583)

* Delete commited proto files

* Run sync workflow weekly instead of hourly

* Tweak display name for relays

* Update sync script to be append-only

* Use new naming convention for relays

* Fix bitcoinNetwork hydration

* PR Feedback

- Change hook deps from settings.network to settings
- routing_msat param updates for lnproxy API

* Actually set host in settings

* Updated parsing of LnProxy response

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2023-05-18 11:14:11 +00:00
Reckless_Satoshi
0d180ee7c9
Small fixes, fix reconnecting websockets, fix rewards webln 2023-05-08 17:37:23 -07:00
Reckless_Satoshi
f2de58ca36
Add hash/preimage or address/txid to trade summary report 2023-05-07 04:11:40 -07:00
Reckless_Satoshi
25f0b0eea5
Fix token auth native (#558)
* Fix token auth on Native

* Fix pre-release action
2023-05-06 13:42:48 +00:00
Reckless_Satoshi
7e5c9bcb70
Small fixes 2023-05-05 10:19:45 -07:00
Reckless_Satoshi
298ce130f7
Add switch for light QR codes on dark theme 2023-05-05 06:42:20 -07:00
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
fc4f3e1593
Add undo confirm fiat sent action (#461)
* Add undo confirm fiat sent action

* Collect phrases

* Small fixes
2023-04-28 09:19:18 +00:00
Reckless_Satoshi
e4c1089b46
Add generating animation and fix robot corrupted robot garage load 2023-04-24 06:43:21 -07:00
Reckless_Satoshi
b227df7c7c
Improve preliminary sats summary, add taker satoshis (#429)
* Improve preliminary sats summary, add taker satoshis

* Collect phrases
2023-04-21 11:10:47 +00:00
Reckless_Satoshi
28ef253020
Refactor context (#427)
* Move AppContext to top level

* Refactor context
2023-04-20 14:52:03 +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
e69aa09bb6
Fix useffects for book/limit baseurl change, robot open profile and stats. 2023-03-04 11:49:10 -08:00
Reckless_Satoshi
7f6b2bb79e
Fix load garage android (#372)
* Refactor constructor

* Test
2023-03-03 16:54:03 +00:00
Reckless_Satoshi
9412764f1d
Functional UnsafeAlert and other Icons (#371)
* Add unsafe alert functional component

* Convert icons to functional components

* Run lin fix

* Fix webln uncaught error
2023-03-02 14:20:30 +00:00