Commit Graph
100 Commits
Author SHA1 Message Date
Tiago Vasconcelos aed52297f3 fix typo in events 2022-11-23 13:48:36 +00:00
Tiago Vasconcelos 50dc6f9c55 add select users wallet 2022-11-23 13:43:04 +00:00
Tiago VasconcelosandVlad Stan edf76ad7cc add input number 2022-11-18 13:28:53 +02:00
Tiago VasconcelosandVlad Stan 1b76a7d068 format 2022-11-18 13:28:53 +02:00
Tiago VasconcelosandVlad Stan 12b69a7f82 fix reseting rounding and better UX 2022-11-18 13:28:53 +02:00
Tiago VasconcelosandVlad Stan 9430aa28c7 add rounding tip option 2022-11-18 13:28:52 +02:00
Tiago VasconcelosandVlad Stan 96046b8d0c add default tip by rounding to value 2022-11-18 13:28:52 +02:00
Tiago VasconcelosandVlad Stan 476f915fd2 format 2022-11-18 13:14:21 +02:00
Tiago VasconcelosandVlad Stan b0b1446483 fixed display amount 2022-11-18 13:14:21 +02:00
Tiago Vasconcelos 79fc0b9be4 wrap db call in try except 2022-11-18 10:56:14 +00:00
Tiago Vasconcelos 28e62f3333 make format 2022-11-18 10:27:23 +00:00
Tiago Vasconcelos ebeecdecca add "No paid invoices" if... no paid invoices 2022-11-18 10:22:11 +00:00
Tiago Vasconcelos 2eaf5e5668 remove commented out code 2022-11-17 15:33:20 +00:00
Tiago VasconcelosandVlad Stan 9f03d25a8c fix issue with export to CSV 2022-11-17 15:05:26 +02:00
Tiago Vasconcelos e93d1b322b make format 2022-11-17 13:02:32 +00:00
Tiago Vasconcelos 121331fa0b refactor get latest payments 2022-11-17 13:00:53 +00:00
Tiago Vasconcelos facc7bbf5e remove core db action from extension 2022-11-17 13:00:17 +00:00
Tiago Vasconcelos 4549190e86 abstract get latest payments for extensions 2022-11-17 12:59:40 +00:00
Tiago Vasconcelos a2092675cd added some UI sugar, removed pending tx 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos 8e85651c4f make format 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos 9f7b4c1370 add button and list 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos 8d8a309258 api endpoint to get last payments 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos 0b883d02b3 get payment from db 2022-11-17 12:58:54 +00:00
Tiago VasconcelosandVlad Stan 7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
Tiago VasconcelosandGitHub f3b720b690 Fix usermanager API keys (#1117)
* fix wrong API keys on examples

* add hability to keep wallet after user delete #344

* make format
2022-11-12 11:11:24 -06:00
Tiago vasconcelos 92a756b9bb make format 2022-10-06 15:34:37 +01:00
Tiago vasconcelos 7316ef7dbb add disclaimer about whole (integer) sats 2022-10-06 15:33:20 +01:00
Tiago vasconcelos 11ec82e339 floor amount when not whole sat 2022-10-06 15:23:59 +01:00
Tiago vasconcelos 8e8bf08ea5 fix issue with splitting to multiple wallets-queue 2022-10-06 15:23:59 +01:00
Tiago VasconcelosandGitHub b2a26b0a7a add small description in UI (#1023) 2022-09-30 13:41:35 +02:00
f6d12c9d24 prevent ios autozoom on inputs (#945)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-09-23 16:40:20 +03:00
Tiago vasconcelos 15e9eeb682 Merge remote-tracking branch 'lnbits/main' into fix/tpos_dismiss_btn 2022-09-12 08:52:25 +01:00
Tiago vasconcelos fad040edf1 remove toast - click checkmark to dismiss 2022-09-12 08:49:12 +01:00
Tiago vasconcelos d1eb0b0c4d rollback on removing NFC button 2022-09-08 14:59:19 +01:00
Tiago vasconcelos 0177316075 display NFC button on supported and fix null tip options 2022-09-08 14:59:19 +01:00
Tiago vasconcelos d2f00435cc remove already added prefix ou route - ws working again 2022-09-06 12:30:20 +01:00
Tiago vasconcelos dc6098e1ca remove call to set ticket paid 2022-09-05 12:56:40 +01:00
Tiago vasconcelos e0c048339c update event data on ticket sold 2022-09-05 12:54:37 +01:00
Tiago vasconcelos ddc3ec7e2f add a tooltip and label for adding tip options 2022-09-05 11:55:24 +01:00
Tiago vasconcelos e5644ec4f6 show a dismissable notification after payment succeed 2022-09-05 11:47:27 +01:00
Tiago VasconcelosandGitHub 551c75c2cf set focus on amount (#916) 2022-08-21 23:07:18 +02:00
Tiago VasconcelosandGitHub 1d55fe1d1a add copy invoice button (#917) 2022-08-21 23:06:47 +02:00
Tiago VasconcelosandGitHub 7bba742faf delete tips first... (#888) 2022-08-16 17:01:53 +02:00
197ff7d054 Core: reserve fee as an .env variable (#631)
* reserve fee as an .env variable

* fixed bad import

* Update .env.example

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

* Update lnbits/core/services.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

* Update lnbits/core/services.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

* Update lnbits/settings.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

* variable consistent names

* fix services.py variable names

* percent default fix

* Update lnbits/settings.py

int to float

* Update lnbits/settings.py

int to float

* Update .env.example

int to float

* make format

* fixed failing bleskomat test, expecting 2000 msats fee

* Update tests/extensions/bleskomat/test_lnurl_api.py

revert to 2 sat

* Update .env.example

* Update lnbits/settings.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-08-13 20:19:08 +02:00
Tiago VasconcelosandGitHub af8af54376 Fix/hotfix custom design (#850)
* allow to toggle custom desing on and off

* make custom design off by default, toggle custom design
2022-08-09 10:05:37 +02:00
Tiago VasconcelosandGitHub 716a30a0fc make instant wallet available in custom vouchers (#830) 2022-08-03 09:51:16 +02:00
Tiago VasconcelosandGitHub 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
Tiago VasconcelosandGitHub c36da4172c reset the form after close (#821) 2022-08-02 16:14:52 +02:00
Tiago VasconcelosandGitHub a1919e0619 reset data (#819) 2022-08-01 12:57:30 +02:00
Tiago VasconcelosandGitHub 925a7735da change z-index for wallet tab (#818) 2022-08-01 12:56:56 +02:00
Tiago vasconcelos a57850f391 update offline dbversion in mock data 2022-07-28 12:09:20 +01:00
Tiago vasconcelos cf11b6c42d Merge remote-tracking branch 'lnbits/main' into fix/offlineshop_fiat_decimals 2022-07-28 11:10:03 +01:00
Tiago vasconcelos 4ca701a442 Merge remote-tracking branch 'lnbits/fix/offlineshop_fiat_decimals' into fix/offlineshop_fiat_decimals 2022-07-28 11:09:06 +01:00
Tiago vasconcelos 56cac668ca add mock data and fix conv 2022-07-28 11:08:55 +01:00
Tiago vasconcelos a601e178ea add missing param in add item 2022-07-28 11:08:15 +01:00
Tiago vasconcelos 7f8ee461a2 stupid 2022-07-28 10:27:31 +01:00
Tiago vasconcelos d322e6d4dc fix conv typo in scrub schema 2022-07-28 10:24:50 +01:00
Tiago vasconcelos 556eef35ab add scrub mock data 2022-07-28 10:10:23 +01:00
Tiago vasconcelos c340a55925 add scrub to conv 2022-07-28 10:00:53 +01:00
Tiago vasconcelos 254fa67859 allow for decimals in fiat unit 2022-07-27 22:49:23 +01:00
Tiago VasconcelosandGitHub 41dc1b0512 Fix/hotfix tpos 2 (#783)
* fix older tpos without tips

* bad math requesting invoice

* make format
2022-07-27 16:45:17 +02:00
Tiago VasconcelosandGitHub 27b4db9877 fix older tpos without tips (#778) 2022-07-25 12:52:28 +02:00
Tiago VasconcelosandGitHub 7fbea79e62 Add voucher design (#704)
* allow for custom print of vouchers

* lnbits defaul voucher

* reduce png size

* add template for custom design

* rename lnbits voucher

* send voucher amount to UI

* add some tweaks for default voucher

* added bonus in readme

* blacked

* make default string as constant
2022-07-25 11:22:21 +02:00
Tiago VasconcelosandGitHub ff5b1189b5 Fix/tpos tips #697 (#713)
* small fastapi convertion

* make tip add up to invoice

* make tip add to invoice

* display existing tpos

* clean console logs

* suggestion from @leesalminen

* blacked
2022-07-25 11:19:03 +02:00
ed2c5cc586 Fix/lnurl auth (#757)
* remove g() and add wallet

* wallet type

* add wallet object

* send wallet as param

* make lnurlauth work

* remove g() and add wallet

* wallet type

* add wallet object

* send wallet as param

* make lnurlauth work

* black'ed

* blacked

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-19 11:35:28 +02:00
c8ab2859fd Splitpayments: floating point percentage for split value (#690)
* allow for float in model

* recreate DB with float type

* remove rounding in UI

* black

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-17 20:00:06 +02:00
Tiago VasconcelosandGitHub 2b827d37fa return lnurl in create link (#685) 2022-07-17 14:39:02 +02:00
Tiago VasconcelosandGitHub 348033da1b python code styling (#739) 2022-07-15 19:11:11 +02:00
847fd18796 update readme link (#687)
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-07 00:14:27 +02:00
Tiago VasconcelosandGitHub 1b064ceda4 fix issue #683 (#684) 2022-07-05 21:40:05 +02:00
Tiago vasconcelos 42d342cd0d blacked 2022-07-05 16:21:49 +01:00
Tiago vasconcelos 6154454f15 hotfix api_payments failing 2022-06-29 10:55:54 +01:00
Tiago vasconcelos c8a6caa4e3 update api section title 2022-06-28 11:12:42 +01:00
Tiago vasconcelos 6147bd23ec fix typo 2022-06-22 17:08:08 +01:00
Tiago vasconcelos 6867d65733 one final addition to readme 2022-06-22 17:04:23 +01:00
Tiago vasconcelos fea92354a8 some vanity bling 2022-06-22 16:51:14 +01:00
Tiago vasconcelos a7efff858b bring back list scrub 2022-06-22 16:46:27 +01:00
Tiago vasconcelos 267530f217 readme 2022-06-22 16:46:15 +01:00
Tiago vasconcelos 6b66ca1531 correct api instructions and add readme 2022-06-22 16:45:54 +01:00
Tiago vasconcelos 73b8bd682c clean up 2022-06-22 13:30:06 +01:00
Tiago vasconcelos c90cf6ee1b general clean up 2022-06-21 16:44:59 +01:00
Tiago vasconcelos 6a4170f4cc scrubbing works, duplicated code warning 2022-06-21 15:33:23 +01:00
Tiago vasconcelos d8445450d8 quik fix logo placement 2022-06-21 10:45:09 +01:00
Tiago vasconcelos 10e1bbcb66 pay lnurl 2022-06-21 10:31:18 +01:00
Tiago vasconcelos f6d922e1b7 update scrub links 2022-06-17 12:33:14 +01:00
Tiago vasconcelos 1a394d0a73 create scrub link 2022-06-17 11:41:12 +01:00
Tiago vasconcelos 3e8d2a5ba1 fix response 2022-06-15 16:49:39 +01:00
Tiago vasconcelos 1ebba9f846 send json response basic error 2022-06-15 16:37:10 +01:00
Tiago vasconcelos 626a93a46c add json response for basic error 2022-06-15 16:20:20 +01:00
Tiago vasconcelos c4f9206c10 change status code 2022-06-13 21:43:17 +01:00
Tiago vasconcelos 5ceb8639f9 clean up and comment 2022-06-13 16:18:16 +01:00
Tiago vasconcelos 9279129f07 check if request is from browser 2022-06-13 15:18:14 +01:00
77fbea25af Allow for custom image logo (#642)
* first test

* add custom URL logo

* some styling

* fixed typo, wrong import

* Update .env.example

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-06-08 16:23:36 +02:00
Tiago VasconcelosandGitHub 7c4ce9bf96 Extension: add example extension (#644)
* add example ext files

* remove from extension list
2022-06-01 13:53:47 +02:00
Tiago vasconcelos 98891b7680 get bookmark promp fired on new wallet 2022-05-17 12:16:41 +01:00
Tiago vasconcelos c8aaf3377f clean logs 2022-05-16 11:23:34 +01:00
Tiago vasconcelos caa23e6c9d key issues fixed 2022-05-16 11:21:30 +01:00
Tiago vasconcelos a0a2ecd424 protect listing and deleteing user and wallets 2022-05-11 16:30:15 +01:00
Tiago vasconcelos e0504a4e0c add eclair variables to .env example 2022-05-05 15:55:01 +01:00
Tiago vasconcelos 1695d0ce0e send 0 fees when not available 2022-05-05 15:47:25 +01:00