Commit Graph

79 Commits

Author SHA1 Message Date
Tiago vasconcelos
3f38a9094b create first user on fresh install 2022-10-25 09:20:16 +02:00
Tiago vasconcelos
c41b4e714c typo 2022-10-25 09:20:16 +02:00
benarc
708f855c1d Added old admin extension 2022-10-25 09:20:12 +02:00
calle
3bf3c91007
Add backend: ln.tips (LightningTipBot) wallet (#921)
* add ln.tips

* add wallet

* revert lnbits

* make format

* .env.example

* listener fix

* reconnect fixed

* make format

* make format
2022-10-10 16:12:06 +02:00
Indra
3aa4d09103
Adding missing theme options in conf file
Missing bitcoin theme in comment.
Missing flamingo theme in list of values for LNBITS_THEME_OPTIONS.
2022-10-02 16:45:16 +01:00
fusion44
b47685f8aa
Updates and fixes (#912)
* feat: add support for python 3.10

* fix: move all in-line comments to their own line

On some systems the environs package was uable to parse values as it
tried read the comments as code...
2022-09-23 11:02:23 +03:00
Tiago Vasconcelos
197ff7d054
Core: reserve fee as an .env variable (#631)
* reserve fee as an .env variable

* fixed bad import

* Update .env.example

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

* Update lnbits/core/services.py

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

* Update lnbits/core/services.py

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

* Update lnbits/settings.py

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

* variable consistent names

* fix services.py variable names

* percent default fix

* Update lnbits/settings.py

int to float

* Update lnbits/settings.py

int to float

* Update .env.example

int to float

* make format

* fixed failing bleskomat test, expecting 2000 msats fee

* Update tests/extensions/bleskomat/test_lnurl_api.py

revert to 2 sat

* Update .env.example

* Update lnbits/settings.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-08-13 20:19:08 +02:00
calle
9c19b61e4a
Mega-merge 3: CLN update client lib with descriptionhash support (WIP) (#792)
* CoreLightningWallet
2022-08-01 16:41:50 +02:00
ben
723d7fffd2 Changed back to VoidWallet 2022-08-01 08:58:21 +01:00
ben
940ef26003 format 2022-07-31 23:51:57 +01:00
ben
cac7e1e3c0 Works almost
Stream needs work
2022-07-31 23:46:42 +01:00
calle
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
calle
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
Tiago Vasconcelos
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
calle
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
Arc
f162d14e41
Update .env.example 2022-01-14 09:43:30 +00:00
Charles Hill
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
Arc
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
TS
558f3acfcb changes configuration of environment for Dockerfile and adds the installation procedure to the documentation 2021-06-09 12:09:31 -03:00
keblek
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 K
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
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