Commit Graph

2156 Commits

Author SHA1 Message Date
Siddharth Singh
7e2217ccd8 use entities escape instead of shitty custom one 2024-08-05 15:42:32 +05:30
Siddharth Singh
0706f53b9f sort imports by path 2024-08-05 15:18:17 +05:30
Siddharth Singh
c863655b4d sort imports by path 2024-08-05 15:15:48 +05:30
Siddharth Singh
c0a6d48d55 rename OG_META_PLACEHOLDER --> META_PLACEHOLDER 2024-08-05 15:14:51 +05:30
Siddharth Singh
2cafc2014f remove cf from lockfile 2024-08-05 15:13:09 +05:30
Alex Gleason
4c83d6d1b2 Do frontendController like I want to 2024-08-04 13:26:05 -05:00
Siddharth Singh
95ef308d0e fix typo in nip05 cleaner regex 2024-08-04 12:25:30 +05:30
Siddharth Singh
8b8a801da8 handle underscores in nip05 correctly 2024-08-04 12:21:31 +05:30
Siddharth Singh
b95e31cd5d rework kind 0 handling 2024-08-04 12:07:24 +05:30
Siddharth Singh
6aa49c12e1 steal html util from campfire, remove external dependency on cf 2024-08-04 11:10:33 +05:30
Siddharth Singh
77d73c47ee move a bunch of utils to their own file 2024-08-04 11:07:29 +05:30
Siddharth Singh
435ca60b0d update todo 2024-08-04 05:52:51 +05:30
Siddharth Singh
7aaa1bc030 generate metadata for bech32 encoded entities 2024-08-04 05:52:24 +05:30
Siddharth Singh
80f8932513 send profile pictures where possible 2024-08-04 04:54:50 +05:30
Siddharth Singh
8c9facdad7 remove unnecessary logs and use nip05s if avl 2024-08-04 04:49:24 +05:30
Siddharth Singh
baa6e318f3 remove premature optimization in serveStaticWithOG 2024-08-04 04:43:47 +05:30
Siddharth Singh
5ee0c1e852 opengraphMiddleware.ts --> serveStaticWithOG.ts 2024-08-04 04:36:36 +05:30
Siddharth Singh
b8eb549190 opengraphFrontendController --> serveStaticWithOG 2024-08-04 04:35:56 +05:30
Siddharth Singh
4e522bd90f always use summary type for twitter 2024-08-04 03:35:04 +05:30
Siddharth Singh
2382503785 flip the orders? 2024-08-04 03:20:57 +05:30
Siddharth Singh
a530313d15 update todo 2024-08-04 03:15:04 +05:30
Siddharth Singh
7889ee5db4 first version of opengraph functionality 2024-08-04 03:06:53 +05:30
Alex Gleason
950adb25c6 Fix relay connections metrics 2024-08-03 08:19:21 -05:00
Alex Gleason
5ac1abdf69 Merge branch 'fix-documentation' into 'main'
docs/fix: rename db:import to nostr:pull

See merge request soapbox-pub/ditto!443
2024-08-03 00:35:14 +00:00
P. Reis
84c56282ac docs/fix: rename db:import to nostr:pull 2024-08-02 21:19:52 -03:00
Alex Gleason
3e6f4bb256 Merge branch 'db-export' into 'main'
Add db:export command

See merge request soapbox-pub/ditto!441
2024-08-02 22:00:15 +00:00
Alex Gleason
ba3f816955 Add db:import task 2024-08-02 16:54:35 -05:00
Alex Gleason
3bec54ee76 Let SQLite transfer asyncIterables 2024-08-02 16:45:41 -05:00
Alex Gleason
9543049419 Add db:export command 2024-08-02 16:31:39 -05:00
Alex Gleason
44a61c4a52 Rework migrations logging 2024-08-02 16:31:06 -05:00
Alex Gleason
975294b8a4 Merge branch 'firehose-concurrency' into 'main'
Limit firehose concurrency

See merge request soapbox-pub/ditto!440
2024-08-01 17:07:08 +00:00
Alex Gleason
b05bf37cb3 Limit firehose concurrency 2024-08-01 11:51:38 -05:00
Alex Gleason
b47c53038f Merge branch 'in-any' into 'main'
Convert IN operators to = ANY() operators on Postgres

See merge request soapbox-pub/ditto!439
2024-07-31 20:08:09 +00:00
Alex Gleason
49bf38d27b Fix kysely dependency version mismatch 2024-07-31 15:00:05 -05:00
Alex Gleason
d73370cc68 Convert IN operators to = ANY() operators on Postgres 2024-07-31 14:41:04 -05:00
Alex Gleason
7860dd2a0c Merge branch 'policy-metrics' into 'main'
Add Policy metrics

See merge request soapbox-pub/ditto!438
2024-07-30 20:56:09 +00:00
Alex Gleason
8960bdcca9 Add Policy metrics 2024-07-30 15:47:55 -05:00
Alex Gleason
9b521e9f36 metricsMiddleware: add comments 2024-07-30 14:37:28 -05:00
Alex Gleason
24d6ae0ce9 Update gleasonator policy in deno.lock 2024-07-30 14:37:15 -05:00
Alex Gleason
caaababbab Upgrade Nostrify to v0.28.0 2024-07-30 00:01:21 -05:00
Alex Gleason
67f65b4826 Merge branch 'context' into 'main'
Improve performance of /context endpoint

See merge request soapbox-pub/ditto!437
2024-07-30 04:46:31 +00:00
Alex Gleason
a8e81e304e context: reverse descendants 2024-07-29 23:43:04 -05:00
Alex Gleason
edc4607c8d Improve performance of /context endpoint 2024-07-29 23:40:08 -05:00
Alex Gleason
ce18cb928a KyselyLogger: also log errors 2024-07-29 21:19:44 -05:00
Alex Gleason
c54d801dd0 Merge branch 'tag-queries' into 'main'
Vastly improve tag query performance

Closes #169

See merge request soapbox-pub/ditto!436
2024-07-29 21:50:40 +00:00
Alex Gleason
18e446bd05 Delete zap split tests 2024-07-29 16:46:27 -05:00
Alex Gleason
a0952bc4c1 zap-split.test: use using 2024-07-29 16:42:18 -05:00
Alex Gleason
37f229408c Seed zap splits when Storages.db is first accessed 2024-07-29 15:59:29 -05:00
Alex Gleason
31f5254fb3 Clear timeouts in tag queries migration 2024-07-29 15:37:45 -05:00
Alex Gleason
48a4e30e38 trends: read directly from the tags table instead of doing an inner join on events 2024-07-29 15:33:16 -05:00