Commit Graph

73 Commits

Author SHA1 Message Date
fiatjaf
be3fad5bec fix kind description on grabData(). 2023-10-31 10:31:13 -03:00
fiatjaf
4639c2dbcf simplify struct building on grabData() 2023-10-30 22:33:47 -03:00
fiatjaf
2fecd4e5f2 turn kind1063Metadata into a struct. 2023-10-30 22:28:33 -03:00
Daniele Tonon
ad91d3b96b Add basic support for NIP-94 - File Metadata 2023-10-30 23:29:23 +01:00
fiatjaf
1c36a379fd use naked (no relay hints) nip19 codes for canonical URLs and move them to head_common. 2023-10-28 13:17:53 -03:00
fiatjaf
8111e16960 abstract querying of author and relay last notes, and caching. 2023-10-26 22:30:20 -03:00
fiatjaf
92d8b6a6d1 use event relays when searching for pubkey metadata, compute nprofile. 2023-10-26 08:17:27 -03:00
fiatjaf
c96cc28c33 fix ParentLink that was showing up all the time when it shouldn't. 2023-10-22 23:36:18 -03:00
fiatjaf
2fe1057ef6 profile sitemap. 2023-10-21 14:20:58 -03:00
fiatjaf
ebeb9820d8 move redirectors, renderRelay and renderProfile out of render. 2023-10-21 14:10:08 -03:00
fiatjaf
65025d4967 tmpl relay.html and replace LastNoteItem struct with a simpler EnhancedEvent with methods instead of hardcoded values. 2023-10-21 12:19:30 -03:00
fiatjaf
901b2b5d62 tmpl migration: profile.html 2023-10-21 11:47:28 -03:00
fiatjaf
6aa1440b05 tmpl migration: note.html 2023-10-21 07:45:44 -03:00
fiatjaf
bc947e29d8 mass tmpl migration: partials, other.html and archive.html. 2023-10-21 00:47:19 -03:00
fiatjaf
95d348ef07 revert "strip image and video urls from text if they are at the end of content."
this reverts commit 93c40648c0.

we need saner code before we can do these kinds of tweaks, I don't know if this would break something.
2023-10-17 07:10:57 -03:00
fiatjaf
93c40648c0 strip image and video urls from text if they are at the end of content. 2023-10-16 07:54:23 -03:00
fiatjaf
8f007bbe04 fix image and url matching by reusing the utils.go regexes. 2023-10-13 21:56:14 -03:00
fiatjaf
fe646af02c encode displayed nevent with seen-on relays.
fixes https://github.com/fiatjaf/njump/issues/7
2023-10-10 13:52:16 -03:00
fiatjaf
b6a95e46db fix unwanted chaining of canceled contexts. 2023-10-03 15:40:26 -03:00
Daniele Tonon
a85c5fa479 Remove exluded relays from "Seen on" list 2023-10-03 16:23:38 +02:00
fiatjaf
4f3141f66a fetch seenOn relays for individual events. 2023-10-02 15:17:39 -03:00
fiatjaf
9901c47e46 support .mov videos on normal notes. 2023-10-01 15:56:35 -03:00
fiatjaf
208506ff16 move grabData() into a separate file. 2023-09-24 15:39:03 -03:00