Commit Graph

614 Commits

Author SHA1 Message Date
Daniele Tonon
6b4729d532 Fix urls in archives 2024-01-29 18:06:23 +01:00
Daniele Tonon
326c4ba41b Fix output for archive template 2024-01-29 17:54:45 +01:00
Daniele Tonon
80c82df716 Avoid to provide search engines with a preview of the notes 2024-01-29 17:22:00 +01:00
fiatjaf
b551f30efb stop overwriting expiration times so eventually everything will be deleted. 2024-01-28 07:23:25 -03:00
fiatjaf
f8cc08dc40 tgiv: display "on Nostr" after name on superscript. 2024-01-22 16:02:15 -03:00
Daniele Tonon
8824892631 Fix long names visualization 2024-01-21 14:50:13 +01:00
mattn
4c19c277a8 fixed Dockerfile & "go generate" (#30) 2024-01-17 09:19:41 -03:00
fiatjaf
8ad3e5cadd allow manual deletes. 2024-01-16 18:52:08 -03:00
fiatjaf
d6527011db ensure hinted relays (from nip19/nip05) get prioritized in the generation of nip19 codes afterwards -- if we had success fetching from them. 2024-01-16 18:07:47 -03:00
fiatjaf
6f720274e7 link to nprofile on clients instead of npub. 2024-01-16 09:45:16 -03:00
Daniele Tonon
59a46c2f5a Fix relay's name visualization 2024-01-14 20:34:18 +01:00
Daniele Tonon
a7f438dd33 Remove typo 2024-01-14 19:44:06 +01:00
fiatjaf
a9c84f86d7 cleaner failures when media fails to load or draw. 2024-01-12 11:00:52 -03:00
fiatjaf
8c5fa1aba8 dirty fix for when mainBuffer and emojiBuffer mismatch just so we don't crash. 2024-01-12 10:54:01 -03:00
fiatjaf
d7bab9b31a fix for index out of range when checking if next paragraph is media. 2024-01-12 10:08:13 -03:00
fiatjaf
c80cb3ce29 add coracle to livestreams too. 2024-01-11 21:08:41 -03:00
fiatjaf
a8bf61ea2e fix nostrudel URL for rendering events and replace it with coracle for calendars. 2024-01-11 21:07:31 -03:00
Daniele Tonon
7ae564679a Remove extra top padding from the preview if the first block is an image 2024-01-11 18:36:32 +01:00
fiatjaf
bfe302ec8b use tailwind bundle url with ?t compile-time variable. 2024-01-10 14:29:49 -03:00
fiatjaf
8403f6e129 massive template refactoring and cleanup. 2024-01-10 14:19:43 -03:00
fiatjaf
6b19f5103c move nip31, nip53, nip94 definitions to go-nostr and prepare for nip52. 2024-01-10 12:14:56 -03:00
Daniele Tonon
4a4c259f5b Fix relay.templ 2024-01-08 22:53:43 +01:00
Daniele Tonon
3bf4a5231e Fix the air executable target 2024-01-08 22:52:43 +01:00
Daniele Tonon
41f4011bbd Add base.css to air auto reload 2024-01-08 21:42:07 +01:00
Daniele Tonon
caa36cda00 Make air compatible with templ 2024-01-08 21:41:55 +01:00
fiatjaf
f1472b90a6 moving some code around to show a "(reply)" on opengraph subscripts. 2024-01-08 16:39:03 -03:00
fiatjaf
87c2f25646 fix advanced switch. 2024-01-08 10:13:03 -03:00
fiatjaf
aad148f018 client url modifiers to fix streams on nostrudel. 2024-01-08 10:10:24 -03:00
fiatjaf
3c4c5be320 rework it again to be more like it was before. 2024-01-08 09:43:54 -03:00
fiatjaf
a9155a78b0 rework client lists backend code. 2024-01-08 09:11:00 -03:00
fiatjaf
a7325ea795 multiple fixes and adjustments until it compiles and runs. 2024-01-08 08:44:01 -03:00
fiatjaf
7f0bb418b6 ported all templates to templ syntax. 2024-01-07 15:48:55 -03:00
Daniele Tonon
b44771b0da Render videos inside the image preview 2024-01-06 01:13:19 +01:00
Daniele Tonon
5e46f10453 Render images inside the image preview 2024-01-06 00:36:53 +01:00
fiatjaf
c4e61ac22c fix eventstore bug (hopefully). 2024-01-05 18:16:34 -03:00
Daniele Tonon
56e77a37fa Fix minor html errors 2024-01-05 20:56:36 +01:00
Daniele Tonon
f5527c56c7 Avoid displaying fetch errors 2024-01-05 20:47:36 +01:00
Daniele Tonon
b52c514653 Merge branch 'dynamic-font-size-stuff' 2024-01-05 12:52:22 +01:00
fiatjaf
eb8c9c393d get rid of twitter messy inscriptions over our image. 2024-01-05 01:11:42 -03:00
Daniele Tonon
7ad5ac2984 Trim cache key prefixes and the relay protocols, before using them 2024-01-03 12:28:38 +01:00
Daniele Tonon
b7db88cf09 Use profiles relays set in loadRelaysArchive
Otherwise it fails to fetch the relays
2024-01-03 12:28:38 +01:00
Daniele Tonon
cd19675596 Fix domains output in robots.txt 2024-01-03 11:16:41 +01:00
Daniele Tonon
33d02097a1 Optimize text rendering, avoiding useless prints 2024-01-03 08:13:06 +01:00
Daniele Tonon
3e7f755f69 Update cut gradient calculation, again 2024-01-03 08:05:42 +01:00
Daniele Tonon
7728387171 Update font-size calculation, again 2024-01-03 08:04:49 +01:00
Daniele Tonon
e8d5141088 Update logic to show the cut gradient
S
2024-01-02 18:31:06 +01:00
Daniele Tonon
497bf5e39c Update font-size calculation including height of text-image 2024-01-02 18:23:13 +01:00
Daniele Tonon
ab4c2670f6 Support fake extension in text-image to permit easy loading on Nostr 2024-01-02 16:54:48 +01:00
Daniele Tonon
5264f6df2b Support webp and gif for profile's pic 2024-01-02 16:29:06 +01:00
fiatjaf
6b35b0393f when highlighting, allow names to have emojis. 2024-01-02 11:11:14 -03:00