Molly Struve
6aa41bfba2
Optimization:Only Check Past Day for DataUpdateScript failures ( #11448 )
2020-11-17 06:39:58 -06:00
Molly Struve
60b7572f5c
Feature:Send Alerts for Failed DataUpdateScripts to Datadog ( #11381 )
2020-11-12 10:59:54 -06:00
rhymes
47624ddfcd
Add users param to Feeds::Import ( #11234 )
...
* Add users param to Feeds::Import
* Fix init and specs
* Replace explicit nil check
Co-authored-by: Michael Kohl <me@citizen428.net>
Co-authored-by: Michael Kohl <me@citizen428.net>
2020-11-03 07:02:17 -06:00
rhymes
51a4a35448
Add Feeds::Import service class ( #10998 )
...
* Add the parallel gem
* Add prototype version of Feeds::Import with parallel URL fetching and parsing
* Tune Feeds::Import and add rake task for local tests
* Add rough measurer tool
* Add specs
* Apply suggestions by @citizen428
* Replace silence with silent
* No need for eager loading
* Add temporary Articles::DevFeedsImportWorker
* Remove temporary rake task
* Add basic error handling, copied from RssReader
* Fix error handling
* Remove temporary measuring rake task
* Remove logging added for development purposes
* Add info and error logging on error level
2020-10-30 15:01:44 +01:00
Andy Zhao
b80dae1436
Update data exporter to handle admin send ( #10274 )
...
* Update data exporter to handle admin send
* Match button with everything else
* Use proper redirect path
* Stub SiteConfig definition instead of setting it
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
* Removed if statement by accident oops
* Remove non-functional boolean param and pass email directly
* Use refinement to conv to boolean instead of JSON.parse
* Rename to StringToBoolean
* Use 'using' in proper scope (not in method)
* Rename to_bool to to_boolean
* Refactor if statement, thanks rhymes!
* Fix small bugs in tests
* Remove tracking for export_email b/c no @user
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2020-10-26 18:00:56 -04:00
rhymes
b6762fcc7b
[deploy] Add temporary RSS reader worker to gather monitoring data ( #11037 )
2020-10-23 12:02:08 -05:00
Michael Kohl
a2b55f889c
Remove Twitch integration ( #10732 )
...
* Remove Twitch integration
* Ignore columns
2020-10-08 12:44:10 +00:00
Anna Buianova
f6a7a42acc
Slack notification with reminder to delete user gdpr data ( #10532 )
2020-10-02 10:12:12 -04:00
rhymes
fe75dcde1c
Routine rubocop fixes ( #10478 )
2020-09-29 10:14:26 -04:00
Molly Struve
13fb5c4278
[deploy] Optimization:Store Podcast Ep Data in Redis, Rather than Sending as Sidekiq Argument ( #10331 )
2020-09-16 08:26:38 -05:00
Molly Struve
bfcba3f560
[deploy] Optimization:Use delete_by when Destroying HtmlVariant Trials and Successes ( #10332 )
2020-09-14 15:40:30 -05:00
rhymes
f6e24bc85b
Stop pinging sitemap tools locally ( #10314 )
2020-09-14 16:10:52 +02:00
Molly Struve
34593b7ec3
[deploy] Optimization:Select Article Columns for Digest Email, Limit 6, Use User Attributes ( #10147 )
2020-09-02 11:31:43 -05:00
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
Molly Struve
667f3c9edf
[deploy] Refactor:Email Digest Sending Logic ( #10107 )
2020-08-31 14:28:55 -05:00
Molly Struve
0b8df875da
[deploy] Bug Fix:Destroy GithubRepos with Suspended or Blocked Access ( #10103 )
2020-08-31 11:32:15 -05:00
Molly Struve
4ab5bf5255
[deploy] Feature:Add Ability to Run RssReader via Sidekiq Cron, Prevent for DEV ( #10066 )
2020-08-28 14:57:22 -05:00
Molly Struve
7891db594f
[deploy] Bug Fix:Add send_email_digest Rake Task for DEV ( #10065 )
2020-08-28 14:12:10 -05:00
Molly Struve
92b9af0261
Bug Fix:Destroy Repos that We No Longer Have Credentials For ( #10056 )
2020-08-28 14:06:38 -05:00
Molly Struve
8a44eb9421
[deploy] Refactor:Cleanup Naming and Optimize Email Digest Code ( #10054 )
2020-08-28 13:36:11 -05:00
Molly Struve
cd1db855b6
[deploy] Optimization:Break Send User Digest Emails in Single Jobs ( #10043 )
2020-08-28 06:37:27 -05:00
Molly Struve
a7928838f4
[deploy] Optimization:Break Github Repo Updates into Individual Sidekiq Jobs ( #10040 )
2020-08-27 16:01:36 -05:00
Molly Struve
b23374e737
[deploy] Revert "Refactor:Move RssReader Fetch Article task to Sidekiq ( #9976 )" ( #9998 )
2020-08-25 14:57:33 -05:00
Molly Struve
ff06454151
[deploy] Refactor:Move RssReader Fetch Article task to Sidekiq ( #9976 )
2020-08-25 13:47:13 -05:00
Molly Struve
0947256f13
[deploy] Refactor:Fetch New Github Repos From Sidekiq Cron ( #9986 )
2020-08-25 12:42:33 -05:00
Molly Struve
e0c37442c3
[deploy] Refactor:Move Enqueueing Podcast Workers to Sidekiq Cron ( #9983 )
2020-08-24 16:28:57 -05:00
Molly Struve
513717e680
Refactor:Move Credit Counter Cache Sync to Sidekiq ( #9972 )
2020-08-24 14:20:11 -05:00
Molly Struve
a4373346dd
[deploy] Refactor:Move Sitemap Refresh Rake Task to Sidekiq ( #9975 )
2020-08-24 13:22:25 -05:00
Molly Struve
d4a2f24c88
[deploy] Refactor:Move Cache Busting Rake Tasks to Sidekiq ( #9931 )
2020-08-24 08:23:11 -05:00
Molly Struve
e07c707ede
[deploy] Refactor:Move remove_old_notifications Rake Task to Sidekiq ( #9936 )
...
* Refactor:Move remove_old_notifications Rake Task to Sidekiq
* fix typo
2020-08-24 08:48:46 -04:00
Emma Goto
34e5b68182
[deploy] Add ability to turn off reaction notifications in notification settings ( #9435 )
...
* Add ability to turn off reaction notifications in notification settings
* Rename article_reaction_notifications to react-Notifications
* Rename platform notification settings to general notification settings and add reactions toggle
* Fix new_reaction_worker_spec
Co-authored-by: rhymes <rhymes@hey.com>
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-08-23 16:54:36 +02:00
Molly Struve
8574153b07
[deploy] Refactor:Move Remove Old HTML Variant Data task to Sidekiq ( #9925 )
2020-08-22 18:36:22 -05:00
Molly Struve
4308914fe8
[deploy] Refactor:Move send_email_digest Rake Task to Sidekiq ( #9929 )
2020-08-22 08:26:30 -05:00
Molly Struve
060ed32c48
Refactor:Send Welcome Broadcast Notifications From Sidekiq ( #9923 )
...
* Refactor:Send Welcome Broadcast Notifications From Sidekiq
* remove old spec and add to new one
2020-08-21 12:57:08 -04:00
Molly Struve
f00bb8eb8c
[deploy] Refactor:Move Listing and Support Tag Tasks to Sidekiq ( #9898 )
2020-08-20 14:05:34 -05:00
Ben Halpern
986eb87ce8
[deploy] Remove unneeded Analytics update script ( #9852 )
...
* Remove unneeded Analytics update script
* Remove constants
2020-08-19 15:57:27 -04:00
Ben Halpern
6c71369df5
[deploy] Add community_name to site config ( #9864 )
...
* Add community_name to site config
* Fix a spec
* Remove SiteConfig from constants
* Change subjects to method
* Fix subjects method
* Fix linting
2020-08-19 14:54:40 -04:00
Molly Struve
55e7e12e78
[deploy] Refactor:Move Yearly Badge Awarder to Sidekiq Cron ( #9836 )
2020-08-17 20:19:14 -04:00
rhymes
8b60a18735
Account deletion email: serialize only user's details ( #9752 )
...
* Account deletion email: serialize only user's details
* Fix specs and mailer preview
2020-08-13 18:31:56 +02:00
rhymes
085c60992b
Rubocop: Enable and fix Style/OptionalBooleanParameter cop ( #9711 )
...
* Enable and fix Style/OptionalBooleanParameter cop
* Keep regular parameters for workers
* Keep regular parameters for workers
* Fix spec
* Trigger Travis correctly
2020-08-10 19:35:55 +02:00
Molly Struve
a16fc46f84
[deploy] Revert "Async Handle Notifications for Comments When Saved ( #9680 )" ( #9686 )
...
This reverts commit 852223dd86 .
2020-08-08 20:16:27 -05:00
Molly Struve
852223dd86
[deploy] Async Handle Notifications for Comments When Saved ( #9680 )
2020-08-08 17:59:17 -05:00
Brunno Souza
00b9d0ea12
Refactoring ChatChannel - distributing into services ( #9253 )
2020-08-07 10:41:34 +02:00
Ben Halpern
5e6a651a4f
[deploy] Award badges asynchronously in internal ( #9582 )
...
* Award badges asynchronously in internal
* Spec fixes
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-07-31 19:09:51 -04:00
rhymes
5a2cae4fbb
Rubocop: enable and fix new Rails cops ( #9537 )
...
* Enable new Rails/* cops and use autocorrect on them
* Fixed Rails/PluckInWhere leftovers
* Fix Rails/DefaultScope
* Enable and fix Rails/PluckId
* Fix manual mistake with forcing autocorrection on Rails/PluckId
* Apply PR feedback to remove Rails/PluckId inline disables
* Apply PR feedback to get rid of Rails/PluckInWhere inline
2020-07-29 11:14:19 +02:00
Molly Struve
e2e034b910
[deploy] Refactor:Remove No Longer Needed Timber Logging ( #9555 )
2020-07-28 14:00:38 -05:00
Molly Struve
330009995d
[deploy] Optimization:Index Chat Channel Memberships Async on Message Creation ( #9491 )
2020-07-24 09:52:42 -05:00
Michael Kohl
a4dadfb728
Standardize ActiveRecord order clauses ( #9395 )
...
* Change simple order clauses
* Change nested order clauses
2020-07-20 10:00:51 -04:00
rhymes
696c712883
Rubocop: routine fixes ( #9345 )
...
* rubocop -A
* Fix Style/HashLikeCase
* regenerated todo file
2020-07-16 18:18:13 +02:00
rhymes
f1ec04a0c9
Rubocop: move dot in multi-line calls to leading position ( #9262 )
2020-07-16 15:51:11 +02:00