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
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
fiatjaf
b04cbaa266
.authorRelaysPretty() as a function, use .author.Nprofile() function for simplicity.
2024-07-29 17:03:13 -03:00
fiatjaf
47423ddcc4
move some things to enhanced_event.go, that makes more sense.
2024-06-19 22:06:09 -03:00
fiatjaf
b19f066a9d
remove those many annoying fmt.Println() calls on every handler.
2024-06-12 15:42:56 -03:00
fiatjaf
aeb98ca535
schema.org things.
2024-06-11 09:12:18 -03:00
fiatjaf
5966234156
update nostr-sdk to fix relay lists and move things around.
2024-05-23 23:03:22 -03:00
fiatjaf
16eb306d1d
fix primal event links.
2024-02-02 20:38:07 -03:00
fiatjaf
6f720274e7
link to nprofile on clients instead of npub.
2024-01-16 09:45:16 -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
f1472b90a6
moving some code around to show a "(reply)" on opengraph subscripts.
2024-01-08 16:39:03 -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
Daniele Tonon
6a2ff72985
Load profiles last notes asynchronously
2023-12-20 07:50:17 +01:00
Daniele Tonon
c3c9e3d08d
Set cache-control for profiles and related sitemap/rss
2023-12-20 07:49:03 +01:00
Daniele Tonon
3e82d7c567
Remove style param from generateClientList
2023-12-15 23:46:57 +01:00
Daniele Tonon
8a99017259
Add an option to basicFormatting to skip links
...
SQUASH
2023-11-28 20:14:22 +01:00
fiatjaf
6574fc3493
fix nip-05 links again.
2023-11-23 21:20:41 -03:00
fiatjaf
a1a84c4b81
fix content-type for profile page: it's html.
2023-11-16 22:23:52 -03:00
Daniele Tonon
b8345f9176
Add RSS for profiles and relays
2023-11-16 22:58:40 +01:00
fiatjaf
fb66025667
use nevent/nprofile codes with relay hints on client links.
2023-11-16 13:02:19 -03:00
Daniele Tonon
a9e0c101fb
Set 404 status for errors
2023-11-11 08:34:39 +01:00
Daniele Tonon
bf182d1a68
Show basic errors in a nice format
2023-11-10 22:54:48 +01:00
fiatjaf
68e3722bbd
turn user-agent style possibilities into constants.
2023-10-30 19:35:59 -03:00
fiatjaf
f9e099c840
tailwind debug mode and build mode for prod and other adjustments.
2023-10-26 16:02:18 -03:00
fiatjaf
e7d1b37ca7
display nprofile in profile pages and hidden in event details.
2023-10-26 08:25:53 -03:00
fiatjaf
660952a338
syntax-highlight event JSON on the server.
2023-10-24 21:09:01 -03:00
fiatjaf
2fe1057ef6
profile sitemap.
2023-10-21 14:20:58 -03:00
fiatjaf
ebeb9820d8
move redirectors, renderRelay and renderProfile out of render.
2023-10-21 14:10:08 -03:00