Commit graph

2448 commits

Author SHA1 Message Date
Nick Taylor
4edf4a646f JS: Refactor & Fix Lint (#3082) 2019-07-01 14:04:25 -04:00
dependabot-preview[bot]
8bd5615488 Bump yard from 0.9.19 to 0.9.20 (#3349) [ci skip]
Bumps [yard](https://github.com/lsegal/yard) from 0.9.19 to 0.9.20.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.19...v0.9.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 13:15:57 -04:00
dependabot-preview[bot]
08be3873a2 Bump twilio-ruby from 5.24.0 to 5.25.0 (#3351) [ci skip]
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.24.0 to 5.25.0.
- [Release notes](https://github.com/twilio/twilio-ruby/releases)
- [Changelog](https://github.com/twilio/twilio-ruby/blob/master/CHANGES.md)
- [Commits](https://github.com/twilio/twilio-ruby/compare/5.24.0...5.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 13:12:58 -04:00
dependabot-preview[bot]
56f043c915 Bump eslint-plugin-import from 2.17.3 to 2.18.0 (#3348) [ci skip]
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.17.3 to 2.18.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 13:08:57 -04:00
Anna Buianova
6395fe48e2 Moved podcast fixtures to their own folder (#3343) [ci skip] 2019-07-01 12:37:28 -04:00
dependabot-preview[bot]
76a31193ea Bump marked from 0.6.2 to 0.6.3 (#3346) [ci skip]
Bumps [marked](https://github.com/markedjs/marked) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.6.2...v0.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:34:33 -04:00
dependabot-preview[bot]
db8be2e5c0 Bump scout_apm from 2.4.24 to 2.5.1 (#3354)
Bumps [scout_apm](https://github.com/scoutapp/scout_apm_ruby) from 2.4.24 to 2.5.1.
- [Release notes](https://github.com/scoutapp/scout_apm_ruby/releases)
- [Changelog](https://github.com/scoutapp/scout_apm_ruby/blob/master/CHANGELOG.markdown)
- [Commits](https://github.com/scoutapp/scout_apm_ruby/compare/v2.4.24...v2.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:30:42 -04:00
dependabot-preview[bot]
2e2374b009 Bump rouge from 3.4.1 to 3.5.1 (#3353) [ci skip]
Bumps [rouge](https://github.com/jneen/rouge) from 3.4.1 to 3.5.1.
- [Release notes](https://github.com/jneen/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jneen/rouge/compare/v3.4.1...v3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:28:02 -04:00
dependabot-preview[bot]
18ff321686 Bump husky from 2.4.1 to 2.7.0 (#3352) [ci skip]
Bumps [husky](https://github.com/typicode/husky) from 2.4.1 to 2.7.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:25:29 -04:00
dependabot-preview[bot]
29bf9983f0 Bump algoliasearch-rails from 1.22.0 to 1.23.2 (#3357) [ci skip]
Bumps [algoliasearch-rails](https://github.com/algolia/algoliasearch-rails) from 1.22.0 to 1.23.2.
- [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.22.0...1.23.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:20:30 -04:00
dependabot-preview[bot]
064ce0acda Bump bullet from 6.0.0 to 6.0.1 (#3347) [ci skip]
Bumps [bullet](https://github.com/flyerhzm/bullet) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/6.0.0...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 11:50:06 -04:00
dependabot-preview[bot]
602604a6ae Bump memory_profiler from 0.9.13 to 0.9.14 (#3356) [ci skip]
Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/SamSaffron/memory_profiler/releases)
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v0.9.13...v0.9.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 11:43:28 -04:00
dependabot-preview[bot]
c256ed228d Bump rubocop from 0.71.0 to 0.72.0 (#3355) [ci skip]
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.71.0...v0.72.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 11:42:07 -04:00
Anna Buianova
186e5bb52b Fix lint (#3342) [ci skip] 2019-07-01 11:32:28 -04:00
Ryan Wang
a1580b4bbf expand common errors on macOS install (#3337)
* expand common errors on macOS install

* edit postgresql restart to easiser command
2019-07-01 08:17:09 -04:00
Mazen Touati
6797567de9 Fix instagram URL validation rule (#3336) 2019-07-01 08:16:34 -04:00
Mac Siri
29e0f5597c Disable use of localStorage when cookie-less (#3322)
* Disable use of localStorage when cookie-less

* Add missing return
2019-06-28 17:11:49 -04:00
Andy Zhao
ea139e5ca5 Allow multiple banishes on the same account (#3326)
* Allow banished users to be banished again

* Remove deprecated method banished
2019-06-28 14:18:15 -04:00
Bolarinwa Balogun
86b0777938 Set max file size limit for profile images (#3313) 2019-06-28 12:06:25 -04:00
Andy Zhao
f8989ea9b2 Add GET /internal/tags/:id route back in (#3327)
* Add GET internal/tags/:id route

* Remove unused edit route
2019-06-28 08:13:03 -04:00
Andy Zhao
0633ba1f72 Fix org credits in internal view (#3321) 2019-06-28 07:56:09 -04:00
Bolarinwa Balogun
bd360c7cf4 Make item count 'empty' instead of '0' when reading list is empty (#3320) 2019-06-28 07:55:43 -04:00
Branko Arnaudovski
1d2e9ff868 Docs: Change admin role tag information (#3323) [ci skip] 2019-06-27 18:06:42 -04:00
dependabot-preview[bot]
9c6673adc4 Bump rouge from 3.3.0 to 3.4.1 (#3289) [ci skip]
* Bump rouge from 3.3.0 to 3.4.1

Bumps [rouge](https://github.com/jneen/rouge) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/jneen/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jneen/rouge/compare/v3.3.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update approvals
2019-06-27 17:26:07 -04:00
Anna Buianova
7ee0350ac5 Refactored and optimized getting existing podcast episode (#3319)
* Refactored and optimized getting existing podcast episode

* Podcast#existing_episode fixes
2019-06-27 11:50:27 -04:00
Ben Halpern
26af371ebd
Fix comment title encoding issue (#3311)
* Fix comment title encoding issue

* Remove puts statements

* Fix flaky test

* Change flaky test

* Add & fix
2019-06-26 15:24:05 -04:00
Andy Zhao
111e5503b4 Hide delete article button for non-authors (#3315) 2019-06-26 15:23:46 -04:00
Ben Halpern
0432da190f
Tweak black box so posts won't stick (#3312) 2019-06-26 10:15:07 -04:00
Mario See
4e75108d8b Fix escape key handling and add space in single listing view (#3306)
* add space and handle escape key down

* properly handle escape
2019-06-26 09:58:48 -04:00
Bolarinwa Balogun
dbc4abc587 Add rel="nofollow" to links in comments (#3304)
* Add rel="nofollow" to links in comments

* Improve code quality and Add tests
2019-06-26 09:02:11 -04:00
Bolarinwa Balogun
b52d8e931d Add Instagram URL to profile links (#3307) 2019-06-26 08:56:07 -04:00
Bolarinwa Balogun
a30e06d673 Allow Embed of specific gist version (#3310)
* Allow Embed of specific gist version

* Add tests and documentation
2019-06-26 08:54:26 -04:00
rhymes
7da7a16d8d Pro: add referrers to dashboard and single article stats (#3295)
* Reorganize PageViewsController

* Add domain and path to PageView model

* Add before_create callback to populate domain and path

* Add list of referrers to AnalyticsService

* Add referrers to the UI

* Remove useless referrers card and tweak table line height

* Add referrer stats to article stats page

* Add not null and empty default to domain and path

* Refactor JS analytics client

* create_list is a step back here

* Revert "Add not null and empty default to domain and path"

This reverts commit bc02440076047a887c65d300bccd4661ecc8ffd0.

* Add index on domain concurrently

* Make the script more robust
2019-06-25 13:58:09 -04:00
Andy Zhao
16b59db15c Use publish date for article notifications (#3301) 2019-06-25 11:54:33 -04:00
dependabot-preview[bot]
51e8dc3455 Bump @storybook/addon-actions from 5.1.8 to 5.1.9 (#3282) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.1.8 to 5.1.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v5.1.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.1.9/addons/actions)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 10:02:23 -04:00
Sushant Bajracharya
108a961324 Use dynamic route name for sign up (#3147) [ci skip] 2019-06-25 10:01:28 -04:00
Bolarinwa Balogun
bc54f30365 Add Item Count to Reading List Header (#3162) 2019-06-25 09:41:28 -04:00
Mike Coutermarsh
8afb797ec9 Improve social card caching 🚀 (#3265)
* Add failing tests for social previews controller. HTML changes between
requests, which breaks caching.

Since we use the HTML to generate the cache key. When the views have any
randomness in them, it breaks the cache, which means we regenerate
images on each request, rather than using what's in memcached.

Adding test to protect from regressions

* Fix randomness in social card templates

The aria tags are randomly generated. Since this is for rendering
images, they aren't needed.

* Make the linter happy by using the sanitize helper
2019-06-25 08:45:30 -04:00
rhymes
e3c2bf08e6 Deduplicate history items (#3279) 2019-06-25 08:42:01 -04:00
Eduardo Alencar
6d800da4d4 Increase tag length from 20 to 30 chars (#3299)
This commit increases the tag length from 20 to 30 chars and also increases the cached_tag_list length to maintain the limit of 4 tags. Specs were adapted to respect the changes.
2019-06-24 16:43:21 -04:00
Ben Halpern
dcbb188cf1
Add pinned articles box to profiles (#3269)
* Initial pins work

* Add pin box to profiles

* Fix test snapshot spacing and optimize svg

* Fix listings spacing
2019-06-24 15:18:29 -04:00
cyrillefr
0267d4e829 Move bust_cache methods in own jobs (#3071) 2019-06-24 13:28:25 -04:00
Nick Taylor
ef08fa8505 Add the dependabot badge. (#3268) [ci skip] 2019-06-24 12:38:48 -04:00
dependabot-preview[bot]
5ff491f57a Bump focus-visible from 5.0.0 to 5.0.1 (#3283) [ci skip]
Bumps [focus-visible](https://github.com/WICG/focus-visible) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/WICG/focus-visible/releases)
- [Commits](https://github.com/WICG/focus-visible/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 12:33:59 -04:00
rhymes
6cdc604333 Rubocop: disable style rule and fix some issues (#3278) [ci skip] 2019-06-24 12:20:29 -04:00
rhymes
808b8f285c Comments: remove double stripping undoing escaping (#3270) 2019-06-24 12:00:36 -04:00
dependabot-preview[bot]
0aadc090ac Bump @storybook/addon-links from 5.1.8 to 5.1.9 (#3285) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 5.1.8 to 5.1.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v5.1.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.1.9/addons/links)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:46:42 -04:00
dependabot-preview[bot]
c30f7a26f9 Bump eslint-plugin-react from 7.13.0 to 7.14.1 (#3284) [ci skip]
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.13.0 to 7.14.1.
- [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.13.0...v7.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:25:53 -04:00
dependabot-preview[bot]
4aabfadefc Bump codemirror from 5.47.0 to 5.48.0 (#3281) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.47.0 to 5.48.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.47.0...5.48.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:09:39 -04:00
dependabot-preview[bot]
f8ba70076a Bump stripe from 4.18.1 to 4.19.0 (#3286)
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 4.18.1 to 4.19.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/v4.18.1...v4.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 10:04:58 -04:00