* feat: add readNfcTag to core wallet
* feat: added payments/ endpoint to pay invoice with lnurlw from nfc tag
* feat: add notifications to nfc read and payment process
* feat: display sat and fiat amount on receive invoice
* feat: add notifications for non-lnurl nfc tags
* removed unnecesary payment updates
* fix: case when lnurlw was already used. lnurl_req status error
* fix: lnurl response status error
* fix: abort nfc reading on receive dialog hid
* feat: dismiss tap suggestion when nfc tag read successfully
* update: NFC supported chip
* remove console.log
* add: function return type
* test: happy path for api_payment_pay_with_nfc
* feat: follow LUD-17, no support for lightning: url schema
* explicit lnurl withdraw for payment
* test: add parametrized tests for all cases of api_payment_pay_with_nfc endpoint
* fix: payment.amount in response comes already in milisats
* feat: add shortcuts for insert_query and update_query into `Database`
example: await db.insert("table_name", base_model)
* remove where from argument
* chore: code clean-up
* extension manager
* lnbits-qrcode components
* parse date from dict
* refactor: make `settings` a fixture
* chore: remove verbose key names
* fix: time column
* fix: cast balance to `int`
* extension toggle vue3
* vue3 @input migration
* fix: payment extra and payment hash
* fix dynamic fields and ext db migration
* remove shadow on cards in dark theme
* screwed up and made more css pushes to this branch
* attempt to make chip component in settings dynamic fields
* dynamic chips
* qrscanner
* clean init admin settings
* make get_user better
* add dbversion model
* remove update_payment_status/extra/details
* traces for value and assertion errors
* refactor services
* add PaymentFiatAmount
* return Payment on api endpoints
* rename to get_user_from_account
* refactor: just refactor (#2740)
* rc5
* Fix db cache (#2741)
* [refactor] split services.py (#2742)
* refactor: spit `core.py` (#2743)
* refactor: make QR more customizable
* fix: print.html
* fix: qrcode options
* fix: white shadow on dark theme
* fix: datetime wasnt parsed in dict_to_model
* add timezone for conversion
* only parse timestamp for sqlite, postgres does it
* log internal payment success
* fix: export wallet to phone QR
* Adding a customisable border theme, like gradient (#2746)
* fixed mobile scan btn
* fix test websocket
* fix get_payments tests
* dict_to_model skip none values
* preimage none instead of defaulting to 0000...
* fixup test real invoice tests
* fixed pheonixd for wss
* fix nodemanager test settings
* fix lnbits funding
* only insert extension when they dont exist
---------
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
Co-authored-by: Arc <ben@arc.wales>
Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
* feat: explicitly export for extensions from `__init__.py`
makes it clear what extensions are expected to use and also makes future
changes to the structure of core safer because extension can just depend
on ```from lnbits import require_admin_key``` for example
* feat: add password reset for usermanager
- add a reset_key to account table
- add ?reset_key= GET arguments to index.html and show reset form if provided
- superuser can generate and copy reset url with key to share
future ideas:
- could add send forgot password email if user fill out email address
* feat: simplify reset key
* test: use reset key
* test: add more tests
* test: reset passwords do not match
* test: `reset_password_auth_threshold_expired`
---------
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
* update packages for vue3
* fix make bundle and make checkbundle to include bundle-components
* add lnbits/static/bundle-components.js
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
* Updates to user manager chart to add axis label, bubble radius depending on balance and bubble labels with wallet info
* Fixed bg colour missing on toggle admin on user manager table