Commit graph

138 commits

Author SHA1 Message Date
Alex Gleason
d4f3c673a2
deno lint 2024-10-11 17:35:45 -05:00
Alex Gleason
a484634d36
Switch captcha_solved from a label event to an n-tag on a user event 2024-10-11 16:50:52 -05:00
Alex Gleason
c5ddd2ebb7
Make verify_credentials and update_credentials return a consistent CredentialAccount object 2024-10-11 16:25:29 -05:00
Alex Gleason
1cd7c99bda
Add account.source.ditto.captch_solved field 2024-10-04 19:26:47 -05:00
P. Reis
4ae17c4993 refactor: make getPubkeysBySearch() function return Set<string> 2024-09-18 14:15:18 -03:00
P. Reis
f1c0d8c18f refactor(getPubkeysBySearch): rename followList to followedPubkeys 2024-09-18 11:30:41 -03:00
P. Reis
f73b20bf03 refactor: make getPubkeysBySearch() function use set of strings Set<string> 2024-09-17 14:50:33 -03:00
P. Reis
47c1d290b0 Merge branch 'main' into enhance-profile-search-again 2024-09-17 14:42:15 -03:00
P. Reis
7eab62b9a9 refactor: getFollowedPubkeys() and getFeedPubkeys() functions return Set<string> 2024-09-17 14:02:46 -03:00
P. Reis
52001373e0 feat: show users you follow first in search
getPubkeysBySearch() function refactored to accept a followList argument
2024-09-17 11:04:27 -03:00
P. Reis
2fe6a8fde5 refactor: move getPubkeysBySearch () function to a new location 2024-09-16 14:24:26 -03:00
P. Reis
dc69f21e0b refactor: write map function in a cleaner way 2024-09-15 17:46:10 -03:00
P. Reis
c5711ea071 refactor(accountSearchController): only reassign events if event is undefined 2024-09-15 17:42:58 -03:00
P. Reis
3b8a800cd2 refactor(search enchance): map over pubkeys instead of events 2024-09-15 17:27:56 -03:00
P. Reis
b3e56320a0 feat(accountSearchController): return accounts in autocomplete form 2024-09-13 18:41:20 -03:00
Alex Gleason
4db8b2d4fb
Throw when creating a replaceable event that doesn't exist yet 2024-08-15 18:10:42 -05:00
Alex Gleason
a24c119c7b
accountSearchController: actually use the looked up event, whoops 2024-08-07 16:56:15 -05:00
Alex Gleason
fd90c199f5
search: fix lookupPubkey for account search endpoint 2024-08-07 16:44:32 -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
cdee2604a1
Apply same search improvements to accountSearchController 2024-08-07 12:31:22 -05: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
Alex Gleason
96fe8920cd
Make database timeouts configurable 2024-07-12 13:49:44 -05:00
Alex Gleason
3e7bab538a
Increase timeout for account statuses endpoint and feed endpoints 2024-07-02 20:13:44 +01:00
Alex Gleason
766290bd45 accountStatusesController: fix oopsie whoopsie TypeError (gj TypeScript) 2024-06-20 05:59:41 +00:00
Alex Gleason
003d60c959
Don't display posts of disabled user on their profile 2024-06-19 14:06:02 -05:00
P. Reis
ae01a19725 fix: render reblog in account timeline 2024-06-06 17:46:53 -03:00
Alex Gleason
816f3c806d
Remove the console.log from accountLookupController 2024-06-01 10:46:19 -05:00
Alex Gleason
a66df583fb
Don't encrypt settings_store 2024-05-26 12:34:18 -05:00
Alex Gleason
c89867f486
Remove unused NostrMetadata import 2024-05-25 09:25:09 -05:00
Alex Gleason
b64ea84b82
Use z.or 2024-05-25 09:20:16 -05:00
Alex Gleason
4f32972d85
updateCredentialsController: delete empty fields from metadata 2024-05-25 09:17:56 -05:00
P. Reis
5dee6450ec fix(update credentials): allow only valid data or empty string 2024-05-25 10:41:39 -03:00
Alex Gleason
622a2b2a4f
Implement familiar followers 2024-05-24 22:30:56 -05:00
Alex Gleason
307090e32f
updateCredentialsController: stricter validation, support bot field 2024-05-24 13:09:32 -05:00
P. Reis
c7726b652b feat: save user lud16 & website into kind 0 2024-05-23 15:59:29 -03:00
Alex Gleason
9839b8138f
tags.ts -> utils/tags.ts 2024-05-21 13:08:08 -05:00
Alex Gleason
590da75cf2
Merge remote-tracking branch 'origin/main' into feat-persist-user-preference 2024-05-20 14:02:38 -05:00
Alex Gleason
9754e29603
accountSearchController: respect the limit param 2024-05-19 11:45:42 -05:00
Alex Gleason
5523c3fc0e
verifyCredentials: wait up to 5 seconds 2024-05-18 23:02:59 -05:00
Alex Gleason
6542d6a777
Move uploader.ts to utils, make it kind of like api.ts 2024-05-18 22:04:43 -05:00
Alex Gleason
82c03dcb56
Rewrite all the uploaders 2024-05-18 22:00:24 -05:00
Alex Gleason
68b5887ed0
Don't let your memes be dreams 2024-05-14 18:24:34 -05:00
Alex Gleason
c715827c81
c.get('pubkey') -> await c.get('signer')?.getPublicKey() 2024-05-14 11:57:03 -05:00
P. Reis
f2f0aa8741 fix(accountLookup): fix user not found by using 'accountFromPubkey' 2024-05-03 09:52:25 -03:00
Alex Gleason
09c596c9e4
Add back block controllers, but 422 them 2024-05-02 15:34:17 -05:00
Alex Gleason
4c71dec6ce
Rename blocks to mutes in the API 2024-05-02 15:26:46 -05:00
Alex Gleason
ec7b3f8350
followController: manually set following: true in the response 2024-05-02 15:02:05 -05:00
Alex Gleason
4045a6bdfc
Catch metadata when parsing 2024-05-01 19:55:58 -05:00