Michael Kohl
5b35370db8
Introduce BanishedUser table ( #5589 ) [deploy]
2020-01-21 17:15:58 -05:00
Molly Struve
90470584a7
remove unused Algolia module from Tweet ( #5617 )
2020-01-21 08:00:06 -05:00
Shelley Vohr
b146528aa8
feat: add per-user Open Dyslexic font setting ( #5037 ) [deploy]
...
* feat: add per-user Open Dyslexic font setting
* Adjust css slightly
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-01-20 18:23:57 -05:00
rhymes
adfe1fac73
Optimize Notifications::Update and it specs ( #5417 )
2020-01-20 16:55:50 -05:00
Dainius Stankevicius
8c43c3d484
Utilize NewComment::Send in Notification model ( #5565 ) [deploy]
2020-01-20 16:38:42 -05:00
Maykon Menezes
ef1eb8d412
Refactor/user bust cache job ( #5563 )
...
* Refactor/user bust cache job
* Remove bust cache job old spec
2020-01-20 13:46:15 -05:00
Michael Kohl
511f7418dd
Refactor RateLimitChecker ( #5521 )
2020-01-20 11:27:54 -05:00
Alain Mauri
1217f1f08d
Add mentions send email notifications worker ( #5549 )
...
* Added email notification worker for mentions
* Modified the email generation to after_create_commit
* Modified Mention model to use the new worker
* Added tests for the worker
2020-01-20 08:24:42 -05:00
Alain Mauri
18b2b2cb4c
Add Follows::CreateChatChannelWorker for Sidekiq ( #5458 )
...
* Added a new worker to create chat channels after a follow
* Moved the chat channe creation to after_create_commit hook
2020-01-20 08:23:44 -05:00
Alex
e1e075479b
Create new NewFollowerWorker and start sending jobs to it ( #5556 ) [deploy]
2020-01-17 15:08:50 -05:00
Asha Balasubramaniam
81ead4935a
Migrate Comments::BustCacheJob to Comments::BustCacheWorker and move to Sidekiq ( #5502 )
2020-01-16 10:20:13 -05:00
Lucas Hiago
97aac4ef9b
Change Notifications::MilestoneJob to Notifications::MilestoneWorker and move to sidekiq ( #5454 ) [deploy]
2020-01-15 13:21:56 -05:00
Lucas Hiago
74f9decc56
Change Notifications::RemoveAllJob to Notifications::RemoveAllWorker and move to sidekiq ( #5451 )
2020-01-15 12:34:12 -05:00
Ben Halpern
c0a7c17054
Modify podcast design details and functionality ( #5472 ) [deploy]
...
* Modify podcast design details and functionality
* Adjust play button size
* Add heroku slug commit to some cache keys
2020-01-14 13:56:47 -05:00
rhymes
760d5ef325
Use .execute to avoid any possibility of prepared statements ( #5509 ) [deploy]
2020-01-14 13:23:32 -05:00
rhymes
9b2886979a
ActiveRecord count optimizations ( #5478 ) [deploy]
...
* Do not load messages in memory, just to count them
* Add Model.estimated_count
* Use Model.estimated_count in task record_db_table_counts
* Use size and estimated_count
* Use table_name so that .estimated_count works with all models
* Add comment to explain the .load.size + .each pattern
2020-01-14 12:03:38 -05:00
rhymes
241c39344e
Destroy messages if chat channels are destroyed ( #5498 )
2020-01-14 09:46:40 -06:00
serena
6e9539415e
Move welcome notification job to worker for Sidekiq ( #5465 ) [deploy]
2020-01-13 13:28:23 -06:00
Alain Mauri
faa696444b
Add Mentions::CreateAllWorker for Sidekiq ( #5463 )
2020-01-13 13:23:30 -06:00
Molly Struve
5e6ca69e27
Check for follow before trying to send a notification ( #5438 ) [deploy]
2020-01-10 13:59:38 -06:00
Asha Balasubramaniam
e5960810cc
Migrate Comments::SendEmailNotificationJob to Sidekiq ( #5427 )
...
* Add sidekiq version of the corresponding delayed job
* Switch the invocation of the delayed job from `after_create` to
`after_create_commit` to avoid the race condition where the worker can
be executed before the comment is persisted. Added covering spec
for this change.
2020-01-10 13:59:12 -06:00
Pablo Ifrán
bac4b7fac4
Move Users::ResaveArticlesJob to Sidekiq ( #5398 )
...
Change Resave Articles job to worker, and add missing specs on the user
model when changing the trigger attributes
2020-01-10 13:56:39 -06:00
Ben Halpern
f78b89e763
Add suggested tags to SiteConfig ( #5426 ) [deploy]
...
* Initial base work
* Add suggested tags config
* Downcase suggested tag input
2020-01-10 12:33:37 -05:00
Maykon Menezes
cf4dc80250
Move Podcast Episode Bust Cache Job to Sidekiq ( #5416 ) [deploy]
2020-01-10 10:08:59 -06:00
Jenna Pederson
5c9302f5f1
Migrate subscribe to mailchimp newsletter job to sidekiq worker ( #5423 )
...
* Start migrating job to sidekiq worker
* Only check for badge jobs queued to sidekiq
2020-01-10 08:43:13 -06:00
Lucas Hiago
a86371e772
Remove TouchJob and do it Inline ( #5410 )
2020-01-09 17:22:09 -05:00
Nick Schwaderer
74da1ffc59
No longer hide reactions and follows after 24 hours ( #5314 )
...
* No longer hide reactions and follows after 24 hours
* Removes unused scope without_past_aggregations
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-01-09 11:49:55 -05:00
Mukesh Chaudhary
48edaab5bc
Migrate new reaction job 5305 ( #5401 )
...
* Add New Reaction Worker
* Add Specs for the New Reaction Worker
* Update Worker Calls in Notification Model
* Update Notification Model Specs
* Fix Code Climate Issues
* Fix notification specs to remove instance variable and complex logic
* Fix Worker Spec
* Fix Review Comments
* Undo Job Specs
Co-authored-by: Mukesh Chaudhary <45253983+mukeshchdy@users.noreply.github.com>
2020-01-09 09:51:56 -05:00
Alain Mauri
5055121361
Remove Chat Channels Index Job ( #5409 ) [deploy]
2020-01-08 16:33:40 -05:00
Pablo Ifrán
f5d3593d4f
Change the way that id_code was created ( #5348 ) [deploy]
...
The column id_code was created with a job in an after create callback,
that was replaced by an inline creation of the attribute
2020-01-08 16:21:39 -05:00
Anna Buianova
e09e46ec99
Creating podcasts by users ( #3730 ) [deploy]
...
* Create podcast as a user [WIP]
* Sample css for podcast form
* Nicer podcasts suggesting form
* Validate podcast feed_url
* Validate podcast main_color_hex
* Fix podcasts specs
* Fix form appearance
* Placeholder for podcast main_color_hex
* Provide a link to suggest a podcast
* Add a checkbox and a role for when a podcast is added by an owner
* Prettier checkbox in the podcasts form
* Added creator to podcasts
* Set the podcast creator
* Fix the /pod spec
* Added creator information to the internal podcast page
* Added cta class to the podcasts submit button
* Global notice when a podcast was suggested
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-01-08 16:14:25 -05:00
Maykon Menezes
a9cb13c3f6
moving org bust cache job to sidekiq ( #5406 ) [deploy]
2020-01-08 15:03:40 -05:00
Molly Struve
7c939dc2c5
Remove TouchFollowerJob and do user update inline ( #5391 ) [deploy]
2020-01-08 14:12:04 -05:00
Asha Balasubramaniam
1003f71c8f
Migrate delayed job that calculates comment score to sidekiq ( #5382 )
2020-01-08 14:11:31 -05:00
Molly Struve
8a630b1896
Set default email in application mailer using ENV variable ( #5394 ) [deploy]
...
* Set default email in application mailer using ENV variable
* remove readonly
* replace siteconfig with ENV variable for more mailers
2020-01-07 19:10:46 -05:00
mstruve
21e64bfb46
Make default email Siteconfig read only
2020-01-07 18:50:00 -05:00
Molly Struve
d039a61177
Remove SiteConfig From Org Validation ( #5393 ) [deploy]
...
* Make default_site_email readonly so Rails can load first
* Change Org validation message and remove readonly so configs can be updated
* Change Org validation message and remove readonly so configs can be updated TRY 2
2020-01-07 18:04:13 -05:00
Michael Kohl
728a05c476
Move from env variables to SiteConfig ( #5385 ) [deploy]
...
* Move from env variables to SiteConfig
Related to #5384
This PR only deals with the first remaining part outlined in the issue, starting to use existing SiteConfig keys instead of the env variables.
* Restore Envfile to original version for now
2020-01-07 16:36:24 -05:00
serena
252027ad9c
use new_badge_achievement_worker instead of active job ( #5358 ) [deploy]
2020-01-07 08:16:17 -05:00
Molly Struve
a572a96921
Remove comments user_touch job and do it inline when comment is created ( #5378 ) [deploy]
2020-01-06 15:52:59 -05:00
Molly Struve
bc2dbd8e7f
Move Events::BustCacheJob to Sidekiq and rename ( #5379 )
2020-01-06 15:51:46 -05:00
Cadu Ribeiro
93514e73df
Migrate Articles/BustMultipleCachesJob to Sidekiq ( #5309 ) [deploy]
...
Related to: #5305
In order to move all the jobs to Sidekiq, this commit creates a new
Articles/BustMultipleCachesWorker using Sidekiq based on the
Articles/BustMultipleCachesJob (this one is not removed until we know
that any job on this one will be performed).
2020-01-06 13:42:34 -05:00
Ben Halpern
242c6eb5dd
Change from after_create to after_create_commit for :create_first_reaction ( #5341 ) [deploy]
2020-01-02 18:15:26 -05:00
Edward Tam
cb98b3b510
pages bust cache job sidekiq refactor ( #5338 ) [deploy]
...
* Refactored Pages::BustCacheJob to Pages::BustCacheWorker
* Removed Pages::BustCacheJob and specs
Co-authored-by: Edward Tam <edward6882990@gmail.com>
2020-01-02 15:16:09 -05:00
Lud
df042d6b0b
Refactors ActiveJob to SidekiqWorker: Follows::SendEmailNotificationWorker ( #5322 ) [deploy]
...
* Refactors ActiveJob to SidekiqWorker: Follows::SendEmailNotificationWorker
* improves naming of User#receives_follower_email_notifications?
* adjust expect count for spec SendEmailNotificationWorker
2020-01-02 13:35:09 -05:00
Pablo Ifrán
783d43b737
Change create first reaction job to worker ( #5327 ) [deploy]
2020-01-02 13:06:53 -05:00
serena
51df32552c
Change MentionJob to MentionWorker and move to sidekiq ( #5312 ) [deploy]
2020-01-02 07:57:08 -05:00
Molly Struve
8650f5c5aa
Create new BustCacheWorker and start sending jobs to it ( #5302 ) [deploy]
2019-12-31 14:14:23 -05:00
Ben Halpern
a716cf2756
Create UX Customization tab in settings ( #5307 ) [deploy]
...
* Create UX Customization tab in settings
* Add variable import
* Change from UX Customization to just UX
2019-12-31 09:35:15 -05:00
Molly Struve
49545ae41f
Use SQL DELETE statement to delete notifications without a SELECT ( #5303 ) [deploy]
2019-12-31 07:30:27 -06:00