Commit graph

156 commits

Author SHA1 Message Date
Alex Gleason
f04ca2b6ff
Rework language and media columns to use Nostrify search_ext column 2025-02-02 19:32:43 -06:00
P. Reis
e388925815 Merge branch 'main' into feat-search-mime-type 2025-01-22 17:11:03 -03:00
P. Reis
c3966be65b feat(accountStatusesController): query for media faster 2025-01-22 17:10:24 -03:00
Alex Gleason
7a60b4b8d8
Support kind 20 "Picture" events (NIP-68) 2025-01-05 11:23:18 -06:00
P. Reis
b5221eb43a fix: stop captcha showing up 2024-12-03 20:05:38 -03:00
P. Reis
e0d9e83f28 Revert "Merge branch 'revert-70d30887' into 'main'"
This reverts commit 0c2f082281, reversing
changes made to 70d3088735.
2024-12-03 20:04:18 -03:00
Alex Gleason
261cd339fa Revert "Merge branch 'fix-stop-overwite-kind-0-unnecessarily' into 'main'"
This reverts merge request !598
2024-12-03 22:03:46 +00:00
P. Reis
2b6bf125e1 refactor(updateCredentialsController): accountFromPubkey if the user has no kind 0 2024-12-03 18:23:13 -03:00
P. Reis
dfff24d3b2 refactor(updateCredentialsController): return error if event is undefined 2024-12-03 15:22:37 -03:00
P. Reis
30d7f1a053 refactor(updateCredentialsController): stop overwriting kind 0 unnecessarily 2024-12-03 14:33:04 -03:00
P. Reis
b45fcdde69 Revert "fix(updateCredentialsController): stop overwriting kind 0 unnecessarily"
This reverts commit 342ba7d4b1.
2024-12-03 14:23:00 -03:00
P. Reis
342ba7d4b1 fix(updateCredentialsController): stop overwriting kind 0 unnecessarily 2024-11-29 11:49:37 -03:00
Alex Gleason
4ed66b8fe5
accountLookupController: support !no-unauthenticated 2024-11-25 22:44:14 -06:00
Alex Gleason
1dc19ef422
Support Bluesky's !no-unauthenticated self-label 2024-11-25 22:36:32 -06:00
Alex Gleason
154056f8d6
Add custom profile fields 2024-11-20 08:58:12 -06:00
P. Reis
94431fadcd fix: users can set their display_name to a number 2024-10-30 13:59:32 -03:00
P. Reis
0a7c0c60a9 fix: users can set their bio to a number 2024-10-30 13:48:35 -03:00
P. Reis
89e475ca4a fix: offset of zero 0 in accountSearchController 2024-10-23 20:42:10 -03:00
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