Commit Graph

156 Commits

Author SHA1 Message Date
dni ⚡
d89a6a337a
boltz extension v2, recurring swaps (#981)
* add status to statusdialog

* first commits for boltz update

* formatting

* add latest boltz-clien package

* big refactor, depending on boltz_client package, clean up, mypy issues, not tested yet

* blacking, sorting and stuff

* remove unused req_wrap helper

* remove api docs from frontend

* bug: frontend boltz limits error

* clean up buttons

* update to boltz-client 0.0.8

* fix tests to poetry version 1.3.1

* update requirements

* formatting

* recurring swap works now, need more finetuning

* add exceptions for multiple auto swaps and swapping in with active auto swap

* black

* auto reverse swap actually works :)

* remove swap status dialogs

* update to boltz_client 0.0.9

* update to boltz-client 0.1.1, and fix startup

* update requirement.txt for boltz-client

* fixup columns in table, remove unused payment.extra, change deezy label

* remove balance check for auto swap out

* update boltzc-lient to 0.1.2, fix mypy issue inside boltz package

* nitpicks calle tasks.py

* calle nitpicks crud

* calle nitpicks crud

* refactor

* fix formatting

* circular import

* black :)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-01-19 10:30:47 +01:00
calle
17f5b734b2
Cashu 0.8 (#1370)
* support cashu 0.8

* dont comment out script

* update cashu logo on mint page

* fixing versions

* installing cashu from pypi works

* update requirements.txt
2023-01-15 11:24:11 +01:00
calle
97fd5eac8f
Update pyproject.toml 2023-01-12 15:47:42 +01:00
dni ⚡
08c485e34b add only 1 general author 2023-01-12 07:54:30 +01:00
calle
a3f7636db0 Update pyproject.toml 2023-01-12 07:53:22 +01:00
dni ⚡
1cc3801e38 invalid author string -.- 2023-01-12 07:53:22 +01:00
dni ⚡
12688efd5f add additional data 2023-01-12 07:53:22 +01:00
callebtc
c3ded0b51c come on bro 2023-01-11 18:01:21 +01:00
callebtc
6afdff0f29 relative import 2023-01-11 12:49:11 +01:00
callebtc
c57ddf6aff ignore livestream 2023-01-11 12:40:02 +01:00
calle
b8dd74299d
Merge pull request #1336 from lnbits/mypy_fix_ignore_missing_imports
fix: mypy - constrain `ignore_missing_imports = "True"`
2023-01-11 12:12:53 +01:00
dni ⚡
31c8973f93 remove livestream from mypy ignore and remove dead code from smtp 2023-01-10 11:09:09 +01:00
Vlad Stan
9ed5a19bd0 Revert "fix: narrow down the list of ignore_missing_imports modules"
This reverts commit 7b6dfe1f498646cefe1bd8a5f25f3abe2d341b36.
2023-01-10 09:45:12 +02:00
Vlad Stan
c54a0b4f2a fix: narrow down the list of ignore_missing_imports modules 2023-01-10 09:45:12 +02:00
Vlad Stan
5ce79d9440 chore: use list[] instead of csv for ignore_missing_imports 2023-01-10 09:45:12 +02:00
Vlad Stan
c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
Vlad Stan
e97fb086cc feat: explicitly specify for which modules to ignore_missing_imports 2023-01-10 09:44:52 +02:00
dni ⚡
66c0aac3a1 fix mypy lnurldevices issues 2023-01-09 16:35:42 +01:00
dni ⚡
6ea5069835 fix mypy watchonly issues 2023-01-09 10:30:09 +01:00
calle
3ecdad42a5
Merge pull request #1296 from lnbits/fix/mypy-lnaddress
fix lnaddress mypy issues
2023-01-05 13:09:01 +01:00
calle
997d3726f0
Merge pull request #1297 from lnbits/fix/mypy-boltscard
fix boltscard mypy issue
2023-01-05 13:03:34 +01:00
dni ⚡
6e1d0cf109 fix mypy satspay issues 2023-01-05 12:47:53 +01:00
dni ⚡
2949253cb2 fix boltscard mypy issue 2023-01-05 12:27:43 +01:00
dni ⚡
8b60c64ade fix lnaddress mypy issue 2023-01-05 12:02:23 +01:00
Arc
301a784e95
Merge pull request #1282 from lnbits/fix/mypy-streamalerts
fix streamalert mypy issues
2023-01-05 07:54:51 +00:00
dni ⚡
30eccab53c fix invoices mypy issues 2023-01-04 22:49:10 +01:00
dni ⚡
6800e93d7a fix mypy streamalerts issues 2023-01-04 21:51:38 +01:00
ben
71f2923ee1 Merge branch 'main' into fix/mypy-offlineshop 2023-01-04 19:39:01 +00:00
Arc
c18ba12ca9
Merge pull request #1288 from lnbits/fix/mypy-lndhub
fix lndhub mypy issues
2023-01-04 19:33:43 +00:00
Arc
76eb5a9309
Merge pull request #1290 from lnbits/fix/mypy-withdraw
fix mypy issue on withdraw + some refactoring
2023-01-04 19:31:27 +00:00
Arc
8931cceb97
Merge pull request #1281 from lnbits/fix/mypy-tpos
FIX: tpos mypy issues
2023-01-04 19:14:59 +00:00
Arc
9408b0e2d4
Merge pull request #1286 from lnbits/fix/mypy-lnurlp
fix lnurlp and lnurlpayout mypy issue
2023-01-04 19:10:15 +00:00
dni ⚡
2b65682960 inbetween withdraw commit 2023-01-04 16:29:47 +01:00
dni ⚡
45acfb353d fix lndhub mypy issues 2023-01-04 14:01:18 +01:00
dni ⚡
799451ce49 merge main 2023-01-04 13:45:18 +01:00
dni ⚡
9d2ef274b9 fix lnurlp and lnurlpayout mypy issue 2023-01-04 13:24:45 +01:00
dni ⚡
cef6382e7a fix mypy offlineshop issues 2023-01-04 12:21:12 +01:00
dni ⚡
908369efff fix tpos mypy issue 2023-01-04 11:32:33 +01:00
calle
fb215ed2e3
Merge pull request #1269 from lnbits/fix/mypy/events
fix mypy issues for events
2023-01-04 09:14:23 +01:00
calle
dd65935b80
Merge pull request #1275 from prusnak/mypy-extension-paywall
fix mypy for lnbits/extensions/paywall
2023-01-04 09:10:49 +01:00
calle
82903071b8
Merge pull request #1276 from prusnak/mypy-extension-splitpayments
fix mypy for lnbits/extensions/splitpayments
2023-01-04 09:10:38 +01:00
Pavol Rusnak
2c1d02940d
fix mypy for lnbits/extensions/lnticket 2023-01-03 23:32:18 +01:00
Pavol Rusnak
0efc27993e
fix mypy for lnbits/extensions/splitpayments 2023-01-03 23:25:42 +01:00
Pavol Rusnak
236fe9f8eb
fix mypy for lnbits/extensions/paywall 2023-01-03 23:21:17 +01:00
calle
56e74f28be
Merge pull request #1270 from lnbits/fix/mypy/scrub
fix scrub for mypy
2023-01-03 12:38:37 +01:00
callebtc
a6cb1267e8 merge main 2023-01-03 12:23:11 +01:00
calle
f6ec1bc92c
Merge pull request #1262 from lnbits/fix/mypy/tipjar
fix tipjar mypy
2023-01-03 12:21:16 +01:00
callebtc
15bb0f3924 remove hivemind and lnurlpayout from mypy ignore list 2023-01-03 11:08:46 +01:00
dni ⚡
3824a108aa fix scrub for mypy 2023-01-02 11:25:01 +01:00
dni ⚡
dd645f8822 fix events for mypy 2023-01-02 11:18:25 +01:00
dni ⚡
bf69e91cae fix mypy for nostrnip5 ext 2022-12-30 09:46:45 +01:00
dni ⚡
8e344ecf4b gerty mypy fixes 2022-12-30 09:24:31 +01:00
dni ⚡
4b388475ce fix tipjar mypy issues 2022-12-30 08:48:31 +01:00
Arc
b1e08744ff
Merge pull request #1225 from leesalminen/main
New Extension: NIP-05 Verification
2022-12-29 22:32:42 +00:00
ben
861f1e585e added to ignore 2022-12-29 22:18:42 +00:00
Lee Salminen
ad572f267a Merge branch 'main' of github.com:leesalminen/lnbits-legend 2022-12-20 08:45:11 -06:00
Lee Salminen
4e996c821e format and mypy 2022-12-20 08:44:28 -06:00
dni ⚡
c90f7878d7 fix usermanager mypy 2022-12-20 13:14:49 +01:00
Vlad Stan
2eeef5c1ed
Merge branch 'main' into FinalAdminUI 2022-12-16 12:21:25 +02:00
callebtc
cef4244bfc update to cashu 0.6.0 2022-12-15 00:33:24 +01:00
dni ⚡
4702448ecf fix satspay settings 2022-12-01 12:28:28 +01:00
callebtc
04c77be523 bump cashu to 0.5.5 2022-12-01 12:21:25 +01:00
callebtc
33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
calle
2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
callebtc
2a9bec55b9 lock cashu version 2022-12-01 12:21:25 +01:00
callebtc
e790a5567b update cashu 2022-12-01 12:21:25 +01:00
callebtc
175516f8e4 update to cashu 0.5.3 with db fix 2022-12-01 12:21:25 +01:00
callebtc
01f83dce3f cashu update 2022-12-01 12:21:25 +01:00
callebtc
da61ade4d0 works 2022-12-01 12:21:25 +01:00
callebtc
c2d2366390 adjust versions to import cashu 2022-12-01 12:21:24 +01:00
callebtc
544765cf6b can install cashu 0.4.1 2022-12-01 12:21:24 +01:00
callebtc
df59e5475e restore pyproject 2022-12-01 12:21:24 +01:00
callebtc
b41bd694a1 endpoints work 2022-12-01 12:21:24 +01:00
callebtc
70ca997c11 Revert "adjust versions"
This reverts commit 4303af4f14.
2022-12-01 12:21:24 +01:00
callebtc
2ea636ec9b adjust versions 2022-12-01 12:21:24 +01:00
callebtc
ca0a13346b bump cashu to 0.5.5 2022-11-30 17:44:55 +01:00
callebtc
35c5542b2f restore 7f64f426c2 2022-11-30 16:24:13 +01:00
calle
5c09469d61
Revert "Extension: Cashu" 2022-11-27 18:03:20 +01:00
callebtc
e3187a1d89 lock cashu version 2022-11-26 15:26:32 +01:00
callebtc
9864f2a19c update cashu 2022-11-26 03:01:06 +01:00
callebtc
0735b5bf7d update to cashu 0.5.3 with db fix 2022-11-26 02:14:39 +01:00
callebtc
7bfd8f3a62 overwrite mock data 2022-11-24 16:08:12 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
dni ⚡
604e52c45d
more mypy extension fixes (#1096)
* mypy fix jukebox

* mypy fix ngrok

* mypy fix satsdice

* remove exts from mypy exclude
2022-11-19 14:42:10 -06:00
callebtc
dd37368d98 cashu update 2022-11-04 19:43:23 +01:00
dni ⚡
5aa9cdd456 remove enviroms 2022-10-25 09:20:16 +02:00
dni ⚡
09871bbabc
fix mypy for extensions (#873)
* explicitly exclude all extensions from mypy

* fix example extension mypy

* fix subdomains extension mypy + 1 type error fixed

* fix mypy discordbot

* mypy check copilot extensnion

* copilot black

* add invoices ext to ignore

* add boltz and boltcard

* copilit id is necessary

* was discordbot is ok

Co-authored-by: dni <dni.khr@gmail.com>
2022-10-24 16:29:30 +02:00
callebtc
e8e4c7f9c3 works 2022-10-24 09:26:32 +02:00
callebtc
ec6bb1624a adjust versions to import cashu 2022-10-21 15:15:43 +02:00
callebtc
c10a2b647f can install cashu 0.4.1 2022-10-18 11:24:45 +02:00
callebtc
ef056d1647 restore pyproject 2022-10-18 11:20:53 +02:00
callebtc
d40298673c endpoints work 2022-10-13 22:10:33 +02:00
calle
5a12f4f237
Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
calle
4ad3c84152
downgrade pyln from 0.12.0 to 0.11.1 (#1021) 2022-09-30 13:55:46 +02:00
dni ⚡
8e06d779e7
add dependencies for corelightning and lndgrpc (#1003)
* add dependencies for corelightning and lndgrpc

* added wrong cln library, 🤦
2022-09-23 16:56:14 +03:00
dni ⚡
8305ebe6e8
fix scss error on poetry install (#989) 2022-09-23 11:02:44 +03:00
fusion44
b47685f8aa
Updates and fixes (#912)
* feat: add support for python 3.10

* fix: move all in-line comments to their own line

On some systems the environs package was uable to parse values as it
tried read the comments as code...
2022-09-23 11:02:23 +03:00
calle
8535d70d36
Poetry dev (#837)
* black and isort for tests

* black and isort for build

* use poetry in Makefile, update pyproject.toml dependencies and add configs for black, pytest, mypy, isort there

* switching github workflow to poetry

* set mininum version to python 3.7

* fix tests

* add types-protobuf to dev packages

* fix cln regtest

* update docs

* try fix 1

* mypy fix2

* fix isort formatting workflow

* add prettier to dev docs

* multiple valid python version for pyproject

* update poetry.lock

* remove development installation, not needed anymore

* fix migration workflows

* format into one test

* fix yaml

* fix pipeline

* fix pipeline

* fix again

* fix

* rename checks

* remove venv tests

* venv test once

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-03 14:10:32 +02:00
ben
b8c1b2ad8f Set dep in poetry 2022-08-01 18:58:36 +01:00
ben
cb87b55e9d format 2022-08-01 18:48:56 +01:00