Commit Graph

202 Commits

Author SHA1 Message Date
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
fiatjaf
24a104fd56 no-cache telegram instant view responses. 2023-09-21 09:39:31 -03:00
Daniele Tonon
3b828797b8 Fix missing code in 8ab0cfca 2023-09-20 12:53:53 +02:00
Daniele Tonon
0ffb7018d0 Hide display_name if equal to name 2023-09-20 01:22:16 +02: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
Daniele Tonon
563920a44e Fixed a bug in using renderingInlineMentions 2023-09-18 08:43:06 +02:00
Daniele Tonon
92574248db Add client name to href dataset 2023-09-17 21:19:08 +02:00
Daniele Tonon
730485613c Fix nip-05 syntax in the home 2023-09-15 16:17:58 +02:00
fiatjaf
1c4a9ba06d show correct author name in telegram instant view for longform articles. 2023-09-14 15:00:35 -03:00
fiatjaf
5361e9cc7a mercilessly break words in monospace event detail. 2023-09-14 10:37:32 -03:00
fiatjaf
2fce62dc30 apply prettier to scss and css. 2023-09-14 10:35:52 -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
3775841ca0 enforce kind when loading naddr with a specified kind. 2023-09-14 08:01:55 -03:00
fiatjaf
4c0d7868de rewrite print statements to use log. 2023-09-14 08:01:23 -03:00
Daniele Tonon
7940dddc3e Update json styles 2023-09-14 08:53:19 +02:00
fiatjaf
769e06554b make instant view happen when there is video or image and the note is big enough. 2023-09-13 21:41:22 -03:00
fiatjaf
700d12eb27 fix titleize() 2023-09-13 21:26:39 -03:00
fiatjaf
daf83b136c bring back pretty JSON. 2023-09-13 21:13:37 -03:00
fiatjaf
0754a46405 do not update archives immediately. 2023-09-13 21:13:24 -03:00
fiatjaf
7291dd4bed telegram instant preview when a note is very big. 2023-09-13 20:49:24 -03:00
Daniele Tonon
ac47270348 Justify homepage text on desktop 2023-09-13 18:01:26 +02:00
fiatjaf
46664bc2f6 fixes and small changes on homepage copy. 2023-09-13 12:38:55 -03:00
Daniele Tonon
987932eb46 Improve homepage usability and styles 2023-09-11 15:49:04 +02:00
Daniele Tonon
67599a696f Add homepage 2023-09-11 07:48:38 +02:00
Daniele Tonon
c4bad18ee5 Add robots.txt 2023-09-11 01:42:17 +02:00
Daniele Tonon
a269fd32cb Add sitemaps for archives 2023-09-07 00:36:57 +02:00
Daniele Tonon
b817bc0e54 Use CanonicalHost ENV in sitemaps 2023-09-07 00:05:13 +02:00
Daniele Tonon
a20dcee2e9 Enable custom canonical via ENV 2023-09-06 14:03:53 +02:00
Daniele Tonon
9b6c6cb1fb Add local to .gitignore 2023-09-06 14:03:53 +02:00
fiatjaf
a2eda96b98 add primal relay as a source for everything. 2023-09-05 06:13:57 -03:00
Daniele Tonon
1f4f39b1e4 Render mentions inline 2023-09-03 02:04:22 +02:00
Daniele Tonon
92d1944e69 Replace nson.Marshal with json one
Because:
> note1lykvtd827lg6eqmgajqxkwau56fwx00u4z950sdqaah35jp3g3rqru9tj7
"it's a giant event broke my nson"
2023-08-30 18:29:54 +02:00
Daniele Tonon
f3f004a8c6 Improve profile title and description 2023-08-17 16:06:46 +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
3a2e625e63 Fix some js glitches 2023-08-08 15:53:54 +02:00
Daniele Tonon
c0ab08cba8 Increase the number of notes fetched for relays 2023-08-07 16:34:25 +02:00
Daniele Tonon
5fd9b7ca59 Filter out excludedRelays from profile relays 2023-08-07 16:28:40 +02:00
fiatjaf
da6cac23eb escape from pool.EnsureRelay() earlier. 2023-08-07 10:10:20 -03:00
Daniele Tonon
7ee3119170 Fix profile last notes order 2023-08-07 13:05:20 +02:00
fiatjaf
0f3633bcca update go-nostr and don't wait for the entire world to fetch. 2023-08-07 07:12:15 -03:00
Daniele Tonon
6a1ac7a302 Lower Cache-Control values 2023-08-04 15:56:10 +02:00
Daniele Tonon
2fcf17aa1d Set Cache-Control to 60s on failed fetch
This way we can permit a fast retry while keeping some control on DoS attacks
2023-08-04 15:40:30 +02:00
Daniele Tonon
ecd5d0c173 Set Cache-Control only when the data has been correctly fetched 2023-08-04 00:32:22 +02:00
Daniele Tonon
903bcc1712 Fix relay sitemap after the /r/... switch 2023-07-31 16:37:41 +02:00