Commit Graph

99 Commits

Author SHA1 Message Date
fiatjaf
98ac4f6855 use primal relay as event source by id and filter out "virtual" relays from being returned or added to hints. 2023-11-30 12:19:50 -03:00
fiatjaf
8a2fa69cb9 refactor unique() to be faster. 2023-11-30 12:19:49 -03:00
Daniele Tonon
8a99017259 Add an option to basicFormatting to skip links
SQUASH
2023-11-28 20:14:22 +01:00
Daniele Tonon
b8345f9176 Add RSS for profiles and relays 2023-11-16 22:58:40 +01:00
fiatjaf
6b810d5ed1 fix quoted videos for telegram instant view too, like images. 2023-11-15 14:43:58 -03:00
fiatjaf
929307f3ba move markdown stuff to its own file and simplify code a bit. 2023-11-12 18:11:14 -03:00
Daniele Tonon
76f01721fc Review design for linked entities 2023-11-08 23:07:03 +01:00
Daniele Tonon
800bc56796 Review design for mentioned notes 2023-11-08 23:07:03 +01:00
fiatjaf
08b07227eb fix getParentNevent()
this would panic if we didn\'t have any relays in data.relays for the child.
but also I think it wasn't a good idea to give spurious hints in the nevent.
either we have good hints or we don't.
2023-11-08 18:51:25 -03:00
fiatjaf
0b6a4838c5 getRelay() -> getRandomRelay() 2023-11-07 17:03:44 -03:00
Daniele Tonon
96da7ab72c Fix and improve getParentNevent() 2023-11-07 17:44:28 +01:00
Daniele Tonon
12c1bebf99 Add support for live chat message, kind:1311 2023-11-07 15:13:05 +01:00
fiatjaf
9f0b3fa4af use naddr as code in client urls when param-replaceable and fix relay filtering for nip19.
fixes https://github.com/fiatjaf/njump/issues/14
2023-11-07 09:14:45 -03:00
Daniele Tonon
b5a4cfdfdb Add support for live events, kind:30311 2023-11-06 23:28:20 +01:00
fiatjaf
604be14407 modularizing opengraph headers and fixing a bunch of small things on there. 2023-11-06 11:07:20 -03:00
Daniele Tonon
6e0c608a0c Review link styles for entities 2023-11-05 21:06:19 +01:00
fiatjaf
e477d38e66 fixing implementation of previous commit in multiple places. 2023-11-05 14:39:10 -03:00
fiatjaf
9967d10cd6 using eventstore for storing events, querying locally. 2023-11-05 14:39:10 -03:00
fiatjaf
d05440b98f update go-nostr. 2023-11-04 16:09:00 -03:00
fiatjaf
f3997b78ae Your => your native client 2023-10-30 20:08:15 -03:00
fiatjaf
68e3722bbd turn user-agent style possibilities into constants. 2023-10-30 19:35:59 -03:00
Daniele Tonon
ad91d3b96b Add basic support for NIP-94 - File Metadata 2023-10-30 23:29:23 +01:00
Daniele Tonon
84d5914b7f Add a background to not full width videos 2023-10-30 18:44:23 +01:00
Daniele Tonon
aee216ee5c Limit video size to the viewport 2023-10-28 23:24:47 +02:00
fiatjaf
b44defdc13 fix client urls.
closes https://github.com/fiatjaf/njump/issues/13
2023-10-28 17:04:36 -03:00
Daniele Tonon
6f7b04769e Review clients design 2023-10-28 15:22:54 +02:00
Daniele Tonon
86be87e2dc Fix the flickering of the notes' left border 2023-10-28 14:10:22 +02:00
fiatjaf
92d8b6a6d1 use event relays when searching for pubkey metadata, compute nprofile. 2023-10-26 08:17:27 -03:00
fiatjaf
19310fbcd2 small style adjustments. 2023-10-25 20:33:30 -03:00
fiatjaf
35e9a6da30 last tailwind conversions: generic prose things and .column_content, eliminate styles entirely. 2023-10-25 20:25:18 -03:00
fiatjaf
015b6b1c42 fix json empty tags indentation. 2023-10-25 11:13:01 -03:00
fiatjaf
4f276e2156 remove some unused clients. 2023-10-25 00:23:01 -03:00
fiatjaf
660952a338 syntax-highlight event JSON on the server. 2023-10-24 21:09:01 -03:00
fiatjaf
81390b159c tailwind .nostr 2023-10-24 20:01:17 -03:00
fiatjaf
a9f89cf6fc add nostrudel. 2023-10-24 10:13:48 -03:00
fiatjaf
75b7a96675 replacing scripts with hyperscript. 2023-10-21 21:40:39 -03:00
fiatjaf
f70b13afe7 relay and archive sitemaps xml (with a nice hack because htmlgo is not xml-friendly.) 2023-10-21 13:34:32 -03:00
fiatjaf
6aa1440b05 tmpl migration: note.html 2023-10-21 07:45:44 -03:00
fiatjaf
ada25605f9 add nostter and nosotros, remove agora. 2023-10-10 11:30:18 -03:00
fiatjaf
75189d8bec querystring helper for debugging image generation. 2023-10-10 09:35:47 -03:00
fiatjaf
f169c01e67 fix .metadata.Website without a leading "https://" 2023-10-07 08:15:52 -03:00
fiatjaf
4f3141f66a fetch seenOn relays for individual events. 2023-10-02 15:17:39 -03:00
fiatjaf
28ddb1cefd instead of arrows in quotes, use a nicer unicode block character. 2023-10-01 16:11:17 -03:00
fiatjaf
3439864780 fix rendering quotes. 2023-10-01 16:02:33 -03:00
fiatjaf
fd08783edd discriminate iframely. 2023-09-24 15:39:12 -03:00
fiatjaf
9a5f20bad2 abstract grabData() function in render.go 2023-09-23 22:16:36 -03:00
fiatjaf
0a9b9ce1d3 use content with names replaced in as the title. 2023-09-23 12:24:03 -03:00
fiatjaf
06cbbff096 replace nostr user references with names in meta description. 2023-09-22 18:03:59 -03:00
fiatjaf
112e204133 refactor regexes for HTML replacing stuff so another telegram instant view bug is fixed.
now with images inside blockquotes (from quoted events).
2023-09-21 14:55:43 -03:00
Daniele Tonon
8ab0cfca8c Update last notes design + add npub to relays list 2023-09-20 00:50:52 +02:00