benarc
422298948c
api doc
2021-03-17 17:58:03 +00:00
benarc
09f89d07dd
API docs
2021-03-17 17:57:12 +00:00
benarc
f42dab5e30
Added api docs
2021-03-17 17:55:00 +00:00
benarc
86744ebced
Bug
2021-03-17 16:56:23 +00:00
benarc
514329045f
Should work
2021-03-17 16:33:12 +00:00
benarc
7cd3487bc9
Added hash check to db
2021-03-17 15:38:32 +00:00
fiatjaf
1a460a2ce5
fix issue #159
2021-03-17 09:03:07 -03:00
benarc
b5c4fe905f
Extension summary must be small
2021-03-16 13:38:42 +00:00
fiatjaf
d69c5aa2b1
Merge pull request #152 from lnbits/LNURLimg
2021-03-14 22:02:43 -03:00
fiatjaf
b5ea8e2546
Merge pull request #136 from pseudozach/master
2021-03-14 21:59:33 -03:00
fiatjaf
8df4dd702d
Merge pull request #154 from lnbits/offlineshop
2021-03-14 21:55:52 -03:00
fiatjaf
1bc59974a8
also support all currencies in lnurlp.
2021-03-14 21:50:05 -03:00
fiatjaf
0bc66ea150
support all the currencies.
2021-03-14 20:58:49 -03:00
fiatjaf
adc3e62573
abstract exchange rates code into a "util".
2021-03-14 20:43:39 -03:00
fiatjaf
5142f1e29f
reduce image quality even more.
2021-03-14 16:47:01 -03:00
fiatjaf
d13ca2afdb
round USD rate to satoshis.
2021-03-14 14:34:47 -03:00
fiatjaf
a653a5327b
support totp confirmation method.
2021-03-14 14:30:08 -03:00
fiatjaf
d9b9d1e9b2
more info on confirmation code screen.
2021-03-14 13:01:19 -03:00
fiatjaf
4c8ce1bfed
prettier changes its rules everyday.
2021-03-07 19:20:39 -03:00
fiatjaf
1630a28da0
prettier and black stuff.
2021-03-07 19:18:02 -03:00
fiatjaf
80e7c2c50f
Merge pull request #146 from chill117/bleskomat-extension
...
Bleskomat extension for lnbits
2021-03-07 19:10:31 -03:00
fiatjaf
c7717a611a
UI to change the wordlist.
2021-03-07 17:03:01 -03:00
fiatjaf
773103f893
instructions and API docs.
2021-03-07 16:39:34 -03:00
fiatjaf
63ae553565
QR codes, printing, success-action and other fixes.
2021-03-07 16:13:20 -03:00
fiatjaf
cda0819f64
improve and finish basic UI.
2021-03-07 14:41:47 -03:00
fiatjaf
732d06c1e5
basic offlineshop functionality.
2021-03-07 00:08:36 -03:00
benarc
f571f5f840
Added some tooltips
2021-03-03 14:22:39 +00:00
benarc
d0039ca71c
black format
2021-03-03 13:59:31 +00:00
benarc
33a90a8de3
prettier
2021-03-03 13:51:31 +00:00
benarc
1f4218d5c2
Changed "LNURL voucher" to the LNURL title
2021-03-03 13:42:36 +00:00
benarc
4fee785229
Changed "LNURL voucher" to the LNURL title
2021-03-03 13:36:26 +00:00
benarc
97e519d569
Deleted some prints
2021-02-26 18:52:45 +00:00
benarc
3bfca5b7b7
Image loading as SVG
2021-02-26 18:23:17 +00:00
benarc
13f440d517
added pypng
2021-02-26 17:54:50 +00:00
benarc
2d4e9202f1
return img
2021-02-26 17:48:51 +00:00
benarc
d913ab1306
link broken
2021-02-26 17:44:32 +00:00
benarc
0ed281e0fb
bug
2021-02-26 17:42:26 +00:00
benarc
c03c463171
Added LNURLw as image view
2021-02-26 16:54:57 +00:00
benarc
569f43fe81
Satspay display link
2021-02-23 20:42:24 +00:00
benarc
5c894ff707
Adding satspay docs, making same as btcpay
2021-02-23 19:35:17 +00:00
benarc
d95159d73b
BIP44/49/84 supported 💪
2021-02-23 19:13:21 +00:00
benarc
198cff8449
Loads now, but still broken
2021-02-23 15:26:17 +00:00
benarc
81326b2368
Still have broken watchonly, but addresses added
2021-02-23 15:19:51 +00:00
benarc
da20588c84
Trying to restore addresses functions, broken
2021-02-23 14:47:49 +00:00
benarc
be6ee64b4e
Cleaning up watchonly
2021-02-23 14:31:05 +00:00
benarc
6e4f8431b7
Auto stash before checking out "HEAD"
2021-02-22 01:14:46 +00:00
benarc
a93903a183
added address dialogue
2021-02-22 01:14:28 +00:00
benarc
385406a78a
Watchonly statspay basic gui working
2021-02-22 00:45:52 +00:00
benarc
ecfcc167f0
Splitting into x2 extensions
...
Splitting extension into 2, SatsPay Server, a BTCPay Server type extension, and WatchOnly
2021-02-21 17:53:43 +00:00
benarc
9724f33111
small bug
2021-02-21 17:00:13 +00:00
benarc
9c8836096c
switched requests for httpx
2021-02-21 13:25:54 +00:00
Arc
ca60893701
Merge pull request #151 from lnbits/master
...
Bring branch up to date
2021-02-21 13:14:42 +00:00
Charles Hill
dbe028e1eb
Bleskomat extension for lnbits
2021-02-15 12:53:02 +01:00
fiatjaf
88eb8e0e78
fix curl examples in extensions, path was duplicating the plugin names.
2021-02-07 08:23:01 -03:00
Kristjan
2a25932a85
refactored docs
2021-01-03 16:37:13 +01:00
Kristjan
d811d69dac
fixed bug on frontend where user couldn't updated information about a domain
2021-01-03 16:15:03 +01:00
Kristjan
b6cb305e5c
black formatting
2021-01-03 11:28:23 +01:00
Kristjan
babaa4459e
decided to remove IP and subdomain validations.. we run dry-run to cloudflare anyway so those 2 checks are reduntant
2021-01-03 11:27:45 +01:00
Kristjan
f45aadaafe
added checks to the cloudflare if the domain can be created; code refactoring - moved calls to cloudflare to seperate file
2021-01-03 11:22:42 +01:00
Kristjan
f6010bc139
black formatting
2021-01-03 00:31:02 +01:00
Kristjan
33b48341f1
checks before creating new subdomain
2021-01-03 00:26:33 +01:00
Kristjan
dc4a786dda
black formatting
2021-01-02 22:56:36 +01:00
Kristjan
10414be0d2
now payments are finalized and dns registered when the event happens instead when user polls the backend
2021-01-02 22:55:52 +01:00
Kristjan
e1abea77f5
moved code for generating new dns name and updating the invoice in database to the invoiceListener
2021-01-02 22:38:28 +01:00
Kristjan
8a7652c06f
started working on payment listeners
2021-01-02 20:49:39 +01:00
Kristjan
be0f853346
validation for the ip address and record type
2021-01-02 19:21:39 +01:00
Kristjan
afa7fce1c4
prettier formatting for lnticket extension
2021-01-02 17:05:24 +01:00
Kristjan
94b3416300
prettier formatting
2021-01-02 16:58:03 +01:00
Kristjan
c082c953f3
black formatting
2020-12-31 18:50:16 +01:00
Kristjan
128888be92
refactoring & bug fixes
2020-12-31 18:39:16 +01:00
pseudozach
c5c5bdb287
payment hash added to captcha for server-side verification
2020-12-30 17:06:30 -08:00
pseudozach
b91271315a
captcha extension added
2020-12-30 15:50:08 -08:00
Kristjan
bd4a668d23
added instructions and better formatting to the readme file
2020-12-30 12:20:37 +01:00
Kristjan
399a07b98a
added basic information
2020-12-30 12:08:53 +01:00
Kristjan
493ab5464e
integration with cloudflare, working prototype
2020-12-30 11:50:49 +01:00
Kristjan
6c4b5ea406
working subdomains frontend, table, popup, payments
2020-12-29 20:52:54 +01:00
Kristjan
c0d7371137
subdomains public window
2020-12-29 19:16:04 +01:00
Kristjan
e96ec08f44
code refactor
2020-12-28 23:24:47 +01:00
Kristjan
2eb44674d0
added public facing api
2020-12-28 22:40:46 +01:00
Kristjan
307a919d17
added CRUD operations
2020-12-28 22:32:04 +01:00
Kristjan
3c398a8276
started working on subdomains extension
2020-12-28 19:51:45 +01:00
benarc
7d44fa1c2d
Less broken refactor
2020-12-04 10:15:46 +00:00
benarc
4c7c792390
Trying to fix
2020-12-04 10:07:59 +00:00
benarc
54c0c9f3a8
Big, broken refactor payments/addresses to charges
2020-12-04 09:59:42 +00:00
benarc
257c9c1c64
Can fetch balance from mem.space
2020-12-03 22:56:34 +00:00
benarc
2db3325727
Added paylinks to table
2020-12-03 18:37:45 +00:00
benarc
c62678b3aa
generated fresh addresses nicely
2020-12-03 17:26:11 +00:00
benarc
48cf23346c
Added get fresh address button
2020-12-02 22:47:33 +00:00
benarc
503c981bc9
Updated example extension
2020-12-02 10:45:12 +00:00
benarc
31b1c0d1d5
Fixed tpos links not being fetched
2020-12-01 22:53:52 +00:00
benarc
ae59c74c24
Added if webhook to stop 500 in webhook absence
2020-12-01 22:35:06 +00:00
benarc
913f2a37c1
Awaits seem to be working in watchonly
2020-12-01 21:39:33 +00:00
benarc
93417e5bdf
added awaits
2020-12-01 20:29:21 +00:00
benarc
a838706090
updated watchonly
2020-12-01 19:54:16 +00:00
benarc
52956a62a2
Added unique hash check to lnurlw
2020-11-30 22:27:53 +00:00
benarc
ccb9d107d5
fixed unique update lnurlw
2020-11-30 22:19:17 +00:00
benarc
edc533e902
Moved amount update to cb in lnurlw
2020-11-30 22:03:20 +00:00
benarc
9db327d5db
changed 'comment' top 'content' in webhook
2020-11-30 21:12:00 +00:00
benarc
16fff9899f
Added webhook for tickets
2020-11-30 14:59:21 +00:00
benarc
67e8c567a3
Fixed some lnticket bugs
2020-11-30 14:02:17 +00:00
fiatjaf
d84915cb00
oops: formatting.
2020-11-21 23:23:11 -03:00
fiatjaf
03706dcbad
withdraw: fix incorrect setting of used+1.
...
fixes https://github.com/lnbits/lnbits/issues/123
2020-11-21 23:20:27 -03:00
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
d4e30356c7
fix: return "message" instead of "error" so it is handled better at the client.
2020-11-10 22:59:50 -03: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
7a5159f293
send/create/scan buttons for clear LNURL support.
2020-10-12 23:21:45 -03:00
fiatjaf
b5a07c7ae7
add status() method to wallets to be used in initial check.
2020-10-12 22:30:19 -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
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
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
1eac618a25
lnurlp: allow creation of pay_links without webhook_url.
2020-10-05 20:12:24 -03:00
fiatjaf
c3ded859df
fix requirements after rebase.
2020-10-04 14:07:52 -03:00
fiatjaf
b3c69ad49c
invoice listeners support on lnd and other fixes around wallets/
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
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
211ac0391b
overengineered async fix for /lnurlwallet internal hanging.
2020-09-29 18:24:08 -03:00
benarc
d8da88aefa
Fixed QR codes not printing
2020-09-28 16:59:20 +01: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
75047c5bc3
fix static extensions js url.
2020-09-16 20:21:42 -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
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
frennkie
a8e1aa3154
Consider port number on lnurlp URL
...
fix #86
2020-09-09 21:43:34 -03:00
fiatjaf
c965bca41d
migration tracking.
2020-09-04 21:33:30 -03:00
Eneko Illarramendi
23cfe0d417
chore: update github workflows
2020-09-03 23:10:41 +02: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
bf3c44b3c4
extra fields on apipayments + index payments by payment_hash
2020-09-02 11:10:48 -03:00
Eneko Illarramendi
d4f957a5c8
chore: update js vendors
2020-09-02 14:39:20 +02:00
fiatjaf
fadddc995a
get_wallet_payments with more fine-grained, explicit filters.
2020-08-31 22:16:19 -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
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