Commit graph

2343 commits

Author SHA1 Message Date
Alex Gleason
d285b7dced
Fix Mastodon legacy pagination 2024-08-06 18:20:26 -05:00
Alex Gleason
09ea0856a6
renderRelationship: delete accidental comment left in 2024-08-06 15:58:04 -05:00
Alex Gleason
6ae48e60e5 Merge branch 'relationships-perf' into 'main'
Optimize relationships database calls

See merge request soapbox-pub/ditto!446
2024-08-06 20:46:09 +00:00
Alex Gleason
41bcd77853
Optimize relationships database calls 2024-08-06 15:34:10 -05:00
Alex Gleason
75935d0b53 Merge branch 'nostrify-30' into 'main'
Upgrade to Nostrify v0.30.0

See merge request soapbox-pub/ditto!445
2024-08-05 20:48:59 +00:00
Alex Gleason
db6417bad9
Upgrade to Nostrify v0.30.0 2024-08-05 15:45:02 -05:00
Siddharth Singh
612c845f95
get rid of r() and RawHtml from html.ts 2024-08-06 01:51:43 +05:30
Siddharth Singh
16f4048604
way better logging 2024-08-06 01:25:39 +05:30
Siddharth Singh
166106b12b
even better kind 0 handling 2024-08-06 00:56:27 +05:30
Alex Gleason
b2136b35e8 Merge branch 'move-get-zap-split-to-new-endpoint' into 'main'
Create getZapSplitsController - Remove zap split from instance V1 endpoint

Closes #182

See merge request soapbox-pub/ditto!442
2024-08-05 19:23:56 +00:00
P. Reis
bce404728b refactor: rename zap_split to dittoZapSplit 2024-08-05 16:20:38 -03:00
Siddharth Singh
2283f64204
regex guard around opengraph routes 2024-08-06 00:45:28 +05:30
Siddharth Singh
f48d8e0a66
use Object.assign to fill template opts 2024-08-06 00:37:14 +05:30
Siddharth Singh
af70065d84
yet another typo fix 2024-08-06 00:32:13 +05:30
Siddharth Singh
4f8ebb95f3
hex regex typo fix 2024-08-06 00:26:04 +05:30
Siddharth Singh
6691908fc4
typo 2024-08-06 00:20:58 +05:30
Siddharth Singh
aa0727a96d
acct can be a bare pubkey 2024-08-06 00:20:05 +05:30
Siddharth Singh
f6bd7fc3a5
fail gracefully if getHandle fails to fetch profile 2024-08-05 23:23:13 +05:30
P. Reis
0a3ed4e160 refactor(zap split): rename amount to weight 2024-08-05 14:41:16 -03:00
Siddharth Singh
c109d06a6e
better getHandle 2024-08-05 23:00:08 +05:30
P. Reis
25bbeceb8d refactor: rename zap_splits_mastodon to zapSplitEntity 2024-08-05 14:29:30 -03:00
Siddharth Singh
9a96582bfc
catch errors while building opengraph metadata to allow _some_ metadata to make it out still 2024-08-05 22:36:48 +05:30
Siddharth Singh
18e0c990e4
add ditto favicon to default metadata 2024-08-05 22:35:55 +05:30
Siddharth Singh
00fe609ef1
fix naked pubkey test regex 2024-08-05 21:36:49 +05:30
Siddharth Singh
2f9dd7e9a2
more logging 2024-08-05 21:34:20 +05:30
Siddharth Singh
a3012d341b
log stuff 2024-08-05 21:32:44 +05:30
Siddharth Singh
9175596d5f
use nip27 replacer instead of janky regex 2024-08-05 20:24:03 +05:30
Siddharth Singh
e4f24c3b26
format 2024-08-05 20:18:49 +05:30
Siddharth Singh
7c56b9dad8
use stickynotes, move storages.db to inside buildTemplateOpts 2024-08-05 20:18:16 +05:30
Siddharth Singh
85b54e81be
ignore OG metadata errors 2024-08-05 20:14:43 +05:30
Siddharth Singh
2ad81d3fbf
sort imports 2024-08-05 20:07:08 +05:30
Siddharth Singh
33da9a41b2
rewrite metadata generation 2024-08-05 20:04:26 +05:30
Siddharth Singh
5785f07052
tpl --> metadataView 2024-08-05 20:02:03 +05:30
Siddharth Singh
c7e5aed679
move parseAndVerifyNip05 to utils/nip05 2024-08-05 18:12:53 +05:30
Siddharth Singh
29d7495c39
add site property to OpenGraphTemplateOpts 2024-08-05 15:43:56 +05:30
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