Commit Graph

41 Commits

Author SHA1 Message Date
fiatjaf
46252740ab ban all bridged content from rape.pet mastodon server. 2025-01-16 17:05:19 +01:00
fiatjaf
0682981b83 commands to ban and unban pubkeys now. 2024-11-25 12:41:51 -03:00
fiatjaf
f9a79f209e prevent caching of incomplete profile pages. 2024-10-15 00:08:02 -03:00
fiatjaf
2145303644 display empty profiles when no event is found. 2024-10-12 10:56:18 -03:00
fiatjaf
126aec6ea9 simplify and reduce internal db writes. 2024-10-06 21:37:28 -03:00
fiatjaf
a30d484432 using leafdb instead of the messy badger db we had. 2024-10-06 21:17:08 -03:00
fiatjaf
84b81654f0 log 404s and other log improvements. 2024-10-06 15:56:20 -03:00
dtonon
743e0057e3 Move the verbose log to the router 2024-09-26 07:51:13 +02:00
fiatjaf
0b6855119f verbosely log requests to event, profile and relay pages. 2024-09-26 00:02:45 -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
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