Commit Graph

2439 Commits

Author SHA1 Message Date
ekzyis 1b6de0bb96 Return null if no wallet was found 2024-07-19 08:20:00 -05:00
keyan a0c1d4f602 make lnc work 2024-07-18 18:56:49 -05:00
ekzyis 5d03e08514 Remove validate.schema as a trap door 2024-07-17 03:32:00 +02:00
ekzyis 6a5713034b Make clear that message belongs to test
* validate.message was used in tandem with validate.test
* it might be confused as the message if the validation for validate.type failed
* now validate.test can be a function or an object of { test, message } shape which matches Yup.test
2024-07-17 03:31:16 +02:00
ekzyis c8d91bf42d Generate validation schema for CLN 2024-07-17 03:31:16 +02:00
ekzyis 08a5ce1a28 Remove stringTypes 2024-07-17 03:31:16 +02:00
ekzyis 4df0b460c3 Generate validation schema for LnAddr 2024-07-17 02:48:46 +02:00
ekzyis 587bfa34be Generate validation schema for LND 2024-07-17 02:38:04 +02:00
ekzyis 3933a4f460 Generate validation schema for LNC 2024-07-17 01:25:53 +02:00
ekzyis 667cde6042 Rename to torAllowed 2024-07-17 01:03:45 +02:00
ekzyis 6432ea7b44 Generate validation schema for NWC 2024-07-17 00:58:43 +02:00
ekzyis fb2b34ce67 Generate validation schema for LNbits 2024-07-17 00:58:43 +02:00
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