Commit graph

19 commits

Author SHA1 Message Date
ben
85b5e96ea7 Included currency conversion 2023-01-06 15:28:32 +00:00
ben
a367fcdbda Added tabs 2023-01-06 14:28:43 +00:00
callebtc
f8400512f7 black formating 2022-06-01 14:53:05 +02:00
Tiago Vasconcelos
7c4ce9bf96
Extension: add example extension (#644)
* add example ext files

* remove from extension list
2022-06-01 13:53:47 +02:00
Tiago vasconcelos
6edac8ae8d remove extensions 2021-10-01 10:49:11 +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
benarc
503c981bc9 Updated example extension 2020-12-02 10:45:12 +00:00
fiatjaf
d84915cb00 oops: formatting. 2020-11-21 23:23:11 -03:00
fiatjaf
d3fc52cd49 migrate to sqlalchemy-aio.
a big refactor that:

- fixes some issues that might have happened (or not) with asynchronous
    reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -03:00
fiatjaf
9185342c72 simplify environment variables required.
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.

this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.

in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
2020-10-08 16:03:21 -03:00
fiatjaf
f01028eac7 migrate from flask to quart.
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00
Eneko Illarramendi
23cfe0d417 chore: update github workflows 2020-09-03 23:10:41 +02:00
fiatjaf
660d56d400 run black on everything. 2020-08-30 23:19:43 -03:00
Eneko Illarramendi
083f7a0a8d chore: use standard library's HTTP status codes 2020-05-03 15:57:05 +02:00
Arc
7b962ffc4b
Update views_api.py 2020-04-04 00:35:39 +01:00
Eneko Illarramendi
d0b44eada9 chore: brokenbits example extension 2020-04-03 22:28:25 +02:00
Arc
c410e7d79e
Update views_api.py 2020-02-19 23:42:04 +00:00
Arc
3fb570c9fa
Create views_api.py 2020-02-19 23:21:01 +00:00