Commit Graph

109 Commits

Author SHA1 Message Date
fiatjaf
b615082c60 implement media_alert filtering support. 2025-02-24 21:30:19 -03:00
fiatjaf
fecaae6f71 use plaintext extracted from markdown in nip23 opengraph text. 2025-02-23 07:41:28 -03:00
fiatjaf
05f2bbbc01 fix nip23 articles html titles. 2025-02-23 07:27:03 -03:00
fiatjaf
17e29945f9 always pass a context to NewEnhancedEvent(). 2025-01-23 14:45:39 -03:00
fiatjaf
805d47f163 update libraries and support kind:20 photos. 2025-01-21 17:48:39 -03:00
fiatjaf
57fddd135a display client list in cases where the code is valid but we just couldn't find it. 2025-01-16 17:05:19 +01:00
fiatjaf
46252740ab ban all bridged content from rape.pet mastodon server. 2025-01-16 17:05:19 +01:00
fiatjaf
0682981b83 commands to ban and unban pubkeys now. 2024-11-25 12:41:51 -03:00
fiatjaf
1b2e434d6a commands to ban (and unban) events using the relay management api. 2024-11-25 12:04:30 -03:00
fiatjaf
e4ac756648 various meaningless speedups to render_image. 2024-10-17 00:39:11 -03:00
fiatjaf
84b81654f0 log 404s and other log improvements. 2024-10-06 15:56:20 -03:00
dtonon
743e0057e3 Move the verbose log to the router 2024-09-26 07:51:13 +02:00
fiatjaf
0b6855119f verbosely log requests to event, profile and relay pages. 2024-09-26 00:02:45 -03:00
fiatjaf
eec737cbc7 remove a unused function. 2024-09-16 15:50:37 -03:00
fiatjaf
bfeb56ec91 separate parameterization for short and long-form notes, properly use cover for the latter.
fixes https://github.com/fiatjaf/njump/issues/67
2024-09-05 10:49:34 -03:00
dtonon
17e81edb7f Merge standard and embedded views 2024-08-13 18:15:35 +02:00
dtonon
7ac644d8b4 Render embedded version of Wiki 2024-08-13 12:44:20 +02:00
dtonon
fa9255364e Render embedded version of Live Event 2024-08-12 21:09:14 +02:00
fiatjaf
4011528058 refactor so embedded note and profile are rendered similarly to their non-embedded versions. 2024-08-03 14:26:57 -03:00
fiatjaf
0dd8c38a95 remove opentelemetry. 2024-08-02 15:41:29 -03:00
fiatjaf
c0004f67a2 fix slowness of previous refactors that injected nostr-sdk into this codebase + refactors.
- adjusting many small things related to nostr-sdk usage
- fetching profiles in a smarter way
- decoupling the logic for rendering profile pages from the `grabData`/`getEvent` flow of other event pages.
- incorporating nostr-sdk more holistically, including more hints stuff
- improving nostr-sdk itself after some bugs and weird behaviors observed here
- set up opentelemetry (should probably remove this later)
2024-08-02 12:48:58 -03:00
fiatjaf
289d097078 error => warn on templ rendering err. 2024-08-02 12:45:24 -03:00
fiatjaf
e1a6f2e0a9 remove printscores. 2024-07-28 18:20:43 -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
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
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
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
6f8767ac52 block words and tags based on gleasonator's policies. 2024-06-18 16:33:38 -03:00
fiatjaf
6797480250 fix nil error access when we get an nsfw match. 2024-06-18 11:54:21 -03:00
fiatjaf
cf6032ea7b porn detector. 2024-06-17 15:53:27 -03:00
fiatjaf
b19f066a9d remove those many annoying fmt.Println() calls on every handler. 2024-06-12 15:42:56 -03: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
cae76d1168 Show correct datetime in relation to time zone 2024-06-07 12:35:36 +02:00
dtonon
62ac9c93b0 Manage calendard events without a End tag 2024-06-07 12:33:54 +02:00
dtonon
2246a55153 Fix time in calendar events 2024-06-07 12:33:54 +02:00
Daniele Tonon
bf2ca24a41 Add new homepage: top animation and first block 2024-04-08 16:28:12 +02:00
fiatjaf
1af2550e9f update go-nostr to fix nip05. 2024-03-11 13:46:52 -03:00
Daniele Tonon
2e3aa0fa0b Fix shortcode emoji line height 2024-03-09 15:11:59 +01:00
Daniele Tonon
61336b2995 Use nip52.Participant and add roles to calendard events 2024-03-05 02:02:06 +01:00
Daniele Tonon
65487e70f9 Short month name in calendar event 2024-03-04 22:44:47 +01:00
Daniele Tonon
235911a187 Add people to calendar event 2024-03-04 22:44:27 +01:00
Daniele Tonon
8a8663a36a Add support for calendar events (NIP-52) 2024-02-29 00:41:18 +01:00
Yasuhiro Matsumoto
d09ff98ab8 alt attribute for emojis 2024-02-14 11:41:11 -03:00
Daniele Tonon
c78a0ef4aa Fix line height for emoji shortcodes 2024-02-13 22:54:42 +01:00
fiatjaf
ce718df011 limit custom emojis size.
fixes https://github.com/fiatjaf/njump/pull/44
2024-02-13 17:02:36 -03:00
fiatjaf
2c84ca0dd7 get rid of classes. 2024-02-13 17:01:41 -03:00