Commit Graph
19 Commits
Author SHA1 Message Date
Lee SalminenandGitHub 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
Lee SalminenandGitHub 3df66334db clean up mobile layout per @callebtc (#874) 2022-08-14 19:41:26 +02:00
Lee SalminenandGitHub 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
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
Lee SalminenandGitHub b6d01792e2 Add NFC Writing support to LNURLw extension (#725) 2022-07-18 16:56:15 +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
Lee Salminen 94e4495026 run prettier 2022-07-05 16:16:46 -06:00
Lee Salminen aa51d85d65 Merge branch 'main' into improved-pwa 2022-07-05 15:10:57 -06:00
Lee Salminen ebeb3d213b alter injection of tpos to match 2022-07-05 15:09:04 -06:00
Lee Salminen 2cb87d96f2 better way of handling injection of webmanifests 2022-07-05 15:05:31 -06:00
Lee Salminen 80f8d83548 Merge remote-tracking branch 'origin/main' into improved-pwa 2022-07-05 09:21:41 -06:00
Lee Salminen 56c60587a1 fix prettier 2022-07-05 09:14:24 -06:00
Lee Salminen f9b929ae7d add PWA support for the tpos extension 2022-07-04 16:39:05 -06:00
Lee Salminen 52b8506d0a reduce noise 2022-07-04 16:10:31 -06:00
Lee Salminen 102dc56c4a cant force the color 2022-07-04 13:38:05 -06:00
Lee Salminen b298e12cd3 add offline indicator 2022-07-04 13:03:21 -06:00
Lee Salminen d88ffeb237 segregate cache by api key header 2022-07-04 12:32:28 -06:00
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