Commit Graph
109 Commits
Author SHA1 Message Date
dni ⚡andGitHub 41aa074350 Add webhook_api_key and webhook_custom_data to lnurlp webhook (#1065)
* add webhook_api_key and webhook_custom_data to lnurlp

* formatting

* add json validation to lnurlp custom_data

* motorina0 improvements
2022-11-19 14:44:21 -06:00
5a12f4f237 Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
calleandGitHub ae1a2ac383 Frontend: LNURLp/w icons with tooltips (#905)
* rename button to copy link

* icon buttons with tooltips
2022-08-18 13:24:34 +02:00
calleandGitHub 4ac73f1a79 Lnurlp/url_validation_fix (#883)
* dont assume field

* fix https check
2022-08-15 00:20:57 +02:00
calleandGitHub 0f760bf39e Lnurlp: use unhashed_description instead of description_hash (#878)
* dont assume field

* pass unhashed_description instead of description_hash for LNURL stuff

* more
2022-08-14 21:59:36 +02:00
Lee SalminenandGitHub fc427e7ccc resolves issue #872 & #815, error deleting lnurlp/lnurlw links (#877)
* resolves issue #872, error deleting lnurlp link

* apply the same fix for lnurlw in issue #815
2022-08-14 19:38:26 +02:00
calleandGitHub b3c866fd1d Code health: Small linting fix (#813)
* small linting fix

* je lint therefore je suis
2022-08-02 16:17:47 +02:00
calleandGitHub f1ec7e33f0 Mega-merge 2: Invoice/refactor description hash (WIP) (#814)
* description hashing in backend
2022-08-01 16:20:25 +02:00
ben 3a28ff1020 added swagger to extensions 2022-07-27 19:21:04 +01:00
ben 244d6f23bf Merge branch 'main' into matthewcroughan/nixify 2022-07-23 20:09:24 +01:00
ben 0e8da3c368 Fixed path for extension templates 2022-07-23 20:08:59 +01:00
calleandGitHub 4feb45d745 LNURLp: NFC UI improvement (#767) 2022-07-21 13:39:21 +02:00
calleandGitHub 76a5196dbf LNURLp: Write NFC tags with LNURL-pay links (#766)
* NFC for LNURL-pay

* notification ui improvements
2022-07-21 12:38:30 +02:00
Tiago VasconcelosandGitHub 2b827d37fa return lnurl in create link (#685) 2022-07-17 14:39:02 +02:00
calleandGitHub f4e7d62ca3 make format everything (#743) 2022-07-16 14:23:03 +02:00
Tiago VasconcelosandGitHub 348033da1b python code styling (#739) 2022-07-15 19:11:11 +02:00
matthewcroughan 36e92765d3 treewide: use StaticFiles() rather than rel path
This commit is not exhaustive, and it is a trend in this codebase to not
use StaticFiles() and instead use relative paths. This means the code
cannot run anywhere other than the source code directory, as it will not
find the files it is looking for
2022-07-08 11:06:26 +01:00
calleandGitHub 92887ed169 Format: prettier (#707)
* format: prettier

* gh-actions: add prettier checkg

* actions
2022-07-05 21:14:56 +02:00
blackcoffeexbtandGitHub f44bd55b4b Corrected example CURL requests in multiple extension API docs (#689)
* Updated api docs example CURL calls for satspay server

* Updated api docs example CURL calls for copilot extension

* Updated api docs example CURL calls for jukebox extension

* Updated api docs example CURL calls for livestream extension

* Updated api docs example CURL calls for lnaddress extension

* Updated api docs example CURL calls for lnurldevices extension

* Updated api docs example CURL calls for lnurlp extension

* Updated api docs example CURL calls for offlineshop extension

* Updated api docs example CURL calls for paywall extension

* Updated api docs example CURL calls for satsdice extension

* Updated api docs example CURL calls for splitpayments extension

* Fix typo double slash in satsdice extension api docs

* Updated api docs example CURL calls for tpos extension

* Updated api docs example CURL calls for watchonly extension
2022-07-05 17:20:42 +02:00
calleandGitHub 06fbc4b0ae move fiat_base_multiplier multiplication into api_link_create_or_update() (#675) 2022-06-22 12:28:40 +02:00
calleandGitHub 1dec874af7 lnurlp: do not divide twice (#669) 2022-06-15 12:48:13 +02:00
callebtc c5ddd1a2c6 fiat_base_multiplier also in rate conversion 2022-06-10 16:08:29 +02:00
callebtc 6617450c21 store fiat_base_multiplier in db 2022-06-10 16:05:33 +02:00
callebtc b7008495b8 lnurlp: support for floating point fiat values 2022-06-10 15:35:35 +02:00
Ben Arc eb8bbd3896 Added check so number must be more than zero 2022-03-14 11:22:56 +00:00
Tiago vasconcelosandfiatjaf a00e46f629 Change _asdict() to dict() 2022-01-05 07:36:10 -03:00
benarc d00bd9a995 lnul display without refresh 2021-12-09 10:32:03 +00:00
benarc 56397026c8 Chore, applied black 2021-11-26 05:58:20 +00:00
Tiago vasconcelos cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
benarc afbe46be8b reverted memo default 2021-11-03 11:49:13 +00:00
benarc 52455e14cd tweaked create_invoice 2021-11-03 11:02:33 +00:00
Tiago vasconcelos 11499041be fix lnurlp update link 2021-10-25 12:11:58 +01:00
benarc e03370188a Fixed payment checking 2021-10-22 00:41:30 +01:00
Tiago vasconcelos a840970366 fix require admin key endpoints 2021-10-20 12:03:11 +01:00
benarc 1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
benarc 982415f013 Satsdice error, confused over url_for 2021-10-15 14:28:41 +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 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 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 7e3b0c08dc lnurlp cleaned and finished 2021-10-08 12:10:43 +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 c0280838e7 ext: withdraw ported + lnurlp fixes 2021-09-30 14:42:04 +01:00
Tiago vasconcelos 4c724e6f01 typos fix 2021-09-29 11:03:02 +01:00
Tiago vasconcelos dcad7ea5fa lnurlp fastAPI port 2021-09-28 18:10:22 +01:00
Tiago vasconcelos 3e0fd39175 some syntax refactoring 2021-08-22 12:16:31 +01:00
Stefan Stammberger d20c3ce119 fix: syntax errors 2021-08-21 12:14:23 +02:00
Ben Arc bbdb96f4ac Converted views 2021-08-21 01:55:07 +01:00
Ben Arc a9dc087f61 All extensions semi-switched 2021-08-21 00:34:48 +01:00