Commit Graph

35 Commits

Author SHA1 Message Date
fiatjaf
9185342c72 simplify environment variables required.
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.

this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.

in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
2020-10-08 16:03:21 -03:00
HamishMacEwan
fc6e49b821 Change .env variable names to match lnbits.py
The required values are expected in LNBITS_INVOICE_KEY & LNBITS_ADMIN_KEY according to https://github.com/lnbits/lnbits/blob/master/lnbits/wallets/lnbits.py
2020-10-07 01:27:16 -03:00
fiatjaf
35f8e3334c fix typo: LnbitsWallet -> LNbitsWallet. 2020-10-06 23:04:25 -03:00
fiatjaf
e74cf33f90 broken invoice listener on c-lightning and other fixes around wallets. 2020-10-04 12:05:59 -03:00
fiatjaf
b3c69ad49c invoice listeners support on lnd and other fixes around wallets/ 2020-10-04 12:05:01 -03:00
fiatjaf
e2f6c20e3b update docs so master is runnable. 2020-10-02 14:59:29 -03:00
Eneko Illarramendi
3ab29e6e50 fix: lnbits.com deploy 2020-09-28 23:49:11 +02:00
fiatjaf
5513b34a66 change 1 to true on env vars because that is supported now. 2020-09-15 17:19:11 -03:00
fiatjaf
42c6620a07 quart run settings and hypercorn on docker/Procfile. 2020-09-14 23:28:14 -03:00
Arc
afb2cc4339
Update .env.example 2020-09-08 09:55:31 +01:00
supertestnet
bd48bdc04d
Update .env.example due to recent changes (#91)
The name of the flask app has changed and the word "all" has been eliminated as unnecessary because allowing anyone to use lnbits is the default.
2020-09-07 16:05:50 +02:00
Dennis Reimann
c3281399d2
Improve setup instructions and README
- README cleanups and link to documentation
- Improve dev setup instructions
- Fix js linting errors
- Move local setup instructions to installation docs
- Project link fix, closes #42
- Notes about frontend
- Clarify different LND backends
2020-06-12 20:58:37 +02:00
Eneko Illarramendi
8add56a24c feat: allow limiting the use of LNbits to some user uuids
The `LNBITS_ALLOWED_USERS` env var can be used to limit access
to the application to some uuids only. "all" gives open access.
UUIDs should be comma separated.
2020-05-09 22:30:33 +02:00
Arc
b34a0a9835
Update .env.example 2020-04-25 22:39:30 +01:00
Eneko Illarramendi
4bf93d36c6 refactor: change the WITH_ONION env var and use FORCE_HTTPS instead 2020-04-23 18:37:22 +02:00
Eneko Illarramendi
b1da103080 chore: minor tweaks 2020-04-21 23:47:21 +02:00
Eneko Illarramendi
e1c5e970c4 feat: allow disabling extensions at installation level 2020-04-21 23:17:11 +02:00
Eneko Illarramendi
efb9deb028 feat: remove FEE_RESERVE 2020-04-21 23:17:11 +02:00
Arc
bb2d1ea140
Update .env.example 2020-04-20 20:35:59 +01:00
Eneko Illarramendi
dd23b20090 chore: various tweaks 2020-04-16 20:58:16 +02:00
Arc
7fced84f57
Update .env.example 2020-04-03 13:48:24 +01:00
Arc
0ca5586465
Update .env.example 2020-04-03 11:47:59 +01:00
Arc
908d1cbf24
Update .env.example 2020-04-03 11:24:49 +01:00
Arc
c6f47fc589
Update .env.example 2020-04-02 12:42:36 +01:00
Arc
4533363c49
Update .env.example
Added lnd grpc vars, uses the Zap example
2020-04-02 12:12:03 +01:00
Eneko Illarramendi
d03785558b refactor: a wallet is a wallet is a wallet 2020-03-31 19:05:25 +02:00
Eneko Illarramendi
49addb8d56 refactor: breaking bad 2020-03-08 23:00:41 +01:00
Arc
3b530d4d5e
Update .env.example 2020-02-15 21:16:48 +00:00
Arc
bdecb5aee1
Added lnpay 2020-01-18 10:26:20 +00:00
Arc
b8b42d1475
Added read and invoice macs to lnd 2020-01-16 12:42:03 +00:00
Arc
c304ab4f93
ON credentials 2020-01-12 00:46:09 +00:00
Eneko Illarramendi
47b93a97d6 refactor: unify responses in backend wallets 2020-01-10 21:26:42 +01:00
fiatjaf
5f6585eb45 fee reserve defaults to 0. 2019-12-18 13:44:58 +00:00
Eneko Illarramendi
5849ffc678 refactor: abstract wallets 2019-12-14 10:13:27 +01:00
Eneko Illarramendi
3d3632a06f refactor: add some dev files and black original code
Original server code has been moved to __init__ file, so we can
work on `lnbits` as a package.
2019-12-13 17:56:19 +01:00