Commit Graph

316 Commits

Author SHA1 Message Date
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
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
Vlad Stan
c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02: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
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
Pavol Rusnak
a377381942
use bytes.fromhex/hex builtins instead of binascii.hexlify/unhexlify 2022-12-29 16:46:35 +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
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
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
callebtc
ac87c49603 fix: disable compression 2022-12-16 17:18:02 +01: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 ⚡
ab49b7740c add superuser decorator, fix restart route and mypy issue 2022-12-12 09:45:12 +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
4cd2fe7ee1
Merge branch 'main' into FinalAdminUI 2022-12-09 14:06:47 +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
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
callebtc
6f5f7753ef fix audit endpoint 2022-12-06 20:58:09 +01:00
dni ⚡
c56a31e6f5 add superuser and refactor check_admin function, also put it into satspay 2022-12-05 20:41:23 +01:00
Tiago Vasconcelos
fe5e1241bf fix some of Vlad's review comments 2022-12-02 14:52:31 +00:00
benarc
a220acb583 Removed id, using param instead 2022-12-01 14:41:57 +00:00
benarc
4aeb7683e5 Added Response 2022-12-01 13:15:46 +00:00