Commit Graph
1028 Commits
Author SHA1 Message Date
thePR0M3TH3AN 48de1a3c4e update 2025-11-05 16:41:16 -05:00
thePR0M3TH3AN cdb82e6e72 update 2025-11-05 16:17:56 -05:00
thePR0M3TH3AN 5aa1f8687b update 2025-11-05 15:20:14 -05:00
thePR0M3TH3AN 6025f6e078 update 2025-11-05 14:49:33 -05:00
thePR0M3TH3AN e90f3770ef update 2025-11-05 11:12:38 -05:00
thePR0M3TH3AN c882139e90 Fix comment event matching for uppercase addresses 2025-11-04 16:52:12 -05:00
thePR0M3TH3AN 71df75a8d1 update 2025-11-04 15:19:34 -05:00
thePR0M3TH3AN cac275a220 Normalize root comment keys before rendering 2025-11-04 15:06:17 -05:00
thePR0M3TH3AN a52e1e2a17 update 2025-11-03 22:07:49 -05:00
thePR0M3TH3AN 5a0b35ff60 Merge branch 'unstable' of https://github.com/PR0M3TH3AN/bitvid into unstable 2025-11-03 21:49:18 -05:00
thePR0M3TH3AN 8ad7d82a70 update 2025-11-03 21:49:10 -05:00
thePR0M3TH3AN 8258686f55 Preserve raw video author pubkeys for comment threads 2025-11-03 21:27:30 -05:00
thePR0M3TH3AN b7d63f235c Merge branch 'unstable' of https://github.com/PR0M3TH3AN/bitvid into unstable 2025-11-03 21:05:23 -05:00
thePR0M3TH3AN dc0b6a1f8c update 2025-11-03 21:05:20 -05:00
thePR0M3TH3AN 043648fc62 Refresh WebTorrent tracker defaults 2025-11-03 20:34:40 -05:00
thePR0M3TH3AN 5d31366c79 Restore comment bootstrap and guard admin cache hydration 2025-11-03 20:19:45 -05:00
thePR0M3TH3AN 4a70adcd1c Fix default flags syntax regression 2025-11-03 19:21:18 -05:00
thePR0M3TH3AN ac930abaca Fix nip44 bootstrap import 2025-11-03 19:18:05 -05:00
thePR0M3TH3AN fbc352e460 Fix fallback thumbnail asset paths 2025-11-03 19:15:44 -05:00
thePR0M3TH3AN a9f2c4ec37 update 2025-11-03 18:57:43 -05:00
thePR0M3TH3AN db586727fa update 2025-11-03 18:53:59 -05:00
thePR0M3TH3AN c5eda532df feat: improve comment persistence on reload via union filters and caching
- Introduce FEATURE_IMPROVED_COMMENT_FETCHING flag (default: true in unstable)
- Enhance createVideoCommentFilters to include comprehensive union of legacy (#e/#a) and uppercase (#E/#A/#I/#K/#P) tags for NIP-22 compliance, reducing misses in mixed-relay propagation
- Add localStorage caching (5min TTL) in CommentThreadService.fetchThread for fast loads post-reload; includes getCachedComments, cacheComments, and clearCommentCache
- Force full-history re-fetch in VideoModalCommentController.load with retry logic if low count, plus background refresh after 1s
- Bootstrap cache warm-up for recent videos on bitvidApp init (tracks via localStorage recentVideos list)

Fixes: Comments posted not reloading in video modal (root cause: incomplete filters + no persistence)
Closes: #N/A (internal fix)
QA: Verified post → reload → modal open shows comments via cache/query; no regressions in threading/UI
Rollout: Gated by flag; rollback by setting false + clear localStorage (^comments: keys)
2025-11-03 15:46:12 -05:00
thePR0M3TH3AN a59f214aeb Serialize repost targets when available 2025-11-03 14:35:43 -05:00
thePR0M3TH3AN e704b93287 Fix comment address fallback when video tags missing 2025-11-03 11:36:39 -05:00
thePR0M3TH3AN 3445ef9059 Ensure comment builder always appends root #e tag 2025-11-03 10:45:44 -05:00
thePR0M3TH3AN d9b45ed867 Ensure comment events keep root e tags alongside addresses 2025-11-03 09:56:33 -05:00
thePR0M3TH3AN a107f59221 Merge pull request #1023 from PR0M3TH3AN/codex/update-to-kind-30000-for-subscriptions
Align subscription list events with NIP-51 follow sets
2025-11-03 09:44:10 -05:00
thePR0M3TH3AN 7db78b07f2 Restore legacy subscription list compatibility 2025-11-03 09:42:17 -05:00
thePR0M3TH3AN 318eea15e3 Enhance VideoModal title handling and styling. Added responsive styles for video title in CSS, ensuring proper overflow handling. Updated JavaScript to set video title dynamically, with fallback for missing elements and improved logging for debugging. 2025-11-02 19:30:05 -05:00
thePR0M3TH3AN e496376236 Align subscription lists with NIP-51 follow set kind 2025-10-31 08:33:39 -04:00
thePR0M3TH3AN 3d60d865fa Merge pull request #1022 from PR0M3TH3AN/codex/cap-modal-tag-list-using-tag-strip-helper
Trim video modal tags to container width
2025-10-30 21:02:45 -04:00
thePR0M3TH3AN b4d2370611 Trim video modal tag list to container width 2025-10-30 21:01:37 -04:00
thePR0M3TH3AN 86526bbe02 Fix top-level comment detection and add coverage 2025-10-30 21:00:38 -04:00
thePR0M3TH3AN aff9d11d25 Trim popular tag pills to container width 2025-10-30 16:44:02 -04:00
thePR0M3TH3AN 2fae0a0e7c Update subscription and block lists to encrypted tag arrays 2025-10-30 15:51:21 -04:00
thePR0M3TH3AN bc9bf9e682 Enforce relay resolution for repost events 2025-10-30 15:32:18 -04:00
thePR0M3TH3AN 3b4492461c Ensure video reverts always emit d tag 2025-10-30 14:43:19 -04:00
thePR0M3TH3AN ba6815f795 Merge branch 'unstable' into codex/extend-mirrorvideoevent-and-add-validation 2025-10-30 12:42:25 -04:00
thePR0M3TH3AN 6eb8594e28 Add file hash support to NIP-94 mirrors 2025-10-30 12:41:49 -04:00
thePR0M3TH3AN ba656978a5 Add target kind tag to quote reposts 2025-10-30 12:39:46 -04:00
thePR0M3TH3AN 59161df063 Require active signer for comment publishing 2025-10-30 11:39:09 -04:00
thePR0M3TH3AN cd3c3824b9 Handle dual NIP-44/NIP-04 watch history encryption 2025-10-30 11:17:39 -04:00
thePR0M3TH3AN bd40bd1997 Prefer nip44.v2 for private lists and update tests 2025-10-30 10:20:08 -04:00
thePR0M3TH3AN 995ba14c14 Enforce reaction event id requirements 2025-10-30 09:46:10 -04:00
thePR0M3TH3AN 5062910245 Ensure repost events carry relay hints and correct kinds 2025-10-30 09:29:54 -04:00
thePR0M3TH3AN 864447fc71 Preserve d tag when editing NIP-33 video notes 2025-10-30 09:22:15 -04:00
thePR0M3TH3AN ad3721fcdb Merge pull request #1007 from PR0M3TH3AN/codex/update-editvideo-flow-to-reuse-d-tag
Preserve d tag when editing nostr videos
2025-10-30 08:07:11 -04:00
thePR0M3TH3AN f3007b9e0b Preserve d tag when editing nostr videos 2025-10-30 08:06:49 -04:00
thePR0M3TH3AN aee8bd44ae Fix comment modal current video handling 2025-10-29 22:38:49 -04:00
thePR0M3TH3AN 462f4bed9e Normalize imeta MIME casing 2025-10-29 22:20:55 -04:00