Alex Gleason
|
ab727c3940
|
Merge branch 'move-author-search-to-author-stats' into 'main'
Order search by followers count & Move author search to author stats
Closes #140
See merge request soapbox-pub/ditto!500
|
2024-09-20 13:57:31 +00:00 |
|
P. Reis
|
b13e924001
|
fix: build search and also return it in countAuthorStats() function
|
2024-09-20 10:25:47 -03:00 |
|
P. Reis
|
578f269a65
|
refactor: countAuthorStats() function does not return search
|
2024-09-20 09:55:25 -03:00 |
|
Alex Gleason
|
5dca8d4950
|
pipeline: let ditto admin skip the policy
|
2024-09-19 21:57:59 -05:00 |
|
Alex Gleason
|
b53c6dab62
|
Add FIREHOSE_KINDS variable
|
2024-09-19 21:51:48 -05:00 |
|
P. Reis
|
ebeb150463
|
refactor: use search in author_stats
|
2024-09-19 19:37:13 -03:00 |
|
P. Reis
|
1b6e9160ec
|
test: update to use author_stats table
|
2024-09-19 19:36:44 -03:00 |
|
P. Reis
|
2727523540
|
feat: order search by followers count also
|
2024-09-19 19:36:13 -03:00 |
|
P. Reis
|
f063da1b86
|
refactor: add search field to AuthorStatsRow, remove AuthorSearch interface
|
2024-09-19 19:35:38 -03:00 |
|
P. Reis
|
017c17c8a2
|
refactor: remove author_search table, put search in author_stats
|
2024-09-19 19:35:05 -03:00 |
|
P. Reis
|
2f27e22b4c
|
test(getPubkeysBySearch): change search query
|
2024-09-19 10:15:41 -03:00 |
|
P. Reis
|
148e714863
|
fix(pg_trgm): use <% instead of %
|
2024-09-19 10:07:04 -03:00 |
|
P. Reis
|
aa07809e3f
|
Merge branch 'main' into zap-notification-streaming
|
2024-09-18 18:32:35 -03:00 |
|
Alex Gleason
|
5ecf016cb9
|
EventsDB: fix domain search performance (also allow searching by multiple languages/domains)
|
2024-09-18 13:42:43 -05: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
|
373e9ca6d8
|
Merge branch 'main' into zap-notification-streaming
|
2024-09-17 17:06:45 -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
|
19069c0417
|
refactor: return set in a different way
|
2024-09-17 14:37:04 -03:00 |
|
P. Reis
|
7eab62b9a9
|
refactor: getFollowedPubkeys() and getFeedPubkeys() functions return Set<string>
|
2024-09-17 14:02:46 -03:00 |
|
Alex Gleason
|
d32b12c814
|
Block NIP-70 protected events
|
2024-09-17 09:44:46 -05:00 |
|
P. Reis
|
8cd212e407
|
test: add missing argument in getPubkeysBySearch() function
|
2024-09-17 11:09:39 -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 |
|
Alex Gleason
|
8e3ddaa056
|
Add PGLITE_DEBUG environment variable
|
2024-09-16 12:31:50 -05:00 |
|
P. Reis
|
2fe6a8fde5
|
refactor: move getPubkeysBySearch () function to a new location
|
2024-09-16 14:24:26 -03:00 |
|
P. Reis
|
a18b049eb7
|
feat: make notifications great again
it works the same as before, but with way less code
|
2024-09-16 14:08:45 -03:00 |
|
P. Reis
|
9b66499df3
|
fix: get zap recipient in gatherAuthors() function
this is needed to work correctly in notifications
|
2024-09-16 14:00:12 -03:00 |
|
P. Reis
|
af13614f1a
|
test(hydrate): expect zap_message also
|
2024-09-16 13:31:49 -03:00 |
|
P. Reis
|
04a9a83fed
|
feat: hydrate zap_message
|
2024-09-16 13:30:43 -03:00 |
|
P. Reis
|
7fea333483
|
feat(DittoEvent): add zap_message field
|
2024-09-16 13:30:01 -03:00 |
|
P. Reis
|
07c364b829
|
test(hydrate): add zap receipt, kind 9735
|
2024-09-16 13:17:42 -03:00 |
|
P. Reis
|
a2077e3d40
|
feat: hydrate zap receipt kind 9735 - gatherZapSender, gatherZapped
|
2024-09-16 13:13:55 -03:00 |
|
P. Reis
|
6e2508063b
|
feat(DittoEvent): add zapped, zap_sender & zap_amount
|
2024-09-16 13:10:10 -03:00 |
|
P. Reis
|
8b5940298c
|
Merge branch 'main' into zap-notification-streaming
|
2024-09-16 09:18:40 -03:00 |
|
Alex Gleason
|
a87497380a
|
Make pipeline query easier to look at
|
2024-09-15 19:22:14 -05:00 |
|
Alex Gleason
|
8510f22d1b
|
Only save the nip05 in author search if it's valid
|
2024-09-15 18:33:16 -05:00 |
|
Alex Gleason
|
394021e485
|
Don't use semi-colons in migration
|
2024-09-15 17:38:16 -05:00 |
|
Alex Gleason
|
642ecfd36f
|
Rename language migration to 033
|
2024-09-15 17:26:02 -05:00 |
|
Alex Gleason
|
8da223ad6c
|
Merge remote-tracking branch 'origin/main' into language-detection
|
2024-09-15 17:25:36 -05:00 |
|
P. Reis
|
cbc1691002
|
feat: zap notification in streaming
|
2024-09-15 18:34:11 -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
|
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 |
|
Alex Gleason
|
f8902760ce
|
Make the language index a compound index
|
2024-09-15 13:37:23 -05:00 |
|
Alex Gleason
|
c24d11c6f3
|
Support NIP-50 language extension
|
2024-09-15 12:40:58 -05:00 |
|
P. Reis
|
f99ea7c33f
|
refactor(getPubkeysBySearch): cast as string
|
2024-09-13 18:57:47 -03:00 |
|
P. Reis
|
b3e56320a0
|
feat(accountSearchController): return accounts in autocomplete form
|
2024-09-13 18:41:20 -03:00 |
|