Alex Gleason
0b7d86a16f
Remove DMProvider from App.tsx and update DM documentation
...
- Removed DMProvider, DMConfig imports and configuration from App.tsx
- Updated docs/NOSTR_DIRECT_MESSAGES.md with setup instructions
- DM functionality now requires manual setup as documented
- Preserved all existing intentional test errors
2025-11-11 17:34:45 -06:00
Alex Gleason
8496cb99e5
Disable DM functionality by default
2025-11-11 17:31:46 -06:00
lemonknowsall
eb0fd14e33
remove /messages route
2025-11-06 19:43:20 -08:00
Alex Gleason
0532d23b57
RelayListManager improved mobile support
2025-11-05 00:23:40 -06:00
Alex Gleason
8eddf49e61
Implement NIP-65 relay management
...
- Replace single relayUrl with NIP-65 compatible relayMetadata structure
- Add RelayListManager component for managing multiple relays with read/write permissions
- Add NostrSync component to automatically sync user's NIP-65 relay list on login
- Update NostrProvider to use relay list instead of single relay
- Remove RelaySelector component and update empty states
- Update AGENTS.md documentation to reflect relay management changes
- Automatically publish relay list changes as NIP-65 events when user is logged in
2025-11-04 23:58:32 -06:00
Alex Gleason
d7dee81b1c
Split DM context up into multiple files
2025-11-04 23:33:58 -06:00
Alex Gleason
6d9e1816ee
Fix some lint/test issues
2025-10-23 12:08:27 -05: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
sam
9d7f5e48df
fix caching messages insecurely if signer nip44 failed
2025-10-21 22:06:29 +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
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