rhymes
ee8fd7cbc2
Clear Sidekiq jobs between tests ( #5324 )
2020-01-01 13:39:18 -05:00
Molly Struve
545ffc9b13
Fix flaky delete spec by setting timestamp in the future and Decrease Notification Counts ( #5321 ) [deploy]
2019-12-31 16:26:07 -05:00
Molly Struve
e300f7770d
Dont run datadog agent on scheduler dynos ( #5319 ) [deploy]
2019-12-31 15:47:20 -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
Molly Struve
8aa9eb3534
Use match_array instead of eq to ignore ordering ( #5308 )
2019-12-30 15:38:55 -05:00
Robin
d7174923a2
Git scripts to sync or reset repository fork ( #5055 )
...
* Add script to clean / reset the fork and start from upstream
* Add script to sync fork with latest changes from upstream
* Remove swap file accidentially checked in
* Add exit on break to shell scripts and documentation of shell scripts to workflow-suggested workflow
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2019-12-30 13:58:16 -05:00
Anna Buianova
3a91d05835
Add another check to the function caller to avoid exceptions ( #5296 )
2019-12-30 13:56:04 -05:00
Molly Struve
2282963c97
Update CODEOWNERS ( #5306 ) [ci skip]
...
Make jobs and worker files for SRE
2019-12-30 13:30:35 -05:00
dependabot-preview[bot]
94164d63a6
Bump google-api-client from 0.36.2 to 0.36.3 ( #5289 ) [deploy]
2019-12-30 13:02:41 -05:00
dependabot-preview[bot]
371c0b5181
Bump sitemap_generator from 6.0.2 to 6.1.0 ( #5290 )
2019-12-30 13:02:12 -05:00
dependabot-preview[bot]
f6506a71c4
Bump rails from 5.2.4 to 5.2.4.1 ( #5285 ) [deploy]
2019-12-30 12:34:46 -05:00
rhymes
258b55e5b0
Optimize (some) jobs specs and Jobs ( #5301 ) [deploy]
2019-12-30 11:25:33 -06:00
dependabot-preview[bot]
277c496d4c
Bump eslint-config-prettier from 6.7.0 to 6.9.0 ( #5284 )
2019-12-30 12:10:13 -05:00
Molly Struve
6a6fd949b7
setup sidekiq queues for different priority jobs ( #5300 ) [deploy]
2019-12-30 10:16:52 -06:00
Molly Struve
45b156be86
add Sidekiq monitoring for Datadog and Honeybadger ( #5270 )
2019-12-30 10:16:25 -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
rhymes
1aee4202d8
Switch external redis_store to Rails supported redis_cache_store ( #5282 )
...
`redis_store` was initially introduced to switch sessions from the cookie store to Redis in https://github.com/thepracticaldev/dev.to/pull/4004 . When we introduced a dual cache store in https://github.com/thepracticaldev/dev.to/pull/4991 we forgot to use the builtin Rails cache store - [ActiveSupport::Cache::RedisCacheStore](https://guides.rubyonrails.org/caching_with_rails.html#activesupport-cache-rediscachestore ) - and instead kept using the external [ActiveSupport::Cache::RedisStore] which comes from the `redis-activesupport` gem included by `redis-rails`.
The gem `redis-activesupport` contains this disclaimer:
> Rails 5.2.0 includes a Redis cache store out of the box, so you don't really need this anymore if you're generating a new Rails application. We are no longer accepting new features for this gem, only pull requests for security and compatibility fixes will be accepted.
Other reasons to use the Rails builtin cache store, other than being supported and developed are the following:
- supports and uses `hiredis` as a client if installed:
22483b86a6/activesupport/lib/active_support/cache/redis_cache_store.rb (L12-L14)
- supports compressions for keys over 1kb (that can be configured)
- is evolved with Rails itself
2019-12-30 10:34:20 -05:00
dependabot-preview[bot]
d213cbf0a6
Bump jest-fetch-mock from 3.0.0 to 3.0.1 ( #5283 )
2019-12-30 10:22:48 -05:00
dependabot-preview[bot]
7c74bf59de
Bump activerecord-import from 1.0.3 to 1.0.4 ( #5291 )
2019-12-30 10:22:03 -05:00
dependabot-preview[bot]
f2e855f0f7
Bump rubocop-rails from 2.4.0 to 2.4.1 ( #5293 )
2019-12-30 10:02:05 -05:00
dependabot-preview[bot]
4c54038419
Bump ddtrace from 0.25.1 to 0.30.0 ( #5286 ) [deploy]
...
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb ) from 0.25.1 to 0.30.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases )
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.25.1...v0.30.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 09:01:53 -06:00
dependabot-preview[bot]
e04fa0fb70
Bump rubocop-performance from 1.5.1 to 1.5.2 ( #5287 )
2019-12-30 10:01:22 -05:00
dependabot-preview[bot]
bc0dc101f7
Bump bullet from 6.0.2 to 6.1.0 ( #5292 )
2019-12-30 10:00:51 -05:00
dependabot-preview[bot]
9bd673ad79
Bump webdrivers from 4.1.3 to 4.2.0 ( #5288 )
2019-12-30 10:00:19 -05:00
rhymes
4a52f7a13c
Add missing info for gems in Gemfile ( #5273 )
2019-12-30 09:54:34 -05:00
Molly Struve
9ab150daac
Change RateLimitCheckerJob to RateLimitCheckerWorker and move to sidekiq ( #5269 ) [deploy]
2019-12-27 16:09:25 -06:00
Molly Struve
2470355e89
Implement Datadog tracing agent and APM ( #5107 ) [deploy]
...
* Implement Datadog tracing agent and APM
* if I had a nickle....
* more double quoted strings and rubocop fixes
* put gems in the right order
* Remove skylight to prevent initializer collisions with Datadog which cause infinite loops
* remove skylight config files
2019-12-27 15:49:05 -05:00
Mac Siri
2b16f07d9e
Revert " #5226 Unescape page title. ( #5246 )" ( #5267 )
...
This reverts commit 2312d2e301 .
2019-12-27 15:48:33 -05:00
Molly Struve
39033e33d9
Flaky Spec Fix: Ensure submit requests finish before checking status of user ( #5265 )
2019-12-27 14:47:08 -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
11689929ef
Disable Sidekiq web sessions to make it work with Redis sessions ( #5266 ) [deploy]
2019-12-27 12:04:50 -06:00
rhymes
d015fb7c85
Remove search keywords ( #5259 ) [deploy]
2019-12-27 12:40:20 -05:00
Molly Struve
660852b711
record counts for important db tables to help track growth ( #5253 ) [deploy]
2019-12-27 11:29:47 -05:00
Molly Struve
f527f2ca3f
ensure that article tag_list always has more than 3 tags by stubbing the method ( #5263 )
2019-12-27 10:04:21 -06: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
dbaf37e712
Create less data for fast_destroy_old_notifications spec ( #5256 ) [deploy]
2019-12-27 09:55:42 -06: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
2e661809b6
Introduce Sidekiq For Background Jobs ( #5252 )
...
* Introduce Sidekiq to the app and update RateLimitCheckerJob to use it
* fix rate limit checker spec with new sidekiq syntax
* add Sidekiq to tech stack overview
* Remove RateLimitChecker job change, add sidekiq web UI and testing support
2019-12-27 10:39:48 -05:00
rhymes
fa9acf2073
Fix deprecation for not_to raise_error ( #5257 )
2019-12-27 09:00:09 -06:00
rhymes
d1383ffdb6
Rename Metrics/LineLength to Layout/LineLength ( #5255 )
2019-12-27 08:58:35 -06:00
Molly Struve
1ac9a2d7bd
add index to created_at for notifications ( #5251 ) [deploy]
2019-12-27 08:57:40 -06:00