Commit graph

2580 commits

Author SHA1 Message Date
Lee Salminen
d0ba5c6f30 Improved support for Progressive Web Apps (PWA)
- modify webmanifest to use LNBITS_SITE_TITLE and LNBITS_CUSTOM_LOGO env vars
- modify webmanifest to have a more accurate description, start_url and set theme_color to match default lnbits theme
- add service worker to cache requests (chrome requires a registered service worker to activate some pwa functionality)
- move webmanifest to <head> (chrome acts weird with it in the body)
2022-07-04 11:01:08 -06:00
Lee Salminen
82d7bfbba8 Enhancements to TPOS Extension
- Add new tip % option to TPOS extension.
        - When adding a new TPOS, a user can choose 1 or more tip % options to be displayed to the customer.
        - When adding a new TPOS, a user can choose a wallet to send all collected tips to.

- UI Refresh on TPOS extension.
        - Moved the share button to the top navigation, next to the TPOS name, and changed the icon to a more recognizable one.
        - Re-arranged the buttons on the keypad to be more ergonomic.
2022-07-03 15:49:31 -06: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
calle
e7dd3ec64f
reactivate actions (#682)
* reactivate other actions

* black

* codeql 2

* black only

* remove mock event loop

* do not follow grpc
2022-06-27 01:11:35 +02:00
calle
f6da260464
Automated tests (#566)
* return error for wrong key

* payment check use key dependency

* more expressive error

* re-add optional key

* more tests

* more

* more granular

* more testing

* custom event_loop

* tests work

* fix lots of mypy errors

* test_public_api

* both files

* remove unused import

* tests

* tests working

* rm empty file

* minimal test

* set FAKE_WALLET_SECRET="ToTheMoon1"

* set FAKE_WALLET_SECRET="ToTheMoon1"

* trial and error

* trial and error

* test postgres

* test postgres

* test postgres

* test postgres

* test postgres

* test postgres

* test build

* skip mypy
2022-06-27 00:11:46 +02:00
calle
2f62d98299
Delete expired invoices after one pending check (#531)
* delete expired invoices regularly and after pending check

* fix mistake

* delete expired invoices only once
2022-06-26 19:12:55 +02:00
calle
2c68f53c91
/api/v1/payments with limit and offset (#594) 2022-06-26 19:05:34 +02: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
calle
06fbc4b0ae
move fiat_base_multiplier multiplication into api_link_create_or_update() (#675) 2022-06-22 12:28:40 +02: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
Arc
b90eb0a3ba
Merge pull request #648 from lnbits/black_formatting
Code cleanup: black formatting
2022-06-20 20:57:44 +01:00
Arc
4e25da5ca0
Merge pull request #671 from talvasconcelos/fix/error_response
Hotfix for JSON response
2022-06-20 20:54:12 +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
Arc
02e0efe722
Merge pull request #667 from talvasconcelos/fix/error_response
Fix HTML response to non browser request
2022-06-15 15:49:52 +01:00
calle
1dec874af7
lnurlp: do not divide twice (#669) 2022-06-15 12:48:13 +02:00
Arc
8e9972ead1
Merge pull request #632 from bennyhodl/patch-1
Fix GET transactions endpoint in usermanager docs
2022-06-15 09:10:47 +01:00
Arc
399ff11b04
Merge pull request #663 from lnbits/lnurlp/float_fiat_amount
lnurlp: support for floating point fiat values
2022-06-15 09:06:37 +01:00
Arc
785c150bb2
Merge pull request #668 from lnbits/primarycolor
Changes warning model title to primary color
2022-06-15 09:02:02 +01:00
Tiago vasconcelos
c4f9206c10 change status code 2022-06-13 21:43:17 +01:00
ben
2ff282ce4c Chnaged to primary 2022-06-13 21:27:24 +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
callebtc
c5ddd1a2c6 fiat_base_multiplier also in rate conversion 2022-06-10 16:08:29 +02:00
callebtc
6617450c21 store fiat_base_multiplier in db 2022-06-10 16:05:33 +02:00
callebtc
b7008495b8 lnurlp: support for floating point fiat values 2022-06-10 15:35:35 +02:00
Tiago Vasconcelos
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
ben
395b4379a4 initial 2022-06-07 11:04:34 +01:00
calle
906f0166bd
Core: fix internal webhooks (#649)
* fix internal webhooks

* argument annotation
2022-06-03 14:33:31 +02:00
mrbitcoiner
b03da7b9c2
Added maxfee paramenter to Spark pay method (working on c-lightning 0.11.0.1) (#641) 2022-06-02 12:11:48 +02:00
Tomas Bezouska
895d9d2e0a
Extension: LNURLw webhook_url (#610)
* LNURLw web_hook

* crlf -> lf

* Fix typo

* LNURLw webhook api doc
2022-06-01 15:24:17 +02:00
callebtc
f8400512f7 black formating 2022-06-01 14:53:05 +02:00
Tiago Vasconcelos
7c4ce9bf96
Extension: add example extension (#644)
* add example ext files

* remove from extension list
2022-06-01 13:53:47 +02:00
ben
5574fa7263 Merge remote-tracking branch 'origin/main' into SCRUB 2022-05-25 17:03:12 +01:00
Arc
b4ad0e101d
Revert "Check invoice status outgoing" 2022-05-20 14:35:00 +01:00
₿en
cbf067bba2
Fix GET transactions endpoint in usermanager docs 2022-05-19 23:05:34 -04:00
ben
5e28183a24 bits bobs 2022-05-19 11:39:59 +01:00