Commit graph

4078 commits

Author SHA1 Message Date
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
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
Danny Diekroeger
c0789858a1
Nits + mainnet 2022-12-06 18:46:11 -08:00
Uthpala Heenatigala
aa0ff732df adding polling and success message 2022-12-06 23:48:31 +01:00
Uthpala Heenatigala
1b2e8d218d add api docs and update according to requirements 2022-12-06 22:39:45 +01:00
ben
9971a560e1 Trying to catchup with main 2022-12-06 20:35:58 +00: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
Uthpala Heenatigala
209750386e forgot to update this one 2022-12-05 21:12:17 +01:00
Uthpala Heenatigala
6ec5b9abf6 convert string to ints 2022-12-05 21:07:38 +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
Uthpala
f52e8ebfa1
Merge branch 'lnbits:main' into main 2022-12-04 23:31:17 +01:00
Uthpala Heenatigala
4645b8338b added the reverse swap as well 2022-12-04 23:30:48 +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
callebtc
167c2ce9f1 make format 2022-12-02 18:51:52 +01:00
callebtc
7a6450f032 add expiry to Payment model 2022-12-02 18:51:18 +01:00
callebtc
2134b63cea readd comments 2022-12-02 17:48:47 +01:00
callebtc
1a98f15d48 remove STARTUP_INVOICE_EXPIRY_CHECK 2022-12-02 17:39:56 +01:00
callebtc
4e69924c9c fix datetime conversion 2022-12-02 17:38:36 +01:00
Tiago Vasconcelos
c3e6ed9089 fix for default ad image URL 2022-12-02 14:59:02 +00:00
Tiago Vasconcelos
fe5e1241bf fix some of Vlad's review comments 2022-12-02 14:52:31 +00:00