Commit graph

75 commits

Author SHA1 Message Date
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
dni ⚡
b1d1cc6de3 removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00
Pavol Rusnak
f7a977ecc8
let's use unique function names
so mypy is not confused
2022-12-30 13:16:11 +01:00
callebtc
a0429660f4 fix: remove require_admin_user 2022-12-27 14:18:00 +01:00
callebtc
feb61a3fa7 merge 2022-12-26 12:04:07 +01:00
calle
6825a1f2e6
Update lnbits/extensions/satspay/views_api.py 2022-12-26 11:52:40 +01: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
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
dni ⚡
c56a31e6f5 add superuser and refactor check_admin function, also put it into satspay 2022-12-05 20:41:23 +01:00
Tiago Vasconcelos
52cbc7d0f7 make format 2022-12-02 14:38:21 +00:00
dni ⚡
803c9349d4 merge main 2022-12-01 12:37:08 +01:00
dni ⚡
4702448ecf fix satspay settings 2022-12-01 12:28:28 +01:00
Vlad Stan
0dbd91048f fix: rebase clean-up 2022-12-01 12:21:25 +01:00
ben
317ddec705 isort 2022-12-01 12:21:25 +01:00
ben
ce41e4b689 formatting 2022-12-01 12:21:25 +01:00
ben
13d2c93007 Added lost return 2022-12-01 12:21:25 +01:00
ben
76c2a87577 Auto stash before checking out "HEAD" 2022-12-01 12:21:25 +01:00
ben
1a17c04246 removed compact_charge 2022-12-01 12:21:25 +01:00
ben
08747f1cb6 only allows admins to use custom themes 2022-12-01 12:21:25 +01:00
ben
700196a5a9 Now you can have multiple themes 2022-12-01 12:21:25 +01:00
Black Coffee
72cf6b9b79 Change user to user_id in satspay settings table and fixed first use bug 2022-12-01 12:21:25 +01:00
Black Coffee
b34cfd2906 Custom CSS on SatsPay server working!:) 2022-12-01 12:21:25 +01:00
Black Coffee
487833f1f2 Settings now save and load and have an insert or delete for new / existing settings 2022-12-01 12:21:25 +01:00
Black Coffee
a63ec981f1 SatsPay server save custom css settings now working 2022-12-01 12:21:25 +01:00
Vlad Stan
5a4726224c fix: persist webhook call status 2022-12-01 12:21:25 +01:00
Vlad Stan
871d716539 feat: store onchain charge config with the charge 2022-12-01 12:21:25 +01:00
Vlad Stan
948e7f0a4e fix: call webhook in the background (from the task.py) 2022-12-01 12:21:25 +01:00
Vlad Stan
e818f34888 fix: rebase clean-up 2022-11-28 15:52:39 +02:00
ben
58eefd4d30 isort 2022-11-28 15:25:19 +02:00
ben
879996039f formatting 2022-11-28 15:24:23 +02:00
ben
e192b6c3f5 Added lost return 2022-11-28 15:24:12 +02:00
ben
7dc90177ec Auto stash before checking out "HEAD" 2022-11-28 15:23:06 +02:00
ben
a19bb520c3 removed compact_charge 2022-11-28 15:22:35 +02:00
ben
5c029a7af9 only allows admins to use custom themes 2022-11-28 15:20:35 +02:00
ben
a26a13a88d Now you can have multiple themes 2022-11-28 15:19:51 +02:00
Black Coffee
1d8f4cb01b Change user to user_id in satspay settings table and fixed first use bug 2022-11-28 15:18:01 +02:00
Black Coffee
7106dee2ce Custom CSS on SatsPay server working!:) 2022-11-28 15:17:19 +02:00
Black Coffee
220dc699cf Settings now save and load and have an insert or delete for new / existing settings 2022-11-28 15:14:26 +02:00
Black Coffee
4e9132ec04 SatsPay server save custom css settings now working 2022-11-28 15:13:57 +02:00
Vlad Stan
1a9cd81ee9 fix: persist webhook call status 2022-11-25 14:12:13 +02:00
Vlad Stan
5440d4ab19 feat: store onchain charge config with the charge 2022-11-25 10:48:57 +02:00
Vlad Stan
fdfd9b1d9f fix: call webhook in the background (from the task.py) 2022-11-24 16:57:59 +02:00
Tiago Vasconcelos
7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
Vlad Stan
9de38f908b
fix: wallet not found error (#1063) 2022-10-20 16:40:23 +02:00
Vlad Stan
0f204485c3 feat: return time_elapsed, time_left and paid fields 2022-07-28 15:35:39 +03:00
Vlad Stan
ac3f95e6c2 feat: use custom mempool_endpoint for the charge details 2022-07-28 15:35:39 +03:00
Vlad Stan
40f5cf77f6 feat: add endpoint for multiple charges balance; 2022-07-28 15:35:39 +03:00
Vlad Stan
728209da7d refactor: replace mempool internal API with a more generic config API 2022-07-28 15:35:39 +03:00