Commit graph

361 commits

Author SHA1 Message Date
ben
39f0000fa5 Merge remote-tracking branch 'origin/main' into extension_install_02 2023-01-26 12:39:11 +00:00
Vlad Stan
6276a7a4db fix: icon missing after extension install 2023-01-26 12:30:42 +02:00
calle
f0d58a8365
Wallets: add custom invoice expiry (#1396)
* expiry for fakewallet

* expiry for lnd

* lnbits backend

* fix: eclair descriptionHash fixed and expiry added

* cln and sparko

* test expiry

* Eclair from AdminUI and bugfix for nonexistent payments

* add to settings and .env and remove lntxbot

* remove duplicate and format

* add invoice expiry

* add min max and step

* UI works now

* test should fail, sanity check, will revert

* revert, ready for merge

Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
2023-01-26 11:08:40 +01:00
ben
ad70e9c116 Remove choice all icons will be tiles 2023-01-25 20:51:57 +00:00
Vlad Stan
46faa62b8b fix: upgrade vs install 2023-01-25 14:32:41 +02:00
Vlad Stan
a242a823fc fix: do not propagate technical message to the user 2023-01-25 12:46:45 +02:00
Vlad Stan
f27e5af639 feat: add tabs to install all/featured/installed 2023-01-25 11:15:56 +02:00
Vlad Stan
dd3fc7c2bb fix: merge errors 2023-01-25 09:56:05 +02:00
Vlad Stan
9cca87f738
Merge branch 'main' into extension_install_02 2023-01-25 09:50:54 +02:00
ben
dda1d9bb3a mypy 2023-01-24 21:29:52 +00:00
ben
c0c4c86808 Added wallet authentication to creat, get and delete tinyurls 2023-01-24 21:26:18 +00:00
ben
6c9a52c6e1 mypy being thoroughly objectionable 2023-01-24 13:48:04 +00:00
ben
274615f0b3 Man, broken 2023-01-24 13:27:30 +00:00
ben
617b1c941b Merge remote-tracking branch 'origin/main' into tinyurl 2023-01-23 19:53:45 +00:00
Vlad Stan
53a95ccc11 refactor: search in list 2023-01-20 16:11:21 +02:00
Vlad Stan
5b6e11a621 fix: import 2023-01-20 16:10:47 +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
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
0195c242c2 feat: add is isAvailable flag 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
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
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
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
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
6ec1a668ae chore: code format 2023-01-18 17:38:36 +02:00