Commit Graph

1581 Commits

Author SHA1 Message Date
Tiago vasconcelos
1653c45f12 fix bleskomat 2021-10-27 12:01:45 +01:00
Tiago vasconcelos
336e3a833a paywall initial 2021-10-26 22:52:11 +01:00
Tiago vasconcelos
92ba2db276 bleskomat with import error in views_api 2021-10-26 22:50:29 +01:00
Tiago vasconcelos
4653e81695 blesko initial commit 2021-10-26 16:48:04 +01:00
Tiago vasconcelos
55023fa85b fix delete wallet 2021-10-25 19:26:21 +01:00
Tiago vasconcelos
0125c07c6b Revert "proposal to allow decimal valued items in fiat"
This reverts commit e58a6923fc.
2021-10-25 18:42:36 +01:00
Tiago vasconcelos
ee30950b97 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-10-25 18:39:11 +01:00
Tiago vasconcelos
e58a6923fc proposal to allow decimal valued items in fiat 2021-10-25 18:25:57 +01:00
Stefan Stammberger
fa1f6e5038
fix: crash when a currency pair is unavailable 2021-10-25 18:57:58 +02:00
Tiago vasconcelos
c4a63e0f2e fix create aditional wallet 2021-10-25 12:42:24 +01:00
Tiago vasconcelos
a9e9c67a6f fix vue console error getservices 2021-10-25 12:19:02 +01:00
Tiago vasconcelos
11499041be fix lnurlp update link 2021-10-25 12:11:58 +01:00
Tiago vasconcelos
a626155c33 satsdice still errors on withdraw 2021-10-25 11:54:58 +01:00
Stefan Stammberger
d1b628375a
fix: revert some changes from last commit
Reintroduced the controller which canceles remaining requests once
two results are received.
2021-10-24 10:14:16 +02:00
Stefan Stammberger
7550c968e7
fix: fetch btc price function 2021-10-23 16:41:53 +02:00
Tiago vasconcelos
e532ce1971 dirty fix for exchange rates 2021-10-22 11:00:15 +01:00
benarc
a6de60aab7 Fixed exchagerates. I think 2021-10-22 09:41:06 +01:00
benarc
7be1859c94 print 2021-10-22 09:37:15 +01:00
benarc
29ae4ef77e added payhash to curl 2021-10-22 09:24:48 +01:00
benarc
0a6183a2ec Trying to fix payhash error 2021-10-22 09:21:20 +01:00
benarc
6bcf409ed6 added path name to lnurlpos 2021-10-22 09:11:48 +01:00
benarc
f58775a78f No idea why satsdice isnt working 2021-10-22 03:05:48 +01:00
benarc
fd79815c83 deactivated ngrok 2021-10-22 00:42:26 +01:00
benarc
e03370188a Fixed payment checking 2021-10-22 00:41:30 +01:00
Tiago vasconcelos
6c7248ae94 fix form update 2021-10-21 15:53:02 +01:00
Tiago vasconcelos
653f9a9182 fix update args 2021-10-21 11:47:21 +01:00
benarc
c1f849b37a tipjar working 2021-10-21 10:42:38 +01:00
benarc
0be429b539 ngrok disabled 2021-10-20 18:45:22 +01:00
benarc
c041f0fd7f Fixed copilot migration file 2021-10-20 18:42:09 +01:00
benarc
f68f45b6b1 Fixed in a hacky way, but works 2021-10-20 18:28:54 +01:00
benarc
8f44747d6c Mgration for changing show_price to TEXT, doesnt work :( 2021-10-20 18:23:03 +01:00
Tiago vasconcelos
b97cef0e37 init clean up 2021-10-20 16:34:00 +01:00
benarc
4403186441 Cant call satspayserver function 2021-10-20 12:43:31 +01:00
Tiago vasconcelos
65b926ad08 needs testing 2021-10-20 12:13:03 +01:00
Tiago vasconcelos
46400448f1 Merge remote-tracking branch 'origin/FastAPI' into FastAPI 2021-10-20 12:08:23 +01:00
Tiago vasconcelos
a840970366 fix require admin key endpoints 2021-10-20 12:03:11 +01:00
benarc
bf1a711fb9 deleted more unused endpoints 2021-10-20 11:59:36 +01:00
benarc
0d3e18bf71 Removed unused endpoint 2021-10-20 11:57:09 +01:00
benarc
14ebf72255 Stuck getting user to create satspay charge from tipjar 2021-10-20 11:51:48 +01:00
benarc
40f3e8b210 Tipjar initial 2021-10-20 11:14:56 +01:00
Tiago vasconcelos
39eb9d0d70 events fix tickets not showing in index.html 2021-10-20 10:54:17 +01:00
Ben Arc
552fa8edc6 LNURLPoS loading, form working 2021-10-20 06:49:59 +01:00
Ben Arc
37b14e3d6d Satsdice working 2021-10-20 04:52:33 +01:00
Ben Arc
19df2f888b Added decode lnurl and extra payment check 2021-10-20 03:59:24 +01:00
Ben Arc
b6f5052da0 trying to fix payment check 2021-10-20 03:28:31 +01:00
Ben Arc
e0db0bc6cd Satsdice working, although invoices are not being seen as paid 2021-10-20 03:08:43 +01:00
Ben Arc
47b3e537f4 satsdice lnurl pain 2021-10-19 23:05:29 +01:00
Ben Arc
aaaa4ce8e7 Added ngrok for easy LNURL developing 2021-10-19 21:13:26 +01:00
Ben Arc
4a9b5840ab Ngrok init 2021-10-19 21:08:12 +01:00
Ben Arc
fc5885d52b creating but not fetching 2021-10-19 20:54:02 +01:00
Tiago vasconcelos
facd94f59e fix create and update 2021-10-19 17:02:22 +01:00
Tiago vasconcelos
41abbb44f7 added new error message (detail) 2021-10-19 17:01:57 +01:00
Tiago vasconcelos
3040016323 events untested commit 2021-10-19 16:12:03 +01:00
Tiago vasconcelos
ca1ad33c7b splitpayments working - hard one 2021-10-18 19:39:35 +01:00
Tiago vasconcelos
cf23e56dc5 cleanup/fix breaking imports 2021-10-18 16:23:51 +01:00
Tiago vasconcelos
4739a0811d added admin key required 2021-10-18 16:06:06 +01:00
benarc
cfd37ec31e splitpayments auth issues using WalletAdminKeyChecker 2021-10-18 13:35:31 +01:00
benarc
cf6fae2ca7 Added internal payment listener to paid invoices and splitpayments 2021-10-18 13:24:32 +01:00
benarc
3285e9d3c9 Splitpayments booting, but not sure how to handle internal pays 2021-10-18 13:02:28 +01:00
benarc
a574743080 splitpayment init 2021-10-18 12:34:45 +01:00
Tiago vasconcelos
167a32fed9 core already has default memo 2021-10-18 12:25:43 +01:00
Tiago vasconcelos
19a50e3638 add default memo 2021-10-18 12:23:57 +01:00
Tiago vasconcelos
1fc4b3b3e4 clean up 2021-10-18 12:08:41 +01:00
Tiago vasconcelos
1aeb4fe70c removed offensive print and clean up 2021-10-18 12:07:08 +01:00
Tiago vasconcelos
8dfd334daa clean up file 2021-10-18 11:58:21 +01:00
Tiago vasconcelos
189eed850a fix copilot memo None 2021-10-18 11:51:51 +01:00
Tiago vasconcelos
59de66f00b Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-10-18 10:58:20 +01:00
Tiago vasconcelos
70885ce160 clean up (black, sort) 2021-10-18 10:58:09 +01:00
benarc
0d781f899c copilot not triggering animations, listeners 2021-10-18 10:41:41 +01:00
benarc
0cf11caaad copilot payments not triggering animations
listener issue
2021-10-18 10:31:30 +01:00
benarc
15cd84652e copilot payments not triggering animations 2021-10-18 10:28:31 +01:00
benarc
762f0ba404 copilot lnurls fetching 2021-10-17 23:19:42 +01:00
benarc
75ea724d12 Websocket fully working 2021-10-17 21:15:03 +01:00
benarc
1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
Stefan Stammberger
70facdaa93
fix(lndhub): require admin key for sending funds 2021-10-17 10:30:59 +02:00
Tiago vasconcelos
2282e79f4d hack to stop paying invoices if not admin key 2021-10-16 22:27:21 +01:00
Stefan Stammberger
cb6f9e1f72
fix: copilot websocket connections 2021-10-16 13:35:50 +02:00
Stefan Stammberger
570e8d28dd
fix: lndhub auth handling 2021-10-15 19:55:24 +02:00
Tiago vasconcelos
6dea1f7271 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-10-15 17:06:04 +01:00
Tiago vasconcelos
8e396beb44 fusion's fix (not working) 2021-10-15 17:05:38 +01:00
Tiago vasconcelos
36d55db4fc fix argument order 2021-10-15 16:39:45 +01:00
Tiago vasconcelos
43653cb84d auth bearer fix
x-api-key now says unauthorized
2021-10-15 16:21:05 +01:00
Tiago vasconcelos
9096ed38b9 fix routing issues 2021-10-15 16:20:23 +01:00
benarc
982415f013 Satsdice error, confused over url_for 2021-10-15 14:28:41 +01:00
benarc
b9ff95a9cf Satsdice loading, needs finishing 2021-10-14 23:08:09 +01:00
benarc
a8451e6f50 Merge branch 'FastAPI' into fastapisatsdice 2021-10-14 22:38:14 +01:00
Tiago vasconcelos
6935589dad watchonly done 2021-10-14 22:30:47 +01:00
Tiago vasconcelos
ec4117a5f4 satspay done 2021-10-14 22:30:29 +01:00
Tiago vasconcelos
e939666107 satspay initial converstion 2021-10-14 11:45:56 +01:00
Tiago vasconcelos
ec89244d7f whatchonly ext added 2021-10-14 11:45:30 +01:00
Tiago vasconcelos
43f36afeb0 satspay ext added 2021-10-14 10:02:02 +01:00
Tiago vasconcelos
4686f87626 withdraw route order fixed 2021-10-14 10:00:33 +01:00
benarc
33cfbe87bb views converted 2021-10-13 21:51:21 +01:00
benarc
8db9459501 Init 2021-10-13 17:08:48 +01:00
benarc
08bc771fbe LNDHub loading, prob not working 2021-10-13 16:47:24 +01:00
benarc
0c6cd94154 Websockets not working 2021-10-13 13:23:58 +01:00
benarc
82a9cba871 Copilot working without websockets 2021-10-13 12:37:10 +01:00
benarc
16f9f1612f Pydantic being quietly pydantic 2021-10-13 11:20:40 +01:00
benarc
d5a4dc801f copilot still not working 2021-10-13 10:43:11 +01:00
Ben Arc
771c7c25c1 Not making db entry 2021-10-13 08:35:25 +01:00
Ben Arc
a0be1a5017 Copilot loads 2021-10-12 23:26:01 +01:00
Ben Arc
e1b4df869f copilot starts, templates need adjusting 2021-10-12 23:11:10 +01:00
Ben Arc
1346ad12f1 Endpoints changed but still not working 2021-10-12 22:34:43 +01:00
Ben Arc
aeee469c64 converted models 2021-10-12 20:24:00 +01:00
Ben Arc
c749b7d11e init 2021-10-12 19:54:35 +01:00
Ben Arc
567b8e3c48 Jukebox done 2021-10-12 19:47:01 +01:00
Ben Arc
fb09b94e25 Pretty confirm for TPoS 2021-10-12 19:02:00 +01:00
Ben Arc
25616031eb Merge remote-tracking branch 'arcbtc/FastAPI' into FastAPI 2021-10-12 18:54:54 +01:00
Ben Arc
cace0892f2 jukebox working(ish) 2021-10-12 18:54:40 +01:00
Tiago vasconcelos
04462f337f usermanager working 2021-10-12 17:04:49 +01:00
Tiago vasconcelos
f4dfc1b689 usermanager views_api 2021-10-12 10:57:15 +01:00
Tiago vasconcelos
ce4235f858 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-10-12 10:38:29 +01:00
Tiago vasconcelos
e5b22ead0c initial work 2021-10-12 10:38:09 +01:00
benarc
a33b24d6dc Liberated HTTPStatus.OKs 2021-10-12 09:59:01 +01:00
Arc
e6b032a4b6
Merge pull request #2 from arcbtc/fastapijukebox
Jukebox. No idea why its not working
2021-10-12 10:48:27 +02:00
benarc
f94543943f latest 2021-10-12 09:44:41 +01:00
benarc
ca3b1d7455 fires up ok 2021-10-12 09:01:54 +01:00
Tiago vasconcelos
706d584332 added usermanager extension 2021-10-11 11:52:21 +01:00
Tiago vasconcelos
de97c0f696 lnurlp import execption
withdraw not working
2021-10-11 11:46:36 +01:00
benarc
9ff1313b0b should be working 2021-10-10 23:57:15 +01:00
Stefan Stammberger
9a18720a96
fix: embeddable img link in withdraw extension 2021-10-10 18:49:41 +02:00
benarc
7dd29b3eca initial 2021-10-10 16:23:39 +01:00
Stefan Stammberger
c1a82dad9d
fix: lnurlp templates and path functions
While rendering the tempaltes the link.lnurl() function was not found
as no request object was passed.

Compute the lnurl before rendering the template. This way we can avoid
computing it multiple times and do not to have to pass the request object
in the template.
2021-10-10 11:05:43 +02:00
Tiago vasconcelos
d319aca6cf withdraw bug fixing/can't withdraw 2021-10-08 17:10:25 +01:00
Tiago vasconcelos
7e3b0c08dc lnurlp cleaned and finished 2021-10-08 12:10:43 +01:00
Tiago vasconcelos
7b93299ef7 axios query params fix 2021-10-08 11:03:55 +01:00
Tiago vasconcelos
0a85bae405 undo stringify 2021-10-07 11:01:26 +01:00
Tiago vasconcelos
683f138f1b invoice gets undefined 2021-10-06 19:43:57 +01:00
Tiago vasconcelos
d9aaae7872 added tpos extension 2021-10-06 14:49:00 +01:00
Tiago vasconcelos
46ab9960ad url_for issues 2021-10-06 14:40:12 +01:00
Tiago vasconcelos
7646bbefd5 can't seem to make url_for work 2021-10-06 11:10:24 +01:00
Tiago vasconcelos
81826f3c13 fix: lnurlp, withdraw 2021-10-05 09:19:21 +01:00
Tiago vasconcelos
6edac8ae8d remove extensions 2021-10-01 10:49:11 +01:00
Tiago vasconcelos
4120a51e0c Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-10-01 10:28:21 +01:00
Stefan Stammberger
dba988a969
fix: reactivate catch-all exception handler 2021-09-30 19:16:38 +02:00
Tiago vasconcelos
3df8e22ba2 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-09-30 14:42:19 +01:00
Tiago vasconcelos
c0280838e7 ext: withdraw ported + lnurlp fixes 2021-09-30 14:42:04 +01:00
Stefan Stammberger
87c784aa0c
fix: create and pay a ticket code 2021-09-29 20:57:35 +02:00
Stefan Stammberger
534dfdb4e0
fix: startup of lntickets listeners 2021-09-29 20:44:00 +02:00
Tiago vasconcelos
65aa1b24d8 ext: widthraw - views_api 2021-09-29 11:04:37 +01:00
Tiago vasconcelos
4c724e6f01 typos fix 2021-09-29 11:03:02 +01:00
Tiago vasconcelos
0e1a21f431 merged fusion fixes 2021-09-29 10:44:41 +01:00
Tiago vasconcelos
20c44cd0a0 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-09-29 10:43:19 +01:00
Stefan Stammberger
f827d2ce18
fix: fetch tickets and forms JS and endpoints 2021-09-28 22:03:45 +02:00
Stefan Stammberger
85d9a3fcc3
fix: some errors in lnticket ext 2021-09-28 21:18:15 +02:00
Stefan Stammberger
2a4314ca84
fix: raise bad req error on call without X-API-key 2021-09-28 21:13:04 +02:00
Stefan Stammberger
8c5989d465
fix: crash when an ext doesn't have static files 2021-09-28 21:10:51 +02:00
Tiago vasconcelos
dcad7ea5fa lnurlp fastAPI port 2021-09-28 18:10:22 +01:00
Tiago vasconcelos
de4f7fd07a tickets fastAPI fixes 2021-09-28 18:10:06 +01:00
Tiago vasconcelos
ca5ee4ed4f tickets fastAPI 2021-09-27 21:02:50 +01:00
Tiago vasconcelos
3a3ef4cd22 tickets fastAPI: init 2021-09-27 20:33:18 +01:00
Tiago vasconcelos
0891611d2b fastAPI port views_api 2021-09-27 15:52:08 +01:00
Stefan Stammberger
a5c0a2bb50
fix: offlineshop ext lnurl handling 2021-09-19 13:34:31 +02:00
Stefan Stammberger
c5d96d21e9
fix: core pay via lnurl endpoint 2021-09-19 13:25:39 +02:00
Stefan Stammberger
32ca6289df
fix: broken payment API implementation 2021-09-19 09:31:16 +02:00
Stefan Stammberger
e3c7ca0726
feat: update offlineshop extension 2021-09-16 19:42:05 +02:00
Stefan Stammberger
3bae5c92c2
fix: /extensions endpoint 2021-09-11 20:44:22 +02:00
Stefan Stammberger
7b69852acc
fix: make check_user_exists() work with FastAPI 2021-09-11 15:18:09 +02:00
Stefan Stammberger
9e76668269
fix: send payments via Wallet UI 2021-09-11 11:47:05 +02:00
Stefan Stammberger
63d0242685
fix: more return types 2021-09-11 11:02:48 +02:00
Stefan Stammberger
fa08177317
fix: FastAPify how data or exceptions are returned
FastAPI handles returning HTTPStatus codes differently than Quart did
2021-09-10 21:40:14 +02:00
Stefan Stammberger
d9849d43d2
refactor: replace Trio with asyncio/uvloop 2021-08-30 19:55:02 +02:00
Stefan Stammberger
fe79709698
fix: several more API calls restored 2021-08-29 19:38:42 +02:00
Stefan Stammberger
5ae124408e
fix: wallet page
Javascript was incompatible because of the switch to FastAPI.
2021-08-28 13:55:31 +02:00
Stefan Stammberger
ee775b66ef
fix: settings import 2021-08-28 11:16:59 +02:00
Stefan Stammberger
3e5af8c1d1
refactor: purge Quart from the codebase
Most functionality is still broken
2021-08-27 20:54:42 +02:00
Tiago vasconcelos
ede038976f refactor http status responses 2021-08-25 15:44:18 +01:00
Stefan Stammberger
f119053953
fix: main page and creating a user and a wallet
The wallet page will still not renders correctly, but the backend does
create the user his first wallet.
2021-08-24 21:23:18 +02:00
Stefan Stammberger
de4d3b012c
fix: invoke error page correctly 2021-08-24 19:14:04 +02:00
Stefan Stammberger
57fb6c4b11
Merge branch 'FastAPI' of github.com:arcbtc/lnbits into FastAPI 2021-08-23 21:17:50 +02:00
Stefan Stammberger
6f38fdc39b
feat: move all non-api routes to their own router
This unclutters the docs page a bit by making html routes collapsible.
2021-08-23 21:17:46 +02:00
Ben Arc
449cbfed89 Error page 2021-08-23 19:19:43 +01:00
Stefan Stammberger
0806ccfbbd
fix: missing static file serving folder 2021-08-23 18:51:17 +02:00
Tiago vasconcelos
83a9dc2a3e syntax refactoring up to diagonalley 2021-08-23 10:18:52 +01:00
Ben Arc
e03eb3c82b Fixed formatting 2021-08-22 23:05:39 +01:00
Stefan Stammberger
bbdd41ef87
fix: remove tag as "Apps" to avoid clutter in docs 2021-08-22 20:22:18 +02:00
Stefan Stammberger
938fc54af3
feat: switch from Quart to FastAPI part I 2021-08-22 20:07:24 +02:00
Tiago vasconcelos
fc68e0a6da fastAPI refactoring 2021-08-22 12:17:43 +01:00
Tiago vasconcelos
3e0fd39175 some syntax refactoring 2021-08-22 12:16:31 +01:00
Tiago vasconcelos
a9ab41701f usemanager syntax error 2021-08-22 11:35:08 +01:00
Tiago vasconcelos
7f917b8ad5 lntickets fastAPI refactoring 2021-08-22 11:31:04 +01:00
Tiago vasconcelos
5495dac6d3 satspay started;views_api refactored 2021-08-22 10:29:01 +01:00
Ben Arc
2fb16d0382 Trying to add query params 2021-08-21 19:04:10 +01:00
Stefan Stammberger
d20c3ce119
fix: syntax errors 2021-08-21 12:14:23 +02:00
Ben Arc
a6f0a36664 Converted all views 2021-08-21 02:05:45 +01:00
Ben Arc
bbdb96f4ac Converted views 2021-08-21 01:55:07 +01:00
Ben Arc
d3d24abb17 removed json_encoders 2021-08-21 00:39:31 +01:00
Ben Arc
a9dc087f61 All extensions semi-switched 2021-08-21 00:34:48 +01:00
Ben Arc
8deea85999 fixing withdraw 2021-08-20 22:21:15 +01:00
Ben Arc
c4b37c6508 Converted some core stuff 2021-08-20 21:31:01 +01:00
Ben Arc
bdbdc1601b Merge remote-tracking branch 'arcbtc/FastAPI' into benarcfastapi 2021-08-20 20:12:07 +01:00
Ben Arc
c824155ea4 Working on jukebox 2021-08-20 20:12:03 +01:00
Stefan Stammberger
da20280fd3
Merge branch 'FastAPI' of github.com:arcbtc/lnbits into FastAPI 2021-08-20 21:02:40 +02:00
Stefan Stammberger
37a7950f0f
fix: syntax errors 2021-08-20 20:54:59 +02:00
Ben Arc
76cb93b276 Started watchonly 2021-08-20 19:48:44 +01:00
Ben Arc
58a498d9bf Merge remote-tracking branch 'arcbtc/FastAPI' into benarcfastapi 2021-08-20 18:43:20 +01:00
Ben Arc
09eebd8351 Starting jukebox 2021-08-20 18:43:11 +01:00
Tiago vasconcelos
8a30c15f61 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-08-20 17:51:37 +01:00
Tiago vasconcelos
12846f5cac testing push 2021-08-20 17:51:30 +01:00
Ben Arc
5eb28f2637 Merge remote-tracking branch 'arcbtc/FastAPI' into benarcfastapi 2021-08-20 17:47:14 +01:00