Commit graph

65 commits

Author SHA1 Message Date
calle
b622028f7d
Merge pull request #1271 from lnbits/fix/mypy/ignores
removing type: ignore from Query, Depends, Body and import them correctly
2023-01-04 09:19:06 +01:00
Pavol Rusnak
3d0c66f0f6
remove unnecessary argument encoding from bytes.decode() and str.encode()
the encoding parameter defaults to utf-8, so it's not needed
2023-01-03 22:38:28 +01:00
ben
e0f55d3e8c Tile size standard should be 128px 2023-01-03 20:05:44 +00:00
dni ⚡
b1d1cc6de3 removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00
ben
a8c4bea53d Updated extension card layout 2023-01-01 18:14:20 +00:00
ben
f5250e0584 initial
Added bunch tiles, more to add
2022-12-31 01:46:55 +00:00
Arc
efc156689f
Merge pull request #1253 from iWarpBTC/qr_inv_pref
QR invoices and lnurls got prefix and uppercased
2022-12-30 01:04:47 +00:00
ben
6e8abc1c32 Fixes all those ugly hyperlinks 2022-12-29 23:51:18 +00:00
Gene Takavic
71eebc1441 QR invoices and lnurls got prefix and uppercased 2022-12-28 23:42:36 +01:00
Black Coffee
20b06e4922 Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
Tiago Vasconcelos
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
calle
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
calle
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
calle
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
calle
f4e7d62ca3
make format everything (#743) 2022-07-16 14:23:03 +02:00
Tiago Vasconcelos
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
calle
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
calle
92887ed169
Format: prettier (#707)
* format: prettier

* gh-actions: add prettier checkg

* actions
2022-07-05 21:14:56 +02:00
blackcoffeexbt
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 vasconcelos
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
Tiago Vasconcelos
7412373f11
Livestream Fix (#198)
Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-04 16:27:25 -03:00
Tiago Vasconcelos
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