Commit Graph
56 Commits
Author SHA1 Message Date
Black Coffee 20b06e4922 Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
Tiago VasconcelosandVlad Stan 7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
dni ⚡ e1fbb8c3cd fix livestream extension 2022-10-21 18:28:39 +02: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 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
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 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 089313f613 Logging with loguru (#708)
* logging

* requirements

* add loguru dependency

* restore it

* add loguru

* set log level in .env file

* remove service fee print

* set log level

* more logging

* more logging

* more logging

* pyament.checking_id

* fix
2022-07-07 14:30:16 +02: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
callebtc f8400512f7 black formating 2022-06-01 14:53:05 +02:00
pseudozach b00a39a7ce fix livestream startup issue 2022-01-24 15:58:51 -08: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
Tiago vasconcelos 2485e8eabf fix url_for no allowing query params 2021-11-17 12:56:43 +00:00
benarc 267dea4f75 black 2021-11-12 04:14:55 +00:00
Tiago vasconcelos 10fb16467b url_for not working 2021-11-10 11:15:33 +00:00
Tiago vasconcelos 6278e5357c livestreams converted 2021-10-28 17:02:07 +01:00
Tiago vasconcelos 6edac8ae8d remove extensions 2021-10-01 10:49:11 +01:00
Tiago vasconcelos 83a9dc2a3e syntax refactoring up to diagonalley 2021-08-23 10:18:52 +01:00
Ben Arc bbdb96f4ac Converted views 2021-08-21 01:55:07 +01:00
Ben Arc 8dea1e28f0 Added pydantic to models 2021-08-20 14:46:08 +01:00
Ben Arc fe123d6d31 Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
Ben Arc 9c313586bd removed all but one extension, so we can focus on core 2021-08-16 18:12:48 +01:00
Tiago vasconcelosandfiatjaf 4ce0ed63c0 fix livestream for postgres compatibility
fix producers create returning id
2021-08-13 13:32:49 -03:00
fiatjaf 26b3599325 fix insertion bugs/incompatibilities with lastrowid stuff. 2021-08-11 22:19:27 -03:00
Ben Arc aa1c83cdc4 added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
fiatjaf e2d43e786f fix wrong schema for apipayments usage inside extensions. 2021-07-02 17:34:33 -03:00
fiatjaf 2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
Ben Arc b0c0b9f851 Changed primary/secondary colours to branded 2021-06-29 02:10:30 +01:00
Ben Arc 2fb4ce8df4 Check dbs exist before creating 2021-06-28 11:22:17 +01:00
fiatjaf 688149fade add trio typing. 2021-06-20 21:17:32 -03:00
7412373f11 Livestream Fix (#198)
Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-04 16:27:25 -03:00
d9b37c077d More docs (#197)
Paywall and DJ Livestream updated

Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-03 22:56:50 -03:00
fiatjaf d5f5c9473f guard against amount=NaN in two other lnurlw contexts. 2021-05-05 20:45:49 -03:00
fiatjaf 943237e7ff prettier fixes. 2021-04-17 23:21:27 -03:00
fiatjaf f08d86c6df livestream: a standalone QR code for each track. 2021-04-17 00:15:03 -03:00
fiatjaf 27e170d304 livestream: allow tracks to be edited. 2021-04-17 00:14:34 -03:00
Ben Arc 237a6b369f Updated livestream description to character limit 2021-04-12 17:47:54 +01:00
Ben Arc 49827a64da Black formatting 2021-04-12 17:20:50 +01:00
Ben Arc 492d710bb8 Added api docs 2021-04-12 17:14:55 +01:00
fiatjaf da9723735c fix: livestream producer sharing was conflicting with internal payments. 2021-04-11 00:44:55 -03:00
fiatjaf 2a198d3186 metadata and hide. 2021-04-11 00:44:55 -03:00
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