Commit graph

2271 commits

Author SHA1 Message Date
P. Reis
d9c08fd142 Merge branch 'main' into feat-domain-api 2024-08-13 20:58:51 -03:00
P. Reis
73eaf00059 feat: create getDittoDomainsController 2024-08-13 20:57:20 -03:00
P. Reis
01fe2faaeb feat: create getDittoDomainController 2024-08-13 20:47:21 -03:00
Alex Gleason
3dc6963f5d Merge branch 'deno-1.45.5' into 'main'
Upgrade Deno to v1.45.5

See merge request soapbox-pub/ditto!456
2024-08-13 22:16:57 +00:00
Alex Gleason
bcfd349092
Upgrade Deno to v1.45.5 2024-08-13 17:03:22 -05:00
P. Reis
16ea9de4c2 feat(pipeline): insert ditto_domains values inside the parseMetadata function 2024-08-13 18:28:55 -03:00
P. Reis
d26709e947 feat(migrations/031): create ditto_domains table 2024-08-13 18:26:45 -03:00
P. Reis
135657dbb4 fix: return undefined in case unfurlCardCached request fails 2024-08-13 17:47:58 -03:00
P. Reis
b09bcd33df feat: create fetchDittoDomain function
refactor: return NodeInfo object with default values in case of errors
2024-08-13 17:09:17 -03:00
P. Reis
effb316409 feat(DittoTables): create DittoDomainRow 2024-08-13 17:07:58 -03:00
P. Reis
9b74a8c5e8 Merge branch 'main' into feat-domain-api
(((Update local branch)))
2024-08-13 12:16:51 -03:00
Alex Gleason
37e122862f Merge branch 'npostgres' into 'main'
Switch to NPostgres

See merge request soapbox-pub/ditto!453
2024-08-13 14:20:18 +00:00
Alex Gleason
1a69df1cd7
Add timeout message to the relay 2024-08-12 23:04:12 -05:00
Alex Gleason
d3f4cd8d8c
Upgrade @nostrify/db to v0.31.2 2024-08-12 21:57:09 -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
f116950a83
Fix db:migrate script 2024-08-12 15:25:51 -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
P. Reis
3b5be4d358 fix: cast signal as unknown first and then cast as AbortSignal 2024-08-12 17:10:39 -03:00
P. Reis
60310e5a83 test: nodeInfoCache fetch 2024-08-12 17:09:52 -03:00
P. Reis
b3ef9b5e01 feat: create and implement nodeInfoCache function 2024-08-12 17:07:59 -03: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
e789e08c0f Merge branch 'import-script' into 'main'
Improve performance of import script

See merge request soapbox-pub/ditto!454
2024-08-11 21:11:55 +00:00
Alex Gleason
9f9a07e618
Improve performance of import script 2024-08-11 16:08:15 -05:00
Alex Gleason
300c78ddb1
Upgrade @nostrify/db 2024-08-10 15:44:58 -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
6657a48a07 Merge branch 'at-match' into 'main'
Fix matching @ routes in app

See merge request soapbox-pub/ditto!452
2024-08-10 02:10:39 +00: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
2cbbf2fbe7 Merge branch 'api-err' into 'main'
publishEvent: throw errors

See merge request soapbox-pub/ditto!451
2024-08-09 18:29:35 +00: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
a46c352d3d Merge branch 'opengraph-metadata' into 'main'
OpenGraph metadata support

Closes #179

See merge request soapbox-pub/ditto!444
2024-08-08 02:22:01 +00: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
15c46ec3f0
Rework nginx file again for link previews 2024-08-07 21:08:03 -05:00
Alex Gleason
2f2fda2ac3
Render OG data on every page 2024-08-07 21:06:51 -05:00