Commit graph

4247 commits

Author SHA1 Message Date
Alex
da259107bd
Refactor logic to index to Elasticsearch (#6286) [deploy]
* Refactor logic to index to Elasticsearch

* Rename worker argument to object_class

* Change to .constantize for better error messaging
2020-02-25 11:06:42 -08:00
Alex
8f7d7cabbb
Add DataDog monitors (#6188)
* Record invalid_uri in CacheBuster to Datadog

* Add Stripe DataDog tracking

* Update Datadog

* Change DataDog to Datadog

* Fix specs

* Add tags to stripe.errors

* Update Stripe tags in controller for Datadog

* Fix typo

* Update Datadog tags to distinguish card

* Add path tag
2020-02-25 11:06:25 -08:00
rhymes
58f91d2b16
Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
Spencer
010c61a44a
Allow comments without a commentable to be edited and destroyed (#5945) 2020-02-25 13:45:50 -05:00
rhymes
33a11adca8
Various optimizations (#6249) [deploy]
* Pluck over map
* Explain why map makes sense there
* Refactor reactions controller a bit and iterate only once
* Use group by instead of N counting queries
* More positive
* Simplify BufferedArticlesController
* Less queries for MailchimpBot
* Use Rails instead of SQL
* Build comment_ids only when needed
2020-02-25 13:42:24 -05:00
rhymes
cf11268949
Add logging to data scripts runner (#6201) 2020-02-25 13:41:43 -05:00
Molly Struve
607d8d71de
Add index missing check to podcast migration (#6292) [deploy] 2020-02-25 12:29:19 -05:00
ludwiczakpawel
5b37ffe267
Fixing contrast on Organization pill in Dashboard (#6288)
* fixing contrast on org pill

* well... actually this is a fix...
2020-02-25 10:21:50 -05:00
rhymes
fd1c13c7b6
API listings: improve caching (#6247) 2020-02-25 09:24:19 -05:00
rhymes
956334cf1f
Add indexes to PodcastEpisode.title and .website_url (#6280) [deploy] 2020-02-25 08:36:05 -05:00
Outvi V
2452f1564b
ALLOWED_MASTODON_INSTANCES: Add moe.cat (#6289) 2020-02-25 08:34:49 -05:00
Gonzalo Ricco
0b03240e5b
Add rescue InvalidURIError in mastodon_url validation (#6174) [deploy] 2020-02-24 19:13:40 -05:00
Matej Minárik
89dd843a50
Fix Flaky Comment Spec (#6250) 2020-02-24 18:48:45 -05:00
rhymes
c3e7179f5b
Bump to sprockets 4.0.0 (#6172) [deploy]
* Bump to sprocket 4.0.0

* Add manifest.js

* Link internal/layout.css

* Make it more similar to Rails 5.2 default
2020-02-24 18:16:08 -05:00
dependabot-preview[bot]
f54153d334
Bump codemirror from 5.51.0 to 5.52.0 (#6268) 2020-02-24 18:14:45 -05:00
dependabot-preview[bot]
40290a633c
Bump twilio-video from 2.1.0 to 2.2.0 (#6272) 2020-02-24 18:14:13 -05:00
Matej Minárik
e9a0efbbf2
Fix broken StoriesController#show article with bad chars (#6248) [deploy] 2020-02-24 13:41:06 -05:00
rhymes
3e8e7fb093
Add troubleshooting section to docs and restore hidden sections (#6231) 2020-02-24 13:37:52 -05:00
Ben Halpern
6bcfa73412
Fix algolia paginate issue and other feed problems (#6281) [deploy]
* Fix algolia paginate issue and other feed problems

* Remove unnecessary limit
2020-02-24 13:14:50 -05:00
rhymes
a5588ae430
Enable strong-migrations in all environments (#6279) [deploy]
* Enable strong-migrations in production
* Disable environment checks in initializers
* Remove misleading description
2020-02-24 11:12:49 -05:00
dependabot-preview[bot]
21234273b7
Bump ruby-prof from 1.2.0 to 1.3.0 (#6265)
Bumps [ruby-prof](https://github.com/ruby-prof/ruby-prof) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/ruby-prof/ruby-prof/releases)
- [Changelog](https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES)
- [Commits](https://github.com/ruby-prof/ruby-prof/compare/1.2.0...1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 11:12:24 -05:00
dependabot-preview[bot]
6907aef386
Bump aws-sdk-lambda from 1.35.0 to 1.36.0 (#6270)
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby) from 1.35.0 to 1.36.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/v1.35.0...v1.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 11:12:05 -05:00
Nick Taylor
689b933a2e
Upgraded all Storybook dependencies. (#6278) 2020-02-24 08:55:28 -06:00
Molly Struve
fad4a1172d
remove reference to strong migrations from migration that will run in prod (#6277) [deploy] 2020-02-24 09:29:29 -05:00
cyrillefr
91c56cc961
Excludes styles from (future) erb lintings (#6244)
- though linting is still disabled for now.
2020-02-24 08:11:48 -06:00
dependabot-preview[bot]
0ed64a928e
Bump google-api-client from 0.37.0 to 0.37.1 (#6263)
Bumps [google-api-client](https://github.com/google/google-api-ruby-client) from 0.37.0 to 0.37.1.
- [Release notes](https://github.com/google/google-api-ruby-client/releases)
- [Changelog](https://github.com/googleapis/google-api-ruby-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/google-api-ruby-client/compare/0.37.0...0.37.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 09:04:01 -05:00
dependabot-preview[bot]
b689e9c343
Bump honeybadger-js from 2.1.2 to 2.1.3 (#6266)
Bumps [honeybadger-js](https://github.com/honeybadger-io/honeybadger-js) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/honeybadger-io/honeybadger-js/releases)
- [Changelog](https://github.com/honeybadger-io/honeybadger-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/honeybadger-io/honeybadger-js/compare/v2.1.2...v2.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 09:03:47 -05:00
dependabot-preview[bot]
9c2d33c91a
Bump algoliasearch-rails from 1.23.2 to 1.24.0 (#6269)
Bumps [algoliasearch-rails](https://github.com/algolia/algoliasearch-rails) from 1.23.2 to 1.24.0.
- [Release notes](https://github.com/algolia/algoliasearch-rails/releases)
- [Changelog](https://github.com/algolia/algoliasearch-rails/blob/master/ChangeLog)
- [Commits](https://github.com/algolia/algoliasearch-rails/compare/1.23.2...1.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 09:03:31 -05:00
dependabot-preview[bot]
653806f359
Bump httparty from 0.17.3 to 0.18.0 (#6273)
Bumps [httparty](https://github.com/jnunemaker/httparty) from 0.17.3 to 0.18.0.
- [Release notes](https://github.com/jnunemaker/httparty/releases)
- [Changelog](https://github.com/jnunemaker/httparty/blob/master/Changelog.md)
- [Commits](https://github.com/jnunemaker/httparty/compare/v0.17.3...v0.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 09:03:13 -05:00
rhymes
168f5c597c
Bump Twitter to 7.0 and refactor TwitterBot (#6246) [deploy] 2020-02-24 08:34:41 -05:00
rhymes
7744973dd9
Remove User.organization_id (#6242) 2020-02-24 08:34:17 -05:00
rhymes
aa5f4b8d85
Remove leftover Stripe subscriptions code (#6243) 2020-02-24 08:33:36 -05:00
Josh Puetz
98a2aaf0ce
Cloudify article main images in feed (#6233) [deploy]
* Cloudify article main images

* Removed commented line
2020-02-21 15:42:34 -06:00
rhymes
9153f61ef8
Optionally log to stdout (#6230) 2020-02-21 13:56:39 -05:00
Michael Kohl
d13cbbb3c1
Change authorization to signed in users (#6136) [deploy] 2020-02-21 13:53:30 -05:00
rhymes
8c7aa2e494
Rename DataDog to Datadog (#6226) 2020-02-21 12:00:30 -05:00
Molly Struve
5f50561d82
Backend ChatChannelMembership Search using Elasticsearch (#6217) [deploy] 2020-02-21 10:25:38 -05:00
Michael Kohl
c9b641928f
Clean up chat channels when deleting users (#6225) 2020-02-21 09:59:22 -05:00
rhymes
207621f739
Ignore User.organization_id (#6203)
* Ignore User.organization_id

* Fix specs that are still using organization_id
2020-02-21 09:51:49 -05:00
Josh Puetz
e836ccb94f
Fix nil organizations in home page feed endpoint (#6223) [deploy]
* wip

* Fix up test

* Reverted accidental change to seeds.rb

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-02-21 08:36:15 -06:00
Molly Struve
d13a790b5d
Rails.logger in mailchimp bot (#6229) [deploy] 2020-02-21 09:23:32 -05:00
Nick Schwaderer
a6d9390948
Ensure seeds.rb does not fail validation (#6210) 2020-02-21 09:03:29 -05:00
Molly Struve
318ee32cdd
Add worker for removing Elasticsearch docs (#6213) [deploy] 2020-02-21 08:13:36 -05:00
Jacob Herrington
a2b7415836
Fix some erblint complaints (#6220) 2020-02-20 21:10:41 -06:00
Molly Struve
18d9bf1de7
rescue ES BadRequest errors, record in Datadog, and return an empty array (#6219) [deploy] 2020-02-20 18:04:19 -05:00
rhymes
dfbc1b3791
Disable service worker on social previews (#6209) [deploy] 2020-02-20 17:39:17 -05:00
Michael Kohl
4e208dc11c
Add cache_key helper (#6190) [deploy] 2020-02-20 17:36:49 -05:00
ludwiczakpawel
6d2c63026c
Homepage Improvements, round II (#6202) [deploy]
* remove border from ad and fix cut-off

* improving ellipsis for tags

* improving ellipsis for tags

* fixing underline between each tag on hover

* user avatars alignment in left sidebar

* test commit

* reverting test

* test commit

* reverting test

* index unassigned

* user suggestions in right sidebar on tag page, fixes

* improving widgets a little

* line height for category

* Update tests

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-02-20 17:12:56 -05:00
Ben Halpern
a73fc5a6a1
Add base element to open embed links in parent context (#6212) [deploy] 2020-02-20 17:08:11 -05:00
Mac Siri
d73f5c1e09
Log Gibbon errors metric on Datadog (#6186) [deploy] 2020-02-20 17:05:24 -05:00