- Jul 10, 2017
-
-
Eugen Rochko authored
Since there is little point in retrying so often when a service is down or does not exist anymore. Subscriptions are renewed 1 day before they should expire, so retrying in 30 minutes, then 2 hours, then 12 hours is fine. If even after that, the remote server does not work, there is little sense in retrying more often than once a day Also, uniqueness of the job should ensure that failed retries will not result in multiple retries for the same endpoint when the next resubscription cycle comes
-
- Jun 22, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
* Introduce domains method to Account relation Account had followers_domains method, which was excessively specific. Let relation of Account have domains method instead. * Move follow_mapping in Account to AccountInteractions * Introduce shared examples for AccountAvatar inclusion * Cover Account more
-
- Jun 14, 2017
-
-
Eugen Rochko authored
* Make Pubsubhubbub::DistributionWorker handle both single stream entry arguments, as well as arrays of stream entries * Add BatchedRemoveStatusService, make SuspendAccountService use it * Improve method names * Add test * Add more tests * Use PuSH payloads of 100 to have a clear mapping of 1000 input statuses -> 10 PuSH payloads It was nice while it lasted
-
- May 14, 2017
-
-
Eugen Rochko authored
* Do not cancel PuSH subscriptions after encountering "permanent" error response After talking with MMN about it, turns out some servers/php setups do return 4xx errors while rebooting, so this anti-feature that was meant to take load off of the hub is doing more harm than good in terms of breaking subscriptions * Update delivery_worker.rb
-
- May 12, 2017
-
-
Matt Jankowski authored
* Framework for delivery worker spec * Refactor of pubsub delivery worker
-
- May 10, 2017
-
-
Matt Jankowski authored
* Add specs for valid challenge response from pubsub confirmation worker * Refactor the pubsub confirmation worker
-
Eugen Rochko authored
to all subscribers. IDN-normalize callback URLs for subscriptions on insert.
-
- May 09, 2017
-
-
haoyayoi authored
* add content-type in pubsubhubhub request header * fix type
-
- May 06, 2017
-
-
Eugen Rochko authored
* Fix Scheduler::SubscriptionsScheduler, add worker test for it * Change production log level of Sidekiq to "warn" instead of "info"
-
- May 05, 2017
-
-
Eugen Rochko authored
* Fix #2473 - 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 #2613). 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 #2702 - 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
-
- Apr 25, 2017
-
-
Eugen authored
* Fix #2119 - Whenever about to send a HTTP request, normalize the URI * Add test for IDN request in FetchLinkCardService * Perform IDN normalization on domains before they are stored in the DB
-
- Apr 23, 2017
-
-
Eugen authored
* Make private toots get PuSHed to subscription URLs that belong to domains where you have approved followers * Authorized followers controller, stub for bulk action * Soft block in the background * Add simple test for new controller * Rename Settings::FollowersController to Settings::FollowerDomainsController, paginate results, rename "private" post setting to "followers-only", fix pagination style, improve post privacy preferences style, improve warning style * Extract compose form warnings into own container, show warning when posting to followers-only with unlocked account
-
- Apr 12, 2017
-
-
Matt Jankowski authored
* Remove trailing whitespace * Use query methods instead of explicit .blank? checks
-
- Apr 07, 2017
-
-
Eugen authored
* 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
-
- Apr 05, 2017
-
-
Eugen Rochko authored
-
- Feb 14, 2017
-
-
Eugen Rochko authored
-
- Feb 12, 2017
-
-
Eugen Rochko authored
-
- Feb 11, 2017
-
-
Eugen Rochko authored
Allow PuSH to distribute private toots with that condition
-
- Jan 05, 2017
-
-
Eugen Rochko authored
-
- Jan 02, 2017
-
-
Eugen Rochko authored
-
- Dec 19, 2016
-
-
Eugen Rochko authored
Adding some rescues to workers, e.g. don't fail removal job when status can't be found in the first place (already removed)
-
- Dec 12, 2016
-
-
Eugen Rochko authored
-
- Nov 30, 2016
-
-
Eugen Rochko authored
-
- Nov 29, 2016
-
-
Eugen Rochko authored
can be processed separately
-
- Nov 28, 2016
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Eugen Rochko authored
-