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
878d7223c1
flexible deploys ("just deploy njump" for the old behavior)
2024-09-05 10:49:34 -03:00
fiatjaf
dfb17178f0
templ keeps changing.
2024-09-01 20:32:18 -03:00
fiatjaf
eee2b13e39
fix link to coracle relay page.
2024-09-01 11:36:43 -03:00
fiatjaf
0a45d4ce5e
remove the word "github" from the world.
2024-08-29 16:21:17 -03:00
fiatjaf
01a446d655
fix for profiles not loading the first time when some relay is buggy.
...
see nostr:nevent1qqsqqqzh2l7mf542r3urls4yefa6scxmnknq66z6p5jtl6ap8wem2cspzpmhxue69uhk2tnwdaejumr0dshszrnhwden5te0dehhxtnvdakz7qg7waehxw309ahx7um5wgkhqatz9emk2mrvdaexgetj9ehx2ap0thp0n8
2024-08-29 16:20:39 -03:00
fiatjaf
a86a6105d3
remove unused "excludedRelays" field from config sample.
2024-08-29 10:40:17 -03:00
fiatjaf
ba3bd2d0fa
fix: check tag length on enhanced event.
2024-08-21 09:25:10 -03:00
dtonon
268a615cd9
Update supported kinds in the readme
2024-08-14 15:30:47 +02:00
dtonon
8d982478fe
Fix NIPs links in the readme
2024-08-14 13:38:08 +02:00
dtonon
d68ce0daba
Open the main page when clicking on the widget
2024-08-13 19:29:12 +02:00
dtonon
2959005222
Open widget links in a new tab
2024-08-13 19:13:21 +02:00
dtonon
17e81edb7f
Merge standard and embedded views
2024-08-13 18:15:35 +02:00
dtonon
0753ae2f56
Fix Wikifreedia typo
2024-08-13 13:15:45 +02:00
dtonon
7ac644d8b4
Render embedded version of Wiki
2024-08-13 12:44:20 +02:00
dtonon
ddc3b3dd2c
Fix missing title
2024-08-13 12:30:22 +02:00
dtonon
fa9255364e
Render embedded version of Live Event
2024-08-12 21:09:14 +02:00
dtonon
33ec681b34
Move top/footer to the EmbeddedPageTemplate
2024-08-12 20:01:26 +02:00
dtonon
5adab34944
Extract EmbeddedPageTemplate as common rendering frame
2024-08-12 11:42:08 +02:00
fiatjaf
0522dd4b78
initiate sys before using it.
...
fixes https://github.com/fiatjaf/njump/issues/65
2024-08-07 01:47:40 -03:00
fiatjaf
f59afbd5b7
problem: we were not filtering by author upon receiving a naddr.
...
fixes https://github.com/fiatjaf/njump/issues/64
2024-08-06 10:54:01 -03:00
fiatjaf
b1e8d53a0d
move templ params struct definitions for each page directly to their pages.
2024-08-03 14:27:46 -03: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
1f1b72a00a
slightly better replaceNostrURLsWithHTMLTags() and renderQuotesAsHTML().
2024-08-02 15:34:09 -03:00
fiatjaf
588e79032c
fix concurrent map write on replaceNostrURLsWithHTMLTags().
2024-08-02 15:08:12 -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
cxplay
254a20aa90
Fix and tweak Dockerfile.
2024-08-01 14:53:58 -03:00
dtonon
a7668433f7
Fix outdated profiles, always use the most recent event
2024-08-01 16:29:12 +02:00
dtonon
4d3921caa3
Merge branch 'nostrdesign'
2024-08-01 10:37:45 +02:00
dtonon
ab12122022
Merge branch 'vojage'
2024-07-31 19:48:39 +02:00
dtonon
75feee0e5f
Add Vojage to client list
2024-07-31 19:46:06 +02:00
fiatjaf
43766c877b
update to nostr-sdk with outbox results short cache.
2024-07-29 17:04:19 -03:00
fiatjaf
9f2db1cf3b
relayConfig.ExcludedRelays was not useful.
2024-07-29 17:04:01 -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
18e6a396c5
update libraries so the weird lag gets better.
2024-07-29 15:03:58 -03:00
fiatjaf
b5a05ef2cd
fix /r/ with empty relay url.
2024-07-28 21:50:59 -03:00
fiatjaf
e1a6f2e0a9
remove printscores.
2024-07-28 18:20:43 -03:00
fiatjaf
dd456ca446
nothing.
2024-07-28 18:15:17 -03:00
fiatjaf
9944cad845
stop increasing cache duration for metadata events.
2024-07-28 18:12:18 -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
0113da6120
Run go mod tidy
2024-07-25 17:17:11 +02:00
dtonon
3b1a857f6c
Merge branch 'wiki'
2024-07-25 17:10:34 +02:00
dtonon
7540573d17
Link kind:30818 to NIP-54 / Wiki article
2024-07-25 17:05:42 +02:00
dtonon
42e37db1e7
Link wikilinks to wiki clients
2024-07-25 17:05:42 +02:00
dtonon
6aef19e6fa
Add "wiki" prefix to wiki articles
2024-07-25 17:05:42 +02: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