Commit graph

273 commits

Author SHA1 Message Date
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
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
fusion44
df08eff14f
refactor: move call script back to core_utils 2022-09-11 08:13:22 +02:00
fusion44
52edecd0c9
refactor: app implementation decoupling 2022-09-10 22:14:37 +02:00
fusion44
a31b2e0f9c
Merge branch 'main' into refactor_system 2022-09-10 16:24:40 +02:00
fusion44
4408a6a58c
fix: disable fetching app status during warmup
On native Linux this was causing the API to ask for root password

refs #143
2022-09-10 15:54:22 +02:00
fusion44
6098c70eee
refactor: send_sse_message to broadcast_sse_msg 2022-09-10 15:52:11 +02:00
fusion44
69d8032900
refactor: sse code into dedicated SSEManager class 2022-09-10 15:48:03 +02:00
fusion44
49bdbab66d
refactor: use a Queue instead of Redis for SSE
refs #60
2022-09-10 13:53:09 +02:00
fusion44
c86a687348
chore: update dependencies 2022-09-10 13:42:50 +02:00
fusion44
eed0beecfa
fix: properly lock dependencies 2022-09-10 07:50:19 +02:00
fusion44
09f5131bc9
Merge pull request #147 from fusion44/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-09-10 07:45:16 +02:00
fusion44
3865d89fd5
feat: configure node acces via file paths
closes #146
2022-09-10 07:43:16 +02:00
pre-commit-ci[bot]
c665e5abab
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
2022-09-05 19:55:10 +00:00
fusion44
0ad597cd90 refactor: move login to platform specific files
refs #143
2022-08-24 20:56:40 +02:00
fusion44
304bbc8c74 fix(tests): test setup 2022-08-24 19:19:58 +02:00