Commit Graph

162 Commits

Author SHA1 Message Date
Daniele Tonon
3a2e625e63 Fix some js glitches 2023-08-08 15:53:54 +02:00
Daniele Tonon
c0ab08cba8 Increase the number of notes fetched for relays 2023-08-07 16:34:25 +02:00
Daniele Tonon
5fd9b7ca59 Filter out excludedRelays from profile relays 2023-08-07 16:28:40 +02:00
fiatjaf
da6cac23eb escape from pool.EnsureRelay() earlier. 2023-08-07 10:10:20 -03:00
Daniele Tonon
7ee3119170 Fix profile last notes order 2023-08-07 13:05:20 +02:00
fiatjaf
0f3633bcca update go-nostr and don't wait for the entire world to fetch. 2023-08-07 07:12:15 -03: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
903bcc1712 Fix relay sitemap after the /r/... switch 2023-07-31 16:37:41 +02:00
Daniele Tonon
3b2fae5e5d Add relay hint to relay archive events 2023-07-31 16:11:02 +02:00
Daniele Tonon
52b936493a Optimize note1 redirect 2023-07-31 15:10:04 +02:00
Daniele Tonon
dbf6a65785 Merge branch 'feature/archives' 2023-07-27 23:55:53 +02:00
Daniele Tonon
11652301bd Increase last notes and move up details for more visibility 2023-07-27 23:54:13 +02:00
Daniele Tonon
f3781c1f76 Exit updateArchives gracefully 2023-07-27 23:37:25 +02:00
Daniele Tonon
dcf8e3a451 Filter out some relays from the archive 2023-07-27 23:30:05 +02:00
Daniele Tonon
a20b985cc8 Trim protocon from archive's relay urls 2023-07-27 23:30:05 +02:00
Daniele Tonon
a325740661 Style pagination links 2023-07-27 23:30:05 +02:00
Daniele Tonon
fb046515cf Use new relay /r/... path in the archive 2023-07-27 23:15:48 +02:00
Daniele Tonon
d23463dadf Add GetPaginatedkeys for null_cache 2023-07-27 23:15:48 +02:00
Daniele Tonon
37ff53f22c Add relays archive 2023-07-27 23:15:48 +02:00
Daniele Tonon
eabec9b590 Add npubs archive
Add more npubs
2023-07-27 23:15:48 +02:00
fiatjaf
4e587cf186 relay pages at /r/... and nip05 pages at /p/... 2023-07-27 13:00:52 -03:00
Daniele Tonon
bb24a43eb2 Fix layout bug in mobile
Added in [af8c4ec]
2023-07-16 23:49:06 +02:00
Daniele Tonon
9c4ddbcfbb Fix og/twitter meta reverting to the old ones 2023-07-16 16:27:53 +02:00
Daniele Tonon
c954012a57 Improve html template semantics 2023-07-16 01:46:58 +02:00
Daniele Tonon
30d9db9068 Remove relays duplicates when fetching an event 2023-07-16 00:03:03 +02:00
Daniele Tonon
0e77a8f108 Remove relays duplicates merging kind 3 and kind 10002 lists 2023-07-16 00:01:26 +02:00
Daniele Tonon
bf3c85395f Update css version to bypass production cache 2023-07-15 23:18:38 +02:00
Daniele Tonon
d8fee0b4aa Remove not working inline build directive 2023-07-14 18:54:02 +02:00
Daniele Tonon
e52fe76c3d Update relays text 2023-07-14 18:46:28 +02:00
Daniele Tonon
af8c4ec8a9 Rearrange template headers 2023-07-14 18:10:52 +02:00
Daniele Tonon
197ef89e3e Avoid caching empty reply/note lists 2023-07-14 14:46:32 +02:00
Daniele Tonon
9272d09048 Add the hostname to the relay page 2023-07-14 13:47:21 +02:00
Daniele Tonon
8df50b84e3 Show minimal profile infos in the left column when scrolling (desktop) 2023-07-14 12:43:23 +02:00
Daniele Tonon
df83b221a4 Include relays in the profile 2023-07-14 11:09:14 +02:00
Daniele Tonon
b688f0ff41 Remove debug logs 2023-07-14 11:08:02 +02:00
Daniele Tonon
0c80007141 Use TrimPrefix instead of Replace 2023-07-13 21:56:20 +02:00
Daniele Tonon
6d7d9416f4 Add relay sitemaps 2023-07-13 21:47:25 +02:00
Daniele Tonon
85c31ee3df Fix the sitemap <loc> 2023-07-13 16:39:27 +02:00
Daniele Tonon
20c6382366 Update the relay page using the profile template 2023-07-13 16:25:20 +02:00
Daniele Tonon
4e2f485466 Fix the protocol handling on the relay pages 2023-07-13 15:39:08 +02:00
Daniele Tonon
582093503b Migrate from note to nevent 2023-07-13 15:00:25 +02:00
Daniele Tonon
2ea209c1ca Use note entity in the sitemap 2023-07-13 11:19:49 +02:00
fiatjaf
55c2735ce9 tweak sitemap parameters. 2023-07-12 21:04:35 -03:00
Daniele Tonon
c32362e220 Add initial support to profile sitamaps 2023-07-12 23:27:10 +02:00
Daniele Tonon
0cad5a662a Disable cache-control header on nocache tag 2023-07-12 22:11:21 +02:00
Daniele Tonon
2d540b91b4 Add nocache tag to the justfile (air) refresh_build task 2023-07-12 21:58:29 +02:00
Daniele Tonon
fa644864dd Add .air.toml 2023-07-12 19:28:40 +02:00
fiatjaf
c0cbb3c27c disable cache at build time.
using build tag `nocache` to disable usage of the disk cache entirely.
2023-07-12 14:22:34 -03:00