Commit Graph

1600 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
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
cdee2604a1 Apply same search improvements to accountSearchController 2024-08-07 12:31:22 -05: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
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
41bcd77853 Optimize relationships database calls 2024-08-06 15:34:10 -05:00
Alex Gleason
db6417bad9 Upgrade to Nostrify v0.30.0 2024-08-05 15:45:02 -05:00
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
P. Reis
0a3ed4e160 refactor(zap split): rename amount to weight 2024-08-05 14:41:16 -03:00
P. Reis
25bbeceb8d refactor: rename zap_splits_mastodon to zapSplitEntity 2024-08-05 14:29:30 -03: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
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
b05bf37cb3 Limit firehose concurrency 2024-08-01 11:51:38 -05: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
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
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
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
Alex Gleason
ece18c9bd8 Add tags table migration 2024-07-29 15:32:36 -05:00
Alex Gleason
51bdd977e1 Merge remote-tracking branch 'origin/main' into tag-queries 2024-07-29 14:14:35 -05:00
P. Reis
a271340ffc test: use postgres in hydrate.test.ts 2024-07-26 19:01:18 -03:00
P. Reis
9c02a2d555 refactor: remove nip05 enhancement and tests 2024-07-26 18:49:31 -03:00
P. Reis
6551f0c677 Merge branch 'main' into postgres-support-testing
Update local branch to latest. This branch has the NIP-05 but it will be overriden
2024-07-26 18:32:30 -03:00
P. Reis
dc94d21374 fix(app.ts): import startup.ts file 2024-07-25 16:32:49 -03:00
Alex Gleason
24b950ebd2 Merge branch 'add-zap-tag' into 'main'
Add zap tag to kind 1 event

Closes #133

See merge request soapbox-pub/ditto!432
2024-07-25 18:12:57 +00:00
P. Reis
e458608e38 refactor: rename createZapSplitsIfNotExists to seedZapSplits 2024-07-25 15:10:54 -03:00
P. Reis
882f8009dc refactor: rename isNumberFrom1To100 to percentageSchema 2024-07-25 15:06:50 -03:00
P. Reis
f3d521356d refactor: get rid of isObjectEmpty function 2024-07-25 14:52:52 -03:00
P. Reis
541b5b1c39 refactor: imports in alphabetical order 2024-07-25 14:52:03 -03:00