Commit Graph

220 Commits

Author SHA1 Message Date
Arc
9e652d98ea
Merge pull request #958 from AaronDewes/patch-1
Change message about login functionality
2022-09-13 15:48:37 +01:00
dni ⚡
d6e3eb5837
Fix donate link on start page 2022-09-12 14:38:37 +02:00
Aaron Dewes
b8531f9e0e
Change message about login functionality
According to the README, Lnbits is already at 0.9. Claiming a feature will be added in 0.2 doesn't make sense.
2022-09-12 12:32:03 +02:00
Tiago Vasconcelos
551c75c2cf
set focus on amount (#916) 2022-08-21 23:07:18 +02:00
Tiago Vasconcelos
925a7735da
change z-index for wallet tab (#818) 2022-08-01 12:56:56 +02:00
blackcoffeexbt
c0c26fb98e
Extension list UI improvements (#769)
* Extensions list is now sorted alphabetically

* Added extension list search

* Prettified changes

* Removed console.log

* Code improvements based on motorina0 feedback

* Remove console.log from lnbits/templates/base.html

Run prettier
2022-07-23 10:46:30 +02:00
calle
6646fce549
Core: add internal flag for invoice creation to use FakeWallet (#646)
* add internal flag for invoice creation to use FakeWallet
2022-07-17 14:34:25 +02:00
Lee Salminen
aa51d85d65 Merge branch 'main' into improved-pwa 2022-07-05 15:10:57 -06:00
Lee Salminen
2cb87d96f2 better way of handling injection of webmanifests 2022-07-05 15:05:31 -06:00
calle
92887ed169
Format: prettier (#707)
* format: prettier

* gh-actions: add prettier checkg

* actions
2022-07-05 21:14:56 +02: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
ben
2ff282ce4c Chnaged to primary 2022-06-13 21:27:24 +01:00
Arc
313c40dc2b
Merge pull request #609 from ashkanjalaliQ/patch-1
Update _api_docs.html
2022-05-17 14:20:20 +01:00
Tiago vasconcelos
98891b7680 get bookmark promp fired on new wallet 2022-05-17 12:16:41 +01:00
Ashkan Jalali
d77e304e12
Update _api_docs.html
add "webhook" and "unit" arguments to api document
2022-04-28 17:07:58 +04:30
benarc
e96701cb59 Added template banner 2022-02-24 16:03:10 +00:00
benarc
4a588dda1b Added ad space and option to turn off api docs 2022-02-23 13:51:30 +00:00
Arc
88df4266b7
Merge pull request #524 from lnbits/docs_api_add_unit_to_invoice
Fix fiat amount entry in invoice creation
2022-02-18 11:44:05 +00:00
callebtc
6496fac35f fill mask for fiat 2022-02-18 12:35:25 +01:00
Tiago vasconcelos
251ecb8f1d url_for params 2022-02-17 21:01:14 +00:00
callebtc
15c8557459 allow empty memo 2022-02-17 10:16:11 +01:00
callebtc
cd84623305 amount label adaptive to uni - look at me Im a frontent dev now 2022-02-17 09:14:07 +01:00
callebtc
914b9f3ffe allow amounts >0 2022-02-16 22:23:26 +01:00
Ben Arc
0367ee85a7 removed dense from lower buttons 2022-02-14 15:51:45 +00:00
Ben Arc
0aef9d4d9a Made dense to save space 2022-02-14 15:48:56 +00:00
Ben Arc
682226c4b6 chnaged button names 2022-02-14 15:36:10 +00:00
Ben Arc
c7e501ac08 Adds lower buttons to wallet UI for smaller screens 2022-02-14 15:29:10 +00:00
benarc
a7c65d5d60 Fixed admin debit input 2022-02-03 13:15:43 +00:00
benarc
50fcb15725 typo 2022-02-03 13:00:56 +00:00
benarc
75e78d2ab6 FakeWallet own denomination now working 2022-02-02 17:28:00 +00:00
benarc
568a1be91f Adding denomination for alternative currencies 2022-02-02 13:07:12 +00:00
Ben Arc
d2879aa80c added value to avoid error 2022-02-01 20:05:58 +00:00
Ben Arc
d1b390b929 Use scope instead of prop 2022-02-01 20:02:21 +00:00
Ben Arc
382622d5ac Fixed balance update not showing properly 2022-01-31 16:47:58 +00:00
Ben Arc
dbab181759 Admin users can credit accounts 2022-01-31 16:29:42 +00:00
benarc
e03370188a Fixed payment checking 2021-10-22 00:41:30 +01:00
Ben Arc
19df2f888b Added decode lnurl and extra payment check 2021-10-20 03:59:24 +01:00
cd2357
b53ad5b64a Create Invoice popup: Mark memo field as required
Both amount and memo are required by the API, but only the amount field is marked as such in the UI. This commit also marks the memo field as required.
2021-08-14 06:01:21 -03:00
fiatjaf
b96a6661f8 fix "requesting" display for addresses. 2021-08-10 08:11:51 -03:00
fiatjaf
a019d29b9b support pay-to-identifier. 2021-08-10 07:25:51 -03:00
Tiago vasconcelos
b3856d5aff allow wallet rename issue #141 2021-08-06 12:37:30 -03:00
Ben Arc
aa1c83cdc4 added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
davidfrayne
3331dfeab6 Fix payments filter on wallets.html 2021-07-12 10:52:31 -03:00
Ben Arc
ae0849143b Easier to customise title/tagline
Also added description that can replace frontpage blurb
2021-07-02 12:31:05 +01:00
Ben Arc
b0c0b9f851 Changed primary/secondary colours to branded 2021-06-29 02:10:30 +01:00
Ben Arc
4d6e49cf0d made descriptions small for extensions 2021-06-23 20:21:27 +01:00
Tiago vasconcelos
d91dbbcac3 allow invoices to be generated using Fiat values 2021-06-14 11:13:49 -03:00
fiatjaf
b9db504f34 fix links to extensions in payments tags. 2021-05-21 22:57:22 -03:00
Ben Arc
7134821fcd disable submit if no button 2021-04-22 09:07:35 +01:00
fiatjaf
b55cc82f1c evade lnurl encoding error for withdraw_full QR on localhost. 2021-04-21 23:27:57 -03:00
fiatjaf
943237e7ff prettier fixes. 2021-04-17 23:21:27 -03:00
fiatjaf
efd9c6917f lnurl balanceCheck and balanceNotify. 2021-04-17 23:21:19 -03:00
Ben Arc
a3bd36d44f Fixed 'runs on' images 2021-04-13 21:42:53 +01:00
fiatjaf
0f998419e7 basic webmanifest thing, must be improved. 2021-04-13 11:50:30 -03:00
Ben Arc
05a0861601 Added funding sources to homepage 2021-04-13 15:43:39 +01:00
Ben Arc
aa2e09bbeb Hidden api keys to prevent over shoulder attacks 2021-04-13 11:10:21 +01:00
fiatjaf
76199c66a1 livestream extension.
(except docs)
2021-04-11 00:44:55 -03:00
fiatjaf
574358a118 fix: lnurlpay comment was being parsed as number. 2021-03-26 21:10:15 -03:00
fiatjaf
ec193ca697 put export-with-qr-code on a toggleable section. 2021-02-13 21:45:22 -03:00
fiatjaf
ea51af90d0 remove "Renew Keys" button.
it wasn't doing anything.
closes https://github.com/lnbits/lnbits/issues/147
2021-02-13 21:45:22 -03:00
Pac
378e408dca Update wallet.html 2021-02-13 21:45:22 -03:00
Pac
e251291076 Display QRcode for easy wallet export
This adds a QRcode of the "url_root/wallet?usr=#####&wal=####" so that
the user can create a wallet on desktop and easily use it on his phone.
Also, in a use case where the <User Manager> extension is used, the
manager can create a wallet and show the QRcode for the user to take it
(e.g. in a hotel front desk the clerk creates it and the user takes it
in his phone browser, to pay for laundry, massage, soda machine...)
2021-02-13 21:45:22 -03:00
fiatjaf
1c922a5ddc finish webhooks for normal invoices with two extra columns. 2020-12-24 09:39:46 -03:00
fiatjaf
594e28eab7 formatting. 2020-11-18 22:26:30 -03:00
fiatjaf
a198842f50 wallet name on <title> 2020-11-12 15:32:41 -03:00
fiatjaf
54881d777e lnurl-auth: show wallet name on modal. 2020-11-11 22:43:01 -03:00
fiatjaf
eaec3480e6 lnurl-auth from lnbits wallets to services. 2020-11-10 11:36:10 -03:00
fiatjaf
435f5405c6 minor prettier change. 2020-10-16 14:45:28 -03:00
fiatjaf
bdbb58b2b0 wrap memo columns in payments table. 2020-10-15 00:59:00 -03:00
fiatjaf
d528d4e09e fix: wallet layout. 2020-10-14 23:13:55 -03:00
fiatjaf
1529ebb689 lnurlpay comment. 2020-10-13 15:18:34 -03:00
fiatjaf
bcdc065cc0 mypy fixes. 2020-10-13 14:46:23 -03:00
fiatjaf
bc2207ba27 actually paying and withdrawing with lnurl. 2020-10-12 23:21:45 -03:00
fiatjaf
3cd15c40fc lnurl-pay and lnurl-withdraw UI. 2020-10-12 23:21:45 -03:00
fiatjaf
7a5159f293 send/create/scan buttons for clear LNURL support. 2020-10-12 23:21:45 -03:00
Arc
fa8713de17 move scan to outside of receive. 2020-10-12 23:21:45 -03:00
fiatjaf
16541d40c6 show more data in txinfo modal and fee on main table.
- also center-align icons in main table.
- and use "x time ago" instead of raw dates by default in main table
  (raw date is accessible on a tooltip, on the modal and on the CSV export).
2020-10-05 22:38:06 -03:00
fiatjaf
88b8826bfd fix balance calculation vue glitch. 2020-09-29 20:04:02 -03:00
fiatjaf
e0b8470d40 show unpaid invoices, balance calculated on server-side so isn't affected. 2020-09-29 15:43:11 -03:00
fiatjaf
75047c5bc3 fix static extensions js url. 2020-09-16 20:21:42 -03:00
fiatjaf
f01028eac7 migrate from flask to quart.
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00
fiatjaf
e6ad42dbe1 update prettier to 2.1.1 2020-09-14 09:14:51 -03:00
fiatjaf
ce28db76c9 add a dialog with payment details for each payment.
for outgoing payments this needs a preimage to be good,
but we don't have it yet because we don't get it from
backends.
2020-09-02 19:19:19 -03:00
fiatjaf
197af922d0 use {"tag": ext} for extension-related payments. 2020-09-02 12:44:54 -03:00
fiatjaf
bf3c44b3c4 extra fields on apipayments + index payments by payment_hash 2020-09-02 11:10:48 -03:00
fiatjaf
79d5befe0c mypy on Makefile and apply prettier. 2020-08-29 14:10:26 -03:00
Dennis Reimann
c3281399d2
Improve setup instructions and README
- README cleanups and link to documentation
- Improve dev setup instructions
- Fix js linting errors
- Move local setup instructions to installation docs
- Project link fix, closes #42
- Notes about frontend
- Clarify different LND backends
2020-06-12 20:58:37 +02:00
Arc
6f4cac0c41
Update index.html 2020-05-08 22:19:43 +01:00
Eneko Illarramendi
a61d346669 chore: update js vendors 2020-05-04 15:33:39 +02:00
Eneko Illarramendi
897644956a feat: only dhow disclaimer if SERVICE_FEE has been set 2020-04-23 21:25:55 +02:00
Eneko Illarramendi
1978cafe44 chore: update supporter logos 2020-04-23 07:23:45 +02:00
Arc
cd22aaded9
Update index.html 2020-04-22 20:55:51 +01:00
Eneko Illarramendi
498eceeb46 feat: use dynamic root in api docs 2020-04-22 21:49:31 +02:00
Eneko Illarramendi
fd4dc6c48f chore: remove pending macaroon mentions 2020-04-21 23:22:01 +02:00
Eneko Illarramendi
f12f52db2d fix: homepage bug 2020-04-21 23:17:11 +02:00
Eneko Illarramendi
5806beaeb7 feat(core): move disclaimer to wallet page 2020-04-21 23:15:50 +02:00
Eneko Illarramendi
efbba20872 style: minor tweaks 2020-04-21 23:13:37 +02:00
Eneko Illarramendi
93e51a7398 fix: wallet button 2020-04-21 23:13:37 +02:00
Eneko Illarramendi
364b6dc857 fix(vue): use @submit to send forms, and catch users pressing return 2020-04-21 08:16:56 +02:00
Arc
409122271a
Update index.html 2020-04-20 15:29:01 +01:00
Arc
07b4d52432
Update index.html 2020-04-20 15:27:46 +01:00
Arc
65c17488e3
Update index.html 2020-04-20 14:19:38 +01:00
Arc
ca08dc2302
Update index.html 2020-04-20 13:48:46 +01:00
Eneko Illarramendi
57c26ed2bb chore: outline some buttons 2020-04-18 23:17:16 +02:00
Eneko Illarramendi
d03e472cc2 feat(core): add search to payments table 2020-04-17 21:13:32 +02:00
Eneko Illarramendi
fd4dddda6e chore: rename api-key-macaroon 2020-04-16 20:58:16 +02:00
Eneko Illarramendi
dd23b20090 chore: various tweaks 2020-04-16 20:58:16 +02:00
Arc
6651122bb6
Update _api_docs.html 2020-04-16 12:04:17 +01:00
Eneko Illarramendi
fb7dfb3a32 chore: minor fixes 2020-04-05 12:19:25 +02:00
Arc
c866d0572e
Added top margin to modals 2020-04-04 22:53:28 +01:00
Eneko Illarramendi
a81de95f73 chore(vue): use g for consistency with Flask 2020-04-03 22:38:50 +02:00
Arc
46c11f3946
Update wallet.html 2020-04-03 13:16:23 +01:00
Arc
8fe9864e43
Update wallet.html
Changed value to amount, added a curl example
2020-04-03 12:57:36 +01:00
Eneko Illarramendi
649cc888ab refactor: /wallet tweaks 2020-04-01 22:18:46 +02:00
Eneko Illarramendi
75d97ddfc1 refactor: camera ready 2020-03-10 23:12:22 +01:00
Eneko Illarramendi
49addb8d56 refactor: breaking bad 2020-03-08 23:00:41 +01:00
Eneko Illarramendi
d862b16ee6 refactor: "payments" is the name, and API updates 2020-03-07 22:27:00 +01:00
Eneko Illarramendi
9382381144 chore: initial version of tx chart 2020-03-05 23:01:37 +01:00
Eneko Illarramendi
f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
Eneko Illarramendi
9e90aabead refactor: use Flask Blueprints to organize extensions
- extensions are now blueprints: keep views, templastes and statics in the same folder
- increase app security using `flask-talisman`
- whenever possible use {{ url_for }} for links between pages
- remove references to non-existing JavaScript code
- add missing favicon.ico
2020-01-31 21:07:05 +01:00