Commit Graph

770 Commits

Author SHA1 Message Date
Vlad Stan
cf4c9baeeb feat: make page more similar with the extensions page 2023-01-20 15:08:48 +02:00
Vlad Stan
223e92f9e2 fix: make layout similar with extensions page 2023-01-20 14:41:37 +02:00
Vlad Stan
a2284da4c3 feat: use Add Extension menu item 2023-01-20 14:33:45 +02:00
Vlad Stan
177d17ec10 chore: remove log statemet 2023-01-20 11:32:39 +02:00
calle
ffb5a91f67
add robots.txt (#1383) 2023-01-20 09:25:46 +01:00
Vlad Stan
730017ed62 fix: import after renaming 2023-01-20 10:06:32 +02:00
Vlad Stan
478d74efc8 fix: separate lnbits_deactivated_extensions from lnbits_disabled_extensions` 2023-01-20 09:39:27 +02:00
Vlad Stan
232a9e9885 fix: UI fixes 2023-01-19 12:34:10 +02:00
Vlad Stan
db73a51c74 feat: allow regular users to view the install page 2023-01-19 12:16:44 +02:00
Vlad Stan
4d87246811 feat: store icon, icon_url and name for installed extensions 2023-01-19 11:57:17 +02:00
Vlad Stan
aa006b66d1 feat: update pre-installed extensions on re-create 2023-01-19 10:15:56 +02:00
Vlad Stan
72965c8d85 chore: clean-up 2023-01-18 17:38:51 +02:00
Vlad Stan
040cd390c8 feat: UI improvements 2023-01-18 17:38:51 +02:00
Vlad Stan
3295c6bebe feat: UI improvements 2023-01-18 17:38:51 +02:00
Vlad Stan
d89128fb93 feat: show release page link 2023-01-18 17:38:51 +02:00
Vlad Stan
f379b784cc chore: refactor 2023-01-18 17:38:51 +02:00
Vlad Stan
66d3e2fb2d feat: add label to repo 2023-01-18 17:38:51 +02:00
Vlad Stan
5bcb8cb349 fix: deactivate on upgrade 2023-01-18 17:38:51 +02:00
Vlad Stan
b957b506f9 fix: close dialog on install 2023-01-18 17:38:51 +02:00
Vlad Stan
b039ab1e6b chore: code clean-up 2023-01-18 17:38:51 +02:00
Vlad Stan
a950af9944 fix: quasar for-each error 2023-01-18 17:38:51 +02:00
Vlad Stan
01b5536f3a feat: Uninstall only installedextensions 2023-01-18 17:38:51 +02:00
Vlad Stan
0195c242c2 feat: add is isAvailable flag 2023-01-18 17:38:51 +02:00
Vlad Stan
584b667637 feat: show new install available icon 2023-01-18 17:38:51 +02:00
Vlad Stan
03df382325 feat: fetch the installed release 2023-01-18 17:38:51 +02:00
Vlad Stan
ce8d45c8c6 feat: only allow activation if installed 2023-01-18 17:38:51 +02:00
Vlad Stan
ebbfdbb6c9 feat: use manage dialog 2023-01-18 17:38:51 +02:00
Vlad Stan
86c86958ae refactor: more and more 2023-01-18 17:38:51 +02:00
Vlad Stan
6b360b927c feat: returned the installed release 2023-01-18 17:38:51 +02:00
Vlad Stan
12060b67ad feat: store and retrieved the installed_release 2023-01-18 17:38:36 +02:00
Vlad Stan
d146a45b59 refactor: move logic to static method get_extension_release 2023-01-18 17:38:36 +02:00
Vlad Stan
9d0cedfcb2 feat: install GitHib releases also 2023-01-18 17:38:36 +02:00
Vlad Stan
41ce316fc6 feat: add install details 2023-01-18 17:38:36 +02:00
Vlad Stan
e8bed9cd90 feat: UI improvements 2023-01-18 17:38:36 +02:00
Vlad Stan
2da466f0c8 chore: clean-up 2023-01-18 17:38:36 +02:00
Vlad Stan
27b308ae1a feat: separate extension release into new API 2023-01-18 17:38:36 +02:00
Vlad Stan
a73e8ae44d feat: stub for extension versions 2023-01-18 17:38:36 +02:00
Vlad Stan
0b49541c15 chore: renamings 2023-01-18 17:38:36 +02:00
Vlad Stan
eb88592473 feat: addd basic version install UI 2023-01-18 17:38:36 +02:00
Vlad Stan
c9bb5a660c feat: show empty Upgrade dialog 2023-01-18 17:38:36 +02:00
Vlad Stan
97ea78f999 fix: return only the latest release 2023-01-18 17:38:36 +02:00
Vlad Stan
522bfcf4ae chore: optimize imports 2023-01-18 17:38:36 +02:00
Vlad Stan
76fbb5ccbb feat: return releases to UI 2023-01-18 17:38:36 +02:00
Vlad Stan
496346b3ba feat: use github releases for installing extensions 2023-01-18 17:38:36 +02:00
Vlad Stan
38a132604b feat: used dedicated table for installed extensions 2023-01-18 17:38:36 +02:00
Vlad Stan
032a000da7 fix: do not fail when one of the extension manifest files is not available 2023-01-18 17:38:36 +02:00
Vlad Stan
4efeae24d0 feat: allow extension manifest configuration from the Admin UI 2023-01-18 17:38:36 +02:00
Vlad Stan
e3ee04edc7 refactor: code clean-up 2023-01-18 17:38:36 +02:00
Vlad Stan
de929c6c70 refactor: extract more methods into InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan
1ca0cf4313 refactor: use factory method 2023-01-18 17:38:36 +02:00
Vlad Stan
0ab913e502 chore: code format 2023-01-18 17:38:36 +02:00
Vlad Stan
2edb9da387 fix: name conflict 2023-01-18 17:38:36 +02:00
Vlad Stan
795d05c109 refactor: extract extensions.py 2023-01-18 17:38:36 +02:00
Vlad Stan
e7a150e708 refactor: move more logic to InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan
1b07768b76 refactor: use check_admin decorator 2023-01-18 17:38:36 +02:00
Vlad Stan
3ed2b3cdeb refactor: move more logic to InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan
cb6349fd76 refactor: extract dome methods to helpers 2023-01-18 17:38:36 +02:00
Vlad Stan
cae71faf37 refactor: use the new check_admin 2023-01-18 17:38:36 +02:00
Vlad Stan
cb24a6a4f9 fix: rating star size 2023-01-18 17:38:36 +02:00
Vlad Stan
a2201c9d31 chore: add extra log 2023-01-18 17:38:36 +02:00
Vlad Stan
6ec1a668ae chore: code format 2023-01-18 17:38:36 +02:00
Vlad Stan
8c1479427d fix: merge issues 2023-01-18 17:38:36 +02:00
Vlad Stan
9dfeef15fd fix: merge issue 2023-01-18 17:38:36 +02:00
Vlad Stan
0d61db13ec fix: handle first time install different than subsequent updates 2023-01-18 17:38:36 +02:00
Vlad Stan
a2d35f65c9 fix: enforce unique key in v-for 2023-01-18 17:38:36 +02:00
Vlad Stan
08be621529 fix: migration module name 2023-01-18 17:38:36 +02:00
Vlad Stan
a6e3b5e049 feat: use hash for unique extension id 2023-01-18 17:38:36 +02:00
Vlad Stan
598d2a6939 feat: re-route trafic when an extension is upgraded 2023-01-18 17:38:36 +02:00
Vlad Stan
6c41ac841b feat: temporary fix for upgrades 2023-01-18 17:38:36 +02:00
Vlad Stan
11815958a3 chore: remove test code 2023-01-18 17:38:36 +02:00
Vlad Stan
2d3ba2c457 fix: UI position 2023-01-18 17:38:36 +02:00
Vlad Stan
66c908e600 chore: migrate after major changes on main 2023-01-18 17:38:36 +02:00
Pavol Rusnak
20e6ca019e
replace lnbits-legend with lnbits in github links (#1366) 2023-01-14 12:26:17 +01:00
ben
ca4134eb02 added conn 2023-01-12 22:52:46 +00:00
ben
f97326bed0 Adde models 2023-01-12 22:42:49 +00:00
ben
6e33784061 Removed lnurlp tests 2023-01-12 22:39:20 +00:00
ben
6d8896c2f6 works 2023-01-12 20:37:03 +00:00
ben
ce701b9506 Made specific migration 2023-01-12 20:25:51 +00:00
ben
2b3a2afe83 Making universal tinyurl function 2023-01-12 15:16:37 +00:00
calle
3e1cc79a23
Merge pull request #1346 from lnbits/fix/settings/lnd_rest_admin_macaroon_nonexistent
fix: add missing entries
2023-01-11 12:15:34 +01:00
callebtc
822a304127 specify in settings panel 2023-01-10 17:35:43 +01:00
Vlad Stan
c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
Pavol Rusnak
191ad1e224
make payment.extra non-optional
this makes handling in tasks.py so much easier
2023-01-05 09:22:34 +01:00
ben
6bb483bfd6 Fixes error in formatting in wallet 2023-01-04 23:16:26 +00:00
callebtc
c96fd6783b fix super_user check, fixes #1250 2023-01-04 10:41:56 +01:00
calle
b622028f7d
Merge pull request #1271 from lnbits/fix/mypy/ignores
removing type: ignore from Query, Depends, Body and import them correctly
2023-01-04 09:19:06 +01:00
Pavol Rusnak
3d0c66f0f6
remove unnecessary argument encoding from bytes.decode() and str.encode()
the encoding parameter defaults to utf-8, so it's not needed
2023-01-03 22:38:28 +01:00
ben
d2ada889dc typo 2023-01-03 20:21:10 +00:00
ben
1b201086ba Merge remote-tracking branch 'origin/main' into icontiles 2023-01-03 19:36:05 +00:00
ben
7bfc455960 mobile tweak 2023-01-03 19:35:24 +00:00
calle
7a406786f6
Merge pull request #1246 from prusnak/drop-binascii
use bytes.fromhex/hex builtins instead of binascii.hexlify/unhexlify
2023-01-03 10:52:28 +01:00
dni ⚡
b1d1cc6de3 removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00
ben
a8c4bea53d Updated extension card layout 2023-01-01 18:14:20 +00:00
ben
7d7cbeeb71 Adjusted layout for ratings and to stop overflow on mobile 2023-01-01 14:55:01 +00:00
ben
59a8ff9dce All extension icons swapped for logo tiles 2022-12-31 14:15:23 +00:00
ben
f5250e0584 initial
Added bunch tiles, more to add
2022-12-31 01:46:55 +00:00
Arc
efc156689f
Merge pull request #1253 from iWarpBTC/qr_inv_pref
QR invoices and lnurls got prefix and uppercased
2022-12-30 01:04:47 +00:00
Pavol Rusnak
a377381942
use bytes.fromhex/hex builtins instead of binascii.hexlify/unhexlify 2022-12-29 16:46:35 +01:00
calle
7d3888a28b
Merge pull request #1244 from lnbits/refactor/remove_unused_imports
refactor: remove unused imports
2022-12-29 13:51:17 +01:00
Joel Klabo
f70b417b41 Fix Typo in Migration Logging 2022-12-28 16:06:01 -08:00
Gene Takavic
71eebc1441 QR invoices and lnurls got prefix and uppercased 2022-12-28 23:42:36 +01:00
callebtc
cd11f92ed9 make format 2022-12-27 15:00:41 +01:00
callebtc
ead5ae0d82 refactor: remove unused imports 2022-12-27 14:50:42 +01:00
callebtc
6e7bfd03ee clean up 2022-12-27 14:19:51 +01:00
callebtc
a243e4e320 fix: update to latest changes 2022-12-26 12:12:27 +01:00
callebtc
feb61a3fa7 merge 2022-12-26 12:04:07 +01:00
calle
e3c14876a6
Merge pull request #1229 from motorina0/fix_extra_column_select
fix: handle `extra` updates for internal payments
2022-12-26 11:56:30 +01:00
callebtc
b6f0d7b769 feat: api health check endpoint 2022-12-25 18:49:51 +01:00
calle
7b7d06cee3
Merge pull request #1232 from lnbits/fix/allowed_user
BUG: fix auth issue for superusers  when allowed users are set
2022-12-24 11:22:49 +01:00
dni ⚡
1be460aec3 fix user not exist bug in frontend 2022-12-23 11:53:45 +01:00
Vlad Stan
98e0ea5ae2 refactor: only use one (direction) flag for identifying payment 2022-12-22 12:23:46 +02:00
Vlad Stan
a434731729 fix: update the rest of update_payment_extra calls 2022-12-22 11:28:12 +02:00
Vlad Stan
b56d08a70e fix: handle extra updates for internal payments 2022-12-22 11:12:19 +02:00
Vlad Stan
f3c884111d refactor: use dict.update() 2022-12-21 15:47:22 +02:00
Vlad Stan
ec01c74da1 fix: mypy 2022-12-21 15:10:12 +02:00
Vlad Stan
dd4a9f10cf feat: add function to update the extra JSON values 2022-12-21 15:06:45 +02:00
Vlad Stan
b68b8a0292 fix: do not loose error, log it 2022-12-21 15:06:45 +02:00
Vlad Stan
1d509fb9d2 fix: typo Setings -> Settings 2022-12-19 11:07:24 +02:00
dni ⚡
ffe0a77106 fix admin ui only have superuser to topup 2022-12-17 09:52:07 +01:00
ben
940615cb0b Merge branch 'main' into FinalAdminUI 2022-12-16 22:45:54 +00:00
ben
6b69c0f3e4 Fixed theme options
Prop needed to be persisted
2022-12-16 22:44:18 +00:00
callebtc
ac87c49603 fix: disable compression 2022-12-16 17:18:02 +01:00
Vlad Stan
c9745f849e fix: mypy 2022-12-16 12:14:00 +02:00
Vlad Stan
1751831e57 fix: create default wallet for auto created super_user 2022-12-16 12:09:13 +02:00
Vlad Stan
d596992993 feat: .env super_user overwrites DB super_user 2022-12-16 11:22:32 +02:00
Vlad Stan
d6757ed2cf chore: code format 2022-12-16 10:29:53 +02:00
Vlad Stan
4ee68628cc fix: use super_admin from .env if present 2022-12-16 10:29:43 +02:00
Tiago Vasconcelos
7b274433d0 disable topup for non super user admin 2022-12-14 16:09:27 +00:00
dni ⚡
02946c1d1c remove old topup route using new one, change wallet.js handling of that url 2022-12-13 10:17:40 +01:00
dni ⚡
04f0f5b83b improve wording 2022-12-12 12:27:52 +01:00
Vlad Stan
6a80f7c713 chore: code formatting 2022-12-12 10:52:01 +02:00
Vlad Stan
6cab77ece4
Merge branch 'main' into FinalAdminUI 2022-12-12 10:49:31 +02:00
dni ⚡
ab49b7740c add superuser decorator, fix restart route and mypy issue 2022-12-12 09:45:12 +01:00
Vlad Stan
53af4a4b99 fix: only super-user should be able to restart 2022-12-12 10:34:23 +02:00
Vlad Stan
b758cb5be3 fix: remove super_admin from lnbits_admin_users 2022-12-12 10:28:53 +02:00
Vlad Stan
7e2b1e65a0 fix: super-user is a special read-only value that is logged to the console 2022-12-12 10:12:35 +02:00
Vlad Stan
bed2eff7fb fix: send_admin_user_to_saas is not a settings method 2022-12-12 09:45:08 +02:00
calle
5d6d1fb87f
Merge pull request #1033 from lnbits/startup/skip_invoice_expriy_check
On-the-fly invoice expiry check
2022-12-11 11:54:11 +01:00
Vlad Stan
e28dea97d8 fix: update the in-memory settings object when the DB is updated 2022-12-09 14:53:51 +02:00
Vlad Stan
6252119485 fix: add super_user to the lnbits_admin_users list 2022-12-09 14:53:09 +02:00
Vlad Stan
99e7bf5cd0 chore: code format 2022-12-09 14:09:16 +02:00
Vlad Stan
4cd2fe7ee1
Merge branch 'main' into FinalAdminUI 2022-12-09 14:06:47 +02:00
Vlad Stan
d6d42250a9 refactor: use JSON for settings 2022-12-09 13:14:22 +02:00
Vlad Stan
0d4954c01a chore: temp commit (does not work); don't want to lose changes 2022-12-09 09:46:30 +02:00
Vlad Stan
d15782521d refactor: include admin extension into core 2022-12-08 15:41:52 +02:00
callebtc
0538035084 msat values are ints 2022-12-08 14:33:52 +01:00
Tiago Vasconcelos
61c3476ba7 fix display columns for hide api and or ad space 2022-12-08 11:46:44 +00:00
callebtc
ab4a9370e7 style: make format 2022-12-07 14:57:10 +01:00
callebtc
5f4fa61310 refactor:depend_admin_user 2022-12-07 14:56:45 +01:00
dni ⚡
c189ec49e5 add superuser class to obscure superuser_id for admin in the ui 2022-12-07 11:00:48 +01:00