Commit Graph

1167 Commits

Author SHA1 Message Date
ekzyis 7749c14d3b Remove 'tor or clearnet' hint for LN addresses 2024-07-15 14:46:48 +02:00
ekzyis ee1574cf45 Fix leaking relay connections 2024-07-15 13:56:21 +02:00
keyan c767e106a0 merge master 2024-07-12 18:24:31 -05:00
keyan e1d6632445 fix action tooltip container 2024-07-12 17:34:46 -05:00
keyan da65191cd8 refine comment padding 2024-07-12 15:18:13 -05:00
keyan 3f9d509a52 more notification refinement 2024-07-12 10:55:24 -05:00
keyan bc2cb29c41 improve notification header styling 2024-07-12 10:38:47 -05:00
keyan cb6b85345c attempt fix for popovers 2024-07-12 10:15:57 -05:00
keyan 35cf792ff8 refine notifications some 2024-07-12 09:51:03 -05:00
keyan 2e90f02997 more popover leave events 2024-07-11 17:48:57 -05:00
keyan 0aea695d8a higher contrast outline for new notifications 2024-07-11 17:32:28 -05:00
keyan 729aab12eb better component reuse in notifications 2024-07-11 17:29:05 -05:00
keyan 07042c57ca improve UX of notifications 2024-07-11 16:59:07 -05:00
keyan 28c4fa160c fix item spacing 2024-07-11 16:58:55 -05:00
Keyan c6554d3ca7
Referral Rewards (#1262)
* referral rewards

* make referral notifications consistent

* remove plpgsql from earn job

* remove dead code

* remove debug logging
2024-07-10 19:23:05 -05:00
keyan 6cf16d3da7 don't toast on invoice cancellation 2024-07-09 13:10:41 -05:00
keyan 94d9d9513c hide overflow of toasts 2024-07-09 11:46:38 -05:00
keyan e0f91ace41 prevent lnc-web's wasm loading side effects from breaking everything 2024-07-08 16:10:19 -05:00
ekzyis 6e6af40eb9 Toast priority save errors 2024-07-08 13:20:03 +02:00
ekzyis 05c0f8a66e Remove console.log 2024-07-08 13:14:30 +02:00
ekzyis 80756f23a4 Remove TODOs
TODO in components/wallet-logger.js was handled.
I don't see a need for the TODO in lib/wallet.js anymore. This function will only be called with the wallet of type LIGHTNING_ADDRESS anyway.
2024-07-08 13:04:03 +02:00
ekzyis 24bdf0a099 Add example wallet def 2024-07-08 12:58:58 +02:00
ekzyis d9205b6d30 Add link to lnbits.com 2024-07-08 12:56:43 +02:00
ekzyis 7402885998 Use common sort 2024-07-08 11:34:05 +02:00
ekzyis 920478a72c Update LNC code
* remove LNC FIXMEs

Mhh, I guess the TURN server was down or something? It now magically works. Or maybe it only works once per mnemonic?

* also removed the lnc.lnd.lightning.getInfo() call since we don't ask and need permission for this RPC for payments.

* setting a password does not work though. It fails with 'The password provided is not valid' which is triggered at https://github.com/lightninglabs/lnc-web/blob/main/lib/util/credentialStore.ts#L81.
2024-07-08 10:59:04 +02:00
ekzyis 8ea4d0c8a7 Fix duplicate CLN error 2024-07-08 07:59:28 +02:00
ekzyis 459478036f Fix priority ignored when fetching enabled wallet 2024-07-08 05:49:54 +02:00
ekzyis 85464f93b9 Detach wallets and delete logs on logout 2024-07-07 18:35:57 +02:00
ekzyis dddbb53792 Add CLN autowithdrawal 2024-07-07 18:35:57 +02:00
ekzyis ebe741dc92 Add missing hints 2024-07-07 18:35:57 +02:00
ekzyis 7528e5c2b6 Add optional wallet short name for logging 2024-07-07 18:35:57 +02:00
ekzyis 1ce09051b1 Add autowithdrawal to lightning address 2024-07-07 18:35:56 +02:00
ekzyis 12bedae01a Use wallet.createInvoice for autowithdrawals 2024-07-07 18:31:41 +02:00
ekzyis ba00c3d9fa Generate wallet resolver from fields 2024-07-07 18:31:41 +02:00
ekzyis 00f78daadc Generate wallet mutation from fields 2024-07-07 18:31:41 +02:00
ekzyis 48ead97615 Run lnbits url.replace in validate and sendPayment 2024-07-07 18:31:41 +02:00
ekzyis 6463e6eec8 Split arguments into [value,] config, context 2024-07-07 18:31:41 +02:00
ekzyis 0ebe097a70 Fix noisy changes in lib/validate
I moved the schema for lnbits, nwc and lnc out of lib/validate only to put them back in there later.

This commit should make the changeset cleaner by removing noise.
2024-07-07 18:31:41 +02:00
ekzyis 850c534c91 Fix typo 2024-07-07 18:31:41 +02:00
ekzyis 83fd39b035 Fix onCanceled missing 2024-07-07 18:31:41 +02:00
ekzyis 9bbf2056e9 Save dedicated enabled flag for server wallets
* wallet table now contains boolean column 'enabled'
* 'priority' is now a number everywhere
* use consistent order between how autowithdrawals are attempted and server wallets cards
2024-07-07 18:31:41 +02:00
ekzyis 55928ac252 Save order as priority 2024-07-07 18:31:41 +02:00
ekzyis c270805649 Use dynamic import for WalletCard
This fixes a lot of issues with hydration
2024-07-07 18:31:41 +02:00
ekzyis b96757b366 Move all validation schema into lib/validate 2024-07-07 18:31:41 +02:00
ekzyis 39d8928772 Disable checkbox if not configured yet 2024-07-07 18:31:41 +02:00
ekzyis d20e258649 Consistent logs between local and server wallets
* 'wallet attached' on create
* 'wallet updated' on config updates
* 'wallet enabled' and 'wallet disabled' if checkbox changed
* 'wallet detached' on delete
2024-07-07 18:31:41 +02:00
ekzyis d60e26bfdf Fix wallet logs not updated after server delete 2024-07-07 18:31:41 +02:00
ekzyis 9509833b88 Also use 'enabled' for server wallets 2024-07-07 18:31:41 +02:00
ekzyis 645ff78365 Fix server config not updated after save or detach 2024-07-07 18:31:41 +02:00
ekzyis c18263dc73 Fix another hydration error 2024-07-07 18:31:41 +02:00