docbrown/app/services
Diogo Osório a5e7b1cf60
Rely on error types to determine when a repo should be removed on the RepoSyncWorker (#10131)
* Registers the Github AcocuntSuspended & RepositoryUnavailable errors

Adds the above-mentioned errors to the list of known errors raised by
Octokit as to make possible for the rest of the application to
specifically trap those.

* Makes the RepoSyncWorker error handling rely on types

The current implementation attempted to parse the error message to
determine if the error reported by Github's API can/should be handled,
this commit changes the implementation so that the exception type is
used instead.
2020-09-01 15:01:23 -04:00
..
articles [deploy] Add dependent clauses to Article and fix Comment validation (#9990) 2020-08-28 18:24:28 +02:00
audit Remove Audit::Event::Util (#8704) 2020-06-16 12:50:53 -04:00
authentication [deploy] Log in with Facebook (#9922) 2020-08-26 12:04:20 -04:00
broadcasts/welcome_notification Social Auth generalization refactor (#9837) 2020-08-17 20:09:44 -04:00
chat_channels Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
color Allow admins to set brand color (#10097) 2020-09-01 11:16:31 +02:00
credits Use Enumerable#filter_map in more places (#9389) 2020-07-20 18:54:38 +02:00
data_sync/elasticsearch Rubocop: enable and fix Style/Send and Style/Next (#9366) 2020-07-20 16:28:00 +02:00
edge_cache/commentable [deploy] remove no longer used index! and check for main_image method in view (#7526) 2020-04-27 10:16:49 -05:00
exporter Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
fastly_config [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
giphy Deduplicate giphy_img? function and add tests (#4590) 2019-10-30 11:40:17 -04:00
github Rely on error types to determine when a repo should be removed on the RepoSyncWorker (#10131) 2020-09-01 15:01:23 -04:00
images [deploy] Expand Images::Optimizer to support imgproxy (#9909) 2020-08-25 16:00:40 -04:00
mentions Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
moderator Remove ghostify from app (#10139) 2020-09-01 13:39:39 -04:00
notifications Rubocop: Enable and fix Style/OptionalBooleanParameter cop (#9711) 2020-08-10 19:35:55 +02:00
payments Refactor: Send RSS Reader and Payment Errors to Honeybadger (#9209) 2020-07-09 08:48:52 +02:00
podcasts Rubocop: Enable and fix Style/OptionalBooleanParameter cop (#9711) 2020-08-10 19:35:55 +02:00
profile_fields [deploy] Start ignoring group column for profile fields (#10045) 2020-08-31 10:16:37 +07:00
profiles [deploy] Migrate profile data (#9750) 2020-08-20 11:17:57 +07:00
rss_reader Add support for <picture> tag in RSSReader (#9977) 2020-08-24 19:10:37 -04:00
search Enable pending Style/SingleArgumentDig (#9842) 2020-08-18 10:26:40 -04:00
secrets Use a sortable unique ID for the event_id (#3972) 2019-09-09 10:15:12 -04:00
slack [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
streams [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
suggester/users Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
twitter_client Rubocop: Enable and fix Style/OptionalBooleanParameter cop (#9711) 2020-08-10 19:35:55 +02:00
user_blocks Remove algolia from chat channel memberships (#6323) 2020-02-27 09:59:12 -05:00
user_subscriptions Update CODEOWNERS and team names in TODO comments (#9460) 2020-07-24 12:17:20 +07:00
users [deploy] Add missing dependent clauses to User and cleanup relations (#10011) 2020-08-28 20:19:24 +02:00
webhook Move Webhook::DispatchEventJob to Sidekiq (#5722) [deploy] 2020-01-27 14:36:27 -05:00
analytics_service.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
application_service.rb [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
article_api_index_service.rb Standardize ActiveRecord order clauses (#9395) 2020-07-20 10:00:51 -04:00
article_with_video_creation_service.rb Upgrade Rubocop to 0.81 (#7219) 2020-04-11 10:10:04 +02:00
bulk_sql_delete.rb Use SQL DELETE statement to delete notifications without a SELECT (#5303) [deploy] 2019-12-31 07:30:27 -06:00
email_digest.rb [deploy] Bug Fix:Run Individual Digest Workers inline for DEV (#10070) 2020-08-29 09:25:54 -05:00
email_digest_article_collector.rb [deploy] Refactor:Email Digest Sending Logic (#10107) 2020-08-31 14:28:55 -05:00
flare_tag.rb [deploy] Refactor Flare Tag Class (#9064) 2020-07-01 16:57:03 -04:00
medium_article_retrieval_service.rb Nokogiri::HTML should receive the body, not the response object (#5297) 2019-12-31 08:46:49 -05:00
notifications.rb Remove notifiable access from articles and comments notifications (#5415) [deploy] 2020-01-09 10:19:45 -05:00
rate_limit_checker.rb Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
rss_reader.rb [deploy] Revert "Refactor:Move RssReader Fetch Article task to Sidekiq (#9976)" (#9998) 2020-08-25 14:57:33 -05:00
tag_adjustment_creation_service.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
tag_adjustment_update_service.rb