534 Commits
Author SHA1 Message Date
sam 7eca8f850b ++ 2025-10-23 00:07:50 +07:00
sam f37b97630f leave out yarn trace 2025-10-23 00:05:39 +07:00
sam 14db9f59d0 Merge branch 'main' into feat/messaging-example 2025-10-22 23:59:41 +07:00
sam 701067fa8f remove one invalid dep, and calmed other lint warns 2025-10-22 23:11:02 +07:00
sam ea791d405e lint fix 2025-10-22 23:06:29 +07:00
sam 35ad8cfa1b log edge case nip17 processesing errors 2025-10-22 22:48:08 +07:00
sam 0fd52feabb fix some nip17 issues; fuzzed signers and times 2025-10-22 22:05:38 +07:00
sam 440e02ff0e remove debug statemnts 2025-10-22 18:27:56 +07:00
sam 6380b1980c handle kind 14/15s via contained event instead 2025-10-22 16:55:37 +07:00
sam 79980ded70 redo encryption to enc individual messages content, not the whole blob, to circumvent nip44 signer limits 2025-10-22 16:44:27 +07:00
Alex Gleason 0562cb8ee2 Remove some cruft 2025-10-21 20:14:50 -05:00
Alex Gleason 1b4c27d17d Use nostrify from npm 2025-10-21 20:11:41 -05:00
sam 9d7f5e48df fix caching messages insecurely if signer nip44 failed 2025-10-21 22:06:29 +07:00
sam dbacdbc8ac update docs regarding default enabled state, and with info on all messaging components so that there's a better base for custom UIs 2025-10-21 21:46:22 +07:00
sam 1c23b6bafc enable a custom messaging db file per mkstacks app made 2025-10-21 21:45:20 +07:00
sam 1dc91bd978 disable message unless explicitly added 2025-10-21 21:45:04 +07:00
sam 69b314c831 wip - document DMs to the LLM 2025-10-21 21:28:57 +07:00
sam 50ed58730c expose attachments param 2025-10-21 20:42:38 +07:00
sam 69252a7526 port dms hook to provider to unify source of truth 2025-10-21 20:26:04 +07:00
sam d1ef321e38 cahce profile data 2025-10-21 17:37:52 +07:00
sam 8d14062d14 skeleton on avatar and resolved display name to avoid glitchy looking rewrites 2025-10-21 17:35:26 +07:00
sam 61763d04c8 avoid unnecessary render 2025-10-21 17:23:31 +07:00
sam 211d303301 idb package 2025-10-21 08:58:24 +07:00
sam 5ad2d7fabc add relay selector to debug/test messaging page 2025-10-21 08:58:12 +07:00
sam 76cb50f2da comvey message type in ui 2025-10-21 06:58:59 +07:00
sam 7e24b0c347 use same date formatting funcs on messages as chat list 2025-10-20 21:44:17 +07:00
sam 6c48e7c684 better loading feedback in the ui 2025-10-20 21:33:38 +07:00
sam d8b195e624 theres only one format, no need for versioning 2025-10-20 21:03:04 +07:00
sam e6acf05e8d tooltip for any decryption errors for the curious minded 2025-10-20 19:34:44 +07:00
sam e8ef8f02ab query relays for nip4 and nip17s in parallel 2025-10-20 19:07:16 +07:00
sam e218305799 encrypt the whole message cache instaed of individual messages, for faster decryption on load 2025-10-20 18:36:16 +07:00
sam 8bbb247ba8 intercept hard refresh to clear cache 2025-10-20 15:16:51 +07:00
sam ed80d74824 use a config object for DM provider 2025-10-20 14:04:58 +07:00
sam 92eb50f8d2 handle edge case cache reset when user changes relay while logged out then logs in again 2025-10-20 12:53:58 +07:00
sam f379a95548 clear message cache on relay change 2025-10-20 12:47:18 +07:00
sam 9bafd29ec9 fix updating latest message date when new messages from another nip are added 2025-10-20 12:00:05 +07:00
sam d7d6f8d6d5 change formatting for recent convo 2025-10-20 11:52:56 +07:00
sam 381fdaf977 ensure unique ids for dom 2025-10-19 22:34:26 +07:00
sam 15ec6c69e7 fix issue with decrypting stored encrypted messages 2025-10-19 21:42:09 +07:00
sam 7a52562926 wip kind 14/15 within nip17 seal for attachments 2025-10-19 19:57:40 +07:00
sam 5d8a4d4ace since nip17s can be fuzzed +- 2 days, query/subscribe from -2days as an offset 2025-10-19 19:02:33 +07:00
sam cb50cbe137 give 1059s a fuzzed time 2025-10-19 18:58:13 +07:00
sam 79b03dee38 random signers for 1059s 2025-10-19 18:16:09 +07:00
sam 04ae3d89c0 pagination 2025-10-19 14:37:43 +07:00
sam 1ffe78c80c let messaging be optional 2025-10-19 14:28:23 +07:00
sam 04c5a84ca9 memoize a bunch of things 2025-10-19 14:18:55 +07:00
sam 71b9c9d380 rename dm components for concistency 2025-10-19 14:12:29 +07:00
sam cb231c7770 put the split responsive messaging ui in a component of its own 2025-10-19 13:57:15 +07:00
sam d72b28cf77 loading state copy 2025-10-19 13:24:12 +07:00
Alex Gleason 19ecfee4bf Add Buffer polyfill 2025-10-18 12:11:32 -05:00