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
b27e3c994b
include lmdb goroutine leak hotfix.
2024-10-06 15:57:26 -03:00
fiatjaf
84b81654f0
log 404s and other log improvements.
2024-10-06 15:56:20 -03:00
fiatjaf
a5dac15262
block more bots.
2024-10-06 15:55:09 -03:00
fiatjaf
c506629d3d
block GPTBot.
2024-10-05 10:39:23 -03:00
425b10f7d4
blogstack renamed to notestack
2024-10-05 10:39:11 -03:00
CXPLAY
2c28c62d22
update Dockerfile to use libsecp256k1 build ( #73 )
...
* Fix and tweak Dockerfile.
* update Dockerfile to use libsecp256k1 build
2024-09-30 10:42:51 -03:00
fiatjaf
b9450aee1e
use libsecp256k1 with musl for signature verification.
2024-09-29 14:01:44 -03:00
fiatjaf
021b1b7f55
fix for eventstore/lmdb bug that was modifying filter tags and causing us to display wrong events.
2024-09-27 08:56:08 -03:00
fiatjaf
54a049668f
fix nostr mentions in markdown articles.
2024-09-27 07:45:18 -03:00
fiatjaf
d8580e4eac
bring back logging of too many concurrent requests and apply it to /njump/ prefixes.
2024-09-27 07:31:02 -03:00
fiatjaf
0012a45488
label our submany queries.
2024-09-26 21:49:41 -03:00
fiatjaf
38557f3e9b
switch to lmdb for the eventstore, sacrifice avif and force musl compilation in the meantime.
2024-09-26 21:49:27 -03:00
fiatjaf
814594e006
block claude.
2024-09-26 21:41:35 -03:00
fiatjaf
b6447bc8a3
hardcode cloudflare ips and also block some alicloud ips.
2024-09-26 12:54:50 -03:00
fiatjaf
567fdbb619
block more user-agents.
2024-09-26 12:30:28 -03:00
fiatjaf
a252707ab5
a crazy/stupid way of doing request throttling and making the best use of cloudflare caching.
2024-09-26 09:59:53 -03:00
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