Commit Graph

894 Commits

Author SHA1 Message Date
fiatjaf
762018edf6 clickable npub on details header. 2024-11-25 07:54:35 -03:00
fiatjaf
8bc3aef155 delete old abandoned clients from lists, add yakihonne for handling microblogs. 2024-11-25 07:52:50 -03:00
fiatjaf
7a13de6383 add nostter as relay browser. 2024-10-26 18:59:40 -03:00
fiatjaf
69b9b96623 more update apps in homepage. 2024-10-21 12:00:55 -03:00
dtonon
6f75d16699 Update apps in homeopage 2024-10-21 16:53:01 +02:00
dtonon
1cb5ad0838 Update air config 2024-10-21 16:41:10 +02:00
fiatjaf
a1758f3e27 add some bogus opengraph image metadata that makes image show up in whatsapp. 2024-10-19 17:37:43 -03:00
fiatjaf
61d47c6571 update go-nostr to fix high CPU usage, remove pprof stuff that was accidentally committed. 2024-10-18 07:19:05 -03:00
fiatjaf
e4ac756648 various meaningless speedups to render_image. 2024-10-17 00:39:11 -03:00
fiatjaf
d8efae7473 fix for horrible bug on leafdb. 2024-10-15 00:10:01 -03:00
fiatjaf
f9a79f209e prevent caching of incomplete profile pages. 2024-10-15 00:08:02 -03:00
fiatjaf
caca355bbd fix for FetchSpecificEvent(). 2024-10-14 22:28:37 -03:00
fiatjaf
2145303644 display empty profiles when no event is found. 2024-10-12 10:56:18 -03:00
fiatjaf
45c19052d0 print timezone on some dates. 2024-10-12 09:10:16 -03:00
fiatjaf
f55da46b54 use defer() on queue release and reset because the default http handler is fond of catching panics. 2024-10-11 22:24:59 -03:00
fiatjaf
be68388aa3 fix enhanced event "a" tag parsing. 2024-10-11 22:14:01 -03:00
fiatjaf
50306e08e5 stop failing with a 429 on too many concurrent requests, just wait and redirect. 2024-10-10 15:21:50 -03:00
fiatjaf
5922ff3b92 fetch author notes in the background and only under certain conditions. 2024-10-07 10:57:21 -03:00
fiatjaf
fc2daa1dd6 basically replace getEvent() with sys.FetchSpecificEvent() 2024-10-06 23:16:33 -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
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