Commit Graph

105 Commits

Author SHA1 Message Date
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
Daniele Tonon
616242ac3b Shorten nip-119 entities in profiles/relays' last notes 2023-09-19 15:37:41 +02:00
Daniele Tonon
89ba317ede Replace npub/nprofile reference with usename on web pages 2023-09-19 12:29:33 +02:00
fiatjaf
55479e3523 replacing npub/nprofile references with username on rendered images, line length fixes for quotes and preceding quotes with a space -- along with some small refactors. 2023-09-19 01:35:32 -03:00
fiatjaf
b0bda60577 improve and fix telegram instant preview for markdown articles. 2023-09-14 10:31:38 -03:00
fiatjaf
90ec9d92dd remove unnecessary newlines from logs. 2023-09-14 08:14:24 -03:00
fiatjaf
4c0d7868de rewrite print statements to use log. 2023-09-14 08:01:23 -03:00
fiatjaf
700d12eb27 fix titleize() 2023-09-13 21:26:39 -03:00
Daniele Tonon
1f4f39b1e4 Render mentions inline 2023-09-03 02:04:22 +02:00
Daniele Tonon
59cdd46b8b Improve note title and description 2023-08-17 16:01:58 +02:00
Andrew
4c331d5cfd fixed format for agora links 2023-08-10 11:17:34 -03:00
Daniele Tonon
dfff0e4600 Add kind 30023 to clients match 2023-08-08 15:55:21 +02:00
Daniele Tonon
dcf8e3a451 Filter out some relays from the archive 2023-07-27 23:30:05 +02:00
Daniele Tonon
37ff53f22c Add relays archive 2023-07-27 23:15:48 +02:00
Daniele Tonon
eabec9b590 Add npubs archive
Add more npubs
2023-07-27 23:15:48 +02:00
fiatjaf
4e587cf186 relay pages at /r/... and nip05 pages at /p/... 2023-07-27 13:00:52 -03:00
Daniele Tonon
df83b221a4 Include relays in the profile 2023-07-14 11:09:14 +02:00
Daniele Tonon
9dbd4d6d40 Remove duplicates in the relays list before fetching last notes 2023-07-12 17:53:17 +02:00
fiatjaf
d734b189d9 initial broken draft of relays page. 2023-07-11 18:19:11 -03:00
fiatjaf
ecda6ac414 client list rendering based on event kind, not code. 2023-07-08 20:54:31 -03:00
fiatjaf
3531ecc4ca stop sending npubs to relays and use hints when fetching notes. 2023-07-08 20:08:51 -03:00
fiatjaf
6c3f7ecf5c Revert "remove primal."
This reverts commit 4cd8c79464.
2023-06-14 19:45:59 -03:00
fiatjaf
265fa86707 add highlighter. 2023-06-12 14:24:45 -03:00
fiatjaf
0c35c18445 add agora. 2023-06-09 11:44:42 -03:00
fiatjaf
4cd8c79464 remove primal. 2023-06-09 11:42:56 -03:00
Daniele Tonon
45e6a20085 Prevent markdown from adding rel=nofollow 2023-06-06 12:22:07 +02:00
Daniele Tonon
83a23c3855 Fix iframe/video rendering 2023-06-06 08:10:51 +02:00
Daniele Tonon
397fe8a5c4 Improve long format markdown rendering 2023-06-06 01:07:03 +02:00
fiatjaf
fbc393bf14 use a static type for client urls. 2023-06-05 13:27:00 -03:00
fiatjaf
087fc8c06e add yakihonne to article readers. 2023-06-05 12:44:56 -03:00
Daniele Tonon
7adc9b2f75 Apply a gentle highlight on nostr links 2023-06-04 17:06:13 +02:00
Daniele Tonon
44f9c07ee5 Use a specific xss sanitizer for long form content 2023-06-03 00:18:00 +02:00
Daniele Tonon
c292a67bc0 Add markdown support for long format content 2023-06-02 18:09:49 +02:00
Daniele Tonon
4870446fa5 Fix / improve replaceURLsWithTags 2023-06-01 15:18:44 +02:00
Daniele Tonon
ea0f0b647d Add link to the parent note, flag note as reply in the profile's last notes 2023-06-01 15:18:44 +02:00
Daniele Tonon
415fc088ba Revert global status to basicFormatting and replaceURLsWithTags 2023-06-01 15:18:44 +02:00
Daniele Tonon
1404eb5d1e Add mov to supported video 2023-06-01 15:18:44 +02:00
Daniele Tonon
136d160091 Show last notes on profiles and add canonical to notes 2023-05-30 07:12:09 +02:00
Daniele Tonon
13120d01df Implement template for not profile/note kinds, improve details 2023-05-28 22:58:03 +02:00
Daniele Tonon
b6cab72b50 Parse and show video 2023-05-28 01:48:46 +02:00
Daniele Tonon
fcdbf347b1 Add nostr events' links to the basic formatting 2023-05-26 08:52:25 +02:00
Daniele Tonon
41685aa8ea Add note rendering with basic formatting (images and links) 2023-05-25 20:55:22 +02:00
Daniele Tonon
0c90ec92ea Revert prettyJsonOrRaw update and use go-nostr v1.8.4 for all user's metadata 2023-05-25 20:53:47 +02:00
Daniele Tonon
1e408d7fa0 Uppercase the first char of web clients 2023-05-23 15:53:59 +02:00
Daniele Tonon
2b10bc61b7 Setup up a first desktop version 2023-05-23 11:03:55 +02:00