Eugen
697e4da6cb
Fix #1141 , fix #1126 - Avatar/profile info fetching ( #1215 )
...
* Fix #1141 , fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags
* Improve code quality, remove line unrelated to fix
8 years ago
Eugen
24c77e57b2
Rewrite Atom generation from stream entries to use Ox instead of Nokogiri ( #1124 )
...
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder
StreamEntry is now limited to only statuses, which allows some optimization. Removed
extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
and PubSubHubbub::DistributionWorker
PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
instead.
All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri
* All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
8 years ago
blackle
70f485a9e7
Catch more errors in process_follows so it doesn't fail
8 years ago
Eugen Rochko
cd68e54a7d
Split SalmonWorker into smaller parts, move profile updating into another job
8 years ago
Eugen Rochko
5189ce9cd1
Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Eugen
54329947ab
Fix wrong variable used in publish channel
8 years ago
Eugen
b9ddfff8f6
Add proper message to PushUpdateWorker, use redis directly
8 years ago
Eugen
d67e1fe44d
Merge branch 'master' into broadcast-to-worker
8 years ago
Eugen Rochko
8f38353c4d
Only render public payload once in FanOutOnWrite
8 years ago
Kurtis Rainbolt-Greene
192f855952
We're going to want these nice helper methods, lets share them with a parent class that matches Rails 5 practices (application level abstraction)
8 years ago
Kurtis Rainbolt-Greene
bea03b4553
Moving in the inline render
8 years ago
Kurtis Rainbolt-Greene
dd66bce930
I don't actually think we need that.
8 years ago
Kurtis Rainbolt-Greene
7d887cea4b
Moving the queue_at into the worker
8 years ago
Kurtis Rainbolt-Greene
4f2985cddc
Replacing the broadcast method with the one defined in the feed manager
8 years ago
Kurtis Rainbolt-Greene
de1bb4bd56
By pushing this into a worker we can reduce the amount of time the feed manager using workers eat up a connection
8 years ago
Eugen Rochko
d2b7daf6bb
Remove PuSH subscriptions when delivery is answered with a 4xx error
8 years ago
Eugen Rochko
fa2a1af90a
Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Eugen Rochko
e60c473917
Reduce number of items in feeds, optimize regeneration worker slightly,
...
make regeneration worker unique, (only schedule/execute once at a time)
8 years ago
Eugen Rochko
1484df2db5
Move OStatus processing back into default queue
8 years ago
Eugen Rochko
7a56845060
Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko
8eca42b265
Separate background jobs into different queues. ATTENTION: new queue "pull"
...
must be added to the Sidekiq invokation in your systemd file
The pull queue will handle link crawling, thread resolving, and OStatus
processing. Such tasks are more likely to hang for a longer time (due to
network requests) so it is more sensible to not make the "in-house" tasks
wait for them.
8 years ago
Eugen Rochko
6ebe31e716
Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko
244da78105
Import feature for following/blocking lists (addresses #62 , #177 , #201 , #454 )
8 years ago
Eugen Rochko
0cb5a2a0a7
Add digest e-mails
8 years ago
Eugen Rochko
94a6dfab3a
Disable PuSH for blocked domains
8 years ago
Eugen Rochko
8550d32165
Adding more unit tests. Fixing Salmon slaps XML
8 years ago
Eugen Rochko
79f3ee31df
Take out private toot distribution out of PuSH again
8 years ago
Eugen Rochko
ffd58aad9d
Make PuSH only distribute to subscriptions that match follower domains
...
Allow PuSH to distribute private toots with that condition
8 years ago
Eugen Rochko
1e66536797
After FollowService, re-fetch remote account asynchronously, do nothing
...
if account lock info was up to date, otherwise re-do the FollowService
with now updated information
8 years ago
Eugen Rochko
59c8c2b28a
Make follow requests federate
8 years ago
Eugen Rochko
efa4065029
Preheat status cache
8 years ago
Eugen Rochko
9327d05bf7
API for apps to register for push notifications
8 years ago
Eugen Rochko
ea8b548ee9
Make blocks create entries and unfollows instantly, but do the clean up
...
in the background instead. Should fix delay where blocked person
can interact with blocker for a short time before background job
gets processed
8 years ago
Eugen Rochko
98660a76d9
Move merging/unmerging of timelines into background. Move blocking into
...
background as well since it's a computationally expensive
8 years ago
Eugen Rochko
f748a91ec7
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko
a893746e5a
Improve background jobs params and error handling
8 years ago
Eugen Rochko
0471207cc3
Fix accidental distribution of hidden stream entries to PuSH subscribers
8 years ago
Eugen Rochko
2bc6e7c96e
Add API for retrieving blocked accounts
8 years ago
Eugen Rochko
0f4c9d1124
Adding some rescues to workers, e.g. don't fail removal job when status can't be found in the first place (already removed)
8 years ago
Eugen Rochko
b2945b025f
Make unfavouriting async to prevent timeout errors from leaving orphaned records behind
8 years ago
Eugen Rochko
9d4f96f440
Removing external hub completely, fix #333 fixing digit-only hashtags,
...
removing web app capability from non-webapp pages
8 years ago
Eugen Rochko
b7c2c5d81d
Restoring old async behaviour of thread resolving as it proved to be more robust
8 years ago
Eugen Rochko
fb36684678
Thread resolving no longer needs to be separate from ProcessFeedService,
...
since that is only ever called in the background
8 years ago
Eugen Rochko
7752662f97
Add filters for suspended accounts
8 years ago
Eugen Rochko
211049ae59
Fix #329 - avatar errors no longer prevent remote accounts from being saved
...
(without avatar). Also improved search position of exact matches
8 years ago
Eugen Rochko
a692318382
Track successful PuSH deliveries
8 years ago
Eugen Rochko
d26b8f3cce
Delete statuses asynchronously but provide instant feedback in the API
8 years ago
Eugen Rochko
3c1c2b0e06
Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
...
can be processed separately
8 years ago
Eugen Rochko
79075e1303
Fix URLs in inline-rendered XML
8 years ago
Eugen Rochko
02da8fdcbe
Fix setting of confirmed=true on successful confirmation
8 years ago