Commit Graph

2427 Commits

Author SHA1 Message Date
ekzyis 9587ff9a52 Fix autowithdrawal error log 2024-07-16 22:55:04 +02:00
ekzyis 538f1e21d6 Fix id access in walletPrioritySort 2024-07-16 22:46:15 +02:00
ekzyis e25a3dbec0 Fix w.default usage
Since package.json with { "type": "module" } was added, this is no longer needed.
2024-07-16 22:39:24 +02:00
Keyan 128f1f93b8
Merge branch 'master' into wallet-interface 2024-07-16 15:24:02 -05:00
ekzyis b777fdcddc Fix wallet.server usage
* I removed wallet.server in a previous commit
* the client couldn't determine which wallet was stored on the server since all server specific fields were set in server.js
* walletType and walletField are now set in index.js
* walletType is now used to determine if a wallet is stored on the server

* also included some formatting changes
2024-07-16 22:08:41 +02:00
keyan 3a748b8d38 exclude saloon from rewards 2024-07-16 13:54:21 -05:00
keyan 98efe763a0 remove done referral todos 2024-07-16 13:44:58 -05:00
keyan c6581b2cb1 allow db connection limit and timeout configuration 2024-07-16 13:42:09 -05:00
ekzyis bbcfc2fada Fix worker import of wallets/server 2024-07-16 17:44:21 +02:00
ekzyis 5b2e835722 Separate client and server imports by files
* wallets now consist of an index.js, a client.js and a server.js file
* client.js is imported on the client and contains the client portion
* server.js is imported on the server and contains the server porition
* both reexport index.js so everything in index.js can be shared by client and server

* every wallet contains a client.js file since they are all imported on the client to show the cards

* client.js of every wallet is reexported as an array in wallets/client.js
* server.js of every wallet is reexported as an array in wallets/server.js

FIXME: for some reason, worker does not properly import the default export of wallets/server.js
2024-07-16 15:46:44 +02:00
ekzyis 259ebef971 Fix generateMutation
* remove resolverName property from wallet defs
* move function into lib/wallet
* use function in generateMutation on client to fix wrongly generated mutation
2024-07-16 14:18:57 +02:00
ekzyis 7851366cd5 Put wallets into own folder 2024-07-16 07:54:27 +02:00
ekzyis cba76444dd Move wallets into top level directory wallet/ 2024-07-16 06:09:27 +02:00
ekzyis f01ce79afa Generate resolver name from walletField 2024-07-16 04:08:13 +02:00
ekzyis 03ca84629b Remove React dependency from wallet definitions 2024-07-15 16:23:24 +02:00
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
ekzyis 6ac675429c Merge branch 'master' into wallet-interface 2024-07-15 13:24:38 +02:00
keyan dd4806c1a3 avoid float in prisma template param 2024-07-14 16:53:06 -05:00
keyan e045c46811 fix Item.root resolver for anon 2024-07-14 15:53:40 -05: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 b31a8dbf2c
Update awards.csv 2024-07-11 18:23:33 -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 9ac31095c8 docker-compose isn't a thing anymore 2024-07-11 17:28:13 -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 501ac9f220 add action state indices 2024-07-11 12:49:23 -05:00
keyan 6c6d2dab18 fix typo 2024-07-11 11:55:19 -05:00
keyan 64eb22cc5e new rewards banner 2024-07-10 19:59:05 -05:00
keyan ce45574bce fix #1261 2024-07-10 19:39:53 -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 f05b6fab84 add wallets profile to allow exclusion on attached wallet containers 2024-07-09 11:37:55 -05:00
keyan e0f91ace41 prevent lnc-web's wasm loading side effects from breaking everything 2024-07-08 16:10:19 -05:00
keyan 0312012089 make sure stackedMsats is updated for forwardees 2024-07-08 09:35:29 -05:00
ekzyis 02472bb81f
Fix missing stackedMsats update + wrong sybil fee (#1256)
* Fix 'stackedMsats' not updated

* Fix 1% fee instead of 10%
2024-07-08 09:07:35 -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