Commit Graph

3597 Commits

Author SHA1 Message Date
callebtc
8e2cb187da fix: correctly update ui on token sending 2022-12-24 16:32:38 +01:00
calle
13f0159c15
Merge pull request #1237 from lnbits/fix/cashu/timeout
cashu: refactor wallet
2022-12-24 14:02:13 +01:00
callebtc
5ecbbb1abe add warning 2022-12-24 13:58:39 +01:00
Lee Salminen
fe2be38ebb add manual activate button 2022-12-24 05:42:00 -06: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
callebtc
b5147181af feat: add /keys/{keyset} endpoint 2022-12-24 04:03:04 +01:00
callebtc
1fd351b959 refactor wallet 2022-12-24 02:32:40 +01:00
ben
dd90c3a2eb format 2022-12-23 22:47:14 +00:00
ben
cd6f4c909f swaps pos id for number 2022-12-23 22:38:19 +00:00
Vlad Stan
50addd73dd chore: log error in debug mode 2022-12-23 22:21:14 +02:00
Vlad Stan
8a447ecc4f fix: onchain wallet deleted for charge 2022-12-23 22:15:32 +02:00
ben
dce50105c9 no such column 2022-12-23 15:41:59 +00:00
ben
0ce987a20e await 2022-12-23 15:40:52 +00:00
ben
03846adbfb unsupported type 2022-12-23 15:40:05 +00:00
ben
886070755c hacky lnurlpos bump 2022-12-23 15:35:06 +00:00
dni ⚡
1be460aec3 fix user not exist bug in frontend 2022-12-23 11:53:45 +01:00
callebtc
0d8ca58a67 fix logger 2022-12-22 20:10:01 +01:00
callebtc
090cf414e7 cashu: add more logging 2022-12-22 19:58:01 +01:00
dni ⚡
1f75d5fd41 fix it up 2022-12-22 17:58:49 +01:00
dni ⚡
7c96a12a3c fix issue with allowed_users and admin/superuser 2022-12-22 17:48:46 +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
Lee Salminen
4f39dce206 update readme 2022-12-21 15:17:28 -06:00
Lee Salminen
e65082b585 add self-service pubkey rotation for nip-05 addresses 2022-12-21 14:05:45 -06:00
Vlad Stan
7b0f9f61fc fix: remove double dict 2022-12-21 15:47:35 +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
60cd40d5e5 feat: update_payment_extra with webhook response 2022-12-21 15:06:45 +02:00
Vlad Stan
0ab99bef41 refactor: use update_payment_extra 2022-12-21 15:06:45 +02:00
Vlad Stan
8fae90bb9d feat: add webhook_headers and webhook_body to withdraws 2022-12-21 15:06:45 +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
Lee Salminen
6996155cae format 2022-12-20 10:40:01 -06:00
Lee Salminen
6787e4916e allow admins to manually create addresses without paying 2022-12-20 10:39:45 -06:00
Lee Salminen
0f417110cb improved validation 2022-12-20 10:32:45 -06:00
Lee Salminen
45a69a1139 fix readme 2022-12-20 10:32:28 -06:00
Lee Salminen
ad572f267a Merge branch 'main' of github.com:leesalminen/lnbits-legend 2022-12-20 08:45:11 -06:00
Lee Salminen
4e996c821e format and mypy 2022-12-20 08:44:28 -06:00
Lee Salminen
f5bdcc8ea5
Merge branch 'lnbits:main' into main 2022-12-20 08:08:57 -06:00
Lee Salminen
189347ee39 readme 2022-12-20 08:06:25 -06:00
Lee Salminen
51076634bd allow users to enter their npub bech32 encoded too 2022-12-20 07:49:59 -06:00
Lee Salminen
f7b4aa91ab API docs 2022-12-20 07:49:35 -06:00
dni ⚡
c2df13bf24 formatting 2022-12-20 14:23:02 +01:00
Lee Salminen
632636ff0a rename function 2022-12-20 07:16:55 -06:00
Lee Salminen
048ccd6d65 formatting 2022-12-20 07:15:54 -06:00
Lee Salminen
9e857e6329 better validation on pubkeys 2022-12-20 07:14:03 -06:00
dni ⚡
36ae851a8d nitpicking vlad :) 2022-12-20 13:44:14 +01:00
Lee Salminen
3ca9edeee6 WIP nostr nip5 extension 2022-12-20 06:28:43 -06:00
dni ⚡
29869cfcda formatting 2022-12-20 13:18:37 +01:00
dni ⚡
22cafe9ed0 remove uneeded if 2022-12-20 13:17:07 +01:00
dni ⚡
c90f7878d7 fix usermanager mypy 2022-12-20 13:14:49 +01:00
Vlad Stan
c5fdd35078 feat: store mor info about the webhook call status 2022-12-20 13:32:03 +02:00
Vlad Stan
681883a8f9 fix: catch all exceptions for webhook 2022-12-20 13:32:03 +02:00
ben
955eace387 Merge remote-tracking branch 'origin/main' into gerty 2022-12-20 08:18:13 +00:00
ben
8ba380fcbd format 2022-12-19 23:34:54 +00:00
callebtc
7650d5775f backwards compatible 2022-12-19 15:54:31 +01:00
callebtc
385cda47cf fix cln setting 2022-12-19 15:48:55 +01:00
ben
e69f2be1f0 format 2022-12-19 13:24:08 +00:00
ben
53be745737 Bad env calls 2022-12-19 13:22:53 +00:00
ben
fcaf6967fa Merge branch 'main' into gerty 2022-12-19 13:03:19 +00:00
Vlad Stan
1d509fb9d2 fix: typo Setings -> Settings 2022-12-19 11:07:24 +02:00
Vlad Stan
1f3dff16fb fix: wrong permission required 2022-12-19 11:07:02 +02:00
ben
04bc6c8975 Merge branch 'main' into gerty 2022-12-17 10:12:53 +00:00
ben
604c0a4ee9 Merge remote-tracking branch 'origin/main' into fix/boltcard_errors 2022-12-17 10:01:12 +00:00
Arc
2b7c2a0c28
Merge pull request #1005 from iWarpBTC/ext-boltcards_keys
Boltcard ext upgrade
2022-12-17 09:57:35 +00:00
dni ⚡
ffe0a77106 fix admin ui only have superuser to topup 2022-12-17 09:52:07 +01:00
Arc
d3548926b8
Merge pull request #1200 from lnbits/fix/paywall_button
remove icon add button for better UX
2022-12-16 23:19:33 +00:00
ben
85dbab14f9 isort 2022-12-16 23:13:20 +00:00
Arc
6140358fa2
Merge pull request #1195 from lnbits/switchpasstag
Adds tags to splitpayments
2022-12-16 23:10:27 +00:00
ben
8f00e35d1e Merge branch 'main' into gerty 2022-12-16 23:02:45 +00: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
5d4e1dd9bb fix: rename variable 2022-12-16 17:34:05 +01:00
callebtc
ac87c49603 fix: disable compression 2022-12-16 17:18:02 +01:00
ben
68bcfadd42 Added servers to check 2022-12-16 12:38:14 +00:00
Gene Takavic
7b7a731021 reducing the PR 2022-12-16 11:55:47 +01:00
Gene Takavic
75561bd930 some minors 2022-12-16 11:51:37 +01:00
ben
2403d0adfb adding urls 2022-12-16 10:36:49 +00:00
Vlad Stan
dc0c4564af fix: merge conflict 2022-12-16 12:27:26 +02:00
Vlad Stan
2eeef5c1ed
Merge branch 'main' into FinalAdminUI 2022-12-16 12:21:25 +02:00
Gene Takavic
a916c1ac73 reducing the PR 2022-12-16 11:17:59 +01:00
Gene Takavic
e7fdd31cda
Merge branch 'main' into ext-boltcards_keys 2022-12-16 11:14:04 +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
Gene Takavic
3aee76be39 reducing the PR 2022-12-16 11:09:10 +01: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
ben
495719c366 MVP working 2022-12-15 23:12:13 +00:00
Gene Takavic
b8bd9cc807 format 2022-12-15 16:46:49 +01:00
Gene Takavic
90679f54ee handling some errors 2022-12-15 16:28:17 +01:00
Tiago Vasconcelos
6a44ac3425 fix button type 2022-12-15 14:56:30 +00:00
ben
ee79bdcfc8 Merge remote-tracking branch 'origin/main' into gerty 2022-12-15 14:50:48 +00:00
ben
2e786e63bf Pretty much everything loading in software Gerty 2022-12-15 14:50:32 +00:00
Tiago Vasconcelos
210c736181 remove icon add button for better UX 2022-12-15 14:41:24 +00:00
ben
eb9ec21c89 Spagetthi, needs cleaning and refactor 2022-12-15 11:16:19 +00:00
ben
cde7e4a5e9 added wallet colors 2022-12-15 10:51:29 +00:00
callebtc
cef4244bfc update to cashu 0.6.0 2022-12-15 00:33:24 +01:00
callebtc
78f94483d0 fix: no stacktrace for validartion errors 2022-12-14 19:10:26 +01:00
callebtc
5b8c5d52da fix: no stack trace for http errors 2022-12-14 19:09:01 +01:00
callebtc
317c17c1b3 make format 2022-12-14 18:42:45 +01:00
callebtc
4a060baa75 feat: error responses work 2022-12-14 18:40:07 +01:00
Tiago Vasconcelos
7b274433d0 disable topup for non super user admin 2022-12-14 16:09:27 +00:00
ben
475ff47f5b isort 2022-12-14 14:56:04 +00:00
ben
60a01cd89a fomrat 2022-12-14 14:53:09 +00:00
ben
59c6469bd1 generalised tag search 2022-12-14 14:43:41 +00:00
ben
7ce2587bdb gerty lnbits walllet working 2022-12-14 14:07:05 +00:00
callebtc
fa7bbb62e2 correct error codes in tests 2022-12-14 14:59:11 +01:00
callebtc
b5eb8b7ee8 add handler for RequestValidationError 2022-12-14 14:33:13 +01:00
callebtc
f47772d528 fix: fastapi exception handling and printing 2022-12-14 14:18:42 +01:00
ben
4c3db72afc Added ID 2022-12-14 00:31:09 +00:00
ben
7b2b1de681 Merge branch 'main' into switchpasstag 2022-12-14 00:18:46 +00:00
ben
75e6252d23 formatted 2022-12-14 00:06:36 +00:00
ben
f506b010f6 Working 2022-12-14 00:04:03 +00:00
ben
5f53eb8e4e tagged working 2022-12-13 23:41:40 +00:00
ben
c91b5031bf migration working 2022-12-13 20:17:52 +00:00
ben
e161c5d116 fixed migration 2022-12-13 20:11:07 +00:00
ben
100cf17e4b fixed percent 2022-12-13 20:07:16 +00:00
ben
2e69ebe080 Seems to be working 2022-12-13 20:01:05 +00:00
calle
cc60e11226
Merge pull request #1193 from lnbits/fix/cashu/status_check
Cashu fix: log status check
2022-12-13 17:16:07 +01:00
callebtc
a7f572f455 typo 2022-12-13 17:15:44 +01:00
Gene Takavic
afe07ad0ba fix get_hits, get_refunds 2022-12-13 15:27:28 +01:00
ben
d69c2e9170 moved to tag changed 2022-12-13 14:25:18 +00:00
ben
5539a82b4a Added tag 2022-12-13 13:42:09 +00:00
Vlad Stan
6ccc783377 feat: store & show webhook response body 2022-12-13 13:36:21 +02: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
callebtc
285bf497b6 fix: log status check 2022-12-12 23:16:31 +01:00
ben
52d490d687 struggling with ui 2022-12-12 12:44:58 +00:00
dni ⚡
04f0f5b83b improve wording 2022-12-12 12:27:52 +01:00
Vlad Stan
50a509dfc3 chore: code-format 2022-12-12 11:36:24 +02:00
Vlad Stan
9e61c80d02 feat: move Admin to left hand side menu 2022-12-12 11:31:29 +02: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
63ea3369d3 fix: do not hide Exception message 2022-12-12 10:20:27 +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
callebtc
c949e8a299 feat: add copy token button 2022-12-11 01:36:03 +01:00
callebtc
a50dd80ad5 feat: display mint name 2022-12-11 00:59:07 +01:00
ben
4e6466cd95 Started adding ability to forward by tag 2022-12-09 14:10:10 +00:00
Vlad Stan
3288722ef4 refactor: spit ReadOnlySettings 2022-12-09 15:13:58 +02: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
84a24c389f feat: add Admin Console icon 2022-12-09 14:27:32 +02:00
Vlad Stan
b5a39e32c3 fix: old env variables 2022-12-09 14:13:41 +02:00
Vlad Stan
99e7bf5cd0 chore: code format 2022-12-09 14:09:16 +02:00