fiatjaf
d3fc52cd49
migrate to sqlalchemy-aio.
...
a big refactor that:
- fixes some issues that might have happened (or not) with asynchronous
reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121 ;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -03:00
Christian Rotzoll
f877dde2b0
fix #125 qrcode printing ( #126 )
...
Authored-by: rootzoll <rotzoll@MacBook2020.fritz.box>
2020-11-19 22:18:22 -03:00
fiatjaf
594e28eab7
formatting.
2020-11-18 22:26:30 -03:00
fiatjaf
a67b93108b
log errors on faulty lnpay webhooks.
2020-11-12 15:33:02 -03:00
fiatjaf
a198842f50
wallet name on <title>
2020-11-12 15:32:41 -03:00
fiatjaf
22b31a91c7
Merge pull request #122 from lnbits/lnurl-auth
2020-11-12 10:02:55 -03:00
fiatjaf
54881d777e
lnurl-auth: show wallet name on modal.
2020-11-11 22:43:01 -03:00
fiatjaf
b7e337b0ee
lnurl-auth: show the correct wallet linking_key on modal.
2020-11-11 22:42:40 -03:00
fiatjaf
b794f8302d
lnurl-auth: hashing_key -> linking_key.
2020-11-11 22:37:55 -03:00
fiatjaf
805000cd06
fix ecdsa signing because these libraries are too naïve.
2020-11-11 02:41:41 -03:00
fiatjaf
bb94dc6526
fix perform_lnurl error handling.
2020-11-11 02:40:41 -03:00
fiatjaf
d4e30356c7
fix: return "message" instead of "error" so it is handled better at the client.
2020-11-10 22:59:50 -03:00
fiatjaf
4456dd6f59
catch stderr when running git subprocess outside of a git repo.
2020-11-10 22:29:52 -03:00
fiatjaf
eaec3480e6
lnurl-auth from lnbits wallets to services.
2020-11-10 11:36:10 -03:00
fiatjaf
8f1ae1646e
opennode: fix webhook handling (json -> urlencoded data).
2020-11-09 09:38:06 -03:00
benarc
d75c69cd10
fixed first opennode bug
...
Opennode funding source isnt working, there are a few bugs. This fixes the first
2020-11-08 23:15:27 +00:00
fiatjaf
2e12c0ba3c
lnurlp: actually fix what the previous commit did not.
2020-11-03 19:47:13 -03:00
fiatjaf
8947358c80
lnurlp: fix ?amount satoshi -> msatoshi conversion.
2020-11-03 19:12:10 -03:00
benarc
091f9b74f3
Fixed LNURL bug
2020-11-02 21:15:47 +00:00
benarc
cf3c5d83fe
Fixed LNURLw QR bug
2020-11-02 15:52:56 +00:00
fiatjaf
2863653261
lnurlp: accept comments, USD prices, min/max ranges.
2020-10-22 15:58:15 -03:00
fiatjaf
2552fd8fc9
internal payments get reported on async listeners.
2020-10-22 15:36:37 -03:00
fiatjaf
a773584f6f
tags and extras metadata in payment details dialog.
2020-10-21 09:50:45 -03:00
fiatjaf
85ec111ff0
return proper error codes on /lnurlscan
...
so the notification works.
2020-10-20 23:19:23 -03:00
fiatjaf
52619ecc0f
improve querystring handling on lnurl fallback scheme.
2020-10-18 13:33:05 -03:00
fiatjaf
11e04e4314
fix CSS bundle order issue.
...
a final fix for https://github.com/lnbits/lnbits/issues/99
2020-10-17 15:24:23 -03:00
fiatjaf
32d75f7a60
support the lnurl fallback scheme.
...
completing https://github.com/lnbits/lnbits/issues/63
2020-10-17 15:24:10 -03:00
fiatjaf
435f5405c6
minor prettier change.
2020-10-16 14:45:28 -03:00
fiatjaf
9cb58833ad
make httpx calls async when doing them from view functions.
...
this is important so lnbits can call itself without hanging forever.
and these functions are already async so it should have been this way since ever.
2020-10-15 13:04:56 -03:00
fiatjaf
c81e61e4fe
guards and safety timeouts around paymentChecker intervals.
2020-10-15 12:32:28 -03:00
fiatjaf
bdbb58b2b0
wrap memo columns in payments table.
2020-10-15 00:59:00 -03:00
fiatjaf
be7d36214a
use payments/sse on the core wallet UI.
...
still fallback to the invoice polling (now with a 5 seconds interval
because less than that is too annoying).
this fixes issues with /lnurlwallet invoices not getting paid in time,
so we update the UI automatically when they do get paid.
(see https://t.me/lnbits/7069 )
2020-10-15 00:18:57 -03:00
fiatjaf
f02ec67f35
add lntxbot invoices listener.
2020-10-14 23:58:57 -03:00
fiatjaf
d528d4e09e
fix: wallet layout.
2020-10-14 23:13:55 -03:00
fiatjaf
ec4b558638
fix: domain variable assignment in pay_lnurl.
2020-10-14 22:44:23 -03:00
fiatjaf
0dc60d4795
increase timeouts for http wallets when stuff may take more than 5 seconds.
...
before we were using requests which had no default timeouts, but httpx has a
default timeout of 5 seconds. should have noticed that earlier.
when the timeout expires we are left with a pending payment on the db with a
temporary checking_id so we can never know if it was completed or not.
this is still an issue, because technically a lightning payment may take 2 weeks
or more, and we must have a way to dispatch a payment and check for it later.
that should be the default (and we already do check for the payment status later,
so half of the work is done), but on the other hand backends like lnpay and
opennode do not give us a checking_id before the thing is already settled.
2020-10-13 20:39:24 -03:00
fiatjaf
e1501e8ed6
fix bug with lnurl-withdraw dialog being skipped directly to the previous invoice shown.
2020-10-13 15:20:58 -03:00
fiatjaf
1529ebb689
lnurlpay comment.
2020-10-13 15:18:34 -03:00
fiatjaf
bcdc065cc0
mypy fixes.
2020-10-13 14:46:23 -03:00
fiatjaf
cf0bd7ece8
displaying lnurlpay success_actions.
2020-10-13 13:57:26 -03:00
fiatjaf
8d135489ab
fix: invoice parsing JS bug from the lnurl implementation.
2020-10-12 23:21:45 -03:00
fiatjaf
69063190ab
also catch httpx.ConnectError whenever we do catch httpx.RequestError.
2020-10-12 23:21:45 -03:00
fiatjaf
bc2207ba27
actually paying and withdrawing with lnurl.
2020-10-12 23:21:45 -03:00
fiatjaf
3cd15c40fc
lnurl-pay and lnurl-withdraw UI.
2020-10-12 23:21:45 -03:00
fiatjaf
7a5159f293
send/create/scan buttons for clear LNURL support.
2020-10-12 23:21:45 -03:00
Arc
fa8713de17
move scan to outside of receive.
2020-10-12 23:21:45 -03:00
fiatjaf
b1f30390b0
retrieve preimage from wallet backends, save it and show on UI dialog.
...
closes https://github.com/lnbits/lnbits/issues/77
2020-10-12 23:19:16 -03:00
fiatjaf
f2ea8a0c74
fix lndrest payment checking: b64/hex mismatch.
...
finally fixes https://github.com/lnbits/lnbits/issues/55
and https://github.com/lnbits/lnbits/issues/110
2020-10-12 23:18:58 -03:00
fiatjaf
b5a07c7ae7
add status() method to wallets to be used in initial check.
2020-10-12 22:30:19 -03:00
fiatjaf
d5d85d16e6
fix: auth headers variable name on opennode.py
2020-10-12 20:59:09 -03:00
fiatjaf
2894944b1e
pending=False on /sse payments.
2020-10-09 22:05:39 -03:00
fiatjaf
31820e041c
/sse returns payment as objects instead of arrays.
2020-10-09 21:08:01 -03:00
fiatjaf
1d00060419
harden sse connections to backends a little.
2020-10-09 20:55:58 -03:00
fiatjaf
7f41d73a84
SSE-based invoices stream for LNbitsWallet.
2020-10-09 17:06:50 -03:00
fiatjaf
f638a1088e
lnurlp: fix querystring handling in success_url.
2020-10-09 16:40:49 -03:00
fiatjaf
ea3418c21d
lnurlp: support success_text and success_url.
2020-10-09 16:17:16 -03:00
fiatjaf
f6bcff01f4
presort vendored paths list.
...
an attempt to fix https://github.com/lnbits/lnbits/issues/99 .
2020-10-08 22:10:21 -03:00
fiatjaf
6f72f1fe6d
fix typo: LND_MACAROON -> LND_REST_MACAROON
2020-10-08 16:24:23 -03:00
fiatjaf
76633fb71f
lndrest: check last 20 payments instead of first 20.
...
fixes https://github.com/lnbits/lnbits/issues/110
2020-10-08 16:08:13 -03: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
fiatjaf
0b1f3c22e0
lndhub: fix "token" -> "refresh_token".
2020-10-06 21:53:43 -03:00
fiatjaf
24c8201920
add current git commit to summary.
2020-10-06 17:42:33 -03:00
fiatjaf
9a16dfa960
remove annoying warnings and unnecessary prints.
...
show a summary of some settings on startup when running __main__.py
2020-10-06 12:59:08 -03:00
fiatjaf
c5352c0309
register channel listeners instead of callbacks.
...
makes for a little less black magic and more reasonable use of nurseries
and less unnecessary pseudo-requests.
2020-10-06 01:50:56 -03:00
fiatjaf
95e8573ff8
SSE endpoint for paid invoices.
...
also move very essential stuff from core/tasks.py to tasks.py so things
are more organized.
2020-10-06 00:40:18 -03:00
fiatjaf
4e68a0e7e6
lndrest: two small fixes.
2020-10-05 22:43:49 -03:00
fiatjaf
16541d40c6
show more data in txinfo modal and fee on main table.
...
- also center-align icons in main table.
- and use "x time ago" instead of raw dates by default in main table
(raw date is accessible on a tooltip, on the modal and on the CSV export).
2020-10-05 22:38:06 -03:00
fiatjaf
bb965e4119
lndrest: account for when there are pending checking_ids from other sources.
2020-10-05 22:16:28 -03:00
fiatjaf
5ead82f57c
fix /lnurlwallet again. db.commit() and wait 3 seconds.
...
should finally fix https://github.com/lnbits/lnbits/issues/103
2020-10-05 20:33:01 -03:00
fiatjaf
1eac618a25
lnurlp: allow creation of pay_links without webhook_url.
2020-10-05 20:12:24 -03:00
fiatjaf
39c331a7b9
fix opennode stupid syntax errors.
2020-10-05 08:46:20 -03:00
fiatjaf
6e6ce093f0
guard against lndrest URLs without a leading http...
2020-10-05 08:45:57 -03:00
fiatjaf
1ce9936561
better handling of missing dependencies on lndgrpc.
2020-10-05 08:45:32 -03:00
fiatjaf
c3ded859df
fix requirements after rebase.
2020-10-04 14:07:52 -03:00
fiatjaf
f5b8ed8fc6
make lndgrpc work using the purerpc library and a manually-declared method.
2020-10-04 12:06:54 -03:00
fiatjaf
9994e61615
migrate to trio so c-lightning sockets stop hanging.
2020-10-04 12:06:20 -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
90c640b659
fix async so now it is a mess that works.
2020-10-04 12:05:01 -03:00
fiatjaf
28e6f40bea
async fixes on _invoice_listener.
2020-10-04 12:05:01 -03:00
fiatjaf
bbe8d05af4
migrate from aiohttp to httpx following master.
2020-10-04 12:04:59 -03:00
fiatjaf
2c92205703
async invoice listeners through webhooks: lnpay and opennode.
2020-10-04 12:04:49 -03:00
fiatjaf
74117ffc57
lnurlp webhooks.
2020-10-04 12:04:49 -03:00
fiatjaf
04222f1f01
basic invoice listeners.
2020-10-04 12:04:47 -03:00
benarc
5971eefe44
Fixed register page blank bug
2020-10-01 19:44:04 +01:00
fiatjaf
88b8826bfd
fix balance calculation vue glitch.
2020-09-29 20:04:02 -03:00
fiatjaf
211ac0391b
overengineered async fix for /lnurlwallet internal hanging.
2020-09-29 18:24:08 -03:00
fiatjaf
e0b8470d40
show unpaid invoices, balance calculated on server-side so isn't affected.
2020-09-29 15:43:11 -03:00
Eneko
f60cebb072
fix: add missing assets
command ( #100 )
2020-09-28 23:11:59 +02:00
benarc
d8da88aefa
Fixed QR codes not printing
2020-09-28 16:59:20 +01:00
fiatjaf
49baa07141
fix proxyfix.
2020-09-28 00:21:53 -03:00
Eneko Illarramendi
098089af75
PREFER_SECURE_URLS, get rid of FORCE_HTTPS hacks.
2020-09-24 13:08:59 -03:00
fiatjaf
39cd96594e
pass appropriate parameters to create_payment on lnurlwallet.
2020-09-24 13:09:02 -03:00
fiatjaf
ef0bdf8363
mypy quibbles.
2020-09-16 20:24:17 -03:00
fiatjaf
75047c5bc3
fix static extensions js url.
2020-09-16 20:21:42 -03:00
fiatjaf
2b38207100
mimic x_proto, x_host params from old ProxyFix.
2020-09-15 17:19:34 -03:00
fiatjaf
6928f431a7
poor man's flask-assets.
2020-09-15 15:54:05 -03:00
fiatjaf
3a0762ff82
proxy fix (x-forwarded-...).
2020-09-14 23:56:25 -03:00
fiatjaf
42c6620a07
quart run settings and hypercorn on docker/Procfile.
2020-09-14 23:28:14 -03:00
fiatjaf
f01028eac7
migrate from flask to quart.
...
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00
fiatjaf
f452b9c00d
withdraw: replace location.hostname with location.host.
...
fixes https://github.com/lnbits/lnbits/issues/88
2020-09-14 15:46:25 -03:00
fiatjaf
1e2dd412c7
lnurlp: remove wrong /pay/ segments from docs.
2020-09-14 09:35:58 -03:00
fiatjaf
e6ad42dbe1
update prettier to 2.1.1
2020-09-14 09:14:51 -03:00
fiatjaf
1faf0b152c
remove annoying print().
2020-09-13 21:48:46 -03:00
fiatjaf
f4fffc19aa
lndhub extension frontend.
2020-09-12 21:55:13 -03:00
fiatjaf
6210305791
checking pending invoices and payments from lndhub interface.
2020-09-12 21:55:13 -03:00
fiatjaf
ce038193cf
lndhub extension backend.
2020-09-12 21:55:13 -03:00
fiatjaf
5ac91ee2cf
db commits at the right places when sending payments.
...
fixing vulnerabilities introduced in https://github.com/lnbits/lnbits/pull/90
2020-09-11 21:25:44 -03:00
fiatjaf
4855e2cd3d
make every request a database transaction.
2020-09-11 14:17:09 -03:00
fiatjaf
487f082eb2
take extra care on check_internal()
2020-09-11 14:17:09 -03:00
frennkie
a8e1aa3154
Consider port number on lnurlp URL
...
fix #86
2020-09-09 21:43:34 -03:00
fiatjaf
130beaf38a
fix undeclared ok error.
2020-09-06 23:39:46 -03:00
fiatjaf
ab6229806c
fix: column is called hash, not payment_hash.
2020-09-06 22:15:29 -03:00
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.
2020-09-06 21:06:01 -03:00
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")
2020-09-06 21:06:01 -03:00
fiatjaf
ffa3c3f6a6
python -m lnbits
2020-09-04 21:33:30 -03:00
fiatjaf
b8de30423f
remove walrus operator because python3.7
2020-09-04 21:33:30 -03:00
fiatjaf
c965bca41d
migration tracking.
2020-09-04 21:33:30 -03:00
Eneko Illarramendi
f238b3d1ef
fix: TypedDict import
2020-09-04 21:24:30 +02:00
fiatjaf
8b7028d728
add VoidWallet and make it the default.
2020-09-03 21:43:32 -03:00
Eneko Illarramendi
23cfe0d417
chore: update github workflows
2020-09-03 23:10:41 +02:00
Eneko Illarramendi
a651f747ac
chore: remove gunicorn
and gevent
from minimum requirements
...
It is now up to the user to install these (or other) for production deployment.
More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
2020-09-03 19:38:01 +02:00
fiatjaf
dcd3f80974
fix: invoice.payee is None by default.
2020-09-03 08:53:17 -03:00
fiatjaf
dc3d96c6a8
fix many mypy complaints, specially on bolt11.py
2020-09-02 22:21:56 -03:00
fiatjaf
ce28db76c9
add a dialog with payment details for each payment.
...
for outgoing payments this needs a preimage to be good,
but we don't have it yet because we don't get it from
backends.
2020-09-02 19:19:19 -03:00
fiatjaf
197af922d0
use {"tag": ext} for extension-related payments.
2020-09-02 12:44:54 -03:00
fiatjaf
4447a48724
deleting expired invoices based on their actual expiry date.
...
also fixes a possible bug that could have caused pending outgoing
payments to be deleted and affecting the balance. probably never happened.
2020-09-02 11:10:48 -03:00
fiatjaf
d2650d6e2c
don't try to check payments that start with temp_ or internal_.
2020-09-02 11:10:48 -03:00
fiatjaf
b56877d470
make db.py context manager operate in a transaction.
2020-09-02 11:10:48 -03:00
fiatjaf
bf3c44b3c4
extra fields on apipayments + index payments by payment_hash
2020-09-02 11:10:48 -03:00
arcbtc
c96b22664e
internal payments.
2020-09-02 11:10:48 -03:00
Eneko Illarramendi
d4f957a5c8
chore: update js vendors
2020-09-02 14:39:20 +02:00
fiatjaf
b4a6b45645
only check pending payments on "check_pending".
2020-08-31 22:55:19 -03:00
fiatjaf
fadddc995a
get_wallet_payments with more fine-grained, explicit filters.
2020-08-31 22:16:19 -03:00
fiatjaf
d09e624eb6
fix: wallet.balance computed property self-reference.
2020-08-31 16:19:27 -03:00
fiatjaf
5d523519c3
bring back code mysteriously deleted in 79d5befe0c
...
fixes https://github.com/lnbits/lnbits/issues/73
2020-08-31 00:09:34 -03:00
fiatjaf
68b0adfe66
fix: description_hash as an optional param to create_invoice.
...
fixes https://github.com/lnbits/lnbits/issues/74
2020-08-30 23:54:50 -03:00
fiatjaf
660d56d400
run black on everything.
2020-08-30 23:19:43 -03:00
fiatjaf
2cecaa229b
bolt11.py now supports everything.
2020-08-30 17:40:28 -03:00
fiatjaf
ac20e06dc3
fix: correct db.cursor() usage on lnurlp.
2020-08-29 22:33:01 -03:00
fiatjaf
79d5befe0c
mypy on Makefile and apply prettier.
2020-08-29 14:10:26 -03:00
fiatjaf
479760c5a5
Merge pull request #43 from fiatjaf/lnurlpayserver
...
description_hash support, spark backend and lnurlp extension.
2020-08-29 14:02:59 -03:00
fiatjaf
3ce1e72e10
lnurlp lnurl explanation slightly different from lnurlw.
2020-08-29 14:06:07 -03:00
fiatjaf
1e4f39954e
fix: spark create_invoice error case.
2020-08-29 13:48:16 -03:00
fiatjaf
01b19add79
format: prettier lnurlp files.
2020-08-29 13:41:59 -03:00
fiatjaf
96b80fb3fc
lnurlp: store description as memo.
2020-08-29 13:11:19 -03:00
fiatjaf
3645e0ac38
fix: lnpay invoices with description_hash.
2020-08-29 13:04:11 -03:00
fiatjaf
0c7284be31
description_hash fix.
2020-08-29 12:23:17 -03:00
fiatjaf
0de08dda0b
add spark backend and fix c-lightning.
2020-08-29 12:23:01 -03:00
fiatjaf
a79ec8f4a4
lnurlp extension.
2020-08-28 23:03:12 -03:00
arcbtc
6cf488ea4f
Fixed lnurlw bugs
2020-08-19 08:49:52 +01:00
Arc
5650731bce
Update index.html
2020-08-16 23:25:54 +01:00
Arc
53d65c0258
Update index.html
2020-08-16 23:22:32 +01:00
Arc
c4db2d5c28
Update index.html
2020-08-16 23:21:44 +01:00
arcbtc
b97595b06d
Added "quick vouchers" option to withdraw ext
2020-08-16 22:46:06 +01:00
arcbtc
dd2a282158
Fixed migration bug
2020-08-13 23:43:42 +01:00
arcbtc
3c7e4a3eaf
Fixed events migration
2020-08-13 22:01:33 +01:00
arcbtc
2d580a0d0e
Fixed lntickets migration
2020-08-13 21:49:50 +01:00
arcbtc
97a13526d9
Made print outs bigger
2020-08-10 19:44:55 +01:00
arcbtc
c56784340e
LNtickets now works
2020-08-10 19:08:44 +01:00
arcbtc
0603e525ff
Fixed LNticket extension
2020-08-10 19:06:56 +01:00
arcbtc
410e96771e
Events extension works
...
Little bug fix
2020-08-10 15:39:04 +01:00
arcbtc
784a2dd876
Events extension now works
2020-08-10 15:27:30 +01:00
Robert Habermann
1e36a8a393
add missing protocol (to ensure http - or more likely - https://)
2020-08-02 20:01:07 +02:00
benarc
c17ac32c86
Fixed LNURLw migration
2020-07-22 20:17:37 +01:00
benarc
c73fbe1b27
Fixed unique LNURLw for print
2020-07-20 22:08:54 +01:00
benarc
2ddc23de04
LNURLw fix
2020-07-20 21:32:55 +01:00
benarc
294beb2fca
Updated Withdraw extension to handle unique facets
2020-07-20 21:03:23 +01:00
frennkie
68e41789ce
Update index.js
...
`location.host` contains the hostname and the port while `location.hostname` is only the hostname
2020-07-12 16:24:18 +02:00
fiatjaf
24dc6e5415
fix validation rules so description_hash works.
2020-07-04 22:28:08 -03:00
fiatjaf
bc27293315
support description_hash across all APIs.
2020-07-03 20:04:04 -03:00
benarc
95b0ba536b
Prettier
2020-06-15 16:53:34 +01:00
benarc
5e81c64831
Usermanager extension update
2020-06-15 16:35:30 +01:00
benarc
d56c2627f4
Endpoint for updating user extensions vie usermanager
2020-06-15 16:30:24 +01:00
Dennis Reimann
c3281399d2
Improve setup instructions and README
...
- README cleanups and link to documentation
- Improve dev setup instructions
- Fix js linting errors
- Move local setup instructions to installation docs
- Project link fix, closes #42
- Notes about frontend
- Clarify different LND backends
2020-06-12 20:58:37 +02:00
Eneko Illarramendi
8ea72c9934
feat: add CORS headers
2020-05-18 23:33:07 +02:00
Eneko Illarramendi
aed2414f3a
fix: show better errors when a LNURL-withdraw wallet cannot be created, closes #39
2020-05-18 06:33:02 +02:00
benarc
76f17d8594
Removed API docs for Support Tickets
2020-05-11 13:21:03 +01:00
benarc
85e617aae9
Updated redme
2020-05-11 13:14:25 +01:00
benarc
68d94a43d0
Support Ticket name change
2020-05-11 13:11:36 +01:00
benarc
a54bff6640
Changed extension name to Support Tickets
2020-05-11 12:34:35 +01:00
benarc
d2874a90e9
Working Events extension
2020-05-11 12:34:35 +01:00
benarc
9af4161679
Redirect feedback
2020-05-10 18:46:58 +01:00
benarc
76510b7892
Events extension mostly functional
...
Can register attendees via camera
2020-05-10 18:10:45 +01:00
benarc
ea3b858695
Replaced events extension with almost working vuejs one
2020-05-09 22:27:11 +01:00
Eneko Illarramendi
41277e6931
fix(paywall): disable create button when an invoice already exists
2020-05-09 22:52:30 +02:00
Eneko Illarramendi
8add56a24c
feat: allow limiting the use of LNbits to some user uuids
...
The `LNBITS_ALLOWED_USERS` env var can be used to limit access
to the application to some uuids only. "all" gives open access.
UUIDs should be comma separated.
2020-05-09 22:30:33 +02:00
Arc
e768e4b075
Update views_api.py
2020-05-09 18:07:31 +01:00
Arc
a40823de43
Update lntxbot.py
2020-05-09 17:29:24 +01:00
Arc
6f4cac0c41
Update index.html
2020-05-08 22:19:43 +01:00
Arc
13f01dfbe6
Add files via upload
2020-05-08 21:03:18 +01:00
Eneko Illarramendi
14d61eaf56
feat(withdraw): type casting
2020-05-08 21:12:31 +02:00
Eneko Illarramendi
63b9741c14
feat(tpos): type casting
2020-05-08 21:11:59 +02:00
Eneko Illarramendi
22451ca806
fix: allow empty values (nullable)
2020-05-08 21:10:04 +02:00
Eneko Illarramendi
e73a508011
feat(paywall): improved extension
...
- make remember cookie optional
- improve database
- improve type casting
2020-05-08 21:05:32 +02:00
Arc
2fac47c05a
Update _api_docs.html
2020-05-05 20:53:13 +01:00
Arc
b8dd151043
Updated api docs to include listing specific LNURL
2020-05-05 20:07:54 +01:00
Eneko Illarramendi
42d307adf9
Merge pull request #38 from fiatjaf/adminkey-to-inkey
...
allow inkey endpoints to be accessed with adminkeys.
2020-05-05 11:09:02 +02:00
fiatjaf
c3ce18c8d9
allow inkey endpoints to be accessed with adminkeys.
2020-05-05 05:46:05 -03:00
Eneko Illarramendi
9eb253fe55
fix: typo
2020-05-04 17:34:53 +02:00
Eneko Illarramendi
b37af0c600
feat: use github pages and jekyll for docs
2020-05-04 17:20:36 +02:00
Eneko Illarramendi
a61d346669
chore: update js vendors
2020-05-04 15:33:39 +02:00
fiatjaf
4730500ed7
apply prettier to everything.
2020-05-03 13:55:17 -03:00
Eneko Illarramendi
083f7a0a8d
chore: use standard library's HTTP status codes
2020-05-03 15:57:05 +02:00
Arc
3a1167c892
Rename config.json.example to config.json
2020-05-02 20:17:33 +01:00
Eneko Illarramendi
2c5e539795
refactor: make some wallet dependencies optional
2020-05-02 19:16:10 +02:00
Arc
5553ed82f0
Update index.html
2020-05-01 09:48:00 +01:00
Arc
9fadb68fed
Update index.html
2020-05-01 06:28:45 +01:00
Arc
d496869572
Update _api_docs.html
2020-05-01 06:12:55 +01:00
Arc
9f33ed49e5
Update README.md
2020-05-01 06:12:20 +01:00
Arc
ea480866ea
Update README.md
2020-05-01 06:10:44 +01:00
Arc
690b33e096
Rename config.json to config.json.example
2020-05-01 06:10:16 +01:00
Arc
d72678972d
Add files via upload
2020-05-01 06:09:51 +01:00
Eneko Illarramendi
8dfdd15adb
fix: self host icon fonts
2020-04-29 13:24:49 +02:00
Robert Habermann
0847a1c933
add lightning scheme check
2020-04-27 23:13:42 +02:00
Arc
f731bd766e
Update and rename config.json to config.json.example
2020-04-27 22:01:21 +01:00
Arc
59819e2875
Update _api_docs.html
2020-04-27 21:08:31 +01:00
Arc
e7184346ab
Update _api_docs.html
2020-04-27 21:08:17 +01:00
Arc
1516a14a0d
Added warning to use https or TOR for lnurl
2020-04-27 17:43:15 +01:00
Eneko Illarramendi
c3e337a319
fix: mypy errors
2020-04-26 16:58:29 +02:00
Arc
976a3d4e5c
Update lndrest.py
2020-04-26 01:10:57 +01:00
Eneko Illarramendi
4b4a297c3f
refactor(paywall): remove unnecessary hashing paranoia
2020-04-25 23:55:07 +02:00
Arc
5d128523c7
Update lndrest.py
2020-04-25 22:41:27 +01:00
Arc
99cfdd5531
Update __init__.py
2020-04-25 22:11:27 +01:00
Arc
435f9c9773
Add files via upload
2020-04-25 22:10:45 +01:00
Eneko Illarramendi
ab190454f4
fix: LNbits backend wallet
2020-04-25 20:13:49 +02:00
Eneko Illarramendi
efd2cb7170
fix: use a fee reserve and actual wallet fees
2020-04-24 22:45:09 +02:00
Eneko Illarramendi
97f4fabea1
fix: create temporal payments to keep balance updated
2020-04-24 14:56:10 +02:00
Eneko Illarramendi
897644956a
feat: only dhow disclaimer if SERVICE_FEE has been set
2020-04-23 21:25:55 +02:00
Eneko Illarramendi
f02526585f
docs: add LNbits logos to repo
2020-04-23 18:42:27 +02:00
Eneko Illarramendi
4bf93d36c6
refactor: change the WITH_ONION
env var and use FORCE_HTTPS
instead
2020-04-23 18:37:22 +02:00
Eneko Illarramendi
e461e34fc0
feat(vue): move confirmDialog to LNbits.utils so we can reuse the styling
2020-04-23 07:32:45 +02:00
Eneko Illarramendi
1978cafe44
chore: update supporter logos
2020-04-23 07:23:45 +02:00
Arc
cd22aaded9
Update index.html
2020-04-22 20:55:51 +01:00
Eneko Illarramendi
498eceeb46
feat: use dynamic root in api docs
2020-04-22 21:49:31 +02:00
Arc
39041ffb5a
Update _api_docs.html
2020-04-22 20:41:18 +01:00
Arc
0c88aa8fcf
Update views_api.py
2020-04-22 19:47:30 +01:00
Eneko Illarramendi
eb938c11a8
chore(paywall): minor updates
2020-04-21 23:47:21 +02:00
Eneko Illarramendi
b1da103080
chore: minor tweaks
2020-04-21 23:47:21 +02:00
Eneko Illarramendi
d90ae26062
style: icon change
2020-04-21 23:43:15 +02:00
Eneko Illarramendi
403385c205
feat: paywall extension
2020-04-21 23:42:41 +02:00
Eneko Illarramendi
fd4dc6c48f
chore: remove pending macaroon mentions
2020-04-21 23:22:01 +02:00
Eneko Illarramendi
e1c5e970c4
feat: allow disabling extensions at installation level
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
f12f52db2d
fix: homepage bug
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
8d328c5465
refactor: remove legacy code
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
efb9deb028
feat: remove FEE_RESERVE
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
5806beaeb7
feat(core): move disclaimer to wallet page
2020-04-21 23:15:50 +02:00
Eneko Illarramendi
d917feeb02
feat: prepare for deploying to Dokku
2020-04-21 23:13:37 +02:00
Eneko Illarramendi
efbba20872
style: minor tweaks
2020-04-21 23:13:37 +02:00
Eneko Illarramendi
93e51a7398
fix: wallet button
2020-04-21 23:13:37 +02:00