Commit graph

615 commits

Author SHA1 Message Date
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
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
9c645cf616
createAppController: parse formdata body 2024-08-06 19:47:26 -05: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
41bcd77853
Optimize relationships database calls 2024-08-06 15:34:10 -05:00
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
aa0727a96d
acct can be a bare pubkey 2024-08-06 00:20:05 +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
a3012d341b
log stuff 2024-08-05 21:32:44 +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
33da9a41b2
rewrite metadata generation 2024-08-05 20:04:26 +05:30
Siddharth Singh
c7e5aed679
move parseAndVerifyNip05 to utils/nip05 2024-08-05 18:12:53 +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
Alex Gleason
4c83d6d1b2
Do frontendController like I want to 2024-08-04 13:26:05 -05:00
Alex Gleason
950adb25c6
Fix relay connections metrics 2024-08-03 08:19:21 -05:00
P. Reis
6277b8ab0f refactor: remove zap split from instance V1 endpoint 2024-08-02 18:47:59 -03:00
P. Reis
baa00e45a6 feat: create getZapSplitsController 2024-08-02 18:47:21 -03: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
51bdd977e1
Merge remote-tracking branch 'origin/main' into tag-queries 2024-07-29 14:14:35 -05:00
P. Reis
541b5b1c39 refactor: imports in alphabetical order 2024-07-25 14:52:03 -03:00
P. Reis
f94ae7606c refactor: change zapSplitSchema to z.record()) 2024-07-25 11:11:44 -03:00
P. Reis
85806f7ea8 refactor: use object fields instead of tuple in zapSplitSchema 2024-07-24 11:14:42 -03:00
P. Reis
961da0f52c refactor: change error message in updateZapSplitsController & deleteZapSplitsController 2024-07-24 10:56:12 -03:00
P. Reis
23bb24929c refactor: remove zap split creation from instanceV1Controller endpoint 2024-07-24 10:54:56 -03:00
Alex Gleason
2b8009d840
trends: catch initial queries 2024-07-23 23:07:34 -05:00
Alex Gleason
5ebde99320
trends: Deno.cron try/catch 2024-07-23 22:19:53 -05:00
P. Reis
0e43d1e8a7 refactor: add zap tag with new data structure 2024-07-23 22:40:38 -03:00