Commit Graph

66 Commits

Author SHA1 Message Date
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
Daniele Tonon
3e82d7c567 Remove style param from generateClientList 2023-12-15 23:46:57 +01:00
Daniele Tonon
e4cd448c4c Add an option to mdToHTML to strip links 2023-11-28 20:15:38 +01:00
Daniele Tonon
8a99017259 Add an option to basicFormatting to skip links
SQUASH
2023-11-28 20:14:22 +01:00
Daniele Tonon
35d053fc87 Support embedding profiles in external web pages
prifile design SQUASH
2023-11-28 20:14:22 +01:00
Daniele Tonon
0f6d6fa226 Support embedding notes in external web pages
SQASH
2023-11-27 12:20:49 +01:00
fiatjaf
6574fc3493 fix nip-05 links again. 2023-11-23 21:20:41 -03:00
fiatjaf
fb21b3cec3 smarter redirects: fill in nevent hints and also support hex ids directly. 2023-11-23 15:54:51 -03:00
fiatjaf
fb66025667 use nevent/nprofile codes with relay hints on client links. 2023-11-16 13:02:19 -03:00
fiatjaf
3732277241 render as telegram instant view in more cases. 2023-11-15 14:43:29 -03:00
fiatjaf
550739d8b1 have a link to the parent in telegram instant view. 2023-11-15 14:08:02 -03:00
fiatjaf
2350aa05a1 always use text-image on twitter.
nostr:note1j8kk28f6czmgfr2cxw4xrup2dl9ewxhwwqgw04k7wrg4psxa9tkq4h0emk
2023-11-11 22:02:15 -03:00
Daniele Tonon
a9e0c101fb Set 404 status for errors 2023-11-11 08:34:39 +01:00
Daniele Tonon
fa61e7394e Manage /<hex-id> paths
Fix 211628b6
2023-11-10 23:14:00 +01:00
Daniele Tonon
bf182d1a68 Show basic errors in a nice format 2023-11-10 22:54:48 +01:00
fiatjaf
dee60d4721 prevent telegram instant view when we could fit stuff in the big image card. 2023-11-08 19:30:43 -03:00
fiatjaf
2237c3e73a if a note is mostly about an image, render that image as a big image and remove the URL. 2023-11-08 18:52:37 -03:00
Daniele Tonon
12c1bebf99 Add support for live chat message, kind:1311 2023-11-07 15:13:05 +01:00
fiatjaf
9f0b3fa4af use naddr as code in client urls when param-replaceable and fix relay filtering for nip19.
fixes https://github.com/fiatjaf/njump/issues/14
2023-11-07 09:14:45 -03:00
Daniele Tonon
b5a4cfdfdb Add support for live events, kind:30311 2023-11-06 23:28:20 +01:00
fiatjaf
6d6defa419 default error when trying to render an unsupported templateId. 2023-11-06 18:01:13 -03:00
fiatjaf
274a6da19b improve error messages and fix wrong error being returned. 2023-11-06 11:17:45 -03:00
fiatjaf
604be14407 modularizing opengraph headers and fixing a bunch of small things on there. 2023-11-06 11:07:20 -03:00
fiatjaf
f349bd2d1d fix opengraph description missing due to wrongly assigned variable. 2023-11-06 10:14:22 -03:00
Daniele Tonon
4d72de0757 Increase the maximum length of titleizedContent and shorten it without splitting words 2023-11-05 19:30:06 +01:00
Daniele Tonon
af18eb1cf8 Remove image/video urls from titleizedContent 2023-11-05 19:27:52 +01:00
Daniele Tonon
d4740396cc Remove apex from the titleizedContent 2023-11-05 19:00:49 +01:00
Daniele Tonon
2bb637cbfd Revert "Optimize <title> for indexing"
This reverts commit f94ea2f7c2.
2023-11-05 19:00:49 +01:00
fiatjaf
59eae28ed3 NIP-31: display "alt" tag in Other template if available. 2023-11-05 08:56:17 -03:00
fiatjaf
2cacdc84e7 always open details for unknown (Other) events. 2023-11-05 07:58:28 -03:00
fiatjaf
aa50fb47b3 fix titleizedContent. 2023-11-04 18:57:05 -03:00