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
dependabot-preview[bot]
cde25ec8d1
Bump husky from 4.0.7 to 4.0.10 ( #5593 )
2020-01-20 15:02:34 -05:00
Ben Halpern
ba6c70c2d2
[deploy] Raise not_found for spam-banished users ( #5586 )
...
* Raise not_found for banished users
* Move banished logic to decorator
2020-01-20 14:50:22 -05:00
rhymes
7cda85d644
Fix error handling bugs in stackexchange tag ( #5490 )
2020-01-20 14:43:25 -05:00
dependabot-preview[bot]
86c9e3df30
Bump oj from 3.10.0 to 3.10.1 ( #5600 )
2020-01-20 14:00:11 -05:00
dependabot-preview[bot]
46f9c58533
Bump faker from 2.10.0 to 2.10.1 ( #5603 ) [deploy]
...
Bumps [faker](https://github.com/faker-ruby/faker ) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/faker-ruby/faker/releases )
- [Changelog](https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faker-ruby/faker/commits )
2020-01-20 13:57:39 -05:00
Molly Struve
aa97725a0e
Fix Travis S3 Artifact AddOn ( #5610 )
2020-01-20 13:53:31 -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
Mukesh Chaudhary
3d14e2e6a6
Replace ProMemberships::PopulateHistoryJob with ProMemberships::PopulateHistoryWorker for Sidekiq 5305 ( #5584 )
2020-01-20 13:45:21 -05:00
dependabot-preview[bot]
2c8ee69b1a
Bump eslint-plugin-react from 7.17.0 to 7.18.0 ( #5595 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 13:31:38 -05:00
dependabot-preview[bot]
50a77de291
Bump rouge from 3.14.0 to 3.15.0 ( #5604 )
...
Bumps [rouge](https://github.com/rouge-ruby/rouge ) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases )
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rouge-ruby/rouge/compare/v3.14.0...v3.15.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 13:24:25 -05:00
rhymes
af302b511d
Remove git add from lint staged ( #5607 )
2020-01-20 11:34:32 -05:00
Lucas Hiago
fb5cb7005c
Change CreateJob to CreateWorker and move to sidekiq ( #5559 )
...
* Create new CreateWorker
* Create new spec for CreateWorker
* Change CreateJob to CreateWorker and move to sidekiq
* Update worker
* Update priority of Reactions Create Worker
* Remove leading spaces from spec
2020-01-20 11:29:13 -05:00
Michael Kohl
511f7418dd
Refactor RateLimitChecker ( #5521 )
2020-01-20 11:27:54 -05:00
dependabot-preview[bot]
fe50cd7de8
Bump dogstatsd-ruby from 4.5.0 to 4.6.0 ( #5599 ) [deploy]
...
Bumps [dogstatsd-ruby](https://github.com/DataDog/dogstatsd-ruby ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/DataDog/dogstatsd-ruby/releases )
- [Changelog](https://github.com/DataDog/dogstatsd-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/DataDog/dogstatsd-ruby/compare/v4.5.0...v4.6.0 )
2020-01-20 09:34:23 -05:00
Alex
29af0b240a
Remove NewFollowerJob and spec ( #5569 ) [deploy]
...
* Remove NewFollowerJob and spec
* Remove NewFollowerJob from notification_spec
2020-01-20 08:27:33 -05:00
dependabot-preview[bot]
7551cfbd45
Bump webmock from 3.7.6 to 3.8.0 ( #5605 )
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.7.6 to 3.8.0.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.7.6...v3.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:26:35 -05:00
dependabot-preview[bot]
5acc4c45a2
Bump parallel_tests from 2.30.0 to 2.30.1 ( #5597 ) [deploy]
2020-01-20 08:26:22 -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
dependabot-preview[bot]
9ea9952749
Bump derailed_benchmarks from 1.5.0 to 1.6.0 ( #5602 )
...
Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases )
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md )
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.5.0...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:17:38 -05:00
dependabot-preview[bot]
e19831b61d
Bump cloudinary from 1.13.1 to 1.13.2 ( #5601 )
...
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_gem ) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/cloudinary/cloudinary_gem/releases )
- [Changelog](https://github.com/cloudinary/cloudinary_gem/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cloudinary/cloudinary_gem/compare/1.13.1...1.13.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:16:23 -05:00
dependabot-preview[bot]
194272ec82
Bump gibbon from 3.3.1 to 3.3.2 ( #5598 )
...
Bumps [gibbon](https://github.com/amro/gibbon ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/amro/gibbon/releases )
- [Changelog](https://github.com/amro/gibbon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/amro/gibbon/compare/v3.3.1...v3.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:16:05 -05:00
dependabot-preview[bot]
57d2e5b8a8
Bump jest-axe from 3.2.0 to 3.3.0 ( #5594 )
...
Bumps [jest-axe](https://github.com/nickcolley/jest-axe ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases )
- [Changelog](https://github.com/nickcolley/jest-axe/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nickcolley/jest-axe/compare/v3.2.0...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:15:49 -05:00
dependabot-preview[bot]
8a853aa44f
Bump lint-staged from 9.5.0 to 10.0.0 ( #5592 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 9.5.0 to 10.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v9.5.0...v10.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:14:20 -05:00
Ben Halpern
8a403eba46
Bump assets version ( #5587 )
2020-01-20 08:13:58 -05:00
Ben Halpern
9fa5d3156a
Add article.comment_score metric calc and tracking ( #5560 ) [deploy]
...
* Add article.comment_score metric calc and tracking
* Change from gauge to count
* Adjust key and tags
2020-01-19 15:21:19 -05:00
Ben Halpern
24246015bc
Move Chart.js to dynamic import ( #5576 ) [deploy]
2020-01-18 20:46:35 -05:00
Ben Halpern
46a0742d85
Remove flaky edit button spec ( #5579 )
2020-01-18 20:32:21 -05:00
Ben Halpern
b3c3f5ab1f
Add onboarding sanetization ( #5575 ) [deploy]
2020-01-18 19:16:23 -05:00
Jacob Herrington
07bd2e90b5
Add eager loading based on Bullet ( #5552 ) [deploy]
2020-01-18 19:07:41 -05:00
Ben Halpern
7bd1d8afda
Change font size for search and message input ( #5572 ) [deploy]
2020-01-18 14:53:54 -05:00
Molly Struve
4f7697880c
Update travis's artifacts path ( #5568 )
2020-01-17 17:29:10 -05:00
Mike Coutermarsh
9f983e271c
Increase cache TTL for social preview images ( #5471 ) [deploy]
...
* Increase cache TTL for social preview images
These are expensive to generate + don't change often. We can have a long cache.
Ideally, they would never expire, and get auto evicted by redis when space fills up. But I don't think a `nil` ttl is possible when a default
is set in the Rails config (see production.rb).
So I set it to a real long value. + test to guard against it accidently being changed.
* Try a cache expiration of 6.weeks as suggested by @mstruve in PR
2020-01-17 17:06:06 -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
80aa2d51cf
Remove migrated job to bust comment cache ( #5548 )
2020-01-17 14:21:39 -05:00
Jacob Herrington
a1968f926d
Add guide for Ransack to docs [ci skip] ( #5554 )
2020-01-17 14:02:05 -05:00
Alain Mauri
6f0f64ba6a
Remove Mentions create all job ( #5550 ) [deploy]
2020-01-17 13:59:27 -05:00
Molly Struve
28c2bafca4
Disable Beeline on Schedulers and in Console ( #5561 )
2020-01-17 13:56:59 -05:00
Molly Struve
ffba283b67
Only setup StrongMigrations in dev or test ( #5562 ) [deploy]
2020-01-17 11:45:05 -05:00
Lucas Hiago
e5a6d7573f
Remove old Notifications::RemoveAllJob ( #5547 ) [deploy]
2020-01-17 11:18:36 -05:00
Michael Kohl
9ef1ae512b
Add strong_migrations gem ( #5522 )
...
* Add strong_migrations gem
* Incorporate PR feedback
* Move gem to group :development, :test
2020-01-17 09:45:44 -05:00
Anna Buianova
245550a10b
Improved BadgeRewarder ( #5525 )
...
* Improved BadgeRewarder
* Replaced find_by with find_by! in BadgeRewarder to be aware of missing badges
* Fixed and organized BadgeRewarder specs
* Use let instead of let! in BadgeRewarder tests where needed
2020-01-17 09:18:19 -05:00
Ben Halpern
477f5af8eb
Send past week aggregate x day active user data to datadog ( #5553 ) [deploy]
...
* Initial days active work
* Add active users count to datadog
2020-01-17 08:52:38 -05:00
ludwiczakpawel
815a95e85d
Adding info about disappearing tokens ( #5523 )
...
* adding info about disappearing tokens
* fixing copy + numbering issue
2020-01-17 08:46:55 -05:00
rhymes
1bc0469b2d
Add article's record key to Fastly Surrogate-Key to separate caches ( #5543 )
...
* Add article's record key to Fastly Surrogate-Key to separate caches
After #4744 we successfully setup an auto purging system based on Fastly's surrogate key based cache and purging API.
Unfortunately this worked only in the `:show` action as comments are their own tree-based resource.
The `:index` though, is related to a single article, so without the article's record key in the `Surrogate-Key` header the first time we hit the API the result would become the value stored in Fastly's API, for all articles.
* Fix commentable mock for job spec
* Add comment.commentable.purge to the worker as well
* Add more thorough tests for commentable
2020-01-17 08:45:47 -05:00
Ben Halpern
4e41e4a2ac
Add more info to architecture.md doc ( #5541 )
2020-01-16 16:33:51 -05:00
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