Commit graph

1508 commits

Author SHA1 Message Date
Glenn Carremans
d9ee35a421 Fix linting issues in app/views/comments (#1853) [ci skip] 2019-02-25 13:03:31 -05:00
Glenn Carremans
6fdcc9eb26 Fix linting issues in app/views/email_subscriptions (#1859) [ci skip] 2019-02-25 12:50:41 -05:00
Glenn Carremans
40a808467d Fix linting issues in app/views/feedback_messages (#1861) 2019-02-25 12:50:10 -05:00
Glenn Carremans
3e3e18d827 Fix linting issues in app/views/chat_channels (#1852) [ci skip] 2019-02-25 12:49:00 -05:00
Glenn Carremans
35845258dd Fix linting issues in app/views/blocks (#1851) [ci skip] 2019-02-25 12:47:32 -05:00
Glenn Carremans
c0c95d7e1a Fix linting issues in app/views/badges (#1850) [ci skip] 2019-02-25 12:42:16 -05:00
dependabot[bot]
93ce14abc9 Bump capybara from 3.12.0 to 3.13.2 (#1876)
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.12.0 to 3.13.2.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.12.0...3.13.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 12:12:41 -05:00
dependabot[bot]
eabcb6b1b1 Bump algoliasearch-rails from 1.20.6 to 1.21.0 (#1874) [ci skip]
Bumps [algoliasearch-rails](https://github.com/algolia/algoliasearch-rails) from 1.20.6 to 1.21.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.20.6...1.21.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 12:04:44 -05:00
dependabot[bot]
62200a66b4 Bump codemirror from 5.43.0 to 5.44.0 (#1877) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.43.0 to 5.44.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.43.0...5.44.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:47:18 -05:00
dependabot[bot]
5f12204cfd Bump airbrake from 7.4.0 to 8.1.4 (#1878) [ci skip]
Bumps [airbrake](https://github.com/airbrake/airbrake) from 7.4.0 to 8.1.4.
- [Release notes](https://github.com/airbrake/airbrake/releases)
- [Changelog](https://github.com/airbrake/airbrake/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbrake/airbrake/compare/v7.4.0...v8.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:22:00 -05:00
dependabot[bot]
208b1f46a6 Bump marked from 0.6.0 to 0.6.1 (#1875) [ci skip]
Bumps [marked](https://github.com/markedjs/marked) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.6.0...v0.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:18:24 -05:00
dependabot[bot]
56f1f3644a Bump eslint from 5.14.0 to 5.14.1 (#1879) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.14.0...v5.14.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:17:28 -05:00
dependabot[bot]
9596b86e5b Bump pry-byebug from 3.6.0 to 3.7.0 (#1881) [ci skip]
Bumps [pry-byebug](https://github.com/deivid-rodriguez/pry-byebug) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/deivid-rodriguez/pry-byebug/releases)
- [Changelog](https://github.com/deivid-rodriguez/pry-byebug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/deivid-rodriguez/pry-byebug/compare/v3.6.0...v3.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:16:16 -05:00
Anna Buianova
e45c61a308 Bust cache on article destroy instead of resave articles #1621 (#1801)
* Bust cache on article destroy instead of resave articles

* Change articles delayed job queue
2019-02-23 19:41:06 -08:00
Anna Buianova
58b2013377 Fix delayed job errors related to follows #1621 (#1835)
* Add delayed_job_web to dev environment for debugging

* Add specs for the current Follow callbacks implementation

* Move follower touching to ActiveJob

* Spec for the touch followers job

* Move Follow#create_chat_channel to ActiveJob and make the job safe

* Add ActiveJob to send email notifications about follows

* Enqueue SendEmailNotificationJob after the follow is created

* Specs to wnsure jobs are enqueued on Follow creation

* Make CreateChatChannelJob queue name more specific
2019-02-23 18:16:20 -08:00
Ben Halpern
a36fb04d9e
Add Google Analytics to /badge (#1846) 2019-02-22 10:03:41 -08:00
Mac Siri
2e647cedb4 Add more test coverage (#1829)
* Create github repos request spec

* Create article_mutes_spec.rb

* Create moderation_service_spec.rb

* Create push notification subscriptions spec

* Add PodcastEpisodeDecorator specs

* Remove randomness in test

* Create specs for ArticleWithVideoCreationService

* Update spec/decorators/podcast_episode_decorator_spec.rb

Co-Authored-By: maestromac <krairit.siri@gmail.com>
2019-02-22 09:16:57 -08:00
Arnelle Balane
8c0966da57 Fix linting issues in views/additional_content_boxes (#1843)
* Fix linting issues in views/additional_content_boxes

* Fix indentations for additional content boxes views
2019-02-22 07:29:05 -08:00
Arnelle Balane
e6420800ce Fix mobile sidebar scrolling issue (#1787) 2019-02-21 15:52:21 -05:00
Molly Struve
981f4ed893 Include Article ID in Bottom Content Cache Key (#1773) 2019-02-21 15:13:07 -05:00
Mark Filus
298c32428f Fix typo on faq page (#1836) 2019-02-20 17:07:05 -05:00
Ali Spittel
355d97a94d add sanitization to github on chat (#1834)
* add sanitization to github on chat

* formatting
2019-02-20 14:08:46 -04:00
Anna Buianova
a6cc688a9b Disable erblint cops for the editor guide (#1830) [ci skip] 2019-02-19 12:35:05 -05:00
dependabot[bot]
e676d9fc42 Bump stripe from 3.25.0 to 4.8.0 (#1778)
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 3.25.0 to 4.8.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases)
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-ruby/compare/v3.25.0...v4.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-18 13:52:03 -05:00
dependabot[bot]
ef9c2340d9 Bump rails-controller-testing from 1.0.2 to 1.0.4 (#1819) [ci skip]
Bumps [rails-controller-testing](https://github.com/rails/rails-controller-testing) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/rails/rails-controller-testing/releases)
- [Commits](https://github.com/rails/rails-controller-testing/compare/v1.0.2...v1.0.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-18 13:37:05 -05:00
dependabot[bot]
5a50013d01 Bump lint-staged from 8.1.3 to 8.1.4 (#1820) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.3 to 8.1.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.3...v8.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-18 13:26:38 -05:00
Mac Siri
73fa6b3dc1 Remove react-textarea-autocomplete [ci skip] 2019-02-18 13:25:29 -05:00
dependabot[bot]
300cd3b0e5 Bump eslint from 5.13.0 to 5.14.0 (#1822) [ci skip] 2019-02-18 13:21:49 -05:00
dependabot[bot]
f22c9f8bba Bump prop-types from 15.7.1 to 15.7.2 (#1824) [ci skip] 2019-02-18 13:10:31 -05:00
rhymes
f8359d98f6 Increase contrast for "reading time" info (#1689) 2019-02-18 13:06:22 -05:00
dependabot[bot]
7a72616caf Bump pusher-js from 4.3.1 to 4.4.0 (#1823) [ci skip]
Bumps [pusher-js](https://github.com/pusher/pusher-js) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/pusher/pusher-js/releases)
- [Changelog](https://github.com/pusher/pusher-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pusher/pusher-js/compare/4.3.1...4.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-18 12:53:21 -05:00
dependabot[bot]
54d4c06c61 Bump jest-fetch-mock from 2.1.0 to 2.1.1 (#1825)
Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/jefflau/jest-fetch-mock/releases)
- [Commits](https://github.com/jefflau/jest-fetch-mock/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-18 12:26:35 -04:00
Ben Halpern
20d1c8bab7
Add video to additional home feed context (#1815) 2019-02-17 15:57:25 -04:00
Carl Saunders
c1eecd1850 Added <kbd> tag support to markdown editors in article posts and comm… (#1761)
* Added <kbd> tag support to markdown editors in article posts and comments.

* Fixed typo in test.

* Fixed test - now compares against inner html.

* Removed .showpage-signi-cta as dead code was reinstated accidentally via git merge.

* Use sass placeholder as no need to output the .kbd class in the css.

* Reinstated original css as accidentally changed with merge.
2019-02-16 22:30:35 -04:00
Ben Halpern
5eab8d4962
Modify fetch_video_duration to use m3u8 chunks (#1814)
* Modify fetch_video_duration to use m3u8 chunks

* Remove ffprober gem
2019-02-16 22:29:56 -04:00
Ben Halpern
5d1370c3b4
Add padding to video duration (#1812)
* Add proper padding in video_duration_in_minutes

* Add proper padding in video_duration_in_minutes

* Remove ffmpeg from travis for now
2019-02-16 19:31:58 -04:00
Ben Halpern
4465f9a531
Fix mistaken cloudinary_video_url in article (#1813) 2019-02-16 18:49:54 -04:00
Anna Buianova
1cc0fccbf7 Reduce the number of sql queries for articles comments #1606 (#1766)
* Reduce the number of sql queries for articles comments

* Refactor comments tree display

* Refactor retrieving the comments tree

* Remove comments tree view object

* Update score in comments spec for consistent order
2019-02-16 18:14:15 -04:00
Ben Halpern
bce0b4fff6
Remove harsh video restriction and add video duration (#1811)
* Remove harsh video restriction and add video duration

* Fix video meta data and tests

* Modify video tests

* Rescue video duration fetch error

* Change log to puts in test
2019-02-16 17:42:44 -04:00
Anna Buianova
28bac35db2 Remove useless removing algolia indexing on article destroy (#1807) 2019-02-16 12:51:25 -04:00
dependabot[bot]
f890166649 Bump devise from 4.5.0 to 4.6.0 (#1781)
Bumps [devise](https://github.com/plataformatec/devise) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/plataformatec/devise/releases)
- [Changelog](https://github.com/plataformatec/devise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/devise/compare/v4.5.0...v4.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-15 15:13:37 -05:00
Mac Siri
91848f0f85
[UI] Fix scrollbar overlapse bug (#1540) 2019-02-15 14:56:21 -05:00
Glenn Carremans
91633206ee Implement GitHub PR liquid tag support (#1784) 2019-02-15 13:40:15 -05:00
Andy Zhao
0b8ab21fd7 Update RunkitTag#sanitized_preamble (#1808) 2019-02-15 10:47:18 -05:00
Anna Buianova
5b2d1badf2 Remove Organization#resave_articles (#1802)
This is now unused and replaced with and ActiveJob class
2019-02-14 13:26:04 -05:00
Andy Zhao
84fbbed82a Add profile_updated_at to clear cache key (#1795) 2019-02-14 12:05:47 -05:00
dependabot[bot]
0ddf4a856e [Security] Bump handlebars from 4.0.12 to 4.1.0 (#1800)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.0. **This update includes security fixes.**
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.0/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-14 11:31:56 -05:00
Andy Zhao
48de2171f3 Improve runkit tag's sanitization (#1798) 2019-02-13 17:00:49 -05:00
Jess Lee
49e3878239 Add Stripe Cancellation Webhook (#1682) 2019-02-13 15:56:19 -05:00
Ali Spittel
7492783964 Add frontmatter error-handling (#1797) 2019-02-13 15:29:53 -05:00