Commit graph

487 commits

Author SHA1 Message Date
fusion44
05f686e32f
Merge pull request #171 from cstenglein/refactor_system_conflict
Refactor system conflict
2022-12-04 19:58:54 +01:00
Christoph Stenglein
5918e20303
Merge branch 'main' into refactor_system_conflict 2022-12-04 09:20:15 +01:00
fusion44
5c61c2f942
chore: remove unused import and run pre-commit 2022-12-01 19:14:01 +01:00
fusion44
f04e6aeb21
chore: update gRPC files for CLN v0.12.1 2022-12-01 19:08:29 +01:00
fusion44
b0226dab01
fix: crash when ln node type is an empty string
fixes #169
2022-12-01 18:51:03 +01:00
fusion44
80b163540a
feat: add regtest Dockerfile (LNbits regtest)
See: https://github.com/fusion44/legend-regtest-enviroment
( Currently only works with the forked version )
2022-11-29 21:05:20 +01:00
fusion44
7d65b7c7e6
chore: update gRPC files
Latest gRPC library version introduced breaking changes
2022-11-29 21:03:09 +01:00
fusion44
5edb60ad82
chore: update dependencies 2022-11-28 19:15:26 +01:00
fusion44
86442dde89
feat: implement send all onchain funds flag
refs #139
2022-11-28 19:07:25 +01:00
fusion44
b9f4577d21
docs: update README curl section with auth example 2022-11-26 15:51:39 +01:00
fusion44
cebbdfb0d1
fix: BOOTSTRAPPING_AFTER_UNLOCK event handling
fixes #166
2022-11-26 14:03:52 +01:00
fusion44
1388205ff5
feat: use CLN bookeeper plugin to serve onchain tx
closes #87, refs #99
2022-11-05 22:35:01 +01:00
fusion44
d9ea422e91
feat: get raw transaction data from bitcoin core 2022-11-01 20:46:08 +01:00
qlrd
e256a166f8 Update requirements.txt
Update requirements.txt to suit the hashes described in the piwheels index
2022-10-25 19:57:06 +02:00
Christoph Stenglein
1fc64c24bb
Merge pull request #164 from fusion44/enable-apps
fix warmup data
2022-10-25 19:44:11 +02:00
Christoph Stenglein
5354b7b71d
fix warmup data 2022-10-25 19:37:59 +02:00
Christoph Stenglein
d6c141c72d
Merge pull request #163 from fusion44/enable-apps
re-enable get_app_status
2022-10-25 13:43:06 +02:00
Christoph Stenglein
0f907b91a8
re-enable get_app_status 2022-10-25 06:38:23 +02:00
Christoph Stenglein
2053f0ea3b
remove some unused imports, send correct message on warmup 2022-10-22 14:17:13 +02:00
fusion44
36e2d525b7
fix: setup endpoint not showing on RaspiBlitz 2022-10-22 12:08:05 +02:00
fusion44
f06d84c29f
fix: return auth token as plain text on login 2022-10-22 11:45:59 +02:00
fusion44
3ab007138e
fix: reactivate app status in warmup data
refs #157
2022-10-22 11:09:19 +02:00
fusion44
3ce6c1e549
refactor: port changes from #152 2022-10-22 11:08:54 +02:00
fusion44
04eadf9caa
chore: add changes from main
Due to the heavy refactoring work, it was almost impossible to
normally merge the changes over. The changes where applied
by manually.
2022-10-20 20:38:47 +02:00
fusion44
fe65568f55
Revert "chore: merge changes from main"
This reverts commit e3f0350c72, reversing
changes made to a448dbda8d.
2022-10-19 21:32:47 +02:00
fusion44
e3f0350c72
chore: merge changes from main 2022-10-19 21:19:43 +02:00
fusion44
967a174c17
feat: improve Makefile to run commands with poetry
This way we don't need to run the commands in a `poetry shell`
2022-10-18 20:35:18 +02:00
fusion44
beba4332e7
fix: null access crash when no token was supplied
fixes #158
2022-10-18 19:54:14 +02:00
ChuckNorrison
2d05f20fab has no attribute 'decode' fix for redis db
This will only try to decode if it is needed
2022-10-18 18:06:53 +02:00
fusion44
4393132d1c
fix: properly check token on sse requests 2022-10-17 22:11:17 +02:00
Christoph Stenglein
32c7c4a23c
feat: allow cookie & JWT auth for sse/subscribe (#152)
* return cookie on login and check cookie in sse/subscribe

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* allow cookie & JWT auth for sse/subscribe

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* return token object on login to preserve compatibility

* remove unused import

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-16 21:58:23 +02:00
pre-commit-ci[bot]
682c69d08f
[pre-commit.ci] pre-commit autoupdate (#155)
updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-16 09:41:08 +02:00
ChuckNorrison
169da2598e
feat: stop log spam for missing tor_web_addr (#154)
* Stop log spam for missing tor_web_addr

In case tor is not used, we can not find a tor_web_addr key in redis db. This will prevent from spamming the journal.

* log Redis DB missing Keys as Info

* log level Redis DB 

only tor as info
2022-10-16 09:40:24 +02:00
fusion44
a448dbda8d
fix: more import path fixes 2022-10-09 20:16:49 +02:00
fusion44
4908f99999
fix: import problems and typos 2022-10-04 19:23:09 +02:00
fusion44
ba453e7bdb
refactor: switch to domain driven directory layout 2022-10-03 20:22:00 +02:00
fusion44
e1d5e23db7
refactor: setup implementation decoupling 2022-10-03 19:04:44 +02:00
fusion44
bd19c41fd5
Merge branch 'main' of github.com:fusion44/blitz_api 2022-10-03 10:54:28 +02:00
fusion44
935b2ae57e
chore: update lock and requirements files 2022-10-03 10:53:04 +02:00
fusion44
2941d6132b
fix: raise error when cert file path doesn't exist 2022-10-03 10:51:17 +02:00
fusion44
df93cbdcee
refactor: lightning system decoupling 2022-10-03 10:44:34 +02:00
pre-commit-ci[bot]
799eb8deef [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-02 12:19:23 +00:00
fusion44
81286fec29
refactor: hardware implementation decoupling 2022-10-02 14:18:29 +02:00
fusion44
4f5216b502
chore(deps): bump protobuf from 3.20.1 to 3.20.3
Update all dependencies, not only protobuf.

replaces PR #153
2022-10-02 13:07:14 +02:00
fusion44
a4e9f7bf23
fix: add-invoice crash and update docs
A required field was not set and for some reason prior Pydantic versions
didn't notice at all.

closes #150
2022-09-11 19:33:46 +02:00
fusion44
b181c86b2e
feat: get rid of Impl in class names 2022-09-11 18:32:39 +02:00
pre-commit-ci[bot]
e67b07299b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-09-11 08:45:32 +00:00
fusion44
409174b47a
fix: change setup to use the abstraction layer 2022-09-11 10:37:00 +02:00
fusion44
c3af8ba06a
refactor: system implementation decoupling
refs #143
2022-09-11 10:33:12 +02:00
fusion44
f592ba0b31
feat: define AppsBase as abstract 2022-09-11 10:08:50 +02:00