Commit Graph
68 Commits
Author SHA1 Message Date
6a3a72b944 Uvicorn loguru format (#741)
* use loguru formatting for uvicorn logs

* remove depth from logging interceptor

* format for uvicorn

* black

* isort

* black again

* python3-dev

* python3-dev

* leaner pipeline

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-15 19:54:12 +02:00
calleandGitHub 089313f613 Logging with loguru (#708)
* logging

* requirements

* add loguru dependency

* restore it

* add loguru

* set log level in .env file

* remove service fee print

* set log level

* more logging

* more logging

* more logging

* pyament.checking_id

* fix
2022-07-07 14:30:16 +02:00
77fbea25af Allow for custom image logo (#642)
* first test

* add custom URL logo

* some styling

* fixed typo, wrong import

* Update .env.example

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-06-08 16:23:36 +02:00
Tiago vasconcelos e0504a4e0c add eclair variables to .env example 2022-05-05 15:55:01 +01:00
benarc a36ad05fe0 Added .env for theme 2022-04-20 11:20:39 +01:00
Ben Arc ff70efd1eb Removes LNDRPC, if someone wants to fix we can implement again 2022-03-11 14:13:28 +00:00
benarc 4a588dda1b Added ad space and option to turn off api docs 2022-02-23 13:51:30 +00:00
Ben Arc e9065833c0 Fixed themes, added bitcoin theme 2022-02-17 21:34:36 +00: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
benarc 6bc1474c19 Organised .env 2022-02-07 20:48:48 +00:00
benarc 8db19f33e3 Removed key for password that generates a key 2022-02-03 12:52:51 +00:00
benarc 8a43611232 added .env for custom denomination 2022-02-02 17:29:57 +00:00
Ben Arc f5069f9699 Added admin users to .env 2022-01-31 12:04:12 +00:00
Ben Arc 68ba219096 added FakeWallet to .env 2022-01-31 12:00:55 +00:00
Ben Arc 7c3b3ac200 Fake wallet working 2022-01-31 11:07:29 +00:00
benarc c96e7068e5 initi 2022-01-30 10:41:20 +00:00
ArcandGitHub f162d14e41 Update .env.example 2022-01-14 09:43:30 +00:00
Charles Hillandfiatjaf 7cefd200aa lntxbot.bigsun.xyz will expire soon, use lntxbot.com instead
See: https://twitter.com/lntxbot/status/1457341136918482945
2021-12-17 19:55:31 -03:00
ArcandGitHub ca29c3f238 Update .env.example 2021-07-07 11:06:11 +01:00
Tiago vasconcelos 3f6393a943 Small fix to disable all extensions 2021-07-05 10:02:36 +01:00
Ben Arc 0ea661babb disabled ngrok 2021-07-03 16:51:11 +01:00
Ben Arc e7ea390d10 disabled in .env 2021-07-03 16:49:39 +01:00
fiatjaf 50e3d3803b add more db instructions to .env.example. 2021-07-02 19:10:57 -03:00
fiatjaf 2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
Ben Arc ae0849143b Easier to customise title/tagline
Also added description that can replace frontpage blurb
2021-07-02 12:31:05 +01:00
Tiago vasconcelos 277460edb7 final push for themes 2021-07-01 12:34:50 +01:00
Ben Arc e8c2a5f968 Added subdomain readme link 2021-07-01 00:20:41 +01:00
Tiago vasconcelos 87d12634f7 Read .env themeing colors
- allowed/availabe themes defined by admin
2021-06-30 17:00:56 +01:00
Ben Arc 893801b30e Added env var to be checked
Theme options available to users could be limited here
2021-06-29 09:42:46 +01:00
Ben Arc 8f441f32b5 added envs, testing color switch 2021-06-28 22:57:23 +01:00
TSandfiatjaf 558f3acfcb changes configuration of environment for Dockerfile and adds the installation procedure to the documentation 2021-06-09 12:09:31 -03:00
keblekandfiatjaf f4c3ac18b6 Adding comment for LNPay
Adding what they are called in the website to add clarity
2021-06-04 16:26:39 -03:00
Tim KandGitHub b9b8e6a162 Update LNPay endpoint 2021-04-11 16:06:39 -04:00
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
HamishMacEwanandfiatjaf 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
ArcandGitHub afb2cc4339 Update .env.example 2020-09-08 09:55:31 +01:00
supertestnetandGitHub 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 ReimannandGitHub 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
ArcandGitHub 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