Commit Graph

1791 Commits

Author SHA1 Message Date
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 29753795e4 Merge branch 'suggested-timeline' into 'main'
Add suggested timeline endpoint

See merge request soapbox-pub/ditto!349
2024-06-02 18:47:19 +00: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 95620c3dd7 Merge branch 'replies-count' into 'main'
stats: track replies_count

See merge request soapbox-pub/ditto!347
2024-06-02 17:41:03 +00:00
Alex Gleason 498f69f024
stats: track replies_count 2024-06-02 12:26:43 -05:00
Alex Gleason 2b9154b05a Merge branch 'trends-labels' into 'main'
Trends: label trending posts by publishing an event

See merge request soapbox-pub/ditto!346
2024-06-02 17:20:27 +00: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 f30319bea2 Merge branch '0-dim' into 'main'
Upgrade Nostrify to v0.22.5, don't render media dimensions with 0x0 dim

See merge request soapbox-pub/ditto!344
2024-06-01 15:39:29 +00: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 97d629cf07 Merge branch 'paginated-list' into 'main'
Paginate list events (kind 3, 10000)

See merge request soapbox-pub/ditto!343
2024-05-31 20:37:33 +00: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 1290aeeb5e
deno.lock: lint-staged 2024-05-31 14:28:43 -05:00
Alex Gleason 0da4b1d1c9 Merge branch 'lockfile' into 'main'
Add a lockfile

See merge request soapbox-pub/ditto!342
2024-05-31 19:23:48 +00:00
Alex Gleason 6e70f5c304
Add a lockfile 2024-05-31 14:09:08 -05:00
Alex Gleason b62b5d7020 Merge branch 'relay-fu' into 'main'
relay: give a nice "fuck you" to clients sending invalid filters

See merge request soapbox-pub/ditto!341
2024-05-31 19:06:39 +00:00
Alex Gleason 2c5c093a39 Merge branch 'policy-once' into 'main'
Import the custom policy only once

See merge request soapbox-pub/ditto!340
2024-05-31 19:00:07 +00:00
Alex Gleason 761143a317
relay: give a nice "fuck you" to clients sending invalid filters 2024-05-31 13:58:06 -05:00
Alex Gleason 5ca1e2fd26
CustomPolicy: switch to NoOpPolicy if the policy isn't found 2024-05-31 13:51:10 -05:00
Alex Gleason 9d50a76c0c
Merge remote-tracking branch 'origin/main' into policy-once 2024-05-31 13:47:53 -05:00
Alex Gleason a7ffe89107 Merge branch 'since-limit' into 'main'
EventsDB: throw an error if `since` and `until` are too large

See merge request soapbox-pub/ditto!339
2024-05-31 18:37:29 +00:00
Alex Gleason 3dd25feddc
EventsDB: throw an error if `since` and `until` are too large 2024-05-31 13:33:53 -05:00
Alex Gleason a2c5e824b9
Import the custom policy only once 2024-05-31 12:27:38 -05:00
Alex Gleason f98ebd359a Merge branch 'rm-empty-tag-filters' into 'main'
Remove empty tag filters

See merge request soapbox-pub/ditto!337
2024-05-30 18:05:19 +00:00
Alex Gleason f4f3c8d4d1
Remove empty tag filters 2024-05-30 13:01:39 -05:00
Alex Gleason e543e4c2a5 Merge branch 'created-at-up' into 'main'
pipeline: move created_at check up

See merge request soapbox-pub/ditto!336
2024-05-30 17:37:38 +00:00
Alex Gleason ec6b72229c
pipeline: move created_at check up 2024-05-30 12:33:55 -05:00
Alex Gleason 594be870e1 Merge branch 'quote-uri' into 'main'
Add quote URI to the event content

See merge request soapbox-pub/ditto!335
2024-05-30 17:09:43 +00:00
Alex Gleason e8ca21acde
mediaCompat consistency 2024-05-30 12:05:25 -05:00
Alex Gleason c0123df79a
Strip newlines from end of status 2024-05-30 12:03:01 -05:00