Commit Graph

116 Commits

Author SHA1 Message Date
Yauhen Huchok
48fc73d9d4
Ability to limit available fiat currencies (#1748)
* feat: limit number of available fiat currencies
* feat: Add allowed currency selector to Admin UI
* motorinas suggestions

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-06-19 12:24:19 +02:00
Arc
dc2a7898f7
Merge pull request #1564 from jackstar12/remove-disabled-extensions
remove lnbits_disabled_extensions
2023-03-07 13:20:56 +00:00
Arc
2787d5c6b6
Merge pull request #1542 from lnbits/pullntxbot
RIP Lntxbot, thank you for all your help building LN, you will be missed :(
2023-03-07 12:48:44 +00:00
jacksn
0ca4b8dea1 remove lnbits_disabled_extensions from .env.example and admin ui 2023-03-05 21:44:25 +01:00
dni ⚡
6f194fe2f8
introduce baseurl and remove force_https (#1549)
* introduce baseurl and remove force_https

* calle's suggestions
2023-02-28 13:45:43 +01:00
Ben Arc
de445aa593 LNtxbot mentioned in a few more places 2023-02-23 11:46:29 +00:00
Ben Arc
cbde5744aa RIP Lntxbot, thank you for all your help building LN, you will be missed :( 2023-02-23 11:41:44 +00:00
Ben Arc
9f049c1952 Added cyber theme
Because we all liked the theme from this pr https://github.com/lnbits/lnbits/pulls?page=2&q=is%3Apr+is%3Aopen
2023-02-20 22:41:11 +00:00
Vlad Stan
61fb44a04e feat: add default extension install (LNBITS_EXTENSIONS_DEFAULT_INSTALL) 2023-02-16 10:48:12 +02:00
calle
52e654af86
respect https setting in admin ui link (#1416)
* respect https setting in admin ui link

* make format
2023-01-30 11:30:23 +01:00
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