Commit Graph

96 Commits

Author SHA1 Message Date
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
Yasuhiro Matsumoto
0e062c213a check valid shortcode 2024-02-13 09:34:40 -03:00
Yasuhiro Matsumoto
efc47e8cc9 fix emoji 2024-02-13 09:34:40 -03:00
Yasuhiro Matsumoto
d7dc4b2976 inline emojis 2024-02-13 09:34:40 -03:00
fiatjaf
a8bf61ea2e fix nostrudel URL for rendering events and replace it with coracle for calendars. 2024-01-11 21:07:31 -03:00
fiatjaf
8403f6e129 massive template refactoring and cleanup. 2024-01-10 14:19:43 -03:00
fiatjaf
6b19f5103c move nip31, nip53, nip94 definitions to go-nostr and prepare for nip52. 2024-01-10 12:14:56 -03:00
fiatjaf
f1472b90a6 moving some code around to show a "(reply)" on opengraph subscripts. 2024-01-08 16:39:03 -03:00
fiatjaf
aad148f018 client url modifiers to fix streams on nostrudel. 2024-01-08 10:10:24 -03:00
fiatjaf
3c4c5be320 rework it again to be more like it was before. 2024-01-08 09:43:54 -03:00
fiatjaf
a7325ea795 multiple fixes and adjustments until it compiles and runs. 2024-01-08 08:44:01 -03:00
fiatjaf
eb8c9c393d get rid of twitter messy inscriptions over our image. 2024-01-05 01:11:42 -03:00
fiatjaf
5882462547 hlSkip and stop using @ prefix on names. 2024-01-02 10:06:44 -03:00
Daniele Tonon
6a2ff72985 Load profiles last notes asynchronously 2023-12-20 07:50:17 +01:00