Ibrahim Khan
73de48e370
Moved following_users_ids to Redis ( #4708 )
2019-11-04 17:04:46 -05:00
Tamas Fodor
76e099599b
Fix eslint lints in chat's jsx files ( #4302 ) [deploy]
2019-11-04 15:51:30 -05:00
Andy Zhao
85d8f52789
Hide a blocked user's content [deploy] ( #4678 )
...
* Hide blocked users' content appropriately
* Use RESTful create route
* Update functionality to block the user
* Fix specs for new route
* Use const instead of var
* Add noopener and noreferrer
* Remove caching for blocked user ids
* Add new rule for lack of noopener noreferrer
* Update snapshot
2019-11-04 14:47:26 -05:00
rhymes
027dbb027b
Return 401 instead of 500 when a channel is blocked ( #4721 )
2019-11-04 10:39:18 -05:00
Ibrahim Khan
f988cba9d8
Moved reading_list_ids_of_articles to Redis ( #4711 )
2019-11-04 10:15:06 -05:00
Ibrahim Khan
d4347bf3e3
Move article_flare_tag to Redis ( #4709 )
2019-11-04 10:13:38 -05:00
tariq-abughofa
40fddab7e2
Move cached_user_reactions-* keys to Redis ( #4696 )
2019-11-04 10:12:12 -05:00
tariq-abughofa
33a1330033
Move count_for_reactable-* keys to redis ( #4695 )
2019-11-04 10:11:47 -05:00
Mac Siri
27c67c8c57
Loosen Codeclimate's duplication rule ( #4722 )
2019-11-04 09:45:16 -05:00
tariq-abughofa
267ec36460
Move users' has_trusted_role keys to redis ( #4697 ) [deploy]
2019-11-04 13:12:19 +00:00
rhymes
0591362756
Use libhoney explicitly and group initializers ( #4699 ) [deploy]
...
* Use libhoney explicitly and group initializers
* Use Libhoney TestClient during tests
* Use test client for Honeycomb during tests as well
2019-11-04 11:55:04 +00:00
tariq-abughofa
5135804a60
Move ga daily_random_key to Redis ( #4694 )
2019-11-02 09:07:27 -04:00
Aurelio
c7e0ce0275
move has-pro-membership cache to redis ( #4691 )
2019-11-02 08:59:15 -04:00
Molly Struve
78f1eb2b11
Move moderator_for_tags Cache Key to Redis ( #4690 )
...
* Move moderator_for_tags cache key to Redis
* move delete commands for tag moderator list to Redis as well
2019-11-02 08:57:28 -04:00
Molly Struve
faaf6e35f1
Create custom HoneycombClient ( #4692 ) [deploy]
2019-11-01 17:11:57 -04:00
Morgan Adams
c986e02044
fix 'Contact via Connect' checkbox to be checkable ( #4617 )
2019-11-01 16:50:23 -04:00
Molly Struve
fd11d17973
Remove cacheing for preferred_languages_array ( #4689 )
2019-11-01 16:15:59 -04:00
Ben Halpern
5ab15f6861
Add guard for block button presence and add theming of profile dropdown ( #4688 )
2019-11-01 16:12:25 -04:00
Molly Struve
ee99b2e613
Move cached_following_organizations_ids to Redis ( #4685 )
2019-11-01 14:31:28 -04:00
Molly Struve
760bae49c5
Move cached_following_podcasts_ids to Redis ( #4684 )
2019-11-01 13:45:00 -04:00
Molly Struve
00e3ee811b
Use ActiveSupport::Cache::RedisCacheStore As RedisRailsCache ( #4676 ) [deploy]
2019-11-01 12:19:12 -04:00
Mac Siri
caf54a70d0
Add proper deployment condition ( #4679 )
2019-11-01 12:14:32 -04:00
Mohab Abd El-Dayem
2c80e9da42
Make The Default Email An Enviroment Variable. ( #4677 )
...
* Make the default email an enviroment variable
* Added spaces in Envfile for readability
2019-11-01 09:03:06 -04:00
Emilia Muresan
f2ce926653
#4663 : Adds border styling for homepage search-bar on focus ( #4668 )
2019-10-31 17:32:11 -04:00
Nadiya Karachevska
06d2fa24f5
Add ability to set favicon through environment variable ( #4665 )
2019-10-31 15:34:28 -04:00
Dhananjay
81b171efa8
Fix Lints in initializeBaseUserData ( #4612 ) [ci skip]
2019-10-31 14:44:34 -04:00
Molly Struve
cbc85100e3
Create RedisRailsCache Object to Mimic Rails.cache And Apply ( #4667 )
...
* Create RedisRailsCache object to mimic Rails.cache
* Do not use prefix _ for a variable that is used
* dont shadow outer local variable
2019-10-31 12:12:21 -04:00
Nadiya Karachevska
24a02fd695
Change SimpleCov to be on by default ( #4666 ) [ci skip]
2019-10-31 11:18:32 -04:00
Huynh Tan
b6a731276e
Fix answers from other stackexchange sites have the wrong link ( #4615 ) [ci skip]
2019-10-30 15:01:29 -04:00
garethx
fba9446e17
Update _codesandbox.html.erb ( #4575 ) [ci skip]
...
* Update _codesandbox.html.erb
Adding 'allow-popups' to enable 'open sandbox' and link buttons to work, so folks can open the sandbox in a new tab.
* Update app/views/liquids/_codesandbox.html.erb
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
2019-10-30 14:44:59 -04:00
Ahmad Mahmoud
d3dfc70f5a
Fix lint errors in pulltorefresh.js ( #4594 ) [ci skip]
2019-10-30 14:21:09 -04:00
Jenna Pederson
77270290da
Use named function so duplicate event handlers are discarded ( #4655 ) [ci skip]
2019-10-30 13:26:14 -04:00
rhymes
75f1d142fe
Add focus styling to SAVE button ( #4664 ) [ci skip]
2019-10-30 13:14:45 -04:00
Brad Pauly
b59aba415d
ArticlesController#feed refactor ( #4498 )
...
* Move query details into model.
Reorganize filtering initial results by params.
* Fixups from feedback.
2019-10-30 12:35:53 -04:00
WenYu
b162e8b848
Refactor app/services/notifications/new_comment#send ( #4642 )
2019-10-30 12:21:56 -04:00
dependabot-preview[bot]
574aecf0e5
Bump factory_bot_rails from 4.11.1 to 5.1.1 ( #4631 )
...
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails ) from 4.11.1 to 5.1.1.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases )
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS.md )
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.11.1...v5.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 12:08:09 -04:00
Molly Struve
dc72b4f1fa
Add Honeycomb beeline gem for monitoring and observability ( #4649 )
2019-10-30 12:02:31 -04:00
Omar Bahareth
41463a7264
Deduplicate giphy_img? function and add tests ( #4590 )
...
* De-duplicate giphy_img? function in favor of a tested service.
Add a tested `GiphyService` and move `giphy_img?` function to it.
Make `labor/markdown_parser.rb` and `models/html_variant.rb` use the service version of the function.
* Refactor GiphyService into Giphy::Image class
Based on comments from @rhymes, I've changed this into a `Giphy::Image` class sincethe repo is currently being moved away from `XYZService` objects for namespacing and organization purposes.
* Fix typo
Update describe case to mention the current method name.
2019-10-30 11:40:17 -04:00
Cameron Yick
a4750005cb
[offline] Add Paul Tol Color Palette #3448 ( #4186 )
2019-10-30 11:29:33 -04:00
rhymes
36d1df7f49
Routine rubocop lint fixes ( #4638 ) [ci skip]
2019-10-30 10:46:57 -04:00
Molly Struve
fd3d87c759
Select path when loading buffered article urls ( #4651 ) [ci skip]
2019-10-30 10:37:22 -04:00
Molly Struve
095df7df27
Increase STATEMENT_TIMEOUT when running migrations ( #4648 ) [ci skip]
2019-10-30 10:34:51 -04:00
Molly Struve
69e35dc1b3
Add Redis gem and Create RedisClient ( #4582 )
...
* Add redis gem and client
* use keyword arguments in redis initializer
* check for REDISCLOUD_URL and fallback on REDIS_URL when connecting to redis
* dont parse Redis url in initializer
2019-10-30 10:32:59 -04:00
Andy Stabler
198efec024
Refactor collection spec ( #4597 ) [ci skip]
2019-10-30 10:32:41 -04:00
Julianna Tetreault
e9eb085ee7
Update CONTRIBUTING.md ( #4654 ) [ci skip]
2019-10-30 10:25:02 -04:00
dependabot-preview[bot]
e5d14492e1
Bump aws-sdk-lambda from 1.30.0 to 1.31.0 ( #4635 )
...
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby ) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-lambda/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/1.30.0...1.31.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 09:50:43 -04:00
Ben Halpern
ec6d66018f
Add some html to internal articles and new internal view ( #4636 )
...
* Add some html to internal articles and new internal view
* Add check for article existence for buffer updates
* Change arrays to unions
2019-10-28 19:09:24 -04:00
Molly Struve
bb55efb775
Add index to feed source url column on articles ( #4595 )
2019-10-28 16:32:19 -04:00
Molly Struve
da45790e2e
Add guard clause to migration to check for index before attempting to add or remove it ( #4644 )
2019-10-28 15:27:31 -04:00
dependabot-preview[bot]
b1899b7e2e
Bump chart.js from 2.8.0 to 2.9.1 ( #4627 ) [ci skip]
...
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.8.0...v2.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 14:14:11 -04:00