Tiago vasconcelos
7c8e3de261
update product stock tests
2022-08-19 13:24:18 +01:00
Tiago vasconcelos
a5c6b1135c
order paying works
2022-08-19 11:19:45 +01:00
Tiago vasconcelos
e76c23b096
remove nostradmin from this branch
2022-08-18 16:56:10 +01:00
Tiago vasconcelos
627914abda
Merge branch 'main' into diagon-alley
2022-08-18 16:50:58 +01:00
Tiago vasconcelos
2e9b8c1360
make format
2022-08-18 16:20:15 +01:00
Tiago vasconcelos
d6fe562067
have orders show on user page and invoice init
2022-08-18 16:18:07 +01:00
calle
ae1a2ac383
Frontend: LNURLp/w icons with tooltips ( #905 )
...
* rename button to copy link
* icon buttons with tooltips
2022-08-18 13:24:34 +02:00
Tiago vasconcelos
4cd86d0daf
create order
2022-08-18 10:49:04 +01:00
dni ⚡
e2c9673517
subdomains docs fix : #900 ( #904 )
...
fix subdomain link to docs: also mentioned in #900
2022-08-18 10:17:32 +02:00
dni ⚡
853536ea32
lnAdress fix link to docs ( #903 )
...
Fixes: https://github.com/lnbits/lnbits-legend/issues/900
2022-08-18 10:17:16 +02:00
dni ⚡
31a51f3cbc
add debug logging into tests ( #895 )
...
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-17 15:57:56 +02:00
dni ⚡
d649e6a5c0
fix migrations, add documentation, hopefully fix workflow ( #899 )
...
* fix migrations, add documentation, hopefully fix workflow
* renaming to test-migration and add migration
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-17 15:42:01 +02:00
calle
24de8f6611
isort api.py ( #898 )
2022-08-17 14:27:52 +02:00
callebtc
65f27afd76
upadte systemd docs to poetry
2022-08-17 14:25:19 +02:00
calle
790f0efda7
Chore/unhashed description expressive error ( #894 )
...
* dont assume field
* expressive error for desciprion_hash and unhashed_description in format that isnt hex
2022-08-17 00:59:11 +02:00
Tiago Vasconcelos
7bba742faf
delete tips first... ( #888 )
2022-08-16 17:01:53 +02:00
dni ⚡
3dc00f67db
add pending column to CSV export on wallet page, issue #887 ( #889 )
...
* add pending, isPaid columns to CSV export on wallet page, issue #887
* prettier formatting
* remove isPaid from csv export
* added comment
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-16 17:01:32 +02:00
dni ⚡
ee4049ec1f
fix javascript issue, Fixes : #890 ( #891 )
...
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-16 17:01:20 +02:00
dni ⚡
88ec440ea1
another testcase the fails similar to #847 ( #892 )
...
* 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>
2022-08-16 17:01:05 +02:00
Tiago vasconcelos
58b046254f
make format diagonalley
2022-08-16 12:19:31 +01:00
Tiago vasconcelos
39bae68b1c
Merge remote-tracking branch 'lnbits/diagon-alley' into diagon-alley
2022-08-16 12:11:43 +01:00
Tiago vasconcelos
777b9bef1b
place order flow WIP
2022-08-16 12:11:30 +01:00
Tiago vasconcelos
35cf441d91
remove privatekey from stall
2022-08-16 12:11:30 +01:00
Tiago vasconcelos
25d0309ff3
ui and checkout
2022-08-16 12:11:30 +01:00
Tiago vasconcelos
8032566f44
place order flow WIP
2022-08-16 12:08:27 +01:00
Tiago vasconcelos
d9242ddd5b
remove privatekey from stall
2022-08-16 12:07:56 +01:00
Tiago vasconcelos
0a54fe6db8
ui and checkout
2022-08-16 12:07:23 +01:00
Tiago vasconcelos
c4509d726a
UI and checkout
2022-08-16 12:07:04 +01:00
Tiago vasconcelos
af906740ca
Merge branch 'main' into diagon-alley
2022-08-16 09:02:06 +01:00
Joe
8956bdc954
Update installation.md ( #884 )
...
* 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
2022-08-15 16:22:20 +02:00
Lee Salminen
6aef9bfd45
Add NFC support to TPOS Extension ( #856 )
...
* WIP
* styling
* WIP
* WIP
* WIP
* Clean up for PR
* isort
* hold abortContoller for a while longer
2022-08-15 15:37:10 +02:00
calle
4ac73f1a79
Lnurlp/url_validation_fix ( #883 )
...
* dont assume field
* fix https check
2022-08-15 00:20:57 +02:00
calle
befe96257d
Fix/header_check_fix_2 ( #880 )
...
* dont assume field
* check better
2022-08-14 23:17:53 +02:00
calle
9bc99f796b
Fix/header_lookup_none ( #879 )
...
* dont assume field
* fix header lookup
2022-08-14 22:59:02 +02:00
calle
0f760bf39e
Lnurlp: use unhashed_description
instead of description_hash
( #878 )
...
* dont assume field
* pass unhashed_description instead of description_hash for LNURL stuff
* more
2022-08-14 21:59:36 +02:00
Lee Salminen
3df66334db
clean up mobile layout per @callebtc ( #874 )
2022-08-14 19:41:26 +02:00
calle
c85be8dd22
dont assume field ( #875 )
2022-08-14 19:40:46 +02:00
Lee Salminen
fc427e7ccc
resolves issue #872 & #815 , error deleting lnurlp/lnurlw links ( #877 )
...
* resolves issue #872 , error deleting lnurlp link
* apply the same fix for lnurlw in issue #815
2022-08-14 19:38:26 +02:00
Lee Salminen
c32ff1de59
New Extension: Invoicing ( #733 )
...
* 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>
2022-08-13 21:37:44 +02:00
Tiago Vasconcelos
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
dni ⚡
d989441587
added test for issue #847 and fixed it! ( #848 )
...
* 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>
2022-08-13 14:47:29 +02:00
dni ⚡
034813a1ab
stuck in retrying backend loop, fix issue #652 ( #862 )
...
* maybe solution to issue #652
* formatting, when precommit merge?
* Update lnbits/app.py
* Update lnbits/app.py
Co-authored-by: dni <dni.khr@gmail.com>
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-08-13 14:46:47 +02:00
calle
28661903b6
return http error UNAUTHORIZED instead of BAD_REQUEST if key is missing ( #869 )
...
* 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>
2022-08-13 14:41:44 +02:00
dni ⚡
32a09f7359
add apache2 reverse proxy documentation ( #868 )
...
* add apache2 reverse proxy documentation
* add certbot
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-13 14:41:23 +02:00
calle
e5d8c500d2
Wallets/unhashed_description ( #870 )
...
* 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
2022-08-13 14:29:04 +02:00
dni ⚡
3457ff101e
fix regtest ( #867 )
...
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-12 21:05:13 +02:00
Arc
d1e1cbed41
Merge pull request #863 from motorina0/onchain_review_fixes
...
onchain extension - review & fix
2022-08-11 13:24:17 +01:00
Vlad Stan
e20cfd3e6d
fix: handle serial port disconnect
2022-08-11 15:06:32 +03:00
Vlad Stan
6b57c8b2a7
chore: code format
2022-08-11 14:31:14 +03:00
Vlad Stan
e884e3b003
fix: look&feel on small screens
2022-08-11 14:22:14 +03:00