Commit graph

1693 commits

Author SHA1 Message Date
Alex Gleason
8370b250a2
Add a signal to renderAccount 2024-08-17 09:25:48 -05:00
Alex Gleason
e539a29775
Fetch favicon from NIP-05 domain 2024-08-17 09:21:12 -05:00
Alex Gleason
de1c6a05dc
Add domain to Account entity 2024-08-16 13:15:06 -05:00
Alex Gleason
a99728981c
Use favicon.ico to get instance favicon from NIP-05 of each user 2024-08-15 21:36:28 -05:00
Alex Gleason
4db8b2d4fb
Throw when creating a replaceable event that doesn't exist yet 2024-08-15 18:10:42 -05:00
Alex Gleason
1feeaf7b1e
Put zap splits behind a feature flag, disabled by default 2024-08-14 22:05:17 -05:00
Alex Gleason
1a69df1cd7
Add timeout message to the relay 2024-08-12 23:04:12 -05:00
Alex Gleason
27ba8b071a
pg migration: advise checking out main branch 2024-08-12 16:48:42 -05:00
Alex Gleason
c4064d0fa6
pg migration: 3 days -> several hours 2024-08-12 15:54:56 -05:00
Alex Gleason
e743e14bb1
Fix EventsDB test 2024-08-12 15:45:47 -05:00
Alex Gleason
8a23011392
pg migration: cascade 2024-08-12 15:17:42 -05:00
Alex Gleason
617659c7fd
Fix DittoDB+EventsDB relationship 2024-08-12 15:13:49 -05:00
Alex Gleason
5e4a94457f
Fix tests 2024-08-12 14:57:17 -05:00
Alex Gleason
3a82c98c21
trends: make trends work in Postgres (probably) 2024-08-12 14:48:32 -05:00
Alex Gleason
5c23cb02c2
Add NPostgres migration 2024-08-12 14:37:41 -05:00
Alex Gleason
8dc3b5d5a7
trends: maybe make postgres trends work? 2024-08-11 20:20:31 -05:00
Alex Gleason
8db5489350
Implements trends for SQLite 2024-08-11 19:50:20 -05:00
Alex Gleason
e6b18e7d95
trends: disable for now 2024-08-11 19:12:05 -05:00
Alex Gleason
c8bec9b4b7
Delete unused getUnattachedMedia function 2024-08-11 19:07:27 -05:00
Alex Gleason
552de01a17
Rework DittoDB to return an object 2024-08-11 19:02:27 -05:00
Alex Gleason
f830271ce2
Merge remote-tracking branch 'origin/main' into npostgres 2024-08-11 16:27:59 -05:00
Alex Gleason
9f9a07e618
Improve performance of import script 2024-08-11 16:08:15 -05:00
Alex Gleason
916b68a3e4
Switch to NPostgres (steamroll SQLite for now) 2024-08-10 13:30:24 -05:00
Alex Gleason
66cfba5535
Remove leading @ from params.acct 2024-08-10 09:58:25 -05:00
Alex Gleason
443c8a43f7
Fix matching @ routes in app 2024-08-09 21:07:41 -05:00
Alex Gleason
4bf3096454
errorHandler: don't log timeouts 2024-08-09 13:31:36 -05:00
Alex Gleason
abc1a6eb49
EventsDB.event: throw error on insertion 2024-08-09 12:47:59 -05:00
Alex Gleason
9b68d2d08a
publishEvent: throw errors 2024-08-09 12:44:25 -05:00
Alex Gleason
c7a59b50d0
Fix account search 2024-08-08 18:41:29 -05:00
Alex Gleason
800e20a143
Convert og:description to plaintext 2024-08-07 21:36:02 -05:00
Alex Gleason
313c37564c
Add MastodonAttachment type 2024-08-07 21:19:04 -05:00
Alex Gleason
efc121a4ae
Fallback to favicon.ico in link previews 2024-08-07 21:10:31 -05:00
Alex Gleason
2f2fda2ac3
Render OG data on every page 2024-08-07 21:06:51 -05:00
Alex Gleason
5f1b87c3b6
Pretend to be WhatsApp when fetching links 2024-08-07 21:00:07 -05:00
Alex Gleason
ba241f0431
Rework opengraph 2024-08-07 20:47:53 -05:00
Alex Gleason
72970bf480
Code style changes 2024-08-07 19:01:50 -05:00
Alex Gleason
020736fd47
Escape @ in SSR routes 2024-08-07 18:19:39 -05:00
Alex Gleason
349f59cc70
Merge remote-tracking branch 'origin/main' into opengraph-metadata 2024-08-07 18:19:13 -05:00
Alex Gleason
e264d6116c Merge branch 'search-fixes' into 'main'
search: parse bech32 ids from pasted URLs, improve Mastodon API compat

See merge request soapbox-pub/ditto!450
2024-08-07 23:11:20 +00:00
Alex Gleason
2e38a7b9ec
mentionsCompat: wrap each mention in an h-card span 2024-08-07 17:54:45 -05:00
Alex Gleason
ab17be219c
Fix parseNoteContent test 2024-08-07 17:37:44 -05:00
Alex Gleason
2f5b4557b7
compatMentions: remove post author and explicit text mentions 2024-08-07 17:34:36 -05:00
Alex Gleason
529e61be6d
Return properly formatted mentions in Status API 2024-08-07 17:27:22 -05:00
Alex Gleason
a24c119c7b
accountSearchController: actually use the looked up event, whoops 2024-08-07 16:56:15 -05:00
Alex Gleason
fd90c199f5
search: fix lookupPubkey for account search endpoint 2024-08-07 16:44:32 -05:00
Alex Gleason
8f5ec50a25
search: fix nip05 lookups 2024-08-07 16:41:46 -05:00
Alex Gleason
bc603188fa
extractBech32 -> extractIdentifier, support extracting nip05 names 2024-08-07 16:22:10 -05:00
Alex Gleason
d3780037df
search: escape @ signs in matchers 2024-08-07 16:05:04 -05:00
Alex Gleason
ff900341d5
Match every possible goddamn URL format in search 2024-08-07 15:53:59 -05:00
Alex Gleason
dbd40357af
Mimic Mastodon's uri/url fields exactly on Accounts and Statuses 2024-08-07 15:23:33 -05:00