serena
caa1738b16
delete unused mention job, update spec with helper ( #5349 ) [deploy]
2020-01-03 14:08:47 -05:00
Pablo Ifrán
5e9376e955
Remove old create first reaction job ( #5347 ) [deploy]
...
This job was replaced by the worker with the same name as the suffix
Worker instead of Job, it was kept to run the existing jobs before it
can be fully removed
2020-01-03 12:40:48 -05:00
Molly Struve
cb48e431d2
Correctly define token error in helper module ( #5337 )
2020-01-03 12:39:57 -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
Molly Struve
c64bfdb652
Handle missing commentable for user_is_commentable_author? check ( #5336 ) [deploy]
2020-01-02 18:06:05 -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
Molly Struve
c1638cfd33
Create UpdateAnalyticsWorker to replace UpdateAnalyticsJob ( #5331 )
2020-01-02 13:05:12 -05:00
rhymes
040b36bceb
Fix event propagation for click on tag rules in editor ( #5280 ) [deploy]
2020-01-02 13:04:16 -05:00
Aaron Moat
ba230ecab6
Allow language-xxx class detection on pre tags in ReverseMarkdown ( #5299 )
...
* Allow language-xxx class detection on pre tags in ReverseMarkdown
Solves thepracticaldev/dev.to#5298
* Remove comment
2020-01-02 11:23:44 -05:00
serena
51df32552c
Change MentionJob to MentionWorker and move to sidekiq ( #5312 ) [deploy]
2020-01-02 07:57:08 -05:00
Molly Struve
6067edf20e
remove old Articles::BustCacheJob ( #5320 ) [deploy]
2020-01-02 07:26:51 -05:00
Molly Struve
36cf0a6976
Handle unfound github repo in API ( #5316 ) [deploy]
2019-12-31 14:42:45 -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
df796f7e07
Cache data on /mod ( #5315 ) [deploy]
2019-12-31 10:18:55 -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
rhymes
5cf1134d5e
Nokogiri::HTML should receive the body, not the response object ( #5297 )
2019-12-31 08:46:49 -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
Anna Buianova
3a91d05835
Add another check to the function caller to avoid exceptions ( #5296 )
2019-12-30 13:56:04 -05:00
rhymes
258b55e5b0
Optimize (some) jobs specs and Jobs ( #5301 ) [deploy]
2019-12-30 11:25:33 -06:00
John Curcio
9973d5a7fc
Add theme selector to user settings ( #5121 )
2019-12-30 10:53:47 -05:00
Lucas Hiago
fde0cb26b6
Refactor method in users_controller.rb ( #5108 ) [deploy]
...
* Refactor method in users_controller.rb
* Create methods to return the params
* Add specs for admin/users_controller
* Change params methods
* Delete spec for admin/user controller
2019-12-30 10:35:06 -05:00
Molly Struve
9ab150daac
Change RateLimitCheckerJob to RateLimitCheckerWorker and move to sidekiq ( #5269 ) [deploy]
2019-12-27 16:09:25 -06:00
Mac Siri
2b16f07d9e
Revert " #5226 Unescape page title. ( #5246 )" ( #5267 )
...
This reverts commit 2312d2e301 .
2019-12-27 15:48:33 -05:00
rhymes
09e5ad5c0c
Remove PushNotificationSubscription ( #5258 ) [deploy]
2019-12-27 13:45:38 -06:00
Molly Struve
c9fea65ed8
check if an organization is present when creating a reaction ( #5264 ) [deploy]
2019-12-27 13:12:12 -06:00
rhymes
d015fb7c85
Remove search keywords ( #5259 ) [deploy]
2019-12-27 12:40:20 -05:00
Ben Halpern
7a867d6133
Add canonical url to posts even if internal nav ( #5227 ) [deploy]
...
* Add canonical url to posts even if internal nav
* Render to meta if not internal
2019-12-27 10:58:23 -05:00
Temuri Takalandze
2312d2e301
#5226 Unescape page title. ( #5246 )
...
* #5226 Unescape page title.
* #5226 Unescape or statement in title.
2019-12-27 10:57:31 -05:00
rhymes
b45f35d044
Ignore delayed job and sidekiq dashboards ( #5262 )
2019-12-27 10:48:51 -05:00
Dinesh
420b42e656
Added title attribute for Badges ( #5201 )
2019-12-27 10:40:29 -05:00
Molly Struve
2415392da5
Return a 401 Response when Github creds are bad via the API ( #5249 ) [deploy]
2019-12-26 14:51:36 -06:00
dependabot-preview[bot]
b5db5b19a9
Bump jest-fetch-mock from 2.1.2 to 3.0.0 ( #5207 )
2019-12-26 15:29:06 -05:00
Molly Struve
f86f93bc8a
Create rake Task to Destroy Old Notifications ( #5180 ) [deploy]
2019-12-26 13:17:34 -06:00
Keith Bennett
3c980e7b83
Fix long line lints ( #5062 )
2019-12-26 13:24:24 -05:00
Molly Struve
faa4325c1f
Only Update page_views When They Are Valid (ie created) ( #5195 ) [deploy]
2019-12-26 11:28:18 -06:00
Anna Buianova
7ef0d043e0
Handle a case when lambda client returns an empty result ( #5248 )
2019-12-26 11:50:34 -05:00
rhymes
76faceecbe
Fix flaky Notifications::NewFollower::Send spec ( #5236 )
...
* Smarter follow detection
* Fix creation order
* Fix stop following use case and add comments
2019-12-26 11:49:18 -05:00
Molly Struve
fb17d0e079
fix title_with_timeframe to handle invalid timeframe and update rake task to not use return ( #5241 ) [deploy]
2019-12-26 08:43:46 -06:00
Molly Struve
448adfdd23
Use ApiController for ChatChannels and return not_found error if channel cant be accessed by user ( #5194 ) [deploy]
2019-12-24 13:12:29 -05:00
rhymes
2d6df70dea
Return an empty result set instead of 404 in case users are not available. ( #5238 )
...
A common response in collection endpoint with REST APIs is to return an empty result set when the requested params end up in an empty result. The reason for this is that the resource itself exists (the collection always exists), it just is empty.
See https://github.com/thepracticaldev/dev.to/pull/5192
2019-12-24 13:08:10 -05:00
Ben Halpern
771fa5b782
Final fixes to /mod ( #5234 ) [deploy]
2019-12-23 20:12:14 -05:00
Ben Halpern
c70042655f
Fix off by one for nth_published_by_author ( #5233 ) [deploy]
2019-12-23 19:59:30 -05:00
Ben Halpern
4a1819f1e6
Fix off-by-one in nth_published_by_author ( #5232 ) [deploy]
2019-12-23 19:38:20 -05:00
Molly Struve
36efb1b7bb
Show count of users followed from API ( #5229 ) [deploy]
2019-12-23 18:20:39 -05:00
Dan Silcox
e98d3cb7be
Fix check for whether shell has changed ( #5176 )
...
Previously shell_top was being checked twice - now we check top + bottom :)
2019-12-23 18:19:50 -05:00
Ben Halpern
03c2404b13
Redo /mod for performance and usability ( #5230 ) [deploy]
2019-12-23 18:10:25 -05:00
rhymes
d6a0ccb721
Routine Rubocop fixes ( #5224 )
2019-12-23 14:47:10 -05:00
Mike Coutermarsh
3128c17fab
Improve twitter card caching ( #5206 ) [deploy]
...
* update test so it fails from badge randomness
* Better caching
This removes the randomness from the views. Which means the cache keys
won't get regenerated every request.
The badges will still be in random positions, but it will change per
user/article rather than every render.
2019-12-23 12:22:38 -05:00