Commit Graph

27 Commits

Author SHA1 Message Date
fiatjaf
4456dd6f59 catch stderr when running git subprocess outside of a git repo. 2020-11-10 22:29:52 -03:00
fiatjaf
24c8201920 add current git commit to summary. 2020-10-06 17:42:33 -03:00
Eneko Illarramendi
098089af75 PREFER_SECURE_URLS, get rid of FORCE_HTTPS hacks. 2020-09-24 13:08:59 -03:00
fiatjaf
6928f431a7 poor man's flask-assets. 2020-09-15 15:54:05 -03:00
fiatjaf
42c6620a07 quart run settings and hypercorn on docker/Procfile. 2020-09-14 23:28:14 -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
1bc5e144d3 refactor: clean up __init__ file following some Flask conventions
Flask extensions are loaded in a way that makes them easily reusable by blueprints.
In this commit we are also adding `environs` to manage .env and settings:
breaking changes!

- FLASK_APP=lnbits.app
- LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
2020-09-06 21:06:01 -03:00
fiatjaf
8b7028d728 add VoidWallet and make it the default. 2020-09-03 21:43:32 -03:00
Eneko Illarramendi
897644956a feat: only dhow disclaimer if SERVICE_FEE has been set 2020-04-23 21:25:55 +02:00
Eneko Illarramendi
4bf93d36c6 refactor: change the WITH_ONION env var and use FORCE_HTTPS instead 2020-04-23 18:37:22 +02:00
Eneko Illarramendi
efb9deb028 feat: remove FEE_RESERVE 2020-04-21 23:17:11 +02:00
Eneko Illarramendi
4397a6cab3 feat: use cerberus schemas to validate POST data 2020-04-11 20:16:54 +02:00
Eneko Illarramendi
d03785558b refactor: a wallet is a wallet is a wallet 2020-03-31 19:05:25 +02:00
Eneko Illarramendi
49addb8d56 refactor: breaking bad 2020-03-08 23:00:41 +01:00
Eneko Illarramendi
f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
Eneko Illarramendi
0d33bc2933 refactor: remove databases from code an use schemas instead
All databases are now saved together in the same LNBITS_DATA_FOLDER.
Extensions have to define a schema.yml file for creating the necessary database.
2020-02-10 19:40:01 +01:00
Eneko Illarramendi
9e90aabead refactor: use Flask Blueprints to organize extensions
- extensions are now blueprints: keep views, templastes and statics in the same folder
- increase app security using `flask-talisman`
- whenever possible use {{ url_for }} for links between pages
- remove references to non-existing JavaScript code
- add missing favicon.ico
2020-01-31 21:07:05 +01:00
Arc
78e7e638c8
Update settings.py 2020-01-29 19:43:15 +00:00
Arc
257a23d212
Update settings.py 2020-01-22 07:55:10 +00:00
Arc
bd7b6c8616
Update settings.py 2020-01-21 12:28:46 +00:00
Arc
c119b35ecb
Added lnpay support 2020-01-18 10:27:54 +00:00
Arc
ea292b5035
Update settings.py 2020-01-16 12:40:11 +00:00
Arc
8f20755fd6
Update settings.py 2020-01-15 15:19:54 +00:00
Arc
5f2cee4303
ON settings 2020-01-12 00:47:33 +00:00
Eneko Illarramendi
47b93a97d6 refactor: unify responses in backend wallets 2020-01-10 21:26:42 +01:00
fiatjaf
5f6585eb45 fee reserve defaults to 0. 2019-12-18 13:44:58 +00:00
Eneko Illarramendi
9a21cee902 refactor: change folder case 2019-12-17 17:04:51 +01:00