Pavol Rusnak
d29fcca6aa
fix pylint W0612 (unused-variable)
2023-01-30 11:46:43 +00:00
Pavol Rusnak
15d7fbeace
run autoflake
...
```
autoflake -i --remove-unused-variables $(find . -name "*.py")
```
2023-01-30 11:46:43 +00:00
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
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
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
Vlad Stan
5b6e11a621
fix: import
2023-01-20 16:10:47 +02: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
aa006b66d1
feat: update pre-installed extensions on re-create
2023-01-19 10:15:56 +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
522bfcf4ae
chore: optimize imports
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
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
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
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
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
66c908e600
chore: migrate after major changes on main
2023-01-18 17:38:36 +02:00
ben
ca4134eb02
added conn
2023-01-12 22:52:46 +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
2b3a2afe83
Making universal tinyurl function
2023-01-12 15:16:37 +00:00