Commit Graph

2509 Commits

Author SHA1 Message Date
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
Alex Gleason
8f704e4ea2 Fix account URL lookup with @ in the URL 2024-08-07 14:52:13 -05:00
Alex Gleason
385127761d Strictly follow Mastodon API's way of only returning one result of a lookup succeeds 2024-08-07 14:41:16 -05:00
Alex Gleason
717fd6bdc9 Merge branch 'zap-tag-endpoint-by-id' into 'main'
Get zap split by post/status id, based in the zap tag

See merge request soapbox-pub/ditto!448
2024-08-07 17:36:09 +00:00
Alex Gleason
cdee2604a1 Apply same search improvements to accountSearchController 2024-08-07 12:31:22 -05:00
P. Reis
10052230e5 refactor: rename getZapSplitsOfStatusController to statusZapSplitsController 2024-08-07 14:24:32 -03:00
Alex Gleason
1efd4fad12 search: parse bech32 ids from pasted URLs 2024-08-07 12:11:13 -05:00
Alex Gleason
b3eb65f5ce Merge branch 'app-redirect' into 'main'
createAppController: parse formdata body

See merge request soapbox-pub/ditto!449
2024-08-07 00:57:51 +00:00
Alex Gleason
9c645cf616 createAppController: parse formdata body 2024-08-06 19:47:26 -05:00
Alex Gleason
d572a43b5a Merge branch 'pagination-compat' into 'main'
Fix Mastodon legacy pagination

See merge request soapbox-pub/ditto!447
2024-08-07 00:24:17 +00:00
Alex Gleason
5d6ab9f63b Separate listPagination 2024-08-06 19:04:27 -05:00
P. Reis
32cecb5e6b feat: create zap split endpoint based in post/status id 2024-08-06 20:55:40 -03:00
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