Alex Gleason
|
6eda1d4a9a
|
Don't use fancy getPubkeysBySearch in regular search
|
2025-02-12 23:19:44 -06:00 |
|
Alex Gleason
|
510ad647be
|
Fix type errors
|
2025-02-12 15:02:19 -06:00 |
|
Alex Gleason
|
c379c11b25
|
search: support pagination via Link header
|
2025-02-11 18:13:47 -06:00 |
|
Alex Gleason
|
eb94da6cca
|
Upgrade Nostrify to support negative search queries, remove getIdsBySearch function
|
2025-02-11 17:40:28 -06:00 |
|
Alex Gleason
|
7a60b4b8d8
|
Support kind 20 "Picture" events (NIP-68)
|
2025-01-05 11:23:18 -06:00 |
|
P. Reis
|
d27ab3ce49
|
fix: pagination in searching statuses
|
2024-10-26 18:58:02 -03:00 |
|
P. Reis
|
994dff8e79
|
fix: search profiles with offset pagination
|
2024-10-23 20:37:31 -03:00 |
|
Alex Gleason
|
8890f6bce5
|
searchEvents: fix account_id, simplify code
|
2024-09-18 12:58:17 -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
|
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
|
ed74b2464a
|
refactor: write it like a normal if statement
|
2024-09-15 17:42:26 -03:00 |
|
P. Reis
|
3b8a800cd2
|
refactor(search enchance): map over pubkeys instead of events
|
2024-09-15 17:27:56 -03:00 |
|
P. Reis
|
f99ea7c33f
|
refactor(getPubkeysBySearch): cast as string
|
2024-09-13 18:57:47 -03:00 |
|
P. Reis
|
6387ee440c
|
feat: return multiple accounts in searchController
|
2024-09-13 16:36:01 -03:00 |
|
P. Reis
|
69c2158131
|
refactor: return ordered accounts by similarity relevance in searchEvents() function
|
2024-09-13 16:20:56 -03:00 |
|
P. Reis
|
935cc7c5a5
|
refactor: remove NIP-50 search if looking for accounts, use same filter
|
2024-09-13 14:33:34 -03:00 |
|
P. Reis
|
c03ea07dcb
|
feat: create getPubkeysBySearch() function and use it inside searchEvents() function
|
2024-09-13 10:27:12 -03:00 |
|
Alex Gleason
|
ba241f0431
|
Rework opengraph
|
2024-08-07 20:47:53 -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
|
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
|
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 |
|
Alex Gleason
|
fc7ed8bf24
|
Remove zod schemas that we can get from NSchema
|
2024-05-01 19:51:12 -05:00 |
|
Alex Gleason
|
c190d2c8ce
|
Refactor Storages to get lazy-loaded only when they are used
|
2024-05-01 14:56:47 -05:00 |
|
Alex Gleason
|
0bb4ccf5c9
|
Move nostr-tools to an import alias
|
2024-04-30 18:43:53 -05:00 |
|
Alex Gleason
|
5d84566385
|
Merge branch 'perf-hydrate-events' into 'main'
Performance: hydrate events makes up to 5 calls to database
See merge request soapbox-pub/ditto!175
|
2024-04-23 20:24:55 +00:00 |
|
Alex Gleason
|
0f9cc9fe51
|
zod import alias
|
2024-04-23 15:03:20 -05:00 |
|
P. Reis
|
b77c8a00cd
|
perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions
|
2024-04-22 22:15:36 -03:00 |
|
P. Reis
|
12b030c8aa
|
refactor: decode pubkey with right import in search account
|
2024-04-20 21:52:36 -03:00 |
|
P. Reis
|
49f06869a3
|
feat: render account from pubkey if no kind 0 exists - /v2/search
|
2024-04-20 21:26:05 -03:00 |
|
Alex Gleason
|
9c91e41e87
|
Switch NSpec to Nostrify, update imports
|
2024-04-19 16:39:35 -05:00 |
|
P. Reis
|
6248272243
|
feat: add quote repost
|
2024-04-15 17:19:37 -03:00 |
|
Alex Gleason
|
b2bc46ac57
|
Removed DittoFilter usages I missed earlier
|
2024-03-20 12:01:38 -05:00 |
|
Alex Gleason
|
c8b378ad10
|
Remove DittoFilter, use search instead of local
|
2024-03-20 11:34:04 -05:00 |
|
Alex Gleason
|
8b9566d79b
|
Remove relations filters, switch some stuff to use optimizer (requires bravery)
|
2024-03-06 12:55:02 -06:00 |
|
Alex Gleason
|
5b24b7ad39
|
Pass Request signal down from API controllers
|
2024-01-23 15:58:59 -06:00 |
|
Alex Gleason
|
c6062874bd
|
Implement NStore interface from NLib
|
2024-01-23 14:06:51 -06:00 |
|
Alex Gleason
|
aaf01462c1
|
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent
|
2024-01-23 12:07:22 -06:00 |
|
Alex Gleason
|
8eccdafa64
|
Improve the NIP-05 cache
|
2024-01-21 20:22:11 -06:00 |
|
Alex Gleason
|
937ae1eab6
|
Refactor EventStore to use a more Set-like interface
|
2024-01-08 15:18:01 -06:00 |
|
Alex Gleason
|
89af83c660
|
search: fix abort signals
|
2024-01-04 02:09:23 -06:00 |
|
Alex Gleason
|
ee7347df10
|
SearchStore works!
|
2024-01-04 00:07:57 -06:00 |
|
Alex Gleason
|
b3e4b79439
|
Delete db/events.ts, db/memorelay.ts, move to @/storages.ts
|
2024-01-03 21:56:41 -06:00 |
|