Commit Graph

910 Commits

Author SHA1 Message Date
fiatjaf
c6f4372d23 pass the full payment_hash to the lnurl success action URL. 2021-04-11 00:44:55 -03:00
fiatjaf
529717a0f6 livestream dialog at the middle. 2021-04-11 00:44:55 -03:00
fiatjaf
69f867f692 make the livestream text more neutral. 2021-04-11 00:44:55 -03:00
fiatjaf
52e7a28fc2 make price optional then fix min/max issues. 2021-04-11 00:44:55 -03:00
fiatjaf
42cf70e158 conditional buys: get a download link when paying over x. 2021-04-11 00:44:55 -03:00
fiatjaf
a3fbcd46cd livestream: notifications and comments. 2021-04-11 00:44:55 -03:00
fiatjaf
e17b9422ad add price to track description. 2021-04-11 00:44:55 -03:00
fiatjaf
76199c66a1 livestream extension.
(except docs)
2021-04-11 00:44:55 -03:00
fiatjaf
10671e5732 Merge pull request #174 from pseudozach/master 2021-04-11 00:30:11 -03:00
fiatjaf
95a32b0d7b Merge branch 'master' into master 2021-04-11 00:13:10 -03:00
pseudozach
980bb69151 fix localhost:5000 in captcha.js 2021-04-10 20:07:36 -07:00
fiatjaf
e38b945d5c fix some of mypy complaints. 2021-04-10 18:06:41 -03:00
fiatjaf
fdf4f6c1ae catch errors in multiple places that might be destroying the async flow and causing lnbits to die silently. 2021-04-10 17:37:48 -03:00
fiatjaf
b48a44bcd0 Merge pull request #170 from gitnonymous/fullscreen_app
added meta-tags to base.html to allow fullscreen app launch on mobiles.
2021-04-08 12:43:51 -03:00
davidfrayne
c26f6fcbdf added meta-tags to base.html to allow fullscreen app launch on mobiles. 2021-04-08 13:46:52 +01:00
fiatjaf
82731dc901 a special error for when payments fail. 2021-04-06 14:57:51 -03:00
fiatjaf
59aaea47fd lndrest: capture the pay error properly. 2021-04-06 10:22:37 -03:00
fiatjaf
946279674a stop bloating the logs with checking routine. 2021-03-31 20:24:46 -03:00
fiatjaf
11679a4fa7 actually do the fee abs() thing on the balances view. 2021-03-31 20:22:34 -03:00
Ben Arc
045e069312 All fees are negative 2021-04-01 00:02:24 +01:00
fiatjaf
510ccbc007 update mypy. 0.3.0 2021-03-28 02:02:21 -03:00
fiatjaf
08d124c62a nicer print checking status. 2021-03-28 01:34:37 -03:00
fiatjaf
e112258c39 improve checking routine.
check pending invoices only once on startup,
then check outgoing payments every 30 minutes,
and delete outgoing payments that return False (meaning they have failed).

also fix a bug on sparko.
2021-03-28 00:11:45 -03:00
fiatjaf
b2efd71d3c allow extensions to hide themselves. 2021-03-27 22:49:53 -03:00
fiatjaf
61c8d70fe7 fix: account for withdraw link not found on two places. 2021-03-27 21:26:56 -03:00
fiatjaf
3215b5d2bb catch some errors on spark. 2021-03-27 21:24:08 -03:00
fiatjaf
574358a118 fix: lnurlpay comment was being parsed as number. 2021-03-26 21:10:15 -03:00
fiatjaf
85011d23c3 fix sqlite database locked issues by using an async lock on the database and requiring explicit transaction control (or each command will be its own transaction). 2021-03-26 19:10:30 -03:00
fiatjaf
9cc7052920 actually wait 2 hours between each checkpending routine. 2021-03-24 10:15:00 -03:00
fiatjaf
6164b9d27e exit the app when we cannot connect to a backend. 2021-03-24 09:49:43 -03:00
fiatjaf
a787d60d93 be extra safe when failing a payment if pay_invoice throws on sparko. 2021-03-24 02:02:54 -03:00
fiatjaf
aabe3364f4 only check pending from the last 15 days. 2021-03-24 01:41:19 -03:00
fiatjaf
d4d069fc77 make all methods from all wallets async. 2021-03-24 01:01:09 -03:00
fiatjaf
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
Ben Arc
3333f1f3f3 Bug in withdraw hash checker 2021-03-23 11:40:03 +00:00
fiatjaf
e6ea77e682 catch exception on invalid hash passed to sparko. 2021-03-21 18:12:26 -03:00
fiatjaf
8e62d9287d actually repeat the check once every 5 minutes just to be sure.
also because the stream doesn't cover outgoing payments.
2021-03-21 17:59:59 -03:00
fiatjaf
7e4a42e7ff stop doing the check_invoices thing on each call. do it once on lnbits starup and then rely on the invoices listener. 2021-03-21 17:57:33 -03:00
fiatjaf
f27c2ebc21 marginally improve the checkpending situation. 2021-03-21 17:11:00 -03:00
Arc
e4fb18a53a Merge pull request #164 from lnbits/lnurlwhashcheck
Changed api to check lnurl exists and checking hash sent
2021-03-20 01:08:59 +00:00
Ben Arc
fa383ced1c Changed api to check lnurl exists and checking hash sent 2021-03-20 01:06:08 +00:00
Arc
ddb277ff92 Merge pull request #162 from lnbits/lnurlwhashcheck
Adds a hash store endpoint, so captchas can prevent amilking
2021-03-17 20:02:24 +00:00
benarc
1e9151cedc ran prettier on captcha 2021-03-17 19:59:00 +00:00
benarc
20ef9f92a1 Ran black on bleskomat 2021-03-17 19:54:17 +00:00
benarc
c86bd74506 edited api 2021-03-17 19:32:37 +00:00
benarc
ad545e7fe1 prettier/black 2021-03-17 19:27:52 +00:00
benarc
66cde0154b api docs 2021-03-17 18:02:52 +00:00
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