Commit Graph
49 Commits
Author SHA1 Message Date
09871bbabc fix mypy for extensions (#873)
* explicitly exclude all extensions from mypy

* fix example extension mypy

* fix subdomains extension mypy + 1 type error fixed

* fix mypy discordbot

* mypy check copilot extensnion

* copilot black

* add invoices ext to ignore

* add boltz and boltcard

* copilit id is necessary

* was discordbot is ok

Co-authored-by: dni <dni.khr@gmail.com>
2022-10-24 16:29:30 +02:00
callebtc f8400512f7 black formating 2022-06-01 14:53:05 +02:00
Tiago VasconcelosandGitHub 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 bbdb96f4ac Converted views 2021-08-21 01:55:07 +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 aa1c83cdc4 added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
fiatjaf b7332bea64 fix example extension migration template. 2021-07-03 17:57:09 -03:00
fiatjaf 2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
fiatjaf 42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
Kristjan c082c953f3 black formatting 2020-12-31 18:50:16 +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
fiatjafandfiatjaf c965bca41d migration tracking. 2020-09-04 21:33:30 -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
fiatjaf 4730500ed7 apply prettier to everything. 2020-05-03 13:55:17 -03:00
Eneko Illarramendi 083f7a0a8d chore: use standard library's HTTP status codes 2020-05-03 15:57:05 +02:00
Eneko IllarramendiandSebastian Geisler c3e337a319 fix: mypy errors 2020-04-26 16:58:29 +02:00
Eneko Illarramendi fd4dc6c48f chore: remove pending macaroon mentions 2020-04-21 23:22:01 +02:00
ArcandGitHub c9ff6c9a4c Update and rename config.json.example to config.json 2020-04-16 23:03:12 +01:00
Eneko Illarramendi 490e166f75 refactor: improve database migrations 2020-04-16 20:58:16 +02:00
ArcandGitHub 7b962ffc4b Update views_api.py 2020-04-04 00:35:39 +01:00
Eneko Illarramendi a81de95f73 chore(vue): use g for consistency with Flask 2020-04-03 22:38:50 +02:00
Eneko Illarramendi d0b44eada9 chore: brokenbits example extension 2020-04-03 22:28:25 +02:00
Eneko Illarramendi f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
ArcandGitHub d72ec7ba75 Update index.html 2020-02-23 00:46:59 +00:00
ArcandGitHub 0baea37447 Update views.py 2020-02-23 00:46:38 +00:00
ArcandGitHub 3c8dd56afc Merge branch 'master' into lnbitsevents 2020-02-20 11:08:46 +00:00
ArcandGitHub c410e7d79e Update views_api.py 2020-02-19 23:42:04 +00:00
ArcandGitHub e9f21bb2cf Update index.html 2020-02-19 23:41:00 +00:00
ArcandGitHub b6ec5edcab Update schema.sql 2020-02-19 23:21:44 +00:00
ArcandGitHub 3fb570c9fa Create views_api.py 2020-02-19 23:21:01 +00:00
ArcandGitHub 87cc8a484f Update views.py 2020-02-19 23:16:06 +00:00
ArcandGitHub 02261b1ba4 Update views.py 2020-02-19 23:15:50 +00:00
ArcandGitHub 53d375efd5 Create views.py 2020-02-19 23:14:53 +00:00
ArcandGitHub e64c8bcf53 Create index.html 2020-02-19 23:12:33 +00:00
ArcandGitHub b4cad9e6cd Create schema.sql 2020-02-19 23:02:57 +00:00
ArcandGitHub 44c6dc0c01 Create __init__.py 2020-02-19 22:58:58 +00:00
ArcandGitHub c111902e7f Create example.config.json 2020-02-19 22:57:04 +00:00
ArcandGitHub 7e88c504f6 Create README.md 2020-02-19 22:54:46 +00:00
ArcandGitHub 9c249bed70 Update README.md 2020-02-19 22:49:13 +00:00
ArcandGitHub 4ba9fbcb98 Update README.md 2020-02-19 22:48:28 +00:00
ArcandGitHub a4aaec28de Update README.md 2020-02-19 22:47:29 +00:00
ArcandGitHub 4cee231df4 Create README.md 2020-02-19 22:47:07 +00:00