Commit Graph

21 Commits (b8acdfedf1ccd4d235eb9bfc2cd3f1e9c8c82c71)

Author SHA1 Message Date
unarist d47091eb97 Fix custom emoji handling in UpdateRemoteProfileService (OStatus) ()
This patch fixes NoMethodError and others in RemoteProfileUpdateWorker.
David Underwood 123a343d11 [WIP] Enable custom emoji on account pages and in the sidebar ()
Federate custom emojis with accounts
Eugen Rochko 4a618908e8 Account deletion ()
* Add form for account deletion

* If avatar or header are gone from source, remove them

* Add option to have SuspendAccountService remove user record, add tests

* Exclude suspended accounts from search
Yamagishi Kazutoshi f3e8bc9f8f Refactor UpdateRemoteProfileService ()
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) ()
08f8de84eb/Gemfile.lock (L38)
Code Climate is using RuboCop v0.46.0.

Change several rules to maintain compatibility.
Matt Jankowski 4e05751346 Move account header and avatar methods to a concern ()
Eugen Rochko 81584779cb More robust PuSH subscription refreshes ()
* Fix  - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron

Fix an issue where / in domain would raise exception in TagManager#normalize_domain

PuSH subscriptions refresh done in a round-robin way to avoid hammering a single
server's hub in sequence. Correct handling of failures/retries through Sidekiq (see
also ). Optimize Account#with_followers scope. Also, since subscriptions
are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire
refreshing operation halfway through

Fix  - Correct user agent header on outgoing http requests

* Add test for SubscribeService

* Extract #expiring_accounts into method

* Make mastodon:push:refresh no-op

* Queues are now defined in sidekiq.yml

* Queues are now in sidekiq.yml
Eugen 9d3be5579a Improve bio compatibility ()
* Fix  (close ) - Move HTML-formatted bio from <poco:note /> to <summary type="html" />

* Ensure <poco:note /> is plaintext for remote accounts, also, by stripping out HTML
Eugen 982fef811e Fix , fix - Avatar/profile info fetching ()
* Fix , fix  - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags

* Improve code quality, remove line unrelated to fix
Eugen Rochko 2816b1bf8e Federate header images, fix open-uri http->https redirection error
Eugen Rochko 149887a0ff Make follow requests federate
Eugen Rochko d00189b55a Domains with reject_media? set to true won't download avatars either
Eugen Rochko 9bd3b11cfb Instead of refusing to create accounts, domain blocks auto-suspend new accounts from that domain
Eugen Rochko 58b3f4fd67 Fix - avatar errors no longer prevent remote accounts from being saved
(without avatar). Also improved search position of exact matches
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
Fix , fix 
Eugen Rochko 4eba76711b Adding backtracing to Salmon/Processing workers
Eugen Rochko 2cb3dc5e5a Update hub URL and re-subscribe if hub URL changes
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko 87b618ab02 Fix namespace parsing in Atom feeds
Eugen Rochko 2f5b205916 Catch Paperclip errors on /api/v1/media, return early from update profile service if XML given is nil
Eugen Rochko ad5ae3f60e Update profile information and download avatar of remote accounts