Jacob Herrington
8db4808d2e
Internal Reports: Searching and sorting with Ransack ( #5447 ) [deploy]
...
* Add gem Ransack 2.3.0
* Add sorting and search to internal/reports
The UI here should probably be revisited sooner or later, I feel like
the vomit reactions might even need to be moved to their own view.
* Add system spec for internal reports search
* Remove filter for report_type
2020-01-16 15:02:09 -05:00
José Chaves Neto
eff7bac9d8
refact: refactor userDetails ( #5467 )
2020-01-16 14:02:49 -05:00
Ben Halpern
a4b86e3ff1
Add initial usage metrics for datatog ( #5544 ) [deploy]
...
* Add initial usage metrics for datatog
* Make measurable name more clear
* Change name of daily usage worker
* Fix test names
2020-01-16 12:59:17 -05:00
Asha Balasubramaniam
81ead4935a
Migrate Comments::BustCacheJob to Comments::BustCacheWorker and move to Sidekiq ( #5502 )
2020-01-16 10:20:13 -05:00
Molly Struve
29efdaf20a
Remove Comments::CreateIdCodeJob which is now done inline ( #5536 )
2020-01-16 09:31:11 -05:00
serena
5e761fc570
remove unused welcome notification job ( #5535 )
2020-01-15 16:57:33 -05:00
Thomas Bnt
0c6e696f2d
Changed user-metadata-details to overflow-y: auto ( #5532 ) [deploy]
2020-01-15 16:47:10 -05:00
Michael Kohl
e946e2d7cf
Update settings links + descriptions in editor guide ( #5473 )
2020-01-15 16:37:35 -05:00
Molly Struve
5962d52a61
record background queue stats in a worker ( #5533 ) [deploy]
2020-01-15 14:44:57 -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
rhymes
7bfb255627
Remove unnecessary heroku slug commit values in cache keys ( #5524 )
2020-01-15 12:35:16 -05:00
Lucas Hiago
74f9decc56
Change Notifications::RemoveAllJob to Notifications::RemoveAllWorker and move to sidekiq ( #5451 )
2020-01-15 12:34:12 -05:00
Molly Struve
2e5a36e538
Log DB Table sizes in a Sidekiq Worker ( #5518 )
2020-01-15 12:33:14 -05:00
rhymes
bcd85452e9
Comments API: fix caching issues ( #4744 ) [deploy]
...
* Use ancestry in the index and add test
* Add tests for show action
* Return complete comments trees for index, kill n+1 and use correct edge cache key
* Return complete comments tree for show, kill n+1 and use correct edge cache key
* Refactor tests and add surrogate keys tests
* Preload users for the whole subtree
* Clarify explanation of the edge cache keys construction
* Refactor partials
* Remove action caching
* Replace .map.flatten with .flat_map
* Fix surrogate key prefix according to Fastly docs
* Add comment.purge to Comments::BustCacheJob to use Fastly-Rails
* Fix surrogate key spec
2020-01-15 10:45:56 -05:00
vladimirschneider
bbaa5902c7
Currect .menubg top position ( #5505 )
...
* Currect .menubg top position
Ben changed .top-bar height but do not changed .menubg top position
* Update top-bar.scss
2020-01-15 10:07:02 -05:00
Ben Halpern
e9252bcd10
Fix podcast NaN time issue ( #5513 ) [deploy]
2020-01-14 15:30:11 -05:00
rhymes
ff7532b3db
Handle liquid tag errors in comments form ( #5485 ) [deploy]
...
* Handle liquid tag errors in comments form
* Do not hide Pundit::NotAuthorizedError errors
2020-01-14 14:10:05 -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
Jacob Herrington
65c9989cf9
Add visual indication for listing buffer actions ( #5411 )
...
Michael asked that this behavior be extended to the buffer actions on
internal/listings as well.
We should probably look for an opportunity to refactor the JS currently
living in article_script.erb.
2020-01-14 12:03:58 -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
Michael Kohl
dba7e6ca60
Move Twitch webhook registration from ActiveJob to Sidekiq ( #5414 )
2020-01-14 11:55:35 -05:00
Michael Kohl
92b5f113be
Return 429 Too Many Requests instead of raising ( #5504 )
2020-01-14 11:53:33 -05:00
rhymes
c267526ed2
Remove temporary site config script and unused ENV var ( #5455 ) [deploy]
2020-01-14 09:49:31 -06: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
Asha Balasubramaniam
61acfcd4c9
Remove Comments::SendEmailNotificationJob to send email notification on comment creation ( #5446 )
...
Follow up to https://github.com/thepracticaldev/dev.to/pull/5427
2020-01-13 13:19:48 -06:00
Lucas Hiago
1ed6aca54a
Change Webhook::DestroyJob to Wehook::DestroyWorker and move to sidekiq ( #5424 ) [deploy]
2020-01-13 12:38:10 -06:00
Anna Buianova
851508f628
Fix a bug when user tries to delete an account while not having an email ( #5486 )
...
* Ask user to add email when deleting [WIP]
* Ask to provide an email before requesting account deletion
* Additional checks to make sure that user won't be deleted w/o an email
* Revert changes on confirm destroy view
2020-01-13 08:34:37 -05: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
150e31bbf0
Add oauth to list of skipped paths for service workers ( #5441 )
...
* Add oauth to list of skipped paths for service workers
* Fix comment
2020-01-10 13:41:10 -05: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
serena
00fd2f4518
Remove Unused NewBadgeAchievementJob ( #5437 )
2020-01-10 10:07:36 -06:00
Lucas Hiago
9ddc02cd14
Remove password verification ( #5304 )
2020-01-10 10:45:18 -05:00
Mukesh Chaudhary
d479a77aab
Remove New Reaction Job and Spec ( #5422 ) [deploy]
2020-01-10 08:44:23 -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
Michael Kohl
47c77dbee9
Fix typo ( #5428 )
2020-01-10 08:42:22 -05:00
Jacob Herrington
0fd8172f86
Resize textarea to fill parent ( #5420 )
2020-01-10 08:38:46 -05:00
Alain Mauri
c013079359
Move Classified Listing Cache Buster to Sidekiq ( #5408 ) [deploy]
...
* Created the worker to bust cache for classified listings
* Created the related tests
* Removed the old job
2020-01-09 17:23:23 -05:00
Lucas Hiago
a86371e772
Remove TouchJob and do it Inline ( #5410 )
2020-01-09 17:22:09 -05:00
Jacob Herrington
2a8b133d82
Remove call to publish method on non-articles ( #5418 ) [deploy]
2020-01-09 12:07:39 -05:00
leewynne
fcc6cfb72f
Updated application_helper.rb with Cloudinary env variable to fix images on stand alone platform. ( #5374 ) [deploy]
2020-01-09 11:50:16 -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
rhymes
7dd2ae9fe0
Remove notifiable access from articles and comments notifications ( #5415 ) [deploy]
...
* Add created_at to comment notification data
* Remove notifiable usage from notifications partials
* Fix typo
2020-01-09 10:19:45 -05:00
Jacob Herrington
41c3164553
Skip negative reactions for unpublished content ( #5392 ) [deploy]
...
If content is unpublished it shouldn't be immediately necessary for
negative reactions to be acted on.
There is a higher touch solution here, but I'm not sure it's warranted.
2020-01-09 10:06:45 -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