Commit Graph

380 Commits

Author SHA1 Message Date
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
fiatjaf
2fecd4e5f2 turn kind1063Metadata into a struct. 2023-10-30 22:28:33 -03:00
fiatjaf
f3997b78ae Your => your native client 2023-10-30 20:08:15 -03:00
fiatjaf
68e3722bbd turn user-agent style possibilities into constants. 2023-10-30 19:35:59 -03:00
Daniele Tonon
ad91d3b96b Add basic support for NIP-94 - File Metadata 2023-10-30 23:29:23 +01:00
Daniele Tonon
783339defd Fix broken column on long nprofiles 2023-10-30 19:56:21 +01:00
Daniele Tonon
84d5914b7f Add a background to not full width videos 2023-10-30 18:44:23 +01:00
fiatjaf
d50cd65165 fix typography: include plugin on prod build. 2023-10-29 08:15:32 -03:00
Daniele Tonon
32f25bb2d4 Darken the dark-mode background 2023-10-28 23:57:41 +02:00
Daniele Tonon
0522ebb3f7 Fix mistaken end-if 2023-10-28 23:54:07 +02:00
Daniele Tonon
aee216ee5c Limit video size to the viewport 2023-10-28 23:24:47 +02:00
fiatjaf
b44defdc13 fix client urls.
closes https://github.com/fiatjaf/njump/issues/13
2023-10-28 17:04:36 -03:00
Daniele Tonon
9ce8d7970a Fix some layout glitches in the note template 2023-10-28 18:41:09 +02:00
Daniele Tonon
7aa229cebf Fix NIP-05 profiles rendering 2023-10-28 18:41:09 +02:00
fiatjaf
280dc1378d fix other template. 2023-10-28 13:40:07 -03:00
fiatjaf
4df0620502 apply prettier tailwind plugin to reorder classes. 2023-10-28 13:24:57 -03:00
fiatjaf
1c36a379fd use naked (no relay hints) nip19 codes for canonical URLs and move them to head_common. 2023-10-28 13:17:53 -03:00
Daniele Tonon
500c136948 Fix homepage typo 2023-10-28 17:09:04 +02:00
fiatjaf
1de52a44a2 add tailwind build step for dokku. 2023-10-28 11:20:27 -03:00