dtonon
1ca10e12fb
Add support for Highlight (kind:9802)
2025-04-02 15:36:05 +02:00
fiatjaf
751c0c49d1
update go-nostr and deprecated tag methods.
2025-03-30 20:17:14 -03:00
fiatjaf
805d47f163
update libraries and support kind:20 photos.
2025-01-21 17:48:39 -03:00
fiatjaf
e4ac756648
various meaningless speedups to render_image.
2024-10-17 00:39:11 -03:00
fiatjaf
45c19052d0
print timezone on some dates.
2024-10-12 09:10:16 -03:00
fiatjaf
fc2daa1dd6
basically replace getEvent() with sys.FetchSpecificEvent()
2024-10-06 23:16:33 -03:00
fiatjaf
84b81654f0
log 404s and other log improvements.
2024-10-06 15:56:20 -03:00
fiatjaf
b9ad4b518f
update go-nostr, eventstore, khatru; replace nostr-sdk.
2024-09-16 15:55:36 -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
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
2f29fbfb2c
grabData() doesn't return a pointer anymore.
2024-07-29 17:03:32 -03:00
fiatjaf
b04cbaa266
.authorRelaysPretty() as a function, use .author.Nprofile() function for simplicity.
2024-07-29 17:03:13 -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
4cb5d6f5c7
Add basic wiki articles rendering
...
Wikilinks are broken
2024-07-25 15:21:34 +02:00
fiatjaf
47423ddcc4
move some things to enhanced_event.go, that makes more sense.
2024-06-19 22:06:09 -03:00
dtonon
261e1b8b38
Add cover image to long format notes
2024-06-07 12:42:04 +02:00
fiatjaf
5966234156
update nostr-sdk to fix relay lists and move things around.
2024-05-23 23:03:22 -03:00
fiatjaf
0b7a65b285
update dependencies because incompatibilities.
2024-04-26 15:36:07 -03:00
Daniele Tonon
8a8663a36a
Add support for calendar events (NIP-52)
2024-02-29 00:41:18 +01:00
mattn
1019fef1d3
Relay config by json ( #47 )
...
* relay-config.json
* fix README.md
* trustedPubKeys is not relay configuration
* update README.md
2024-02-17 14:05:22 -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
a7325ea795
multiple fixes and adjustments until it compiles and runs.
2024-01-08 08:44:01 -03:00
fiatjaf
7f0bb418b6
ported all templates to templ syntax.
2024-01-07 15:48:55 -03:00
fiatjaf
f79cb1e9a2
get rid of shouldUseRelayForNip19(), use isntRealRelay().
2023-12-23 18:28:23 -03: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
fiatjaf
f3eac3b5f2
fix: set default data.metadata when an author isn't found.
...
and data.nprofile
2023-11-23 15:51:47 -03:00
fiatjaf
bccd22654c
ensure metadata is never nil again.
2023-11-22 11:45:38 -03:00
fiatjaf
f269fcbfe9
fallback to empty metadata when not found.
2023-11-17 13:11:26 -03:00
Daniele Tonon
8f687f0dc1
Remove the parent inline rendering from RSS
2023-11-17 14:36:57 +01:00
Daniele Tonon
84edf714f7
Render inline parent note and mentions in RSS
2023-11-17 10:05:14 +01:00
Daniele Tonon
e4c61edde5
Add reply reference in RSS
2023-11-16 23:43:14 +01:00
Daniele Tonon
b8345f9176
Add RSS for profiles and relays
2023-11-16 22:58:40 +01:00
Daniele Tonon
8c591b72f4
Fix twitter:image for kinds 1063 and 30311
2023-11-08 23:16:01 +01: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
Daniele Tonon
96da7ab72c
Fix and improve getParentNevent()
2023-11-07 17:44:28 +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
b5a4cfdfdb
Add support for live events, kind:30311
2023-11-06 23:28:20 +01: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
e477d38e66
fixing implementation of previous commit in multiple places.
2023-11-05 14:39:10 -03:00
fiatjaf
2cacdc84e7
always open details for unknown (Other) events.
2023-11-05 07:58:28 -03:00
fiatjaf
d05440b98f
update go-nostr.
2023-11-04 16:09:00 -03:00
fiatjaf
86813565dd
do not show blank fields and separators in profile.
2023-11-03 22:20:41 -03:00
fiatjaf
954bebaeef
fix profile metadata on grabData().
2023-10-31 20:59:02 -03:00
fiatjaf
f9b4f03999
expose Kind1063Metadata fields and use that struct directly in templates.
2023-10-31 10:57:34 -03:00