Commit graph

251 commits

Author SHA1 Message Date
pre-commit-ci[bot]
528ef152f1
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
2022-12-05 20:21:39 +00: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
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
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
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
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
304bbc8c74 fix(tests): test setup 2022-08-24 19:19:58 +02:00
fusion44
fcb23c2fc0 fix: token expiry time check
fixes #105
2022-08-21 20:08:55 +02:00
fusion44
268bcf5072 feat: add support for bitcoin regtest 2022-08-18 20:13:50 +02:00
fusion44
ecfaadd0c1 fix: check for shell scripts only on RaspiBlitz 2022-08-18 20:11:36 +02:00
fusion44
3764d7b4bf
docs: README touch up 2022-08-07 08:17:37 +02:00
fusion44
1fdfd19c6f
feat: add openapi client generator script
refs #142
2022-08-07 07:38:02 +02:00
fusion44
c2f83358db
docs: add a beta disclaimer 2022-08-04 20:54:00 +02:00
fusion44
c6d17a8f8a
feat: improve CLN list channel implementation
refs #140
2022-08-03 20:43:25 +02:00
fusion44
63c4a19f67
refactor: rename list-channel to list-channels
plus some code and docs cosmetics
2022-08-01 21:53:11 +02:00
fusion44
ef34b42119
feat: log negative confirmation results from LND
refs #137
2022-08-01 19:21:29 +02:00
fusion44
565727ac49
fix: properly check for stderr from process 2022-07-31 18:58:58 +02:00
fusion44
f141f2fc46
chore: make pre-commit happy 2022-07-31 18:04:38 +02:00
fusion44
41c689a15f
fix: catch another clightning-cli error message
This error appears when the .lightning folder is not accessible
to the lightning-cli
2022-07-31 18:03:41 +02:00
fusion44
6fada4ce42
feat: add some tx conf safeguards to GenericTx
refs #137
2022-07-31 18:01:02 +02:00
fusion44
2f2a59befd
chore: update issue templates 2022-07-31 16:50:45 +02:00
fusion44
f282e3af8d
fix: add missing imports 2022-07-25 18:07:35 +02:00
fusion44
f940551409
feat: add JWT token auth to SSE endpoint 2022-07-24 21:26:29 +02:00
fusion44
d5d827ec5d
feat[CLN]: add error checks in LN models 2022-07-23 16:36:55 +02:00
fusion44
1479c00935
feat[CLN]: add error checks on local calls 2022-07-23 16:10:48 +02:00
fusion44
554709db14
chore: fix wakatime EOL 2022-07-23 15:12:20 +02:00
fusion44
cdfdba16fa
chore: lock dependencies to latest versions 2022-07-23 15:07:32 +02:00
fusion44
45436bcc8e
fix[CLN]: return onchain funds in sat not msat 2022-07-23 14:48:34 +02:00
fusion44
ce8be908ac
fix: /reboot should reboot and not shutdown 2022-07-23 13:59:38 +02:00