Commit Graph

3667 Commits

Author SHA1 Message Date
ben
08747f1cb6 only allows admins to use custom themes 2022-12-01 12:21:25 +01:00
ben
cbd939f35b Revert "Merge remote-tracking branch 'origin/fix/strip_html_db' into feature/satspay-server-custom-css"
This reverts commit f98278fabaffef1ffacf0b8c84e8c1ca166e8ae8.
2022-12-01 12:21:25 +01:00
callebtc
824baa4f2a use isinstance, not type 2022-12-01 12:21:25 +01:00
callebtc
2ec150fd13 rewrite values in db 2022-12-01 12:21:25 +01:00
callebtc
6d16ac0f0a strip html 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
b2e8bed24c run isort and black 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
b51bc492fb Remove console.log from satspay index.html 2022-12-01 12:21:25 +01:00
Black Coffee
29a503a0eb Remove theme settings on satspay invoice page and default to blue theme to allow users to skin satspay invoice page more easily 2022-12-01 12:21:25 +01:00
Black Coffee
7bc660ea09 Removed unused custom css api call from display.html 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
Black Coffee
2b67169512 Added satspay settings migration 2022-12-01 12:21:25 +01:00
calle
2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
ben
cb042d0bd0 Added websocket checker for switch 2022-12-01 12:21:25 +01:00
ben
0a70af7e1e Added websocket test 2022-12-01 12:21:25 +01:00
Vlad Stan
0326f3bb9e refactor: remove single use var 2022-12-01 12:21:25 +01:00
Vlad Stan
ca0373406c chore: update comment 2022-12-01 12:21:25 +01:00
Vlad Stan
179b884eb5 chore: format code 2022-12-01 12:21:25 +01:00
Vlad Stan
c7ffdfa8ac fix: object is not subscriable 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
4319836195 fix: important info, should be visible in the logs 2022-12-01 12:21:25 +01:00
Vlad Stan
6c6d00fb8c refactor: move business logic logic to helpers.py 2022-12-01 12:21:25 +01:00
Vlad Stan
e0f595775c chore: code clean-up 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
bb16870c66 fix: center back button 2022-12-01 12:21:25 +01:00
Vlad Stan
2ca48a26a6 fix: refresh when both onchain and ln are present 2022-12-01 12:21:25 +01:00
Vlad Stan
683eb6992a fix: mempool hostname 2022-12-01 12:21:25 +01:00
Vlad Stan
13203055e9 fix: remove wallet inkey 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
a301b97766 refactor: remove duplicate code 2022-12-01 12:21:25 +01:00
Vlad Stan
5ddad18f64 fix: oldObj should not overwrite properties 2022-12-01 12:21:25 +01:00
Vlad Stan
755ce9c7da fix: use lnbitswallet form data 2022-12-01 12:21:25 +01:00
Vlad Stan
c59e502519 fix: remove de-selected wallet 2022-12-01 12:21:25 +01:00
Vlad Stan
5774180ce3 fix: oldObj values lost 2022-12-01 12:21:25 +01:00
callebtc
b36868e90d fix padding of bottom bar 2022-12-01 12:21:25 +01:00
callebtc
9c8830d4af fix padding of bottom bar 2022-12-01 12:21:25 +01:00
callebtc
2a9bec55b9 lock cashu version 2022-12-01 12:21:25 +01:00
callebtc
e790a5567b update cashu 2022-12-01 12:21:25 +01:00
callebtc
ecec9e9596 consider bool 2022-12-01 12:21:25 +01:00
callebtc
175516f8e4 update to cashu 0.5.3 with db fix 2022-12-01 12:21:25 +01:00
callebtc
23308fe6cf skip dbversions 2022-12-01 12:21:25 +01:00
callebtc
e12d038e22 pass migrations 2022-12-01 12:21:25 +01:00
callebtc
c79b121fd2 pass migrations 2022-12-01 12:21:25 +01:00
callebtc
074706c422 pass migrations 2022-12-01 12:21:25 +01:00
callebtc
e3510e5133 check skip 2022-12-01 12:21:25 +01:00
callebtc
f390bc8798 mypy 2022-12-01 12:21:25 +01:00
callebtc
12848938e0 better error 2022-12-01 12:21:25 +01:00