calle
6646fce549
Core: add internal flag for invoice creation to use FakeWallet ( #646 )
...
* add internal flag for invoice creation to use FakeWallet
2022-07-17 14:34:25 +02: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
Arc
b90eb0a3ba
Merge pull request #648 from lnbits/black_formatting
...
Code cleanup: black formatting
2022-06-20 20:57:44 +01:00
Tiago Vasconcelos
77fbea25af
Allow for custom image logo ( #642 )
...
* first test
* add custom URL logo
* some styling
* fixed typo, wrong import
* Update .env.example
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-06-08 16:23:36 +02:00
callebtc
f8400512f7
black formating
2022-06-01 14:53:05 +02:00
benarc
c1fa5bbcbf
Change HIDE to false
2022-02-24 12:32:37 +00:00
benarc
4a588dda1b
Added ad space and option to turn off api docs
2022-02-23 13:51:30 +00:00
benarc
4b11342f0c
works
2022-02-07 20:43:47 +00:00
benarc
568a1be91f
Adding denomination for alternative currencies
2022-02-02 13:07:12 +00:00
Ben Arc
dbab181759
Admin users can credit accounts
2022-01-31 16:29:42 +00:00
benarc
1d3bb016a2
I want them to turn black
2021-10-17 18:33:29 +01:00
fiatjaf
2f309c9863
postgres support.
2021-07-02 17:34:31 -03:00
Ben Arc
ae0849143b
Easier to customise title/tagline
...
Also added description that can replace frontpage blurb
2021-07-02 12:31:05 +01:00
Tiago vasconcelos
277460edb7
final push for themes
2021-07-01 12:34:50 +01:00
Tiago vasconcelos
4493e93890
small fix for theme picking/seting
2021-07-01 11:54:45 +01:00
Ben Arc
893801b30e
Added env var to be checked
...
Theme options available to users could be limited here
2021-06-29 09:42:46 +01:00
Ben Arc
8f441f32b5
added envs, testing color switch
2021-06-28 22:57:23 +01:00
fiatjaf
42bd5ea989
remove exception to black line-length and reformat.
2021-03-24 00:40:32 -03:00
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