* another testcase the fails similar to #847
* proper fix
* revert to statuscode 401 and code improvements @calle
Co-authored-by: dni <dni.khr@gmail.com>
* Update installation.md
I needed to run this additional command to install python3.9-specific distutils. Without this, installation of several poetry dependencies (idna, pyparsing, sniffio) failed with message:
ModuleNotFoundError: No module named 'distutils.cmd'
* Update installation.md
* initial commit
* add docs
* black & prettier
* mobile styles
* add print view
* prettier
* make format
* initial migrations un-messed
* make migrations work for sqlite
* add invoices table
* clean migrations
* add migration to conv
* fix card size
* hopefully fix test migration
* add missing status
* timestamp
* init testing
* remove draft invoice by default on create
* what should i test
* make format
* raise if not invoice
* new test and renaming
* fix issue reported by @talvasconcelos which prevented users from setting status on creation
* readme
* run black
* trying to make tests work
* make it work again
* send paid amount
* partial pay flow
* good coding
* can't get these test to work
* clean up and commenting
* make format
* validation for 2 decimals
Co-authored-by: ben <ben@arc.wales>
Co-authored-by: Tiago vasconcelos <talvasconcelos@gmail.com>
* added test for empty post data, for issue #847
* black
* fixed the failing testcase
* Update lnbits/decorators.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
Co-authored-by: dni <dni.khr@gmail.com>
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
* return http error UNAUTHORIZED instead of BAD_REQUEST if key is missing
* fix regtest (#867)
Co-authored-by: dni <dni.khr@gmail.com>
* return http error UNAUTHORIZED instead of BAD_REQUEST if key is missing
Co-authored-by: dni ⚡ <office@dnilabs.com>
Co-authored-by: dni <dni.khr@gmail.com>
* new argument: unhashed_description
* accept in api
* set unhashed_description for memo case
* bolt11.py: dont be like CLN, accept the hash
* send hash to lnd in b64
* fix cln
* skip descr_hash for cln
* skip
* format