Commit Graph
131 Commits
Author SHA1 Message Date
calleandGitHub 8dfb4329d1 ssl cert creation method using openssl (#860) 2022-08-10 10:32:43 +02:00
calleandGitHub 4fc0a25d41 Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745)
* readd lndgrpc

* debug logging

* Use TrackPaymentV2

* /v2/router/track

* lnd_router_grpc

* flag for blocking check

* error handling

* fix name

* regtest lndgrpc

* new test pipeline

* fix env

* check for description hash

* remove unnecessary asserts for clarity

* assume that description_hash is a hash already

* no lock

* description hashing in backend

* restore bolt11.py

* /api/v1/payments with hex of description

* comment

* refactor wallets

* forgot eclair

* fix lnpay

* bytes directly

* make format

* mypy check

* make format

* remove old code

* WIP status check

* LND GRPC docs

* restore cln to main

* fix regtest

* import

* remove unused import

* format

* do not expect ok

* check ok

* delete comments
2022-08-09 11:49:39 +02:00
Vlad StanandGitHub 63849a0894 Generalize conv.py (#849)
* feat: generalize the script for  `sqlite` to `postgres`

* fix: revert db connection params

* doc: remove manual conversion docs

* chore: fix formatting

* fix: add back instructions for `mock_data.zip`

* fix: exclude SQLite tables from migration

* fix: rename `your_extension.db` to `your_extension.sqlite3`
2022-08-09 10:45:50 +02:00
48a57513f4 create new Dockerfile using poetry (#806)
* create new Dockerfile using poetry

* dont use unsure docker hub image

* add example env variable to docker command

* remove copy of lnbits, and order of commands

* add build.py for static files

* add compiled resources to docker ignore, so we don't accidently add it to image

* use generic python

* CMD with arguments

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-04 08:05:51 +02:00
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
calleandGitHub 91fefdb83d migration for extensions (#835) 2022-08-03 11:27:08 +02:00
989c6b51ba Updates to documentation (#574)
* fix: rpc library install when using LND

fixes #563

* chore: improve some out of date docs

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-08-03 10:03:01 +02:00
ArcandGitHub d38ff896f6 update dev docs for internal testing before pushing (#801) 2022-08-03 09:55:20 +02:00
ArcandGitHub 972a1d4ac9 Update installation.md 2022-08-02 22:02:53 +01:00
ArcandGitHub a948f0f8d9 Update installation.md 2022-08-02 22:01:09 +01:00
ArcandGitHub 08fd967f8a Update installation.md 2022-08-02 22:00:55 +01:00
ArcandGitHub 3b6c2b0103 Update installation.md 2022-08-02 21:59:55 +01:00
ArcandGitHub 88ef3a38fc Update installation.md 2022-08-02 21:01:58 +01:00
calleandGitHub 9c19b61e4a Mega-merge 3: CLN update client lib with descriptionhash support (WIP) (#792)
* CoreLightningWallet
2022-08-01 16:41:50 +02:00
ArcandGitHub c075b28a96 Put venv server un direction back 2022-07-31 10:22:29 +01:00
f24d593f00 Fix docker staticfiles (#811)
* Fix staticfiles for docker install

* docker build instructions

* all tests python 3.9

Co-authored-by: cryptoteun <73664763+cryptoteun@users.noreply.github.com>
2022-07-30 17:09:14 +02:00
dni 096778eb43 wrong link 2022-07-29 13:02:43 +02:00
dni 909691bd9b add swagger api docs 2022-07-29 13:01:03 +02:00
dni 2e715d6eea change url 2022-07-29 12:44:42 +02:00
ArcandGitHub e09a1bdf90 Update CNAME 2022-07-29 11:39:35 +01:00
calleandGitHub f22e1e16af build instruction (#800) 2022-07-28 15:26:43 +02:00
ben a7d27467f0 Updated install docs 2022-07-28 11:43:31 +01:00
ben eafefce709 Bye pipenv
Its not personal its just business
2022-07-28 11:19:30 +01:00
ArcandGitHub 04114c82f2 Update installation.md 2022-07-28 11:07:44 +01:00
ArcandGitHub 7f79b5ac7f Update installation.md 2022-07-28 11:06:42 +01:00
ArcandGitHub bb002c6d40 Update wallets.md 2022-07-27 17:57:59 +01:00
ArcandGitHub 8cac577f2f Update installation.md 2022-07-27 15:09:41 +01:00
ArcandGitHub 2b811ec1bb Update installation.md 2022-07-27 15:07:16 +01:00
ArcandGitHub ee1cc28187 Update installation.md 2022-07-27 15:01:23 +01:00
calleandGitHub 96af5fc3a7 CI: Test core/views/generic.py (#772)
* Adds tests for GET /wallet

* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path

* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
calleandGitHub e4df8c52e2 add mkcert instructions (#768) 2022-07-21 14:01:16 +02:00
calleandGitHub ad2aad05e0 CI: Migration SQLite to PostgreSQL (#719)
* migrate all extensions
* errors if migration is missing
2022-07-17 13:11:13 +02:00
ArcandGitHub 37c7553c19 Update installation.md 2022-07-15 08:18:07 +01:00
calleandGitHub 1f13bdeb2f Pipenv/fix install loguru (#732)
* update pipfile

* pipenv workflow

* pipfile jinja

* Pipfile installs dev files

* python3.8 tests only

* version tag yaml

* all tests

* pipenv with pip

* only 3.7

* activate env

* test-pipenv

* pipenv importlib_metadata

* importlib-metadata

* 3.8

* 3.7 only oops

* merge install guides

* install guide in README
2022-07-13 01:15:48 +02:00
BitkarrotandGitHub 46462b4f01 Update extensions.md (#724)
suggestion for gsed on macOS, as sed may not work

reference: https://apple.stackexchange.com/questions/414568/i-get-an-error-sed-1-12d-invalid-command-code-when-i-use-sed-12d-samp
2022-07-11 13:40:46 +02:00
calleandGitHub 63d4e60542 Testing: postgres db backend (#711)
* try postgres run

* fix yaml

* test with postgres

* check with postgres

* inkey_from

* remove trio

* add coverage

* add coverage

* more python testing

* use @pytest_asyncio.fixture

* remove unused imports

* fix api_payment payment lookup

* measure durations
2022-07-07 18:29:26 +02:00
HODLmeTightandGitHub 145b69b259 Adjusted sequencing of the migration script (#651)
lnbits needs to run on postgres once before `python3 conv.py` actually works
2022-06-02 08:51:02 +02:00
calleandGitHub b4a6b5a1d9 serviced fix doc (#645) 2022-06-01 13:25:37 +02:00
Jan PobořilandGitHub 66529c10d0 Fixed docs about LND_REST_ENDPOINT
There should be base URL, not only hostname.
2022-04-13 17:20:24 +02:00
ArcandGitHub a17108f108 Update installation.md 2022-03-22 19:25:30 +00:00
ArcandGitHub b886e5b0ea Merge pull request #528 from CandleHater/patch-2
added "missing" libffi/libpq package
2022-03-07 05:47:29 +00:00
ArcandGitHub 41a9689014 Update installation.md 2022-02-18 17:17:18 +00:00
ArcandGitHub 76edfa2134 Update installation.md 2022-02-18 17:16:49 +00:00
ArcandGitHub d7b3a28950 Update installation.md 2022-02-18 17:16:18 +00:00
ArcandGitHub 2c161a079d Update installation.md 2022-02-18 17:16:03 +00:00
CandleandGitHub 4793ea0d18 added "missing" libffi/libpq package
When I tryed to run "pipenv install --dev" on a Pi 4 with the latest Raspberry OS it failed with two dependencies. These additional installations fixed it.
2022-02-18 16:35:32 +01:00
0764f4fdf1 Support for encrypted macaroons (#521)
* encrypted macaroons

* fix GRPC env entry

* example config entry

* add pycryptodomex to requirements

* documentation

* Added pycryptodomex to pip file

Co-authored-by: Ben Arc <ben@arc.wales>
2022-02-14 17:54:05 +01:00
orangesurfandGitHub 9e8376b3fb Remove suggestion to switch to FastAPI branch (#520)
Branch does not exist
2022-02-14 13:38:22 +01:00
ArcandGitHub 1a492cbfb8 Update installation.md 2022-02-14 11:42:19 +00:00
callebtc 9505958306 systemd guide 2022-01-27 21:07:47 +01:00