KoalaSat
1757a9781a
Feat: add notifications api endpoint ( #1347 )
...
* Notifications Endpoint
* Fix tests
* CR
* Check tests
* Fix Tests
* Fix Chat
* Remove unused notifications
* Fix chat
* Fix chat
* Fix chat
2024-06-27 16:47:23 +00:00
Reckless_Satoshi
7558ef415c
Merge branch 'main' into perf/delete-backend-avatars
2024-06-16 22:53:51 +00:00
Reckless_Satoshi
34ef099573
Feat: add coordinator opt for geoblocked countries ( #1258 )
...
* Add location validator
* Add bad location tests
2024-04-29 22:58:03 +00:00
Reckless_Satoshi
c50b5c4f3b
perf(coordinator): remove avatar generator
2024-04-22 02:40:15 +01:00
Reckless_Satoshi
82de630497
Fix max swap amount var name
2024-02-11 17:19:43 +00:00
Reckless_Satoshi
5509340c99
add api info entries for limits and swap availability
2024-02-11 14:57:47 +00:00
Reckless_Satoshi
5e58f0c8ce
Change default max_order_size
2024-01-09 14:37:00 +00:00
Reckless_Satoshi
bc9f8ae985
Add robot hash ids to order details and robot view
2023-12-01 12:56:55 +00:00
Reckless_Satoshi
92b041cb31
Add maker_hash_id to book response
2023-11-28 11:13:40 +00:00
Reckless_Satoshi
dd7534d64a
Add order book test
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
515133bb8e
Add ticks test
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
5674337b32
Add fiat sent/received confirmation tests. Improve API documentation
2023-11-17 13:02:30 +00:00
Reckless_Satoshi
b4fe30e733
Add testing against API specs with assertResponse
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
8808ee85ae
Add order creation tests
2023-11-06 19:35:35 +00:00
Reckless_Satoshi
a555f204ca
Fix models decoupling ( #874 )
...
* Fix move order model constrains to env to settings.py
* Remove lnpayment, tick, onchain model contraints based on .env
2023-10-10 12:48:05 +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
c7a14fbc56
Fix order status change must happen exactly when last sats update on contract finalization
2023-09-11 08:23:11 -07:00
Reckless_Satoshi
19597ca8e5
Add coordinator maintainance notice
2023-09-08 08:33:00 -07:00
Reckless_Satoshi
9db89606cb
Deprecate unsigned invoices ( #633 )
...
* Fix connected chat status
* Delete option to submit unsigned address and invoices
2023-08-14 14:22:15 +00:00
Reckless_Satoshi
ca3f7cb222
Delete user view, session auth and png avatars ( #588 )
2023-08-14 14:21:12 +00:00
Reckless_Satoshi
4383d14f88
feat(coordinator): add verbose order logs as table to admin ( #764 )
...
* add logs field
* Log some order events
* Add more logs. Format as table.
* Add more logs
* Add admin panel hyperlinks to order logs
* Add lasts set of logs
* Some fixes
2023-08-06 17:48:20 +00:00
Reckless_Satoshi
9777a4987f
fix(infoview): 0 if marketticks are none
2023-08-06 08:37:03 -07:00
Reckless_Satoshi
a980c15974
Add object limit to /api/ticks ( #747 )
2023-07-23 19:27:37 +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
Reckless_Satoshi
516537a38e
Add pgp signature to sensitive client - coordinator messages ( #592 )
...
* Minor fixes on dev setup start up
* Add pgp cleartext signatures
2023-05-17 13:06:04 +00:00
Reckless_Satoshi
899062ae70
Rename repository
2023-05-09 06:07:16 -07:00
Reckless_Satoshi
3b77a473f8
Coordinator db performance clean up ( #561 )
...
* Improve DB writes performance and concurrency. Add order coordinator proceeds field.
* Fix checks on order GET inducing 400
2023-05-08 12:49:21 -07:00
Reckless_Satoshi
8434a256cf
Fix last_login for tokeauth, replace maker/taker_last seen for last_login
2023-05-07 08:06:35 -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
811cb4181d
Delete old user rating functionality
2023-05-05 05:40:29 -07:00
Reckless_Satoshi
4d62ea1549
Delete coordinator referral program functionality
2023-05-05 05:32:52 -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
75f04579ed
Refactor models into a module ( #481 )
...
* Refactor models into a module
* Rename Profile model as Robot
* Underscore numeric literals
2023-05-01 10:30:53 +00:00
Reckless_Satoshi
4adde72fd5
Bump LND, fix BalanceLogs not found on new coordinator instance
2023-04-29 07:07:48 -07: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
e878299ae8
Add light weight webp avatars ( #457 )
...
* Add generate webp avatars, also small size
* Use new avatars in frontend
2023-04-25 18:40:46 +00: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
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
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
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
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
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
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