Commit graph

3248 commits

Author SHA1 Message Date
ben
6b69c0f3e4 Fixed theme options
Prop needed to be persisted
2022-12-16 22:44:18 +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
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
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
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
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
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
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
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
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
Vlad Stan
4cd2fe7ee1
Merge branch 'main' into FinalAdminUI 2022-12-09 14:06:47 +02:00
Vlad Stan
49855669a5 refactor: move init logic at the bottom 2022-12-09 13:40:22 +02:00
Vlad Stan
6d1db80bb3 refactor: build dynamically readonly_variables 2022-12-09 13:37:36 +02:00
Vlad Stan
d6d42250a9 refactor: use JSON for settings 2022-12-09 13:14:22 +02:00
Vlad Stan
0ed2ec6519 refactor: extract funding sources to their own classes 2022-12-09 11:35:46 +02:00
Vlad Stan
68b4a20e26 feat: enable validator for ReadonlySettings 2022-12-09 11:06:43 +02:00
Vlad Stan
7952a462e3 feat: extract parent LNbitsSetings class 2022-12-09 10:57:53 +02:00
Vlad Stan
60bb556f2c fix: log init exceptions 2022-12-09 10:31:29 +02:00