Commit Graph

108 Commits

Author SHA1 Message Date
fiatjaf
e5e17f08c9 fix slice creation. 2023-07-12 10:56:30 -03:00
fiatjaf
ff56095145 default port to 2999 2023-07-12 10:53:53 -03:00
fiatjaf
4b8f75e375 cache relays from nip65. 2023-07-12 10:53:32 -03:00
fiatjaf
512d91e773 more efficient sorting. 2023-07-12 10:44:12 -03:00
fiatjaf
eac5b4c78b use envconfig for managing environment variables. 2023-07-12 10:42:55 -03:00
fiatjaf
d63bb45fca persist expiring keys. 2023-07-12 10:39:53 -03:00
fiatjaf
6e15520beb on-disk cache with badger. 2023-07-12 10:39:52 -03:00
Daniele Tonon
bd3b4bee0b Sort profile notes by date 2023-07-12 12:52:10 +02:00
Daniele Tonon
e03b522554 Add an environment variable to disable the cache 2023-07-12 11:51:04 +02:00
fiatjaf
d734b189d9 initial broken draft of relays page. 2023-07-11 18:19:11 -03:00
fiatjaf
bfa2f5f537 update go-nostr to fix a stupid bug. 2023-07-11 15:26:33 -03:00
fiatjaf
15dc2dff45 small context tweaks. 2023-07-11 11:04:16 -03:00
fiatjaf
6f24ed761a improve caching (cache lastNotes). 2023-07-09 11:22:08 -03:00
fiatjaf
ecda6ac414 client list rendering based on event kind, not code. 2023-07-08 20:54:31 -03:00
fiatjaf
0d150b1668 variable naming quibbles. 2023-07-08 20:27:27 -03:00
fiatjaf
7c5d37ecfc cache headers for much longer. 2023-07-08 20:26:34 -03:00
fiatjaf
393556b18c support nip05 codes. 2023-07-08 20:21:49 -03:00
fiatjaf
3531ecc4ca stop sending npubs to relays and use hints when fetching notes. 2023-07-08 20:08:51 -03:00
fiatjaf
9f2272072e prevent halting, fetch relays per pubkey and improve notes and profile fetching. 2023-07-08 09:09:42 -03:00
fiatjaf
6724e1123d fetch profiles from profiles relay list. 2023-07-06 10:50:31 -03:00
fiatjaf
3b46b8de76 fix querying notes on nprofile. 2023-06-24 13:50:24 -03:00
fiatjaf
6c3f7ecf5c Revert "remove primal."
This reverts commit 4cd8c79464.
2023-06-14 19:45:59 -03:00
Daniele Tonon
785428be01 Redirect urls with a "nostr:" prefix 2023-06-13 00:43:41 +02:00
Daniele Tonon
bc91202e3a Sanitize notes preview in the profile 2023-06-12 21:10:59 +02:00
fiatjaf
265fa86707 add highlighter. 2023-06-12 14:24:45 -03:00
fiatjaf
0c35c18445 add agora. 2023-06-09 11:44:42 -03:00
fiatjaf
4cd8c79464 remove primal. 2023-06-09 11:42:56 -03:00
Daniele Tonon
45e6a20085 Prevent markdown from adding rel=nofollow 2023-06-06 12:22:07 +02:00
Daniele Tonon
9a7c47a2aa Add support for summary field and cut description if too long 2023-06-06 09:54:51 +02:00
Daniele Tonon
d1fd67a572 Improve titles readibility 2023-06-06 08:17:25 +02:00
Daniele Tonon
83a23c3855 Fix iframe/video rendering 2023-06-06 08:10:51 +02:00
Daniele Tonon
397fe8a5c4 Improve long format markdown rendering 2023-06-06 01:07:03 +02:00
fiatjaf
865f80b6b7 fix client list rendering accessing external variable. 2023-06-05 13:36:51 -03:00
fiatjaf
3dbc807083 run prettier on templates. 2023-06-05 13:28:22 -03:00
fiatjaf
fbc393bf14 use a static type for client urls. 2023-06-05 13:27:00 -03:00
fiatjaf
087fc8c06e add yakihonne to article readers. 2023-06-05 12:44:56 -03:00
Daniele Tonon
7adc9b2f75 Apply a gentle highlight on nostr links 2023-06-04 17:06:13 +02:00
Daniele Tonon
c47a6ba4f5 Manage not NIP-27 contents 2023-06-04 16:54:49 +02:00
Daniele Tonon
c9e64b7b9e Add specific styles for long format content 2023-06-03 00:51:05 +02:00
Daniele Tonon
44f9c07ee5 Use a specific xss sanitizer for long form content 2023-06-03 00:18:00 +02:00
Daniele Tonon
ddaba769f9 Add print styles to note's template 2023-06-02 18:36:33 +02:00
Daniele Tonon
17f75e1fbe Make the clients' column sticky for long content 2023-06-02 18:09:49 +02:00
Daniele Tonon
c292a67bc0 Add markdown support for long format content 2023-06-02 18:09:49 +02:00
Daniele Tonon
82ea89443e Fix webkit glitches 2023-06-02 13:56:48 +02:00
Daniele Tonon
64b2ce3e02 Fix rendering of naddr and other events 2023-06-01 16:43:47 +02:00
Daniele Tonon
3b6b347337 Add nostr.com to canonical urls 2023-06-01 15:18:44 +02:00
Daniele Tonon
4870446fa5 Fix / improve replaceURLsWithTags 2023-06-01 15:18:44 +02:00
Daniele Tonon
ea0f0b647d Add link to the parent note, flag note as reply in the profile's last notes 2023-06-01 15:18:44 +02:00
Daniele Tonon
415fc088ba Revert global status to basicFormatting and replaceURLsWithTags 2023-06-01 15:18:44 +02:00
Daniele Tonon
1404eb5d1e Add mov to supported video 2023-06-01 15:18:44 +02:00