Commit Graph

4247 Commits

Author SHA1 Message Date
Vlad Stan
ca1dcd6768 chore: comment typos 2023-01-20 18:26:58 +02:00
Vlad Stan
0b3324cd8f refactor: create TransientSettings for settings that are not to be persisted 2023-01-20 18:10:29 +02:00
Vlad Stan
2dff48dcd0 chore: fix comment 2023-01-20 18:01:05 +02:00
Vlad Stan
5212320d8d refactor: simplify if+for 2023-01-20 18:00:50 +02:00
Vlad Stan
e95c6ec3a6 chore: add docs to InstalledExtensionMiddleware class 2023-01-20 17:58:56 +02:00
Vlad Stan
b069fe17d8 chore: add comments for register_new_ext_routes 2023-01-20 17:48:52 +02:00
Vlad Stan
4530400d33 chore: add types to method params 2023-01-20 17:08:44 +02:00
Vlad Stan
f75529e1c2 fix: double assignment 2023-01-20 16:11:51 +02: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
Vlad Stan
fa5d824eea refactor: remove redundant changes 2023-01-20 15:59:44 +02:00
Vlad Stan
ea31e148ae refactor: simplify download & extract logic 2023-01-20 15:55:58 +02:00
Vlad Stan
9cf587a64a chore: format SQL 2023-01-20 15:53:27 +02:00
Vlad Stan
8857cb94b4 feat: move GitHub stars inside the repos list 2023-01-20 15:52:27 +02:00
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
776acdd857 fix: typo in file name 2023-01-20 10:00:09 +02:00
Vlad Stan
478d74efc8 fix: separate lnbits_deactivated_extensions from lnbits_disabled_extensions` 2023-01-20 09:39:27 +02:00
Vlad Stan
1fb4c1a3b6 fix: icon on deactivate 2023-01-19 16:44:36 +02:00
Vlad Stan
0a7a589935 fix: call load_disabled_extension_list 2023-01-19 15:49:43 +02:00
Vlad Stan
bb32112169 fix: icon_url 2023-01-19 14:47:59 +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
blackcoffeexbt
dcf5f0adaa
Gerty extension tweaks (#1360)
* Changes to font sizes on Gerty to improve appearance and readability on hardware

* Gerty URL checker removes https, http and trailing slash from display

* Gerty: Added modal with copy pasta for API URL

* Gerty: Removed toggleStates Vue watch to fix weird UI toggle behavour

* Gerty: Remove API link button from list of Gertys

* Gerty: Added block height option

* Gerty: Added api response when no page number is supplied in GET request

* Gerty: blacked

* Gerty: Ran prettier on templates

* Gerty: Added block height text and removed mini gerty option

* Gerty: Remove mini gerty font sizes

* Gerty: Moved URL formatting function. Set max URLs to check to 4

* Gerty: Removed unused async calls

* Gerty: Casing fix in "copy URL" > "Copy URL"

* Gerty: Removed dead code

* Gerty: Removed unused /pages/[id] def from views_api.py

* Gerty: Ran prettier and black
2023-01-19 10:33:48 +01:00
dni ⚡
d89a6a337a
boltz extension v2, recurring swaps (#981)
* add status to statusdialog

* first commits for boltz update

* formatting

* add latest boltz-clien package

* big refactor, depending on boltz_client package, clean up, mypy issues, not tested yet

* blacking, sorting and stuff

* remove unused req_wrap helper

* remove api docs from frontend

* bug: frontend boltz limits error

* clean up buttons

* update to boltz-client 0.0.8

* fix tests to poetry version 1.3.1

* update requirements

* formatting

* recurring swap works now, need more finetuning

* add exceptions for multiple auto swaps and swapping in with active auto swap

* black

* auto reverse swap actually works :)

* remove swap status dialogs

* update to boltz_client 0.0.9

* update to boltz-client 0.1.1, and fix startup

* update requirement.txt for boltz-client

* fixup columns in table, remove unused payment.extra, change deezy label

* remove balance check for auto swap out

* update boltzc-lient to 0.1.2, fix mypy issue inside boltz package

* nitpicks calle tasks.py

* calle nitpicks crud

* calle nitpicks crud

* refactor

* fix formatting

* circular import

* black :)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-01-19 10:30:47 +01:00
Vlad Stan
6773f33ad1 fix: re-mount routes for restored extensions 2023-01-19 11:12:48 +02:00
Vlad Stan
aa006b66d1 feat: update pre-installed extensions on re-create 2023-01-19 10:15:56 +02:00
ben
a8b32194eb Reworded 2023-01-18 18:51:42 +00:00
ben
99d963c726 Added models and simple example 2023-01-18 18:50:07 +00:00
Arc
bfc99937f6
Update README.md 2023-01-18 18:03:29 +00:00
ben
71fc1b7146 Added images 2023-01-18 17:51:15 +00:00
ben
266471a5e3 Added shipping 2023-01-18 17:16:49 +00:00
ben
df68400a25 Added shipping zone 2023-01-18 17:10:22 +00:00
Arc
a7e8593a9a
Update README.md 2023-01-18 16:45:09 +00:00
Vlad Stan
69b8dfa21f fix: mypy 2023-01-18 18:40:27 +02:00
Vlad Stan
ce1639792a fix: order of migrations 2023-01-18 18:35:02 +02:00
ben
b3aa471125 Made link to DA more prominent 2023-01-18 16:30:39 +00:00
ben
95f762b687 updated to DA 2023-01-18 16:27:44 +00:00
Vlad Stan
e52baab1c2 fix: register extension route after re-install 2023-01-18 17:38:51 +02:00
Vlad Stan
98735d79c7 fix: revert onstartup extension route init 2023-01-18 17:38:51 +02:00
Vlad Stan
1d2e994862 feat: download extensions if missing 2023-01-18 17:38:51 +02:00
Vlad Stan
59bc9804ad chore: clean-up 2023-01-18 17:38:51 +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
12d32a4811 feat: add GITHUB_TOKEN for github api calls (prevent rate-limit) 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
975bbc2633 chore: add extra logs 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
77c17a2b63 chore: fix formatting 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
980267cb51 chore: code format 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
dd0c97eefc fix: make github releases g first 2023-01-18 17:38:36 +02:00
Vlad Stan
86d45cdb50 feat: fetch releases for GitHub repo 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
b4408e9d52 chore: code format 2023-01-18 17:38:36 +02:00
Vlad Stan
9a77a6e314 fix: exclude draft and prerelease releases 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
9bd1720d03 chore: code format 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
9d0fba7c15 fix: clean upgrades folder on uninstall 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
84d2e93119 chore: code format 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
ece7a82b3d fix: make function async 2023-01-18 17:38:36 +02:00
Vlad Stan
8f77c3f7bf fix: handle no-path scenario 2023-01-18 17:38:36 +02:00
Vlad Stan
59d8cff1da fix: avoid conflicts with dbversions table from cashu schema 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
51c8e183d1 fix: add module_name property 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
76cfaf93ad fix: merge issue 2023-01-18 17:38:36 +02:00
Vlad Stan
bdee9f46e3 refactor: put classes together 2023-01-18 17:38:36 +02:00
Vlad Stan
691e175370 feat: add re-routing for upgraded extension APIs 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
8f8ebbeeaa refactor: class rename and code format 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
3fbac927e9 chore: clean-up 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
calle
9d3290cd9a
fix: lntips payment lookup error handling (#1374) 2023-01-18 12:02:32 +01:00
ben
615734e4a9 Merge branch 'main' into draggablecopilot 2023-01-16 10:01:40 +00:00
calle
17f5b734b2
Cashu 0.8 (#1370)
* support cashu 0.8

* dont comment out script

* update cashu logo on mint page

* fixing versions

* installing cashu from pypi works

* update requirements.txt
2023-01-15 11:24:11 +01: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
e28a6c228e Merge branch 'main' into tinyurl 2023-01-12 20:29: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
dni ⚡
f624b54cfb fix wrong migration 2023-01-12 16:05:25 +01:00
calle
717ae540b0
Merge pull request #1352 from lnbits/fix/OffShopImageSize
add image by URL and limit size on API
2023-01-12 15:45:49 +01:00
ben
ad3b422e9f Merge branch 'main' into make-nip5-editable 2023-01-12 12:27:19 +00:00
ben
6084ac1633 Merge remote-tracking branch 'origin/main' into make-nip5-editable 2023-01-12 11:11:39 +00:00
dni ⚡
bb57831c53 fix little issues after refactor :) 2023-01-12 08:05:05 +01:00
Joel Klabo
76e84359ce Remove Accidental Import 2023-01-11 18:51:09 -08:00
Joel Klabo
731ebf9f85 Fix EditDomainData in Test 2023-01-11 15:51:05 -08:00
Joel Klabo
936e9342a2 Formatting 2023-01-11 15:45:43 -08:00
Joel Klabo
a5825f1aa9 Enabled Editing the Price for NIP-5 Domains 2023-01-11 15:39:01 -08:00
dni ⚡
85afb39388 add mission column in sql 2023-01-11 19:24:19 +01:00
dni ⚡
569990a760 feature request from ben new pr 2023-01-11 19:21:13 +01:00
callebtc
5f60b025d5 if this isnt the last commit I will burn it all down 2023-01-11 18:06:42 +01:00
callebtc
a0c66871fa relative import 2023-01-11 18:03:50 +01:00
callebtc
701b66e71e make format 2023-01-11 17:54:28 +01:00
calle
affcb9feca
Merge branch 'main' into fix/mypy-bleskomat 2023-01-11 17:50:37 +01:00
Tiago Vasconcelos
fc7a799b89 add image by URL and limit size on API 2023-01-11 16:33:01 +00:00
callebtc
6d25fa4fa0 fix it! 2023-01-11 17:32:39 +01:00
ben
4397516160 Make QR code and price draggable 2023-01-11 14:09:19 +00:00
callebtc
1f23d45d11 make format 2023-01-11 12:52:47 +01:00
callebtc
6afdff0f29 relative import 2023-01-11 12:49:11 +01: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
calle
b8dd74299d
Merge pull request #1336 from lnbits/mypy_fix_ignore_missing_imports
fix: mypy - constrain `ignore_missing_imports = "True"`
2023-01-11 12:12:53 +01:00
ben
d38ce5a119 Merge remote-tracking branch 'origin/main' into fix-satoshi-formatting-nip5-index 2023-01-10 18:45:22 +00:00
Arc
0901f64118
Merge pull request #1335 from lnbits/fix/DAImageSize
Limit the size of images in Marketplace
2023-01-10 18:44:55 +00:00
ben
2602f044da format 2023-01-10 18:37:54 +00:00
ben
a85cd94234 Elaborated nostr reference 2023-01-10 18:30:09 +00:00
Joel Klabo
2ae97817a7 Run Formatting 2023-01-10 09:41:15 -08:00
Joel Klabo
f237bdd4b7 Fix Satoshis Formatting on NIP-5 Index Page 2023-01-10 09:35:43 -08:00
callebtc
822a304127 specify in settings panel 2023-01-10 17:35:43 +01:00
callebtc
2718773b60 fix: add missing entries 2023-01-10 17:25:12 +01:00
ben
1d980afb62 format 2023-01-10 14:29:05 +00:00
ben
c2bfc199e1 Adds websocket and qrcode examples to example extension 2023-01-10 14:26:10 +00:00
Tiago Vasconcelos
d6a1aa5009 fix error when no categories are defined 2023-01-10 14:20:46 +00:00
Arc
a8fa4bd117
Merge pull request #1338 from joelklabo/dont-mulitply-sats-nip5
Don't Multiply Sat Price by 100 for NIP-5 Verification
2023-01-10 12:05:43 +00:00
callebtc
b32404ca5f correct typing of the callable 2023-01-10 11:39:21 +01:00
dni ⚡
31c8973f93 remove livestream from mypy ignore and remove dead code from smtp 2023-01-10 11:09:09 +01:00
Vlad Stan
4d1480eff3 fix: mypy - double import of lnurldevice_ext 2023-01-10 09:50:35 +02:00
Vlad Stan
6235215c89 fix: use relative import 2023-01-10 09:45:12 +02:00
Vlad Stan
54139371f6 fix: mypy 2023-01-10 09:45:12 +02:00
Vlad Stan
5547bb69e6 fix: use relative import 2023-01-10 09:45:12 +02:00
Vlad Stan
c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
Vlad Stan
8cd6c7c9bc refactor: use relative imports for own module 2023-01-10 09:44:52 +02:00
ben
aee742a8ac Merge branch 'main' into fix/DAImageSize 2023-01-09 19:24:09 +00:00
ben
68d1271d5f format 2023-01-09 19:23:03 +00:00
Tiago Vasconcelos
ab73698a45 add product image with url 2023-01-09 19:11:16 +00:00
Joel Klabo
679b371eb8 Update Formatting of Satoshi Amount (No decimal places) 2023-01-09 08:51:21 -08:00
ben
b413bbb8ee Added try for failing multiple ATM withdraws to avoid error dump 2023-01-09 16:37:35 +00:00
ben
1873740294 format 2023-01-09 16:14:46 +00:00
dni ⚡
840de18a91 fixup 2023-01-09 16:39:31 +01:00
dni ⚡
66c0aac3a1 fix mypy lnurldevices issues 2023-01-09 16:35:42 +01:00
calle
8b10198b85
Merge pull request #1295 from lnbits/fix/mypy-livestream
fix mypy issues for livestream ext
2023-01-09 16:22:45 +01:00
Joel Klabo
61c9a22fe1 Don't Multiply Sat Price by 100 for NIP-5 Verification 2023-01-09 07:20:22 -08:00
calle
bdf5980a1d
Merge pull request #1334 from motorina0/fix_wrong_tipjar_id
fix: (rollback refactoring) Use the `tipjar` id to fetch the created `tipjar`
2023-01-09 14:31:03 +01:00
calle
901accb60c
Merge pull request #1303 from lnbits/fix/mypy-watchonly
fix mypy issues for watchonly
2023-01-09 14:30:05 +01:00
Tiago Vasconcelos
44fa30fdc3 check uploaded image size in API 2023-01-09 12:31:12 +00:00
Tiago Vasconcelos
4d5c7133bc create smaller base64 image in UI 2023-01-09 12:30:21 +00:00
Vlad Stan
b764c93e7c fix: (rollback refactoring) Use the tipjar id to fetch the created tipjar 2023-01-09 14:21:14 +02:00
Arc
e362b04f0e
Merge pull request #1333 from lnbits/smtp
Extension: SMTP, send mails for sats
2023-01-09 12:18:51 +00:00
ben
ad2a6c7bc4 Added tile 2023-01-09 11:26:20 +00:00
calle
d9a13a6e30
Merge pull request #1330 from joelklabo/nip5-caddy-example
Example Caddy Configuration for NIP-05 Extension
2023-01-09 12:14:41 +01:00
calle
84f9deed77
Merge pull request #1328 from prusnak/payment-extra
tpos: remove extraneous not payment.extra check
2023-01-09 12:11:20 +01:00