Commit graph

3323 commits

Author SHA1 Message Date
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
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
Tiago Vasconcelos
61c3476ba7 fix display columns for hide api and or ad space 2022-12-08 11:46:44 +00:00
callebtc
0927bc582f just site title 2022-12-08 11:54:28 +01:00
callebtc
8c27561a3f fix for #1182 2022-12-08 11:44:43 +01:00
Tiago Vasconcelos
0706ceed12 restrict non super user admins actions 2022-12-08 10:35:13 +00:00
Tiago Vasconcelos
04017c9730 remove super user id 2022-12-08 10:34:42 +00:00
Tiago Vasconcelos
5797f0a77d clean up logs 2022-12-08 10:34:27 +00:00
Tiago Vasconcelos
301cc6229e remove lnbits_admin_extensions from readonly variables 2022-12-08 10:15:34 +00:00
dni ⚡
b4e8659006 fix default value for reserve fee
format
2022-12-07 15:58:33 +01:00
calle
386e1ec4d9
Merge pull request #1171 from lnbits/fix/audit_endpoint
Fix: audit endpoint
2022-12-07 14:22:39 +01:00
dni ⚡
89933c2d30 test should pass now, WALLET is initialised after the settings are loaded from db. 2022-12-07 13:38:33 +01:00
Arc
ee874a4a80
Merge pull request #1154 from iWarpBTC/tpos/user-agent
TPOS identifies itself via user-agent
2022-12-07 11:00:48 +00:00
ben
44d7435163 format 2022-12-07 10:42:48 +00:00
dni ⚡
35536dde9b missing LNBITS_ADMIN_EXTENSIONS and fix update bug 2022-12-07 11:30:03 +01:00
ben
97565fde02 Adds PoS websocket endpoint
Receives all payments to a pos
2022-12-07 10:21:45 +00:00
dni ⚡
c0fc53028b reformatting 2022-12-07 11:02:23 +01:00
dni ⚡
c189ec49e5 add superuser class to obscure superuser_id for admin in the ui 2022-12-07 11:00:48 +01:00
callebtc
e15cfeb943 print only if migration takes place 2022-12-06 21:05:09 +01:00
callebtc
6eb9c5d9ee better sort sql clause 2022-12-06 21:04:10 +01:00
callebtc
6f5f7753ef fix audit endpoint 2022-12-06 20:58:09 +01:00
Tiago Vasconcelos
02e82a8fdf fix add user and admins-WIP remove super user id from API 2022-12-06 16:08:21 +00:00
callebtc
3bb11dc487 separate migrations 2022-12-06 16:21:19 +01:00
dni ⚡
344e951368 remove unused comment, and drop readonly settings on update 2022-12-06 15:30:53 +01:00
callebtc
36cebffbf5 clean migration 2022-12-06 13:23:51 +01:00
callebtc
07724eaa0f clean up if clause 2022-12-06 13:21:34 +01:00
callebtc
269ea0f975 optional expiry (float now) in Payment model 2022-12-06 13:08:36 +01:00
dni ⚡
f2da8fc277 fix another super_user permission issue 2022-12-06 13:04:27 +01:00
dni ⚡
aafb2335a1 fix check_admin issue, wrong condition 2022-12-06 12:45:26 +01:00
dni ⚡
d2cd972663 refactor from settings.py into admin crud, but broke frontend
formatting
2022-12-06 11:02:01 +01:00
callebtc
8c324d8634 make format 2022-12-06 10:48:34 +01:00
callebtc
441d5337a3 fix expiry integer 2022-12-06 10:48:16 +01:00
dni ⚡
c56a31e6f5 add superuser and refactor check_admin function, also put it into satspay 2022-12-05 20:41:23 +01:00
dni ⚡
9d67c8e4e5 checks, redundant error handling 2022-12-05 17:50:13 +01:00
dni ⚡
e49112d4ee rename read_only_variables to readonly_variables 2022-12-05 16:13:26 +01:00
dni ⚡
9b37c68b7c calle, change logger.warning messages 2022-12-05 16:10:35 +01:00
dni ⚡
35920bae48 code improvements, bugfixes 2022-12-05 15:43:26 +01:00
dni ⚡
12b0ec138d removed unused file 2022-12-05 15:37:01 +01:00
dni ⚡
b4126e664b nitpicks from vlad 2022-12-05 12:28:26 +01:00
dni ⚡
04b67c3551 WALLET outside of loop 2022-12-05 12:20:37 +01:00
dni ⚡
9e60b5374c fake wallet queue issue 2022-12-05 12:18:59 +01:00
callebtc
befdeb040e add expiry to frontend 2022-12-02 19:05:22 +01:00
callebtc
32448c4b0c on-the-fly deletion 2022-12-02 18:55:53 +01:00