Commit Graph

9 Commits

Author SHA1 Message Date
Eneko Illarramendi
490e166f75 refactor: improve database migrations 2020-04-16 20:58:16 +02:00
Eneko Illarramendi
f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
Eneko Illarramendi
e5915bc493 refactor: add a simple config file to extensions
It makes possible to automagically keep the extensions admin page updated.
2020-02-18 20:27:04 +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
b7af605c5b
Update db.py 2020-01-27 23:41:16 +00:00
Arc
3c498b3eae
Update db.py 2020-01-27 23:31:40 +00:00
Arc
700e982669
Classes for extensions
Added for both extensions and lnfaucet db
2020-01-27 23:30:31 +00:00
Eneko Illarramendi
9a21cee902 refactor: change folder case 2019-12-17 17:04:51 +01:00