Commit Graph
1011 Commits
Author SHA1 Message Date
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
thePR0M3TH3AN 41d751904f Include event pointer tags for reactions 2025-10-29 22:14:20 -04:00
thePR0M3TH3AN 174ee0242e Fix NIP-56 report tag ordering 2025-10-29 21:53:06 -04:00
thePR0M3TH3AN d1ec1dcb7b Normalize NIP-71 participant pubkeys 2025-10-29 21:41:30 -04:00
thePR0M3TH3AN 2b22f0f739 Normalize NIP-94 MIME tags 2025-10-29 21:35:38 -04:00
thePR0M3TH3AN 53540a205d Align moderation reports with NIP-56 2025-10-29 21:07:00 -04:00
thePR0M3TH3AN 796b6c9ae6 Support per-variant duration and bitrate in NIP-71 metadata 2025-10-29 17:06:19 -04:00
thePR0M3TH3AN 931fa1398f Bundle crypto helpers for zap validator 2025-10-29 16:20:41 -04:00
thePR0M3TH3AN ca8db602ad Merge pull request #997 from PR0M3TH3AN/codex/add-zap-receipt-validation-helper-and-tests
Add zap receipt validation workflow
2025-10-29 15:59:54 -04:00
thePR0M3TH3AN 18f6d135fc Handle skipped zap receipt validation 2025-10-29 15:59:33 -04:00
thePR0M3TH3AN 0724307202 Add zap receipt validation for zap receipts 2025-10-29 15:48:54 -04:00
thePR0M3TH3AN 28acf98cda Add uppercase comment filters and update validation logic 2025-10-29 15:38:08 -04:00
thePR0M3TH3AN 56b31f324e Improve comment metadata propagation 2025-10-29 15:24:10 -04:00
thePR0M3TH3AN 61f0819a61 Merge pull request #994 from PR0M3TH3AN/codex/extend-video-comment-tag-handling-and-tests
Add NIP-22 tagging to video comment events
2025-10-29 14:39:16 -04:00
thePR0M3TH3AN eeee978134 Add NIP-22 metadata to video comment events 2025-10-29 14:38:59 -04:00
thePR0M3TH3AN c5460e38c9 Add lnurl param to invoice callback and update tests 2025-10-29 14:37:51 -04:00
thePR0M3TH3AN 0049528b46 Ensure zap requests carry bech32 LNURL tags 2025-10-29 14:18:27 -04:00
thePR0M3TH3AN c8a3bff57d Add relay metadata to zap requests 2025-10-29 14:06:02 -04:00