* feat: add useful query helpers for insert and update
i saw this bits of code all over the codebase, this `helpers.py`
tries to abstract that away and make it more readable.
logs into `lnbits.log` with info loglevel and `debug.log` with DEBUG loglevel
files will be saved into `LNBITS_DATA_DIR`.
retentions is configurable but defaults to `90 days`
* added log rotation aswell
---------
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
* feat: improve on admin ui funding tab
* now only shows settings of selected fundingsource.
* refactor into vue component
* use camel case
* refactor: move admin js into .js file (#1990)
* updateFundingData is redundent now
---------
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
* add QR_LOGO variable
* add logo to images folder
* css for overlaying logo on qr
* qr url on settings
* add qr url to global env
* add QR url input on theme tab in adminUI
* new component added
* use svg
* remove white border around logo in the QR
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: dni ⚡ <office@dnilabs.com>
- async-timeout is not used anywhere (nor core neither extensions)
- cerberus is not used anywhere (nor core neither extensions)
- move embit and secp256k1 to end of the list
- these are not used by core
- document which extensions use them
* lnbits/settings: get LNBITS_COMMIT from envvar if available
There is no other way of setting the git commit at runtime, for build systems like Nix that allow you to hermetically define envvars derived from the source that will be available reproducibly at runtime
* nix: update potree2nix and nixosModule
This is a general refactor that gets everything building and passing the vmTest again
* Update nix/modules/lnbits-service.nix
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
* add markdown capability globally
* add markdown to site description
* add showdown to package.json
remove it from vendor.json, its bundled
* formatting
* io
* Update lnbits/core/templates/core/index.html
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>