benarc
8e1b8daf36
Replacing envs in settings breaks thing
4 years ago
benarc
b24568d809
Admin ext working
4 years ago
benarc
04f69ee16d
admin ext working
4 years ago
benarc
d5d92ef1c2
Extension updates admin tables
4 years ago
benarc
750cafc8da
Removed balance in admin panel for now,
Getting funding source info, such as balance should be a separate PR
4 years ago
benarc
6fc74e06fd
Pulls env into /admin, then updates admin/funding DB
4 years ago
benarc
d6018f7c00
Trying to get node info from vue to flask
4 years ago
benarc
7533b1b0b0
Adding funding source balance to admin ext
So far only lnpay works
4 years ago
benarc
da4059e039
Added topup function to admin extension
4 years ago
benarc
09f85b293c
Fixed gap between extension thumbs
4 years ago
benarc
6b290978b4
Made an Admin extension, only accessible by admin
4 years ago
benarc
533ba36a1b
Black and prettier
4 years ago
benarc
826cc87af0
Form pulls value from env and saves in DB
Also edit, and redirects to the admin wallet (although nothing to make that obvious currently)
4 years ago
benarc
26ec4b821d
Changed funding source icon
4 years ago
benarc
02d933faba
Fixed spelling
4 years ago
benarc
0ea117c7b0
Admin form mockup
Access from /admin
4 years ago
benarc
e559649633
Reverted tasteful button, and started admin table
4 years ago
benarc
afa75d1493
removed print
4 years ago
benarc
83598094e4
python black
4 years ago
benarc
d15ee6f2db
admin top up complete
4 years ago
benarc
7ba506923e
Admin top up complete
4 years ago
benarc
37b4951f12
prettier code
4 years ago
benarc
6f74bb0c0c
format code
4 years ago
benarc
402efb2e6f
Merge remote-tracking branch 'origin/adminvar' into adminvar
4 years ago
fiatjaf
1e2dd412c7
lnurlp: remove wrong /pay/ segments from docs.
4 years ago
fiatjaf
e6ad42dbe1
update prettier to 2.1.1
4 years ago
benarc
3736fbeb4b
Added admin "Update funds" button
4 years ago
benarc
0f6d292d82
Initial commit for admin var
4 years ago
fiatjaf
1faf0b152c
remove annoying print().
4 years ago
fiatjaf
f4fffc19aa
lndhub extension frontend.
4 years ago
fiatjaf
6210305791
checking pending invoices and payments from lndhub interface.
4 years ago
fiatjaf
ce038193cf
lndhub extension backend.
4 years ago
fiatjaf
5ac91ee2cf
db commits at the right places when sending payments.
fixing vulnerabilities introduced in https://github.com/lnbits/lnbits/pull/90
4 years ago
fiatjaf
4855e2cd3d
make every request a database transaction.
4 years ago
fiatjaf
487f082eb2
take extra care on check_internal()
4 years ago
frennkie
a8e1aa3154
Consider port number on lnurlp URL
fix #86
4 years ago
Arc
afb2cc4339
Update .env.example
4 years ago
Arc
6b94abcfb9
Moved install guide to more prominent position
4 years ago
supertestnet
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.
4 years ago
fiatjaf
130beaf38a
fix undeclared ok error.
4 years ago
fiatjaf
ab6229806c
fix: column is called hash, not payment_hash.
4 years ago
Eneko Illarramendi
d62031b068
chore: let's just call it `flask_migrate`
I think it should stay, because it can come handy for some deployment methods.
4 years ago
Eneko Illarramendi
1bc5e144d3
refactor: clean up __init__ file following some Flask conventions
Flask extensions are loaded in a way that makes them easily reusable by blueprints.
In this commit we are also adding `environs` to manage .env and settings:
breaking changes!
- FLASK_APP=lnbits.app
- LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
4 years ago
fiatjaf
ffa3c3f6a6
python -m lnbits
4 years ago
fiatjaf
b8de30423f
remove walrus operator because python3.7
4 years ago
fiatjaf
c965bca41d
migration tracking.
4 years ago
Eneko Illarramendi
f238b3d1ef
fix: TypedDict import
4 years ago
Eneko Illarramendi
6b33f150c6
fix: revert default python version to 3.7 in Pipfile, closes #85
But tests will be run on both 3.7 and 3.8 as we want to support >= 3.7
4 years ago
fiatjaf
8b7028d728
add VoidWallet and make it the default.
4 years ago
Eneko Illarramendi
23cfe0d417
chore: update github workflows
4 years ago