Commit Graph

807 Commits

Author SHA1 Message Date
fiatjaf
68e7ceabc2 do not log requests to static content. 2024-09-26 09:59:30 -03:00
fiatjaf
ed270747af a more stupid way of doing middle chaining, but at least it is clearer. 2024-09-26 09:59:28 -03:00
fiatjaf
60116e36fe block more user-agents. 2024-09-26 07:36:34 -03:00
fiatjaf
82c32c21f4 we were using conflicting IP addresses from different sources. fix this. 2024-09-26 07:30:24 -03:00
fiatjaf
5a6cfd8975 organize middleware a little more. 2024-09-26 07:24:46 -03:00
fiatjaf
8b357b905e organize middlewares. 2024-09-26 07:10:20 -03:00
dtonon
acb6039d33 Block aggressive bots 2024-09-26 07:54:55 +02: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
01f327af7c block cloudflare requests, someone was making a million meaningless requests. 2024-09-26 00:02:29 -03:00
fiatjaf
12b22c48a5 update go-nostr/sdk to improve caching behavior. 2024-09-26 00:01:56 -03:00
fiatjaf
0fed8f7862 rsync doesn't work, use scp to deploy. 2024-09-25 22:41:01 -03:00
fiatjaf
7405cc2b75 remove AI language thing. 2024-09-25 14:28:38 -03:00
dtonon
fca2d6a9c1 Fix typo in the README 2024-09-22 20:50:21 +02:00
fiatjaf
5914e2a076 fix titlecasing of roles in calendar event template. 2024-09-19 21:04:24 -03:00
dtonon
928a55238d Update blocked words 2024-09-16 21:59:42 +02:00
dtonon
757bff8645 Use case insensitive matching for blocked words 2024-09-16 21:30:02 +02:00
dtonon
b8e250bbdd Make also P tags clickable in json view 2024-09-16 21:00:07 +02:00
fiatjaf
b9ad4b518f update go-nostr, eventstore, khatru; replace nostr-sdk. 2024-09-16 15:55:36 -03:00
fiatjaf
eec737cbc7 remove a unused function. 2024-09-16 15:50:37 -03:00
fiatjaf
a91d5165fe disallow HTML in markdown for kind 30023 at all costs. 2024-09-16 15:50:24 -03:00
fiatjaf
2ed5108890 be a little more strict with markdown. 2024-09-16 15:49:25 -03:00
dtonon
a731bd27f5 Add text preview for Facebook / Instagram 2024-09-12 12:35:53 +02:00
fiatjaf
7a054f9d65 fix tailwind debug and skip language model on dev. 2024-09-11 16:39:19 -03:00
fiatjaf
248f9577e9 make reference tags clickable in json view. 2024-09-11 16:29:24 -03:00
fiatjaf
5ac66440bb templ dependency crap again. 2024-09-06 21:06:22 -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
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