Commit graph

87 commits

Author SHA1 Message Date
dni ⚡
604e52c45d
more mypy extension fixes (#1096)
* mypy fix jukebox

* mypy fix ngrok

* mypy fix satsdice

* remove exts from mypy exclude
2022-11-19 14:42:10 -06: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
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
blackcoffeexbt
fe2cbe8774
Jukebox improvements (#759)
* Improved styling of Spotify redirect URI clipboard copy text

* Jukebox extension - Moved links to Spotify into buttons to make set up steps more obvious

* Jukebox extension - Tweaks to titles of set up steps to clarify

* Prettified jukebox template
2022-07-19 12:28:49 +02: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
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
Tiago vasconcelos
6c0aa8fa8d info/error if no music is playing yet on jukebox 2022-02-28 10:09:40 +00:00
Tiago vasconcelos
9b95a7743d fix user keyword to "user" 2022-02-28 10:08:50 +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
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
Tiago vasconcelos
cf23e56dc5 cleanup/fix breaking imports 2021-10-18 16:23:51 +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
benarc
33cfbe87bb views converted 2021-10-13 21:51:21 +01:00
benarc
d5a4dc801f copilot still not working 2021-10-13 10:43:11 +01:00
Ben Arc
1346ad12f1 Endpoints changed but still not working 2021-10-12 22:34:43 +01:00
Ben Arc
567b8e3c48 Jukebox done 2021-10-12 19:47:01 +01:00
Ben Arc
cace0892f2 jukebox working(ish) 2021-10-12 18:54:40 +01:00
benarc
a33b24d6dc Liberated HTTPStatus.OKs 2021-10-12 09:59:01 +01: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
benarc
9ff1313b0b should be working 2021-10-10 23:57:15 +01:00
benarc
7dd29b3eca initial 2021-10-10 16:23:39 +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
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
37a7950f0f
fix: syntax errors 2021-08-20 20:54:59 +02:00
Ben Arc
09eebd8351 Starting jukebox 2021-08-20 18:43:11 +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
Ben Arc
ee9490ab68 Fixed multiple play bug in jukebox 2021-08-16 09:39:14 +01:00
Ben Arc
094943e293 Switched jukebox back to polling until it can use listeners properly 2021-08-16 09:00:20 +01:00
Ben Arc
aa1c83cdc4 added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
Ben Arc
0c44c0c048 Black 2021-07-03 16:08:18 +01:00
fiatjaf
2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
Arc
7c56501225
Merge branch 'master' into jukebox/addlistener 2021-07-01 00:42:34 +01:00
Arc
5eb208b8de
Merge pull request #217 from talvasconcelos/fix/jukeboxfixes
Update for jukebox extension readme
2021-07-01 00:34:25 +01:00
Ben Arc
55c564fe21 Fixed jukebox to match style 2021-06-30 13:38:10 +01:00
Ben Arc
e51ef5b722 prettier 2021-06-24 01:40:24 +01:00