Vlad Stan
b380108a4f
doc: add SUPER_USER
field ( #2097 )
2023-11-13 14:10:53 +02:00
Pavol Rusnak
5b62f1c586
make example paths in .env.example less confusing
2023-11-07 18:25:01 +01:00
HODLmeTight
a2469abebd
Enable Node Management via .env
...
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
2023-10-28 18:53:55 +02:00
dni ⚡
4ec6a055d9
feat: add file logging ( #2023 )
...
logs into `lnbits.log` with info loglevel and `debug.log` with DEBUG loglevel
files will be saved into `LNBITS_DATA_DIR`.
retentions is configurable but defaults to `90 days`
* added log rotation aswell
---------
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2023-10-12 11:24:05 +02:00
Pavol Rusnak
ba0e431199
add possibility to turn off new registrations ( #2017 )
...
with LNBITS_ALLOW_NEW_ACCOUNTS=false
while keeping existing users functional (i.e. no allowlist for existing users)
2023-10-11 13:46:27 +02:00
Tiago Vasconcelos
d79a55b4c6
Don't create user if allowed users is set ( #1822 )
...
* dont allow creating of users when allowed users are set
* add info to .env.example
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-09-26 08:08:36 +02:00
Vlad Stan
c536df0dae
Support custom path for installed extensions ( #1940 )
...
* feat: the more you fuck around the more you learn
* feat: backwards compatible static file loading
* refactor: update paths for extension files
* refactor: var renaming
* doc: update `LNBITS_EXTENSIONS_PATH` documentation
* fix: default folder install
* feat: install ext without external path
* doc: `PYTHONPATH` no longer required
* fix: add warnings
* fix: missing path
* refactor: re-order statements
* fix: hardcoded path separator
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-09-25 12:44:29 +02:00
callebtc
0b3d5bbe0e
[CORE] Document CoreLightningRestWallet ( #1920 )
...
* document CoreLightningRestWallet
* pushed to comment
* fixed base64 comment
---------
Co-authored-by: Ben <ben@arc.wales>
2023-09-12 12:14:47 +02:00
callebtc
3a653630f1
Wallets: add cln-rest ( #1775 )
...
* receive and pay works
* fix linter issues
* import Paymentstatus from core.models
* fix test real payment
* fix get_payment_status check in lnbits
* fix tests?
* simplify
* refactor AsyncClient
* inline import of get_wallet_class
fixes the previous cyclic import
* invoice stream working
* add notes as a reminder to get rid of labels when cln-rest supports payment_hash
* create Payment dummy classmethod
* remove unnecessary fields from dummy
* fixes tests?
* fix model
* fix cln bug (#1814 )
* auth header
* rename cln to corelightning
* add clnrest to admin_ui
* add to clnrest allowed sources
* add allowed sources to .env.example
* allow macaroon files
* add corelightning rest to workflow
* proper env names
* cleanup routine
* log wallet connection errors and fix macaroon clnrest
* print error on connection fails
* clnrest: handle disconnects faster
* fix test use of get_payment_status
* make format
* clnrest: add unhashed_description
* add unhashed_description to test
* description_hash test
* unhashed_description not supported by clnrest
* fix checking_id return in api_payments_create_invoice
* refactor test to use client instead of api_payments
* formatting, some errorlogging
* fix test 1
* fix other tests, paid statuses was missing
* error handling
* revert unnecessary changes (#1854 )
* apply review of motorina0
---------
Co-authored-by: jackstar12 <jkranawetter05@gmail.com>
Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-08-23 08:59:39 +02:00
dni ⚡
f384c5c366
Increase default invoice expiry to 1 hour ( #1825 )
...
* more reasonable default expiry
600 = 10 minutes which is a pretty short amount of time, for example when using lnbits fundingsource inside lnbits itself it would fail if you do a submarine swap or anything involved with hold invoices
i think 3600 = 1 hour should not make a difference in performance and is a way more reasonable expiry
* change default in .env.example
---------
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-07-19 13:13:46 +02:00
Arc
7e1f43933d
Adds security tools, such as a rate limiter, IP block/allow, server logs ( #1606 )
...
* added ratelimiter
* Adds server logs to admin ui
* Added IP allow/ban list
* fixed remove ips
* Split rate limit number and unit
* security tab and background tasks for killswitch
* fix test for auditor api
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-06-20 11:26:33 +02:00
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