Commit graph

144 commits

Author SHA1 Message Date
ben
254cb8cce1 added back custom css to public page 2022-11-28 15:23:33 +02:00
ben
3a9dbb97c5 fixed admin check 2022-11-28 15:23:06 +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
5b75d4f262 added back crud 2022-11-28 15:21:34 +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
6f9d32478b run isort and black 2022-11-28 15:18:01 +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
6dd52acc5b Remove console.log from satspay index.html 2022-11-28 15:18:01 +02:00
Black Coffee
f074d81827 Remove theme settings on satspay invoice page and default to blue theme to allow users to skin satspay invoice page more easily 2022-11-28 15:18:01 +02:00
Black Coffee
1296dd8574 Removed unused custom css api call from display.html 2022-11-28 15:17:35 +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
Black Coffee
00cb7a8d21 Added satspay settings migration 2022-11-28 15:11:39 +02:00
Vlad Stan
44754df991 refactor: remove single use var 2022-11-25 14:37:26 +02:00
Vlad Stan
cd53f9930b chore: update comment 2022-11-25 14:37:02 +02:00
Vlad Stan
3178b79fe4 chore: format code 2022-11-25 14:31:00 +02:00
Vlad Stan
15c257fd65 fix: object is not subscriable 2022-11-25 14:20:56 +02:00
Vlad Stan
1a9cd81ee9 fix: persist webhook call status 2022-11-25 14:12:13 +02:00
Vlad Stan
1aecedac84 refactor: move business logic logic to helpers.py 2022-11-25 11:25:40 +02:00
Vlad Stan
6f5c9a7798 chore: code clean-up 2022-11-25 11:06:45 +02:00
Vlad Stan
5440d4ab19 feat: store onchain charge config with the charge 2022-11-25 10:48:57 +02:00
Vlad Stan
4e984eae56 fix: center back button 2022-11-24 17:39:40 +02:00
Vlad Stan
3356bab5ca fix: refresh when both onchain and ln are present 2022-11-24 17:33:58 +02:00
Vlad Stan
d3c3622d22 fix: mempool hostname 2022-11-24 17:20:12 +02:00
Vlad Stan
00ba09d201 fix: remove wallet inkey 2022-11-24 17:08:32 +02:00
Vlad Stan
fdfd9b1d9f fix: call webhook in the background (from the task.py) 2022-11-24 16:57:59 +02:00
Vlad Stan
a641ef4836 refactor: remove duplicate code 2022-11-24 16:55:35 +02:00
Vlad Stan
4b4f18fad5 fix: oldObj should not overwrite properties 2022-11-24 11:39:35 +02:00
Vlad Stan
a8d4835b74 fix: use lnbitswallet form data 2022-11-24 10:42:28 +02:00
Vlad Stan
69c0b753f5 fix: remove de-selected wallet 2022-11-23 17:32:34 +02:00
Vlad Stan
b9986b562a fix: oldObj values lost 2022-11-23 17:04:08 +02:00
Thomas Verstreken
b698dac52c
Fix typo's (#1136)
Costumer to Customer, costumer to customer
2022-11-19 14:10:12 -06: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
calle
5a12f4f237
Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
Tiago Vasconcelos
9154660479
Fix/tipjar desc and satspay (#824)
* fix tipjar description from screwing charges

* small fix for charges when onchain isn't set

* make dni happy

* make black happy
2022-08-02 16:16:32 +02:00
Vlad Stan
191124d8fc chore: code format 2022-07-28 16:34:42 +03:00
Vlad Stan
66a3b24dd5 chore: code clean-up 2022-07-28 15:35:54 +03:00
Vlad Stan
809d03d3db fix: at least one charge must be active in order to fetch balance 2022-07-28 15:35:54 +03:00
Vlad Stan
f9fd071315 feat: update API doc to use swagger 2022-07-28 15:35:54 +03:00
Vlad Stan
739c108bdf feat: add (hh:mm) to time columns 2022-07-28 15:35:39 +03:00
Vlad Stan
c419afc1b1 refactor: code clean-up 2022-07-28 15:35:39 +03:00
Vlad Stan
46a7b54a00 fix: fix progress for charges 2022-07-28 15:35:39 +03:00
Vlad Stan
0f204485c3 feat: return time_elapsed, time_left and paid fields 2022-07-28 15:35:39 +03:00
Vlad Stan
8c6b31ec12 feat: mapCharge now computes fields progress, timeLeft and fixes time 2022-07-28 15:35:39 +03:00
Vlad Stan
d79d4e371e feat: use datetime to compute time_left and time_elapsed 2022-07-28 15:35:39 +03:00
Vlad Stan
e4078504ba fix: do not update charge if balance has not changed 2022-07-28 15:35:39 +03:00