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
fiatjaf
08b07227eb
fix getParentNevent()
...
this would panic if we didn\'t have any relays in data.relays for the child.
but also I think it wasn't a good idea to give spurious hints in the nevent.
either we have good hints or we don't.
2023-11-08 18:51:25 -03:00
fiatjaf
804a1f5253
fix slices.SortFunc() -- did the API change?
2023-11-08 17:43:16 -03:00
fiatjaf
f1188a2112
fix typo in function name introduced by search-and-replace procedure.
2023-11-08 17:42:32 -03:00
fiatjaf
0b6a4838c5
getRelay() -> getRandomRelay()
2023-11-07 17:03:44 -03:00
fiatjaf
06700a8ac5
update eventstore.
2023-11-07 17:03:27 -03:00
fiatjaf
9ee3b242c0
mention hints in failed to find error.
2023-11-07 16:57:56 -03:00
Daniele Tonon
96da7ab72c
Fix and improve getParentNevent()
2023-11-07 17:44:28 +01:00
Daniele Tonon
e5534818e1
Add supported kinds to the README
2023-11-07 15:26:28 +01:00
Daniele Tonon
c3e1103331
Review live event title status
2023-11-07 15:20:54 +01:00
Daniele Tonon
795521a848
Review undelined links
2023-11-07 15:13:12 +01: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
74ec67c669
Avoid new line break for labels
2023-11-06 23:56:25 +01:00
Daniele Tonon
26377754d8
Revert H1 line-height
2023-11-06 23:41:11 +01:00
Daniele Tonon
b73aa6e117
Hide stream host if not existent
2023-11-06 23:38:04 +01: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
ec4a8bc280
relay hints with scheme.
2023-11-06 17:59:21 -03:00
fiatjaf
1ee4b477b8
update eventstore with fix for event duplication.
2023-11-06 13:43:57 -03:00
fiatjaf
3caa8578dd
use badger v4 for internal db.
2023-11-06 12:43:06 -03:00
fiatjaf
bf79cd9d0a
expose our internal db as a relay.
2023-11-06 11:47: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
fiatjaf
ddb1f4ab86
fix nocache.
2023-11-05 19:56:25 -03:00
Daniele Tonon
6e0c608a0c
Review link styles for entities
2023-11-05 21:06:19 +01:00
Daniele Tonon
949c6ee634
Fix wrong add of the gradient
2023-11-05 19:52:53 +01: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
e477d38e66
fixing implementation of previous commit in multiple places.
2023-11-05 14:39:10 -03:00
fiatjaf
9967d10cd6
using eventstore for storing events, querying locally.
2023-11-05 14:39:10 -03:00
Daniele Tonon
5a3b36950c
Review responsive layout
2023-11-05 18:33:08 +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
Daniele Tonon
227f6a88ec
Fix print styles
2023-11-05 11:11:38 +01:00
fiatjaf
aa50fb47b3
fix titleizedContent.
2023-11-04 18:57:05 -03:00
fiatjaf
d05440b98f
update go-nostr.
2023-11-04 16:09:00 -03:00
Daniele Tonon
f94ea2f7c2
Optimize <title> for indexing
2023-11-04 17:46:39 +01:00
Daniele Tonon
b26300709f
Move last notest to an <aside> to de-prioritize indexing
2023-11-04 17:13:08 +01:00
fiatjaf
86813565dd
do not show blank fields and separators in profile.
2023-11-03 22:20:41 -03:00
fiatjaf
4d9b02871c
fix canonical event urls.
2023-11-02 08:41:59 -03:00
fiatjaf
954bebaeef
fix profile metadata on grabData().
2023-10-31 20:59:02 -03:00
Daniele Tonon
24140b3d58
Fix smartphone width for kind:1063 download button
2023-10-31 15:54:17 +01:00
fiatjaf
f9b4f03999
expose Kind1063Metadata fields and use that struct directly in templates.
2023-10-31 10:57:34 -03:00
fiatjaf
be3fad5bec
fix kind description on grabData().
2023-10-31 10:31:13 -03:00
fiatjaf
1301f38443
move opengraph head metadata stuff into its own template partial.
2023-10-30 22:51:13 -03:00
fiatjaf
4639c2dbcf
simplify struct building on grabData()
2023-10-30 22:33:47 -03:00