Commit Graph

106 Commits

Author SHA1 Message Date
ben
39f0000fa5 Merge remote-tracking branch 'origin/main' into extension_install_02 2023-01-26 12:39:11 +00:00
calle
f0d58a8365
Wallets: add custom invoice expiry (#1396)
* expiry for fakewallet

* expiry for lnd

* lnbits backend

* fix: eclair descriptionHash fixed and expiry added

* cln and sparko

* test expiry

* Eclair from AdminUI and bugfix for nonexistent payments

* add to settings and .env and remove lntxbot

* remove duplicate and format

* add invoice expiry

* add min max and step

* UI works now

* test should fail, sanity check, will revert

* revert, ready for merge

Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
2023-01-26 11:08:40 +01:00
Vlad Stan
9cca87f738
Merge branch 'main' into extension_install_02 2023-01-25 09:50:54 +02:00
Vlad Stan
d3c05ef300 doc: add LNBITS_EXT_GITHUB_TOKEN 2023-01-18 17:38:51 +02:00
Vlad Stan
1f4f4d93ca feat: add LNBITS_EXTENSIONS_MANIFESTS env var 2023-01-18 17:38:24 +02:00
HamishMacEwan
2eb76d0e26
Additional information
1. Link to details on what and how to include information in a .env file
2. Clarify how to activate the FORWARDED_ALLOW_IPS environment variable for those situations where the proxy is not at the default 127.0.0.1 (most often inside a Docker container.
2023-01-15 14:46:19 +13:00
Sam Korn
265ea16d30
add example configuration for connecting LND over grpc (#1364) 2023-01-14 12:31:00 +01:00
callebtc
c96fd6783b fix super_user check, fixes #1250 2023-01-04 10:41:56 +01:00
Dread
97d1effe1c
Remove duplicate LNBITS_ALLOWED_USERS 2022-12-19 18:55:05 -05:00
Tiago Vasconcelos
f7dd533daa make ad space as a CSV formatted string 2022-12-01 22:16:55 +00:00
dni ⚡
803c9349d4 merge main 2022-12-01 12:37:08 +01:00
callebtc
33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
calle
2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
callebtc
b936d122a3 scrolling works 2022-12-01 12:21:25 +01:00
callebtc
4c38bcbcf3 set private key 2022-12-01 12:21:25 +01:00
callebtc
35c5542b2f restore 7f64f426c2 2022-11-30 16:24:13 +01:00
calle
5c09469d61
Revert "Extension: Cashu" 2022-11-27 18:03:20 +01:00
callebtc
7bfd8f3a62 overwrite mock data 2022-11-24 16:08:12 +01:00
callebtc
f6047d9ea5 revert to PR #1125 2022-11-24 15:43:39 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
ben
3f475bf1ea Defaulted to null in env.example 2022-11-20 17:41:57 +00:00
ben
0c94b159e2 Improved ad space function 2022-11-20 17:29:07 +00:00
ChuckNorrison
db4232f2ce
Documentation improved in example env
LNBITS_ALLOWED_USERS and LNBITS_ADMIN_USERS wants usr string from wallet url

List needs to be comma separated if used more than one user
2022-11-11 12:06:35 +01:00
callebtc
00e8255e0b scrolling works 2022-11-07 15:36:52 +01:00
callebtc
bc35741a8a set private key 2022-11-07 14:00:05 +01:00
dni ⚡
d702e1b6a5
add FORWARDED_ALLOW_IPS variable to .example.env (#1077) 2022-10-26 13:07:34 +02:00
dni ⚡
6db5fb16c8 change comments to use multiple lines 2022-10-25 09:20:16 +02:00
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