1
0
Fork 0
mirror of https://github.com/lnbits/lnbits-legend.git synced 2025-03-14 20:01:37 +01:00
Commit graph

6515 commits

Author SHA1 Message Date
dni ⚡
898f264951
refactor: use <template> for components ()
* refactor: use <template> for components
* fix paymentchart
2024-09-27 12:09:47 +02:00
dni ⚡
75bcbdc18d
chore: remove used crud for webpush settings () 2024-09-27 09:35:33 +03:00
dni ⚡
3ac6bc3c3b
fix: vue3 language switcher () 2024-09-25 12:09:00 +02:00
Vlad Stan
04882e05a3
chore: update some log messages () 2024-09-25 11:22:00 +03:00
dni ⚡
cf2aca3327
fix: forgotten Vue inits () 2024-09-25 08:01:11 +03:00
dni ⚡
1d0547ea97
fix: use Quasar.notify ()
* fix: use Quasar.Notify.create
instead of this.$q, had issues when pasting invoice, using the `Quasar`
is more consistent
2024-09-24 16:18:56 +02:00
dni ⚡
99c5f00c91
fix: extensions tab for vue3 () 2024-09-24 13:39:31 +03:00
dni ⚡
723d8ba98f
chore: update to v1.0.0-rc2 () 2024-09-24 11:48:28 +02:00
Tiago Vasconcelos
daee2b3418
Check for theme params on the URL ()
---------

Co-authored-by: dni  <office@dnilabs.com>
2024-09-24 11:44:07 +02:00
dni ⚡
9d7e54f6b2
refactor: use CreatePayment model instead of a lot of kwargs ()
- refactoring create_payment a bit to use a model instead of 10 kwargs
2024-09-24 11:13:30 +02:00
dni ⚡
053ea20508
feat: update to Vue3 ()
* 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>
2024-09-24 11:06:27 +02:00
dni ⚡
04aefc8077
refactor: remove get_key_type decorator ()
* refactor: remove `get_key_type` decorator
breaking change for 1.0.0
2024-09-24 10:56:34 +02:00
dni ⚡
21d87adc52
mega chore: update sqlalchemy ()
* update sqlalchemy to 1.4
* async postgres

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-09-24 10:56:03 +02:00
dni ⚡
c637e8d31e
fix: internal payment can still be pending ()
bug introduced last commit
2024-09-16 20:43:17 +02:00
dni ⚡
d26e50ec9a
refactor: rename is_uncheckable ()
it actually means is_internal and internal payments cant fail so we return success status
2024-09-16 17:34:30 +02:00
Arc
d229b7a765
fix: bash failed using after install () 2024-09-14 11:08:25 +02:00
dni ⚡
ceb43f384e
feat: install lnbits.sh bash script ()
Co-authored-by: arcbtc <ben@arc.wales>
2024-09-12 08:02:47 +02:00
dni ⚡
22e6326bce
fix: gitignore extensions () 2024-09-11 19:34:35 +02:00
Vlad Stan
5f4f1288d7
Fix overlapping redirect paths () 2024-09-11 12:41:37 +03:00
blackcoffeexbt
7a5e7fbd8c
feat: UI / UX improvements to Users balance / tx chart ()
* 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
2024-09-11 09:40:41 +02:00
dni ⚡
6c8d56e40c
chore: update to 1.0.0-rc1 ()
* chore: update to 1.0.0-rc1
2024-09-05 12:28:40 +02:00
Tiago Vasconcelos
8aa1716e32
Add detailed CSV export option () 2024-09-04 13:04:55 +03:00
Tiago Vasconcelos
fbd22c1a22
fix: QR request case ()
* fix the hotfix to fix a fuckup
* fixup!

---------

Co-authored-by: dni  <office@dnilabs.com>
2024-09-03 16:05:55 +02:00
dni ⚡
e8a6870d7a
fix: update lnurl for backwards compatibility () 2024-09-03 12:03:26 +02:00
Tiago Vasconcelos
937936ff33
fix fuck up on refactor ()
Bug introduced in 
2024-09-03 12:03:09 +02:00
Pavol Rusnak
ab3eb967b4
chore: update pyproject dependencies () 2024-09-03 11:09:36 +02:00
dni ⚡
6341e1edaf
feat: add baseurl to admin ui settings ()
* feat: add baseurl to admin ui settings

server tab with a hint that it is currently not used.

i ran into an issue developing an extension where i needed to know the
url inside a task, where i cannot pass the `Request` object.
so i depend on `settings.lnbits_baseurl` there
2024-09-03 07:08:56 +02:00
Arc
69d518bac0
Uncomment LNBITS_ALLOWED_FUNDING_SOURCES ()
* Uncomment LNBITS_ALLOWED_FUNDING_SOURCES

I don't see why this exists

---------

Co-authored-by: dni  <office@dnilabs.com>
2024-08-30 18:51:28 +02:00
dni ⚡
9db2429a45
refactor: move migrate_databases to core helpers ()
commands.py should be used for cli commands
2024-08-30 18:48:50 +02:00
Arc
dd90dec768
feat: frontend gradient option ()
---------

