Commit graph

983 commits

Author SHA1 Message Date
Mario See
b5446e18f3 Add tests for Dev Connect (#988) 2018-10-30 13:42:04 -04:00
dependabot[bot]
92b6020db7 Bump codemirror from 5.40.2 to 5.41.0 (#1022) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.40.2 to 5.41.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.40.2...5.41.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:56:54 -04:00
dependabot[bot]
173625c964 Bump capybara from 3.6.0 to 3.10.0 (#1023) [ci skip]
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.6.0 to 3.10.0.
- [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.6.0...3.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:54:29 -04:00
dependabot[bot]
b0b0477d51 Bump parallel_tests from 2.22.0 to 2.26.0 (#1028) [ci skip]
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.22.0 to 2.26.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.22.0...v2.26.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:52:48 -04:00
dependabot[bot]
5a7276e317 Bump twilio-ruby from 5.10.3 to 5.15.1 (#1029) [ci skip]
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.10.3 to 5.15.1.
- [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.10.3...5.15.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:51:06 -04:00
dependabot[bot]
d0dc53b69f Bump @storybook/addon-actions from 3.4.11 to 4.0.0 (#1021) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybooks/storybook) from 3.4.11 to 4.0.0.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v3.4.11...v4.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:49:30 -04:00
dependabot[bot]
aa8f5a266f Bump @storybook/addons from 3.4.11 to 4.0.0 (#1025) [ci skip]
Bumps [@storybook/addons](https://github.com/storybooks/storybook) from 3.4.11 to 4.0.0.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v3.4.11...v4.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:49:04 -04:00
dependabot[bot]
f7ce042b3d Bump uglifier from 4.1.18 to 4.1.19 (#1030) [ci skip]
Bumps [uglifier](https://github.com/lautis/uglifier) from 4.1.18 to 4.1.19.
- [Release notes](https://github.com/lautis/uglifier/releases)
- [Changelog](https://github.com/lautis/uglifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lautis/uglifier/compare/v4.1.18...v4.1.19)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 11:47:37 -04:00
dependabot[bot]
0b19483a47 [Security] Bump loofah from 2.2.2 to 2.2.3 (#1040)
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.2.2 to 2.2.3. **This update includes security fixes.**
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.2.2...v2.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 10:45:25 -04:00
Frédéric Planté
4a50c418c6 Automatically add contributor badges (#1016)
* Basic proof of concept

* Use Octokit instead of HTTParty

* add rake task

* DEV Community iOS App should be checked too

* This only need to be computed once

* Add spec

* for consistency sake
2018-10-29 20:21:37 -04:00
Ben Halpern
1aa8e70a5b
Allow removal of collection element (#1036)
* Allow removal of collection element

* Update tests
2018-10-29 15:14:13 -04:00
Ben Halpern
359cc71b64
Add ability for users to publish series (#1034) 2018-10-29 13:04:42 -04:00
Mac Siri
b6ac7a8b64
Create weekly-digest.yml 2018-10-29 11:53:04 -04:00
dependabot[bot]
508a225169 Bump @storybook/addon-links from 3.4.11 to 4.0.0 (#1026) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybooks/storybook) from 3.4.11 to 4.0.0.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v3.4.11...v4.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 11:48:22 -04:00
dependabot[bot]
63e62b7b4b Bump eslint from 5.7.0 to 5.8.0 (#1027) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.7.0 to 5.8.0.
- [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.7.0...v5.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 11:47:52 -04:00
Ben Halpern
f4f4af776c
Fix issue where only approved orgs could make CTAs (#1017)
* Fix issue where only approved orgs could make CTAs

* Adjust articles api
2018-10-27 13:03:56 -04:00
Andy Zhao
db9c16db4d 404 comments for unpublished posts (#1013) 2018-10-26 13:37:34 -04:00
Mac Siri
5287d4a03b Create DelayedJob config and misc DX changes (#979)
* Change from #after_save to #after_create

* Update .babelrc

* Update cloud_name for test

* Update SlackBot's RssReader channel

* Update helpful-hints.md

* Create .gitdocs.json

* Remove serve-docs script

* Update docs/helpful-hints.md

* Update approval

* Revert "Change from #after_save to #after_create"

This reverts commit 548ee0d2c0d56a1aa67316468f4106ac9f437662.

* Create delayed_job.rb

* Bump ancestry gem to 3.0.3

* Fix broken spec

* Remove manual Delayed::Job config in test

* Update spec_helper.rb

* Fix broken specs

* Mute SlackBot in test

* Remove weekly-dgiest.yml

* Create PodcastEpisodeDecorator
2018-10-26 13:15:14 -04:00
Frédéric Planté
2b2a7afb03 Correctly handle trying to edit not existing settings tab (#1011) 2018-10-26 13:06:55 -04:00
Mac Siri
bddfc8a69d Update CODE_OF_CONDUCT.md (#1012)
* Update CODE_OF_CONDUCT.md

* Update README.md
2018-10-26 13:06:03 -04:00
Ryan Palo
3160473896 Add aria-label to articles page's CTA (#1004)
In the main articles page CTA for signing in via Twitter or Github, previously, screen readers say "Twitter" and "GitHub."  I added an `aria-label` attribute so that screen readers will say "Sign in with Twitter" and "Sign in with GitHub."  Tested on Windows 7, in Chrome, using Chrome Vox extension, and works well!
2018-10-25 16:24:40 -04:00
dependabot[bot]
85b18c503e Bump inline_svg from 0.12.1 to 1.3.1 (#915)
Bumps [inline_svg](https://github.com/jamesmartin/inline_svg) from 0.12.1 to 1.3.1.
- [Release notes](https://github.com/jamesmartin/inline_svg/releases)
- [Changelog](https://github.com/jamesmartin/inline_svg/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jamesmartin/inline_svg/compare/v0.12.1...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-25 15:44:03 -04:00
Mac Siri
673b6d0754
Update Dockerfile (#1009) [ci skip] 2018-10-25 14:13:27 -04:00
Benny S
4a17418b3e Fix README typo (#1008) [ci skip]
knew -> new
"Any issue with the good first issue tag is typically a good place to start for anyone new to the project."
2018-10-25 14:08:40 -04:00
Ben Halpern
f124c2f65a
Fix html variant image prefix issue + other small fixes (#1005) 2018-10-24 17:44:59 -04:00
lianafelt
61ef3bdd8e Update sponsors.html.erb (#1006)
Remove StickerMule
2018-10-24 17:44:45 -04:00
Mac Siri
9718bd64bf Update Gemfile.lock 2018-10-24 14:19:05 -04:00
Ben Halpern
ae3ec2e237
Add/fix org call-to-action box/copy (#1000) 2018-10-24 13:49:57 -04:00
rhymes
3c61c026c5 Upgrade Ruby to 2.5.3 (#996) 2018-10-24 13:31:59 -04:00
Mac Siri
801043ab0d
Mute Pusher errors (#993) 2018-10-24 11:12:34 -04:00
Ben Halpern
d5ceff4b12
Update/fix org settings (#992)
* Update/fix org settings

* Small adjustment to an unrelated rake task

* Update app/views/users/_org_non_member.html.erb
2018-10-23 17:21:17 -04:00
dependabot[bot]
7bbaf5f4dc Bump airbrake from 5.8.1 to 7.4.0 (#974)
Bumps [airbrake](https://github.com/airbrake/airbrake) from 5.8.1 to 7.4.0.
- [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/v5.8.1...v7.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 16:50:19 -04:00
dependabot[bot]
a3f9695d12 Bump delayed_job_active_record from 4.1.2 to 4.1.3 (#976) [ci skip]
Bumps [delayed_job_active_record](https://github.com/collectiveidea/delayed_job_active_record) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/collectiveidea/delayed_job_active_record/releases)
- [Commits](https://github.com/collectiveidea/delayed_job_active_record/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 16:42:17 -04:00
Ben Halpern
735a96432c
Add usability features to html_variants (#991) 2018-10-23 16:23:48 -04:00
Steve Layton
e84714857b resolves mixed content warning on maintenance.html (#983)
- no related issue
- updated gif to use https
2018-10-23 12:42:11 -04:00
Ben Halpern
90861366df
Add additional config to v2 editor (#980)
* Add additional config to v2 editor

* Fix typo
2018-10-23 12:41:19 -04:00
dependabot[bot]
75253a5d84 Bump feedjira from 2.1.4 to 2.2.0 (#975)
Bumps [feedjira](http://feedjira.com) from 2.1.4 to 2.2.0.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 11:55:13 -04:00
dependabot[bot]
567c34306d Bump intersection-observer from 0.5.0 to 0.5.1 (#977) [ci skip]
Bumps [intersection-observer](https://github.com/w3c/IntersectionObserver) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/w3c/IntersectionObserver/releases)
- [Commits](https://github.com/w3c/IntersectionObserver/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 11:53:31 -04:00
dependabot[bot]
4c201af13f Bump timber from 2.6.1 to 2.6.2 (#973) [ci-skip]
Bumps [timber](https://github.com/timberio/timber-ruby) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/timberio/timber-ruby/releases)
- [Changelog](https://github.com/timberio/timber-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/timberio/timber-ruby/commits/v2.6.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 11:52:18 -04:00
Ben Halpern
8661fe44d5
Fix sidebar caching issue for articles (#981) 2018-10-22 17:49:59 -04:00
Ben Halpern
302e8f202d
Add HTML variants for cta optimization and other nav bar adjustments (#970)
* Add HTML variants for cta optimization and other nav bar adjustments

* Fix 1==1 non-random mistake

* Spruce up org call-to-action

* Change default text color

* Add html variant trial and success request specs

* Fix article sidebar caching issue

* One line adjustment

* Modify schema

* Add include ActionView::Helpers::TagHelper to user_tag_spec

* Modify follow_button to remove session context

* Dummy commit

* Change Edit Article to Edit Post

* Dummy commit

* Fix rubocop concerns

* Fix rubocop style
2018-10-22 17:03:57 -04:00
rhymes
7399e022da Add CodeTriage badge to README (#965) [ci skip] 2018-10-19 17:05:03 -04:00
Jess Lee
80339dd573 Fix internal article query (#964)
* update abuse report subject template

* fix internal/article top month filters

* update resolution email spec with proper subject line
2018-10-19 16:16:43 -04:00
Nick Karnik
2136b105a3 Implement ability to style text in comments using hotkeys (#959)
* Resolves #891
    * This is applied to root level comments as well as nested replies.
    * We are handling latest browsers and special cases for FF, IE8/9/10
    * All newer browser except FF support undo/redo functionality in the exact reverse order of text insertion
    * Refactored some code
    * Support for Bold & Italic text
    * Support for Text Links
    * In a subsequent change, we can consider adding hotkey for image URL
        * Didn't add this feature at the moment since there's no universally accepted key-combination for image URL's that I know of
    * IE 8-11 is not supported because it is a bit convoluted and I don't have a way to test it reliably
        * We can revisit this if it is really needed and find a jQuery plugin to handle it
2018-10-19 15:39:22 -04:00
rhymes
7fe6777c75 Support links with trailing slash for link tag (#950)
The previous implementation of the link tag didn't support links with a trailing slash. It was also based on an internal and undocumentented function in Rails.

https://github.com/rails/rails/issues/28331#issuecomment-285440151
2018-10-19 15:25:58 -04:00
Nihad Abbasov
4995a4af21 Performance: replace ruby methods with their faster alternatives (#949)
- Array#select.first is slower than Array#detect.

  - Array#shuffle.first is slower than Array#sample.
2018-10-19 13:21:18 -04:00
Jérôme Pott
04968214ce Fix typo (#958)
Add missing verb "controls"
Capitalize first letter "English"
2018-10-19 13:13:18 -04:00
Mac Siri
c35544a154 Replace sprocket-es6 with new uglifier feature (#928) 2018-10-19 13:12:07 -04:00
rhymes
47bfe13b57 Update Dockerfile to bundler before installing packages (#961) [ci skip]
I just tried going through the Docker installation guide and I got the following warning:

> Warning: the running version of Bundler (1.16.3) is older than the version that created the lockfile (1.16.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.

This way the build should always use the latest version of Bundler
2018-10-19 12:38:03 -04:00
Thomas Bnt
16dc2fb903 Adding Font Awesome (#953)
* Adding Font Awesome

* Update copy
2018-10-18 17:25:37 -04:00