Commit graph

1294 commits

Author SHA1 Message Date
Alex Gleason
98b19faeee Merge branch 'feat-zap-account' into 'main'
Support zapping account directly - Rewrite zapController

See merge request soapbox-pub/ditto!356
2024-06-04 23:00:34 +00:00
Alex Gleason
92ac97c688
zapController: don't let status_id be an empty string 2024-06-04 17:55:48 -05:00
Alex Gleason
e29375b070
Find quote ID in content 2024-06-04 17:46:11 -05:00
P. Reis
50e7213954 fix(zapController): get kind 0 with store.query 2024-06-04 16:44:08 -03:00
P. Reis
739fea0890 feat: zap profiles directly
Rewrite zapController to return invoice in body instead of in header
2024-06-04 13:37:04 -03:00
Alex Gleason
c677e9484d
Remove self-service NIP-05 for now 2024-06-04 09:59:11 -05:00
Alex Gleason
a4b96f0a9c Revert "Merge branch 'nip19-mentions' into 'main'"
This reverts merge request !353
2024-06-03 17:49:24 +00:00
Alex Gleason
605948267d
Render mentions as nip19, fix href 2024-06-03 12:31:54 -05:00
Alex Gleason
3092030dde
EventsDB: index "r" tags on labels 2024-06-03 00:18:52 -05:00
Alex Gleason
4329d8ed9f
Implement trending links 2024-06-02 23:19:53 -05:00
Alex Gleason
6d5dbc029e
Remove self from suggested list 2024-06-02 22:59:06 -05:00
Alex Gleason
a325908d41
Fix rendering suggested accounts 2024-06-02 22:54:38 -05:00
Alex Gleason
68375c555e
Add trending users to suggested 2024-06-02 22:52:05 -05:00
Alex Gleason
da0139ff4e
Suggestions: add offset based pagination 2024-06-02 22:46:07 -05:00
Alex Gleason
3874a7fe8d
Add quotesController to list the quotes of a status 2024-06-02 20:36:34 -05:00
Alex Gleason
22c840092f
Add quotes count 2024-06-02 20:30:57 -05:00
Alex Gleason
a9dcebd7c2
Index r tags 2024-06-02 20:10:32 -05:00
Alex Gleason
9d2194a928
trendingStatusesController: enforce kind 1 events 2024-06-02 19:54:48 -05:00
Alex Gleason
6a4fc7b6ba
Track trending pubkeys too, why not 2024-06-02 19:51:04 -05:00
Alex Gleason
051f23d908
Remove TrendsWorker 2024-06-02 19:44:20 -05:00
Alex Gleason
c7c75a7147
Get rid if trending-events.ts, do everything with tag values (brave) 2024-06-02 19:40:55 -05:00
Alex Gleason
3373673706
updateTrendingTags: accept limit param 2024-06-02 19:27:44 -05:00
Alex Gleason
b35090ef10
cron: DRY updateTrendingTags 2024-06-02 19:25:49 -05:00
Alex Gleason
7e44368c08
trends: reverse the history dates 2024-06-02 19:07:10 -05:00
Alex Gleason
133a684d32
Fix tag order 2024-06-02 19:02:31 -05:00
Alex Gleason
fc11e34499
trends: notes -> #e, normalize 2024-06-02 18:28:43 -05:00
Alex Gleason
76c882d836
Crunch the tag history in the controller 2024-06-02 17:47:36 -05:00
Alex Gleason
b46bcc559e
cron: hashtags -> #t, links -> #r 2024-06-02 16:59:11 -05:00
Alex Gleason
e236e98259
cron: remove the unnecessary word "cache" from all the things 2024-06-02 16:45:20 -05:00
Alex Gleason
7f16a8d556
Support trending links 2024-06-02 16:42:25 -05:00
Alex Gleason
cd46d63999
getTrendingHashtags -> getTrendingTagValues 2024-06-02 16:17:42 -05:00
Alex Gleason
b5545ddb60
getTrendingNotes -> getTrendingEvents 2024-06-02 16:07:25 -05:00
Alex Gleason
03ea457933
Merge remote-tracking branch 'origin/main' into hashtag-labels 2024-06-02 15:46:11 -05:00
Alex Gleason
bafb42f034
Fix suggested timeline endpoint typo 2024-06-02 13:53:45 -05:00
Alex Gleason
857cfc7259
Add suggested timeline endpoint 2024-06-02 13:40:44 -05:00
Alex Gleason
c969738736
Save trending hashtags as labels 2024-06-02 13:15:05 -05:00
Alex Gleason
3363688977
trends: support offset parameter 2024-06-02 13:07:49 -05:00
Alex Gleason
498f69f024
stats: track replies_count 2024-06-02 12:26:43 -05:00
Alex Gleason
a911e36a7e
trendingStatusesController: sort a simpler way 2024-06-02 12:15:32 -05:00
Alex Gleason
45d9a113c3
trendingStatusesController: sort events in the order they appear in the label 2024-06-02 12:08:23 -05:00
Alex Gleason
0f59b3c96b
Trends: label trending posts by publishing an event 2024-06-02 11:58:21 -05:00
Alex Gleason
832e1c7e60
Fix label missing nip05 marker 2024-06-01 18:15:31 -05:00
Alex Gleason
816f3c806d
Remove the console.log from accountLookupController 2024-06-01 10:46:19 -05:00
Alex Gleason
4e80fdcc7d
Revert "renderAccount: fix crash encoding invalid pubkey"
This reverts commit ffda62a4b0.
2024-06-01 10:40:00 -05:00
Alex Gleason
efaa5323ec
Upgrade Nostrify to v0.22.5, don't render media dimensions with 0x0 dim 2024-06-01 10:28:30 -05:00
Alex Gleason
ffda62a4b0
renderAccount: fix crash encoding invalid pubkey 2024-05-31 21:42:39 -05:00
Alex Gleason
adcaad2863
paginatedList: only return next when page isn't empty 2024-05-31 16:10:59 -05:00
Alex Gleason
2ff929ca95
renderAccounts: reverse the list of pubkeys 2024-05-31 15:30:04 -05:00
Alex Gleason
b7943669b2
Paginate list events (kind 3, 10000) 2024-05-31 15:26:55 -05:00
Alex Gleason
761143a317
relay: give a nice "fuck you" to clients sending invalid filters 2024-05-31 13:58:06 -05:00