Commit Graph
2372 Commits
Author SHA1 Message Date
ben c7e5d66801 Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:20:17 +01:00
ArcandGitHub 1da7c9b349 Merge pull request #758 from lnbits/lnurl/check_description_hash
LNURLp: check description hash
2022-07-25 15:19:20 +01:00
ben 3ffcab2d4d Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:01:33 +01:00
462fffbeaa .gitignore coverage.xml + do not delete mock_data.zip (#779)
* add coverage.xml to gitignore

* fix deleting mock_data.zip

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-25 15:08:30 +02:00
calleandGitHub 210edde08a Migration: Fix withdraw (#780) 2022-07-25 15:04:55 +02:00
Tiago VasconcelosandGitHub 27b4db9877 fix older tpos without tips (#778) 2022-07-25 12:52:28 +02:00
ben 5f3183c54c Merge branch 'main' into matthewcroughan/nixify 2022-07-25 10:34:29 +01: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
calleandGitHub 4bb184e08b CI: DB migration with real data (#776)
* fix migration conv.py

* migrate with mock data
2022-07-25 09:13:41 +02:00
4b5e113c03 Regtest update (#775)
* preparation pr for regtest update

* remove FIXMEs

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-25 07:31:15 +02:00
ben 244d6f23bf Merge branch 'main' into matthewcroughan/nixify 2022-07-23 20:09:24 +01:00
ben 0e8da3c368 Fixed path for extension templates 2022-07-23 20:08:59 +01:00
calleandGitHub 32a8736f32 CI: Test core/views/generic.py enabling and disabling extensions (#774) 2022-07-23 11:58:29 +02:00
calleandGitHub bf2a3e9df2 fix tip link (#773) 2022-07-23 11:01:23 +02:00
blackcoffeexbtandGitHub c0c26fb98e Extension list UI improvements (#769)
* Extensions list is now sorted alphabetically

* Added extension list search

* Prettified changes

* Removed console.log

* Code improvements based on motorina0 feedback

* Remove console.log from lnbits/templates/base.html

Run prettier
2022-07-23 10:46:30 +02:00
calleandGitHub 96af5fc3a7 CI: Test core/views/generic.py (#772)
* Adds tests for GET /wallet

* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path

* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
calleandGitHub fd0d6bffce Update FUNDING.yml (#770) 2022-07-22 12:23:27 +02:00
ArcandGitHub 14344c2f03 Update FUNDING.yml 2022-07-22 11:23:16 +01:00
calleandGitHub e4df8c52e2 add mkcert instructions (#768) 2022-07-21 14:01:16 +02:00
calleandGitHub 4feb45d745 LNURLp: NFC UI improvement (#767) 2022-07-21 13:39:21 +02:00
calleandGitHub 76a5196dbf LNURLp: Write NFC tags with LNURL-pay links (#766)
* NFC for LNURL-pay

* notification ui improvements
2022-07-21 12:38:30 +02:00
calleandGitHub 45c356cf6c change prefix to lightning: until wallets fix their bugs (#762) 2022-07-19 17:35:00 +02:00
calleandGitHub 0f73501a88 LNURLw: NFC fix uri prefix (#761)
* fix uri prefix

* prettier
2022-07-19 17:20:50 +02:00
calleandGitHub b8c99a15d1 do not mark payments as failed (#750) 2022-07-19 12:33:28 +02:00
blackcoffeexbtandGitHub fe2cbe8774 Jukebox improvements (#759)
* Improved styling of Spotify redirect URI clipboard copy text

* Jukebox extension - Moved links to Spotify into buttons to make set up steps more obvious

* Jukebox extension - Tweaks to titles of set up steps to clarify

* Prettified jukebox template
2022-07-19 12:28:49 +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
callebtc 694124b5d6 require admin 2022-07-19 11:27:32 +02:00
callebtc b2a0faf9de error check for pr 2022-07-19 11:21:54 +02:00
callebtc 8d52b1b359 check description hash 2022-07-19 11:15:11 +02:00
Lee SalminenandGitHub b6d01792e2 Add NFC Writing support to LNURLw extension (#725) 2022-07-18 16:56:15 +02:00
calleandGitHub f4580955b9 loguru warnings (#751) 2022-07-17 22:25:37 +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
Lee SalminenandGitHub 8079325ec9 fix /usermanager/api/v1/extensions (#730)
Requests to `POST /usermanager/api/v1/extensions` would silently fail due to a missing `await`.
2022-07-17 14:38:00 +02:00
calleandGitHub 6646fce549 Core: add internal flag for invoice creation to use FakeWallet (#646)
* add internal flag for invoice creation to use FakeWallet
2022-07-17 14:34:25 +02:00
calleandGitHub d4c30a1091 remove old files (#748) 2022-07-17 14:04:59 +02:00
calleandGitHub 2febb364ca lnurldevice migration: typo fix (#746)
* typo fix

* fix table name

* revert typo
2022-07-17 13:22:23 +02:00
calleandGitHub ad2aad05e0 CI: Migration SQLite to PostgreSQL (#719)
* migrate all extensions
* errors if migration is missing
2022-07-17 13:11:13 +02:00
calleandGitHub f4e7d62ca3 make format everything (#743) 2022-07-16 14:23:03 +02:00
calleandGitHub 69516bb751 regtest on push (#742) 2022-07-16 14:17:45 +02:00
calleandGitHub 99b6b9d71c CI: regtest with LndRestWallet and CLightningWallet (#738)
* add regtest
* test LndRestWallet
* test CLightningWallet
2022-07-16 14:10:43 +02:00
6a3a72b944 Uvicorn loguru format (#741)
* use loguru formatting for uvicorn logs

* remove depth from logging interceptor

* format for uvicorn

* black

* isort

* black again

* python3-dev

* python3-dev

* leaner pipeline

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-15 19:54:12 +02:00
Tiago VasconcelosandGitHub 348033da1b python code styling (#739) 2022-07-15 19:11:11 +02:00
ArcandGitHub 37c7553c19 Update installation.md 2022-07-15 08:18:07 +01:00
matthewcroughan 984f06239f nix: remove forAllSystems from nixosModule
This causes lnbits.nixosModules.default to exist, rather than
lnbits.nixosModules.aarch64-linux.default. The latter was a mistake.
2022-07-14 05:32:16 +01:00
calleandGitHub 1f13bdeb2f Pipenv/fix install loguru (#732)
* update pipfile

* pipenv workflow

* pipfile jinja

* Pipfile installs dev files

* python3.8 tests only

* version tag yaml

* all tests

* pipenv with pip

* only 3.7

* activate env

* test-pipenv

* pipenv importlib_metadata

* importlib-metadata

* 3.8

* 3.7 only oops

* merge install guides

* install guide in README
2022-07-13 01:15:48 +02:00
calleandGitHub 357860d849 Spark: increase timeout and improved error handling (#718)
* increase timeout and more error handling

* more error handling

* add timeout exception
2022-07-12 13:22:55 +02:00
41dda6fd01 Revert "Fixed psycopg2 error on aarch64" (#729)
* Revert "Fixed psycopg2 error on aarch64 (#658)"

This reverts commit 8a20b779df.

* remove psycopg from build pipeline

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-11 17:18:28 +02:00
BitkarrotandGitHub 46462b4f01 Update extensions.md (#724)
suggestion for gsed on macOS, as sed may not work

reference: https://apple.stackexchange.com/questions/414568/i-get-an-error-sed-1-12d-invalid-command-code-when-i-use-sed-12d-samp
2022-07-11 13:40:46 +02:00