Commit Graph
100 Commits
Author SHA1 Message Date
dni ⚡andGitHub 2473e0e962 FEAT: lock name inside package-lock, by adding name to package.json (#1616) 2023-04-11 10:31:44 +02:00
dni ⚡ 255638a9ce remove elif for vlad 2023-04-05 11:39:01 +02:00
dni ⚡ 50149c360c add assert 2023-04-05 11:38:07 +02:00
dni ⚡ 6fae6dab92 remove *1000 for fake 2023-04-05 11:35:09 +02:00
dni ⚡ be5f909d1c merge issue in lnd_rest 2023-04-04 08:00:43 +02:00
dni ⚡ 2a1a0f3a2f fix pyright issues 2023-04-04 07:49:13 +02:00
dni ⚡ 5dbd9a9192 add some assert description 2023-04-04 07:35:20 +02:00
dni ⚡ 1f6a961840 fix cln mypy 2023-04-04 07:35:20 +02:00
dni ⚡ 0822058661 fix newly introduced pyright issue from rebase 2023-04-04 07:35:04 +02:00
dni ⚡ 7be46587db do not ignore core and wallets for pyright, bug probably got introduced while rebasing... 2023-04-04 07:35:04 +02:00
dni ⚡ fa58a5fa4c flake it 2023-04-04 07:35:04 +02:00
dni ⚡ 486631b455 move middleware to middleware.py 2023-04-04 07:35:04 +02:00
dni ⚡ 435743a265 add **kwargs to create_invoice functions 2023-04-04 07:34:51 +02:00
dni ⚡ 72386033a9 formatting 2023-04-04 07:34:51 +02:00
dni ⚡ 69c0cd0276 asserting broke payments 2023-04-04 07:34:51 +02:00
dni ⚡ abfee29676 uncomment webhook_listerner and add TODO 2023-04-04 07:34:50 +02:00
e59a218912 bugfix: 500 error if same wallet tries to pay an external invoice twice (#1594)
* bugfix: 500 error if same wallet tries to pay an external invoice twice

* fstring

* log the error

---------

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-04-03 15:34:55 +02:00
8ce84ce592 FEAT: Filters for GET requests, add it to GET /payments (#1557)
* feat filters, add them to GET payments

* add limit and offset to filters (#1563)

* add limit and offset to filters
* move filters example to parse_filters doc string

* black

* add openapi docs

* remove example commentC

* improve typing and make nested filter possible in openapi

* typo in fn name

* readd Type

---------

Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-04-03 14:55:49 +02:00
fe9e821af5 BUG: proper exception for already paid internal invoices (#1593)
* BUG: proper exception for paid interal invoices

* test should now fail, because we pay invoice twice, and should also work in regtest

* sorting

* unpack check_internal

* introduce another crud fn for checking internal paid payment

* rename

---------

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-04-03 14:44:17 +02:00
dni ⚡andGitHub a9bdf24425 FEAT: use versioning for frontend (npm) and copy it to lnbits/static/vendor for easier updating (#1590)
* remove static/vendor

* add node dependencies

* add bolt11-decoder

* run npm install inside dockerimage

* only use bundle.js and bundle.css

* use node_modules for bundling vendor assets

* remove dead code

* make argument optional

* reintroduce vendor dir

* reintroduce vendor and single javascript files, minification

* wrong moment, remove minification

* lock packages with non critical issues

* black
2023-03-31 12:46:24 +02:00
dni ⚡andGitHub 43c9c9754b FEAT: #1552 add copy payment_hash to payment details (#1591)
* add copy to payment details

* icon for calle
2023-03-30 14:30:50 +02:00
dni ⚡andGitHub 9127ebc621 FIX: admin topup to use payment_hash (#1588)
* FIX: admin topup to use payment_hash

* flake8
2023-03-30 14:21:01 +02:00
dni ⚡andGitHub 407a61cd29 add version to fastapi app and startup log (#1568)
* add version to fastapi app and startup log

* move version into settings

* remove unused dep
2023-03-30 14:19:45 +02:00
4dd206da2a good bye venv (#1569)
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-03-16 16:45:23 +01:00
dni ⚡ 552f253b5d bump to version 0.10.3 2023-03-10 14:01:46 +01:00
dni ⚡ 3fa4135a12 non interactive install 2023-03-09 16:01:52 +01:00
dni ⚡ a8f534cd2e postgres-client version 14... 2023-03-09 15:10:50 +01:00
dni ⚡ c58fac39cd fix flake error: #1088 2023-03-09 14:50:11 +01:00
dni ⚡ 161cb9cfbc remove build not needed, create the right datadir, add postgres-client for pg_dump backup functionality 2023-03-09 13:48:44 +01:00
dni ⚡andGitHub f2849a6e68 update version (#1570) 2023-03-08 13:55:58 +01:00
dni ⚡ 194b063311 fix prettier 2023-03-07 12:40:19 +01:00
dni ⚡ 235513f2ef fix if for voidwallet warning 2023-03-07 12:28:52 +01:00
dni ⚡ 6cf1d97d5a FEAT: add db export admin route for pg and sqlite, add to adminui 2023-03-02 15:22:39 +01:00
dni ⚡ 8410776ffb only make it fallback when adminui is enabled 2023-03-02 12:07:20 +01:00
dni ⚡ e93fbd24be FEAT: add funding source fallback and VoidWallet warning for frontend 2023-03-02 12:03:58 +01:00
dni ⚡ a5edcc94ff fix version to 0.10.0 2023-03-01 16:48:19 +01:00
dni ⚡ 061121d635 FIX: default baseurl should include port 2023-03-01 09:55:29 +01:00
dni ⚡andGitHub 6f194fe2f8 introduce baseurl and remove force_https (#1549)
* introduce baseurl and remove force_https

* calle's suggestions
2023-02-28 13:45:43 +01:00
dni ⚡andGitHub f943ca7d51 remove unused variable for test in makefile (#1540) 2023-02-23 18:15:38 +01:00
dni ⚡andGitHub a154ff3175 fix issue #1506 (#1541) 2023-02-23 11:40:24 +01:00
ca75b328a1 remove invoices (#1515)
* remove invoices

* remove invoices tests

* remove unused tests/extensions dir

* fix issue

* formatting

* test passing locally. and i dont know why

* fix _extension_dir loading

* gitkeep extension dir

* formatting

* remove bundle from check

* do not prettier compliled css

* do not prettier compliled css

* create extension dir, if it does not exists, just to be sure

* Update lnbits/extension_manager.py

---------

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-02-20 15:34:18 +01:00
dni ⚡ bb05703f2b change prettier and reformat stuff 2023-02-20 11:49:00 +01:00
dni ⚡ ca33c276d3 remove watchonly 2023-02-20 11:49:00 +01:00
dni ⚡andGitHub 6dade2edf3 remove satspay (#1520) 2023-02-20 11:23:43 +01:00
dni ⚡andGitHub 5a8db02c60 remove tipjar (#1522) 2023-02-20 11:06:59 +01:00
dni ⚡andGitHub 4211998959 remove lnaddress (#1525)
* remove lnaddress
2023-02-20 09:08:23 +01:00
dni ⚡andGitHub 823956395b remove scrub (#1524) 2023-02-17 18:15:02 +01:00
dni ⚡andGitHub 4494f473a6 remove lndhub (#1523) 2023-02-17 18:03:31 +01:00
dni ⚡andGitHub 451c8f7a9e remove bleskomat (#1521) 2023-02-17 16:06:04 +01:00
dni ⚡andGitHub c49b68600e remove streamalerts (#1503) 2023-02-17 15:23:08 +01:00
dni ⚡andGitHub b5be96836c remove ngrok (#1514) 2023-02-17 15:20:21 +01:00
dni ⚡andGitHub b2c580268e remove market (#1516) 2023-02-17 15:20:05 +01:00
dni ⚡andGitHub 1eb3df60fc remove withdraw (#1517) 2023-02-17 15:19:39 +01:00
dni ⚡andGitHub 967f46f82a remove paywall (#1518) 2023-02-17 15:18:39 +01:00
dni ⚡ 6df8494ed6 remove livestream 2023-02-15 10:58:36 +01:00
dni ⚡ 755b032f17 remove offlineshop 2023-02-15 10:46:39 +01:00
dni ⚡ e1d9bf31d1 remove subdomains 2023-02-15 10:17:13 +01:00
dni ⚡ 7baa248204 remove boltz 2023-02-15 10:06:21 +01:00
dni ⚡ f9ee6041ee remove discord bot 2023-02-14 13:08:23 +01:00
dni ⚡andGitHub db97ef5543 reintroduce extension migration check (#1490)
* reintroduce extension migration check

* introduce checkversions again and remove extensions from dbversions table
2023-02-14 13:06:01 +01:00
dni ⚡andGitHub 3276347d5d remove all extensions from migration data at once (#1489)
* remove all extnesions from migration data at once

* nerf workflow for now

* check dbversions
2023-02-14 12:42:46 +01:00
dni ⚡ a1a85d86ef remove hivemind placeholder extension 2023-02-14 11:35:30 +01:00
dni ⚡ cb475d7f88 remove smtp 2023-02-14 10:50:25 +01:00
dni ⚡ c9e027ca21 removed unused deps 2023-02-08 08:35:46 +01:00
dni ⚡andGitHub b151004476 fix/unused deps (#1473)
* remove unused packages

fixup

* typo in log
2023-02-07 18:09:22 +01:00
dni ⚡ 538f44e6f0 lnadress, fixes for vlad :) 2023-02-07 10:31:05 +01:00
dni ⚡ 9f6dc18be7 subdomain formatting 2023-02-07 10:17:01 +01:00
dni ⚡ 2fb8eb505a try catch subdomain invoice_listener 2023-02-07 10:11:50 +01:00
dni ⚡ e0d9f2d764 fixes for vlad :) 2023-02-07 09:48:11 +01:00
dni ⚡ f547b1f141 add assert message for streamalerts crud 2023-02-07 09:20:05 +01:00
dni ⚡ 8bf4103523 order of make check 2023-02-07 08:55:52 +01:00
dni ⚡ 05bb502bf5 fix watchonly 2023-02-07 08:35:48 +01:00
dni ⚡ 16679c0d65 exclude core from pyright 2023-02-06 13:41:26 +01:00
dni ⚡andGitHub 0dffb2c1a0 moving build file into tools, keep rootdir clean (#1434)
* moving build file into tools, keep rootdir clean

* formatting

* make flake happy
2023-02-01 17:19:56 +01:00
dni ⚡andGitHub 3ac6a98adc TEST: add helpers and a test to pay external invoice (#1414)
* add helpers and a test to pay external invoice

* skip real test in fakewallet

* formatting

* fix test

* formatting
2023-02-01 16:54:07 +01:00
dni ⚡andGitHub b2a963638d TEST: update actions setup-python to v4 and checkout to v3, add caching to python (#1428)
* update actions setup-python to v4 and checkout to v3, add caching to python

* fix ordering of steps for poetry to be cached

* poetry setup ordering

* order in formatting.yml
2023-01-29 11:46:20 +01:00
dni ⚡ 1c3a9d1881 remove lockup_tx from exmaple equation 2023-01-26 14:08:24 +01:00
dni ⚡andGitHub 4ccfe6dfa8 DOC: update install docker docs (#1415) 2023-01-26 11:53:59 +01:00
5a0b217d63 TEST: LNbits as fundingsource in regtest (#1402)
* lnbits funding source

* add create_fake_user to workflow

* change quotes in workflow ymal

* not use interactive docker exec

* update tools/create_fake_admin to not use lnbits imports

* formatting

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-01-26 10:43:12 +01:00
dni ⚡andGitHub 36c881c4ce add eclair fundingsource workflow / test (#1406) 2023-01-25 15:07:41 +01:00
dni ⚡andGitHub 87ef8638b5 fix annoying package-lock (#1405) 2023-01-24 11:40:17 +01:00
dni ⚡ afe43b6bd4 dynamic fee calc 2023-01-24 11:23:09 +01:00
dni ⚡ b197a87eed change boltz fee in example 2023-01-24 11:23:09 +01:00
dni ⚡ 302ed83051 add boltz fee dynamically 2023-01-24 11:23:09 +01:00
dni ⚡ 994070a7a5 update boltz_client to 0.1.3 2023-01-24 11:23:09 +01:00
dni ⚡andGitHub 2976168387 FIX: prettier formatting (#1395)
* prettier

* depreceation warning, and reformatting with new prettier verison
2023-01-23 14:23:30 +01:00
dni ⚡andGitHub e106ec3e9c FIX: improve workflow stability (#1397)
* FIX: improve workflow stability

* just testing

* just testing, nr. 3
2023-01-23 12:57:37 +01:00
d30a6dc5c1 fix jukebox issues introduced from mypy pr (#1387)
* fix jukebox issues introduced from mypy pr

* fix no invoice

Co-authored-by: ben <ben@arc.wales>
2023-01-23 10:17:16 +01:00
b13588dcef DOCS: improve boltz fee information (#1386)
* improve fee information an docs

* review @michael1011

Co-authored-by: ben <ben@arc.wales>
2023-01-23 10:16:27 +01:00
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
dni ⚡ f624b54cfb fix wrong migration 2023-01-12 16:05:25 +01:00
dni ⚡ bb57831c53 fix little issues after refactor :) 2023-01-12 08:05:05 +01:00
dni ⚡ 08c485e34b add only 1 general author 2023-01-12 07:54:30 +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
dni ⚡ 85afb39388 add mission column in sql 2023-01-11 19:24:19 +01:00
dni ⚡ 569990a760 feature request from ben new pr 2023-01-11 19:21:13 +01:00
dni ⚡ 31c8973f93 remove livestream from mypy ignore and remove dead code from smtp 2023-01-10 11:09:09 +01:00
dni ⚡ 840de18a91 fixup 2023-01-09 16:39:31 +01:00
dni ⚡ 66c0aac3a1 fix mypy lnurldevices issues 2023-01-09 16:35:42 +01:00