Commit graph

1428 commits

Author SHA1 Message Date
Fitti
1cd1a99944 Prevent brute-force token overwriting 2021-06-23 09:53:10 +02:00
Fitti
c754017e9d Fix authentication process 2021-06-22 18:29:01 +02:00
Fitti
8386facbdb Add state for authentication 2021-06-22 18:05:07 +02:00
Fitti
d16eae2d9d Return json instead of plain text from API 2021-06-22 17:12:55 +02:00
Fitti
8342e2bf8b Return BAD_REQUEST for bad api_post_donation requests 2021-06-22 17:07:44 +02:00
Fitti
9390a79cca Validate api_post_donation requests 2021-06-22 17:06:56 +02:00
Fitti
010d59caac Make class names singular 2021-06-22 16:42:50 +02:00
Fitti
7066f4d11a Make extension directory lowercase 2021-06-22 15:54:34 +02:00
Fitti
76438f5563 Make CamelCase lowercase 2021-06-22 15:46:46 +02:00
Fitti
9c2c04dad2 Fix return type for post_donation 2021-06-22 13:24:11 +02:00
Fitti
74af2c0b02 Expand API endpoints 2021-06-22 13:19:45 +02:00
Fitti
3db23d954b Create various helper functions 2021-06-22 13:19:22 +02:00
Fitti
c759f3617e Add models and migrations 2021-06-22 13:18:50 +02:00
Fitti
2dded1b585 Get basic working endpoints
This is a setup that works specifically with a
hardcoded test wallet
2021-06-22 09:55:58 +02:00
Arc
0a884e8983
Merge pull request #228 from evildido/fix-concurrent-withdraw
Fix concurrent withdrawal behavior
2021-06-21 23:25:30 +01:00
Fitti
fbda278e42 Fix typos and make small improvements
Credit to Vinnie64 for pointing out one of the errors
2021-06-21 13:53:07 -03:00
fiatjaf
688149fade add trio typing. 2021-06-20 21:17:32 -03:00
fiatjaf
8dc25fbe50
Merge pull request #220 from talvasconcelos/fix/issue#213 2021-06-20 21:11:58 -03:00
Fitti
870a61abe9 Add missing instruction to dev installation guide
The missing data folder will throw an exception:
`sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file`
2021-06-20 20:57:12 -03:00
evildido
716ba5760f Fix UPDATE in the calback url 2021-06-20 10:42:49 +02:00
Fitti
da893ccba6 Fix missing template 2021-06-20 07:51:24 +02:00
Fitti
420a4cd524 Make extenstion available to load 2021-06-20 07:50:58 +02:00
Fitti
fd8d4d3e67 Add TwitchAlerts plugin 2021-06-20 06:34:01 +02:00
Fitti
8472efb1b5 Fix codeblock in guide 2021-06-19 13:34:51 -03:00
fiatjaf
f875dc7b63 "unit" optional on invoice creation, defaults to "sat" 2021-06-19 09:12:16 -03:00
Tiago vasconcelos
e2b18eb5a2 prettier fix? 2021-06-18 17:10:27 +01:00
Tiago vasconcelos
8d7dae5ba7 removed some unused methods 2021-06-18 10:12:54 +01:00
Tiago vasconcelos
26cf51c11c removed polling and added listener behaviour 2021-06-18 10:06:45 +01:00
Tiago vasconcelos
d8be362ac4 exclude package-lock.json form github 2021-06-18 10:06:16 +01:00
fiatjaf
64c4b97ec9 catch error on redeem_lnurl_withdraw call. 2021-06-17 13:26:09 -03:00
Tiago vasconcelos
ff965af11c removed paid column from showing
changed success message, on payment
2021-06-16 12:14:04 +01:00
Tiago vasconcelos
b490d9f260 fixed updating paid tickets on index.html 2021-06-16 11:23:58 +01:00
Tiago vasconcelos
bb1253f30e - added a refresh button for tickets 2021-06-15 12:46:27 +01:00
Tiago vasconcelos
1667e60464 changed polling to invoice listener
- fixed issue #213
2021-06-15 12:32:23 +01:00
Tiago vasconcelos
d91dbbcac3 allow invoices to be generated using Fiat values 2021-06-14 11:13:49 -03:00
Tiago vasconcelos
cfbd6fca3a Updated readme for splitpayments extension 2021-06-14 11:13:49 -03:00
Tiago vasconcelos
e7209d2883 Fixed issue deleting lnurlp 2021-06-14 08:51:07 -03:00
Tiago vasconcelos
2da68bf974 Update for jukebox extension readme
removed the profit column showing 0
2021-06-14 12:42:28 +01:00
Fitti
1e0367a451 Fixes #212
This is a quick and dirty fix of issue #212.  
Partially reverts previous changes from commit 5fbd1f08c4
Re-implements the change in a slightly different way.
2021-06-14 05:01:34 -03:00
Ben Arc
0d3cc971a5 Increased polling time 2021-06-13 15:00:06 +01:00
Ben Arc
8fd5a19baf Changed key to adminkey 2021-06-13 14:19:44 +01:00
Arc
0d9f9508ac
Merge pull request #203 from lnbits/Jukebox
Spotify Jukebox Extension
2021-06-13 14:18:56 +01:00
Ben Arc
daa80c90e9 Improved endpoint 2021-06-13 14:01:29 +01:00
Ben Arc
e2c45b9256 Merge branch 'master' into Jukebox 2021-06-13 13:04:33 +01:00
Ben Arc
778926a714 updated for black 2021-06-13 13:04:18 +01:00
Ben Arc
ed20c75fd0 added api docs 2021-06-13 12:58:46 +01:00
oriolpont
37d9e30362 Change minWithdrawable from 1 msat to 1000 msats for the lnurl_full_withdraw
1 msat is fractional and thus unacceptable anyway. Also, when withdrawing from lnbits itself, this interferes with the input form to expect fractional 1.001 steps
2021-06-12 12:32:40 -03:00
Ben Arc
9cb6068dd8 Tidied 2021-06-11 20:34:55 +01:00
Ben Arc
78ad57f99f Fixed device search 2021-06-11 20:27:13 +01:00
Ben Arc
10a5db403a Some more checks 2021-06-11 15:45:48 +01:00