dni ⚡
91ea747a0e
rc5
2024-10-18 09:10:55 +02:00
dni ⚡
5f32cfc053
revert fiat amounts :(
2024-10-18 09:08:00 +02:00
dni ⚡
ee93d2f275
fixup!
2024-10-17 11:48:42 +02:00
dni ⚡
6ffe2de8a9
merge tets from vlad
2024-10-17 11:45:23 +02:00
dni ⚡
8596fc6faa
fixup!
2024-10-17 10:43:05 +02:00
dni ⚡
aa98e38dfc
rename to get_user_from_account
2024-10-17 10:43:04 +02:00
dni ⚡
deee7d80be
refactor services
...
- add PaymentFiatAmount
- return Payment on api endpoints
2024-10-17 10:43:03 +02:00
dni ⚡
33bc380594
traces for value and assertion errors
2024-10-17 10:42:29 +02:00
dni ⚡
3a1064c841
update migrations.py
2024-10-17 10:42:28 +02:00
dni ⚡
1330290713
rc4
2024-10-17 10:42:26 +02:00
dni ⚡
2b869cb03f
remove update_payment_status/extra/details
2024-10-17 10:42:23 +02:00
dni ⚡
6d6a35989c
add dbversion model
2024-10-17 10:40:59 +02:00
dni ⚡
b03793c196
make get_user better
2024-10-17 10:40:57 +02:00
dni ⚡
4ca558be54
clean init admin settings
2024-10-17 10:40:56 +02:00
dni ⚡
578e031b17
vlad
2024-10-17 10:40:55 +02:00
dni ⚡
4a102e2e85
fix qrscanner
2024-10-17 10:40:54 +02:00
dni ⚡
ff6d53afcb
fix dynamic chips
2024-10-17 10:40:52 +02:00
dni ⚡
5f328539ff
qrcode
2024-10-17 10:40:51 +02:00
dni ⚡
60d5222ea6
fix extra null
2024-10-17 10:40:50 +02:00
dni ⚡
a42e4a7175
fix where
2024-10-17 10:40:48 +02:00
dni ⚡
fe8bd4ef53
rc3
2024-10-17 10:40:47 +02:00
dni ⚡
88058fa69b
fix dynamic fields and ext db migration
2024-10-17 10:40:41 +02:00
dni ⚡
f0752011e8
vue3 @input migration
2024-10-17 10:40:29 +02:00
dni ⚡
19244de979
extension toggle vue3
2024-10-17 10:40:28 +02:00
dni ⚡
7caf577d4b
payments
2024-10-17 10:40:27 +02:00
dni ⚡
b75305caad
fixup!
2024-10-17 10:40:18 +02:00
dni ⚡
6a2cd95d3c
add wallet balance
2024-10-17 10:40:17 +02:00
dni ⚡
d1b0e2380b
use db url
2024-10-17 10:40:15 +02:00
dni ⚡
1f63b94a56
escape user
2024-10-17 10:40:14 +02:00
dni ⚡
b4c57c0faf
parse date from dict
2024-10-17 10:37:42 +02:00
dni ⚡
edd72fd5db
add migration for view
2024-10-17 10:37:41 +02:00
dni ⚡
5f848a2c21
fixes
2024-10-17 10:37:38 +02:00
dni ⚡
2a928a41bf
fix
2024-10-17 10:37:37 +02:00
dni ⚡
3457cd1f33
fixup!
2024-10-17 10:37:34 +02:00
dni ⚡
f6d87e3c36
fixup!
2024-10-17 10:37:33 +02:00
dni ⚡
a58a698918
fixup!
2024-10-17 10:37:32 +02:00
dni ⚡
1ed581d2ac
fixup migration
2024-10-17 10:37:14 +02:00
dni ⚡
be72e35914
fixup!
2024-10-17 10:37:13 +02:00
dni ⚡
4e3c19f277
fixup!
2024-10-17 10:37:11 +02:00
dni ⚡
65bd26736c
fixup!
2024-10-17 10:37:10 +02:00
dni ⚡
441348f1ed
fix some tests
2024-10-17 10:37:08 +02:00
dni ⚡
3cdcb8d815
fixup!
2024-10-17 10:37:06 +02:00
dni ⚡
595e0bf070
fixup!
2024-10-17 10:37:04 +02:00
dni ⚡
ce920d7bd1
fixup!
2024-10-17 10:37:01 +02:00
dni ⚡
38c0bfc91c
fixup!
2024-10-17 10:37:00 +02:00
dni ⚡
275a2da4ac
backwards compatible
2024-10-17 10:36:59 +02:00
dni ⚡
6e157640ee
fix account overview
2024-10-17 10:36:58 +02:00
dni ⚡
0faa53090a
fix error
2024-10-17 10:36:56 +02:00
dni ⚡
9fee6699f1
fixup!
2024-10-17 10:36:55 +02:00
dni ⚡
1718031be2
fixup-qrcode
2024-10-17 10:36:54 +02:00
dni ⚡
f8d04d0637
some wallet ui fixes
2024-10-17 10:36:53 +02:00
dni ⚡
c001d50553
fixup!
2024-10-17 10:36:51 +02:00
dni ⚡
cc37dd35fe
revert
2024-10-17 10:36:50 +02:00
dni ⚡
88f3fb2807
fixup!
2024-10-17 10:36:49 +02:00
dni ⚡
63419cb900
more fixes
2024-10-17 10:36:47 +02:00
dni ⚡
3710242891
fixup!
2024-10-17 10:36:46 +02:00
dni ⚡
61bf9a6ffb
extension manager
2024-10-17 10:36:45 +02:00
dni ⚡
56e348a786
last fixes
2024-10-17 10:36:44 +02:00
dni ⚡
225181c969
big fx part2
2024-10-17 10:36:42 +02:00
dni ⚡
03f2417d4d
fix part1
2024-10-17 10:36:41 +02:00
dni ⚡
91a95b60d7
remove where from argument
2024-10-17 10:36:37 +02:00
dni ⚡
5aa88c56b7
fixup!
2024-10-17 10:36:36 +02:00
dni ⚡
d59b3b6bfb
more docs
2024-10-17 10:36:35 +02:00
dni ⚡
bdeac94d99
fixup!
2024-10-17 10:36:33 +02:00
dni ⚡
2764fefb3d
fixup!
2024-10-17 10:36:32 +02:00
dni ⚡
42c2e5b267
fixup!
2024-10-17 10:36:31 +02:00
dni ⚡
881329eaa6
fixup!
2024-10-17 10:36:29 +02:00
dni ⚡
3d2ed02fb1
feat: add shortcuts for insert_query and update_query into Database
...
example: await db.insert("table_name", base_model)
2024-10-17 10:36:28 +02:00
dni ⚡ and GitHub
ecc62b0011
feat: explicitly export for extensions from __init__.py ( #2669 )
...
* 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
2024-10-14 10:35:41 +03:00
dni ⚡ and GitHub
e85a78854e
feat: make LNBITS_ADMIN_UI the default ( #2726 )
...
* feat: make LNBITS_ADMIN_UI the default
* fix create fake admin
2024-10-01 11:36:22 +02:00
dni ⚡ and GitHub
a28e334c5f
test: fix test warning ( #2725 )
2024-10-01 11:07:13 +02:00
a4c000d7dc
feat: add password reset for usermanager ( #2688 )
...
* 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 >
2024-10-01 10:59:57 +02:00
dni ⚡ and GitHub
3a64cf5245
feat: add currency options to LNbits.api ( #2713 )
...
* feat: add currency options to LNbits.api
2024-09-30 14:01:30 +02:00
dni ⚡ and GitHub
f062b3d5e5
ci: do not create gh release on rc's ( #2716 )
...
* ci: do not create gh release on rc's
2024-09-30 08:51:19 +02:00
dni ⚡ and GitHub
b9e9da5da7
fix: fundingsources template id was wrong ( #2723 )
2024-09-29 22:59:13 +02:00
dni ⚡ and GitHub
953a466119
fix: more vue3 q-tables and v-model:value ( #2717 )
2024-09-27 15:18:56 +02:00
dni ⚡ and GitHub
7ad360d176
fix: vue3 i18n changed it replacements markers ( #2722 )
...
* fix: vue3 i18n changed it replacements markers
* chore: bundle
2024-09-27 14:59:06 +02:00
dni ⚡ and GitHub
898f264951
refactor: use <template> for components ( #2715 )
...
* refactor: use <template> for components
* fix paymentchart
2024-09-27 12:09:47 +02:00
dni ⚡ and GitHub
75bcbdc18d
chore: remove used crud for webpush settings ( #2719 )
2024-09-27 09:35:33 +03:00
dni ⚡ and GitHub
3ac6bc3c3b
fix: vue3 language switcher ( #2712 )
2024-09-25 12:09:00 +02:00
dni ⚡ and GitHub
cf2aca3327
fix: forgotten Vue inits ( #2708 )
2024-09-25 08:01:11 +03:00
dni ⚡ and GitHub
1d0547ea97
fix: use Quasar.notify ( #2707 )
...
* 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 ⚡ and GitHub
99c5f00c91
fix: extensions tab for vue3 ( #2706 )
2024-09-24 13:39:31 +03:00
dni ⚡ and GitHub
723d8ba98f
chore: update to v1.0.0-rc2 ( #2705 )
2024-09-24 11:48:28 +02:00
dni ⚡ and GitHub
9d7e54f6b2
refactor: use CreatePayment model instead of a lot of kwargs ( #2667 )
...
- refactoring create_payment a bit to use a model instead of 10 kwargs
2024-09-24 11:13:30 +02:00
053ea20508
feat: update to Vue3 ( #2677 )
...
* 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 ⚡ and GitHub
04aefc8077
refactor: remove get_key_type decorator ( #2676 )
...
* refactor: remove `get_key_type` decorator
breaking change for 1.0.0
2024-09-24 10:56:34 +02:00
21d87adc52
mega chore: update sqlalchemy ( #2611 )
...
* update sqlalchemy to 1.4
* async postgres
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io >
2024-09-24 10:56:03 +02:00
dni ⚡ and GitHub
c637e8d31e
fix: internal payment can still be pending ( #2686 )
...
bug introduced last commit
2024-09-16 20:43:17 +02:00
dni ⚡ and GitHub
d26e50ec9a
refactor: rename is_uncheckable ( #2670 )
...
it actually means is_internal and internal payments cant fail so we return success status
2024-09-16 17:34:30 +02:00
ceb43f384e
feat: install lnbits.sh bash script ( #2684 )
...
Co-authored-by: arcbtc <ben@arc.wales >
2024-09-12 08:02:47 +02:00
dni ⚡ and GitHub
22e6326bce
fix: gitignore extensions ( #2682 )
2024-09-11 19:34:35 +02:00
dni ⚡ and GitHub
6c8d56e40c
chore: update to 1.0.0-rc1 ( #2675 )
...
* chore: update to 1.0.0-rc1
2024-09-05 12:28:40 +02:00
dni ⚡ and GitHub
e8a6870d7a
fix: update lnurl for backwards compatibility ( #2666 )
2024-09-03 12:03:26 +02:00
dni ⚡ and GitHub
6341e1edaf
feat: add baseurl to admin ui settings ( #2644 )
...
* 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
dni ⚡ and GitHub
9db2429a45
refactor: move migrate_databases to core helpers ( #2636 )
...
commands.py should be used for cli commands
2024-08-30 18:48:50 +02:00
dni ⚡ and GitHub
eb37a064ad
feat: vue components lnbits-dynamic-fields validation ( #2645 )
...
* 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
6e6b387b7d
feat: log with console.error on notifyApiError ( #2646 )
...
* 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
dni ⚡ and GitHub
304ad3035b
feat: add generic lnurl error response handler ( #2638 )
...
* 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
dni ⚡ and GitHub
65ecca2507
feat: add rate endpoint per currency ( #2641 )
...
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