Commit Graph

745 Commits

Author SHA1 Message Date
fiatjaf
2f29fbfb2c grabData() doesn't return a pointer anymore. 2024-07-29 17:03:32 -03:00
fiatjaf
b04cbaa266 .authorRelaysPretty() as a function, use .author.Nprofile() function for simplicity. 2024-07-29 17:03:13 -03:00
fiatjaf
18e6a396c5 update libraries so the weird lag gets better. 2024-07-29 15:03:58 -03:00
fiatjaf
b5a05ef2cd fix /r/ with empty relay url. 2024-07-28 21:50:59 -03:00
fiatjaf
e1a6f2e0a9 remove printscores. 2024-07-28 18:20:43 -03:00
fiatjaf
dd456ca446 nothing. 2024-07-28 18:15:17 -03:00
fiatjaf
9944cad845 stop increasing cache duration for metadata events. 2024-07-28 18:12:18 -03:00
fiatjaf
56b3919d4e use new nostr-sdk with hints (full outbox) support for improved event fetching that hopefully works. 2024-07-27 22:58:10 -03:00
dtonon
0113da6120 Run go mod tidy 2024-07-25 17:17:11 +02:00
dtonon
3b1a857f6c Merge branch 'wiki' 2024-07-25 17:10:34 +02:00
dtonon
7540573d17 Link kind:30818 to NIP-54 / Wiki article 2024-07-25 17:05:42 +02:00
dtonon
42e37db1e7 Link wikilinks to wiki clients 2024-07-25 17:05:42 +02:00
dtonon
6aef19e6fa Add "wiki" prefix to wiki articles 2024-07-25 17:05:42 +02:00
dtonon
0b100cdbf3 Allow to open wiki articles in wikistr and wikifreedia 2024-07-25 15:21:34 +02:00
dtonon
4cb5d6f5c7 Add basic wiki articles rendering
Wikilinks are broken
2024-07-25 15:21:34 +02:00
dtonon
3e0f01b880 Update go.mod/sum 2024-07-25 11:43:24 +02:00
dtonon
0c611f7c58 Add missing golang.org/x/text@v0.14.0 entry for go.mod 2024-07-25 11:40:58 +02:00
Yasuhiro Matsumoto
ab36e5392b fix build 2024-07-24 21:57:10 +02:00
dtonon
21d988651a Increase line height for contents 2024-07-24 21:38:01 +02:00
fiatjaf
028e0a1ef6 grammar: loose -> lose 2024-07-03 15:03:19 -03:00
fiatjaf
4c9ca637f3 relay urls without scheme in telegram instant view. 2024-06-24 16:48:30 -03:00
fiatjaf
eca958c56b remove nsfw AI detector thing. 2024-06-21 13:05:07 -03:00
fiatjaf
20eaec8c48 replace SocialMediaPosting with Article on microdata. 2024-06-19 22:09:16 -03:00
fiatjaf
037e55b230 catch panics on nsfw image detection. 2024-06-19 22:06:09 -03:00
fiatjaf
47423ddcc4 move some things to enhanced_event.go, that makes more sense. 2024-06-19 22:06:09 -03:00
fiatjaf
eb96592189 conditional nsfw tag on just dev. 2024-06-19 16:24:42 -03:00
fiatjaf
7c9c4a09cd fix content filtering regex. 2024-06-18 16:44:02 -03:00
fiatjaf
66cef7d1c0 cache image detection results so we don't run it over and over for the same image. 2024-06-18 16:37:58 -03:00
fiatjaf
6f8767ac52 block words and tags based on gleasonator's policies. 2024-06-18 16:33:38 -03:00
fiatjaf
822d97426e increase porn and hentai thresholds to reduce false positives. 2024-06-18 16:14:56 -03:00
fiatjaf
6797480250 fix nil error access when we get an nsfw match. 2024-06-18 11:54:21 -03:00
fiatjaf
2047f71dc3 remove --no-ignore-vcs from just dev (it was causing an infinite loop on mac) 2024-06-17 17:11:58 -03:00
fiatjaf
60a1514580 log image description. 2024-06-17 16:02:00 -03:00
fiatjaf
cf6032ea7b porn detector. 2024-06-17 15:53:27 -03:00
fiatjaf
ab34bde883 sitemaps of sitemaps of profile sitemaps. 2024-06-16 16:27:24 -03:00
dtonon
d7bdded88f Filter out iframe tag on markdown rendering 2024-06-13 23:32:27 +02:00
dtonon
93b9748ca4 Avoid false positive in rendering of mentions 2024-06-13 23:32:27 +02:00
fiatjaf
c08f907feb recover from panic when drawing images and just error. 2024-06-13 15:04:57 -03:00
fiatjaf
bd1dfb8d50 hardcode relays for the sitemap, just a few "safe" relays. 2024-06-12 16:06:43 -03:00
fiatjaf
82f08498c2 fix empty pubkey rendering as the first item in all sitemaps. 2024-06-12 15:53:42 -03:00
fiatjaf
db39ef65b1 delete routine cosmetic tweak. 2024-06-12 15:46:01 -03:00
fiatjaf
b19f066a9d remove those many annoying fmt.Println() calls on every handler. 2024-06-12 15:42:56 -03:00
fiatjaf
eec788101f add cache directive saying that sitemaps are only valid for one hour. 2024-06-12 15:32:08 -03:00
fiatjaf
1eb3c45755 remove HTML archives pages, leave only the sitemaps. 2024-06-12 15:30:41 -03:00
fiatjaf
a7d29b151a fix: fill archives after 10 minutes and then every 24 hours instead. 2024-06-12 15:18:35 -03:00
fiatjaf
aeb98ca535 schema.org things. 2024-06-11 09:12:18 -03:00
dtonon
899dbf8441 Fix hr style 2024-06-07 12:42:04 +02:00
dtonon
33b25e3271 Remove duplicate title inside the body 2024-06-07 12:42:04 +02:00
dtonon
261e1b8b38 Add cover image to long format notes 2024-06-07 12:42:04 +02:00
dtonon
961c674e5e Fix showing parent for naddr 2024-06-07 12:42:04 +02:00