Co-authored-by: dni  <office@dnilabs.com>
2024-08-30 18:16:24 +02:00
dni ⚡
eb37a064ad
feat: vue components lnbits-dynamic-fields validation ()
* feat: vue components lnbits-dynamic-fields validation

- add validation to fields if require = true
- add type hidden field (can be useful for create/update dialog with
passing item_id into update hidden field)
2024-08-30 18:06:55 +02:00
Tiago Vasconcelos
28df100d9a
Fix lnurl fallback ()
* Fix lnurl fallback

Wrong string case search

Closes 

* optimize the code

* one more clean up
2024-08-30 12:48:24 +01:00
dni ⚡
6e6b387b7d
feat: log with console.error on notifyApiError ()
* feat: log with `console.error` on `notifyApiError`

usually why have code like that
```
    getAudit() {
      LNbits.api
        .request('GET', '/admin/api/v1/audit',
this.g.user.wallets[0].adminkey)
        .then(response => {
          this.auditData = response.data
          xonst myerror = isSwallowed()
        })
        .catch(function (error) {
          LNbits.utils.notifyApiError(error)
        })
    },

```
which if you make a mistake hides your error. logging console.error here
again makes it easier to see what is happening while developing and
doesnt hurt for the user aswell

* chore: bundle

* fixup!

---------

Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
2024-08-30 12:23:11 +01:00
Tiago Vasconcelos
209cf7fbe0
fix chips on server page ()
Fix chips not having the remove functionality

Closes 
2024-08-30 12:19:22 +01:00
Pavol Rusnak
596167f443
chore: update install instructions for developers () 2024-08-30 12:18:42 +01:00
Gonçalo Valério
4732c4b296
add proper validation for the unit field when creating an invoice () 2024-08-30 12:17:52 +01:00
Tiago Vasconcelos
405a2f0776
fix decode info ()
Closes 
2024-08-30 12:15:29 +01:00
dni ⚡
304ad3035b
feat: add generic lnurl error response handler ()
* feat: add generic lnurl error response handler

this is used multiple times in extensions to safeguard `views_lnurl.py`
endpoint to not return a wrong lnurl error response.

you use it by just setting following on your lnurl router/view

```
withdraw_ext_lnurl = APIRouter(prefix="/api/v1/lnurl")
withdraw_ext_lnurl.route_class = LNURLErrorResponseHandler
```
2024-08-30 13:12:55 +02:00
Pavol Rusnak
8cffda5a55
chore: update package.json ()
* chore: update package.json

* chore: make bundle
2024-08-29 22:51:41 +02:00
Tiago Vasconcelos
cbe858b385
show wallet names in dropdown ()
Extensions will need it also

Fix 
2024-08-29 21:43:00 +01:00
dni ⚡
65ecca2507
feat: add rate endpoint per currency ()
this is already used and implemented by tpos, lnurlp and i probably need
it for satspay aswell
2024-08-20 10:52:39 +01:00
dni ⚡
1900cf9aa4
feat: add boltz client fundingsource ()
* feat: add boltz client standalone fundingsource
WIP.
https://docs.boltz.exchange/v/boltz-client

this fundingsource utilizing the boltz client standalone function: https://github.com/BoltzExchange/boltz-client/pull/123
this makes him act like a lightning node while submarine swapping everything on liquid network. like aqua does in its wallet.

* feat: paid_invoices_stream

* feat: proper invoice and payment status check

* feat: authenticate over insecure channel aswell

* chore: lint

* docs: add more setup instructions

* chore: add `boltz_client_cert` in frontend

* feat: populate fee_msat in get_payment_status and get_invoice_status

* fixup!

* chore: bundle

* added boltz logo

* add BoltzWallet to __all__

* chore: bump grpcio and protobuf deps and add grpcio-tools as dev dependency

* chore: update protos

* feat: pass description when creating swap

* fixup!

* chore: bundle

---------

Co-authored-by: jackstar12 <jkranawetter05@gmail.com>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-08-20 10:38:30 +01:00
Tiago Vasconcelos
296b1dfa9a
add copy buttons () 2024-08-19 15:23:03 +02:00
dni ⚡
b14e0e4cc6
feat: add label to lnbits-dynamic-fields ()
* feat: add label to `lnbits-dynamic-fields`

* chore: bundle
2024-08-14 16:52:19 +02:00
Ross Savage
fb585402dd
update breez-sdk to 0.5.2 () 2024-08-14 15:42:12 +01:00
dni ⚡
63f246908e
fix: add back lnurl wallet ()
* fix: add back lnurl wallet
* add comment from withdraw ext
* fixup, when you use unique links
2024-08-08 11:09:01 +02:00
dni ⚡
8ac827f5a4
fix: export nwc wallet ()
quick fix, 
2024-08-08 07:34:31 +02:00
dni ⚡
74d4ddd312
feat: use __all__ to export deps from __init__.py ()
* feat: export wallets
* remove linting exception
2024-08-08 07:29:21 +02:00
dni ⚡
40ffa7dea0
test: refactor to not use paid_invoices stream for real invoice tests () 2024-08-07 16:19:53 +02:00
dni ⚡
ddb8fcb986
feat: add typing for tasks ()
* feat: add typing for tasks

* fixup!
2024-08-07 09:57:15 +02:00