Commit Graph

3052 Commits

Author SHA1 Message Date
Vlad Stan
83f998fe37 feat: remember paired devices 2022-08-19 14:59:59 +03:00
Vlad Stan
713909292e chore: format code 2022-08-19 08:51:57 +03:00
Vlad Stan
fb7030c30f
Merge branch 'main' into secure_communication 2022-08-19 01:42:17 -04:00
Vlad Stan
218ee77acd feat: handle forced logout 2022-08-18 18:57:20 +03:00
Vlad Stan
90938e89e1 feat: show pairing code 2022-08-18 17:54:26 +03:00
Vlad Stan
d8d4d4d057 feat: add buttons config 2022-08-18 16:33:10 +03: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
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
Vlad Stan
61d3ca8c0b feat: hand pairing response 2022-08-18 10:32:56 +03:00
Vlad Stan
e37fc0b898 fix: check-paring message 2022-08-18 09:01:05 +03:00
Vlad Stan
faa9a017a4 refactor: rename command 2022-08-18 08:49:46 +03:00
Vlad Stan
fb60673f67 feat: add ping command 2022-08-18 08:38:40 +03: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
Vlad Stan
f73f5a90c9 feat: only allow DH key exchange in the first 60 seconds 2022-08-16 14:08:04 +03:00
Vlad Stan
7c796f428a feat: allow COMMAND_PASSWORD_CLEAR in clear text 2022-08-16 12:16:09 +03: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
Vlad Stan
32bb59255d feat: restore takes both the password and the seed as args 2022-08-15 15:59:49 +03:00
Vlad Stan
01d2db5a1b fix: bad command for restore 2022-08-15 15:43:35 +03:00
Lee Salminen
89130bd1fb once over on README 2022-08-14 18:34:19 -06:00
calle
4ac73f1a79
Lnurlp/url_validation_fix (#883)
* dont assume field

* fix https check
2022-08-15 00:20:57 +02:00
Gene Takavic
0e5f6ac586 adapt to bolt-nfc-android-app 2022-08-14 23:52:55 +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
293e5394a8 run make format 2022-08-14 10:58:35 -06:00
Lee Salminen
4c758f4665 re-create @iWarpBTC commit ID a9df953990ea454e8cafc87f64395efc1929c321 2022-08-14 10:52:58 -06:00
iWarpBTC
f8d4c39b1e basic readme 2022-08-14 10:52:58 -06:00
iWarpBTC
c04b0a1905 Update index.html
prettier
2022-08-14 10:52:58 -06:00
Gene Takavic
5b8d317441 black & isort 2022-08-14 10:52:58 -06:00
iWarpBTC
5af49e3801 comments and hints 2022-08-14 10:52:58 -06:00
iWarpBTC
2f497ac0ee retreiving hits 2022-08-14 10:52:58 -06:00
iWarpBTC
3cb62d1899 recording card tapping 2022-08-14 10:52:58 -06:00
iWarpBTC
4fab2d3101 new extension
just proof of concept
2022-08-14 10:52:58 -06: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