Commit Graph

18 Commits

Author SHA1 Message Date
fiatjaf
a7325ea795 multiple fixes and adjustments until it compiles and runs. 2024-01-08 08:44:01 -03:00
Daniele Tonon
7ad5ac2984 Trim cache key prefixes and the relay protocols, before using them 2024-01-03 12:28:38 +01:00
fiatjaf
9967d10cd6 using eventstore for storing events, querying locally. 2023-11-05 14:39:10 -03:00
fiatjaf
d05440b98f update go-nostr. 2023-11-04 16:09:00 -03:00
fiatjaf
f9e099c840 tailwind debug mode and build mode for prod and other adjustments. 2023-10-26 16:02:18 -03:00
fiatjaf
6ade15b7e8 tailwind .field and related things. 2023-10-24 17:27:20 -03:00
fiatjaf
f70b13afe7 relay and archive sitemaps xml (with a nice hack because htmlgo is not xml-friendly.) 2023-10-21 13:34:32 -03:00
fiatjaf
bc947e29d8 mass tmpl migration: partials, other.html and archive.html. 2023-10-21 00:47:19 -03:00
fiatjaf
7293103fc7 first step in the migration to templ. 2023-10-19 21:11:26 -03:00
fiatjaf
637cfa55e9 make "s" (Settings) a global template function so we don't have to pass it around everywhere. 2023-10-07 08:20:10 -03:00
fiatjaf
a082efc45d delete explicit mentions to njump.me and use s.CanonicalHost 2023-09-24 13:57:42 -03:00
Daniele Tonon
a269fd32cb Add sitemaps for archives 2023-09-07 00:36:57 +02:00
Daniele Tonon
a20dcee2e9 Enable custom canonical via ENV 2023-09-06 14:03:53 +02:00
Daniele Tonon
6a1ac7a302 Lower Cache-Control values 2023-08-04 15:56:10 +02:00
Daniele Tonon
2fcf17aa1d Set Cache-Control to 60s on failed fetch
This way we can permit a fast retry while keeping some control on DoS attacks
2023-08-04 15:40:30 +02:00
Daniele Tonon
ecd5d0c173 Set Cache-Control only when the data has been correctly fetched 2023-08-04 00:32:22 +02:00
Daniele Tonon
fb046515cf Use new relay /r/... path in the archive 2023-07-27 23:15:48 +02:00
Daniele Tonon
37ff53f22c Add relays archive 2023-07-27 23:15:48 +02:00