Commit graph

2579 commits

Author SHA1 Message Date
Mario See
197cd562ed Bump organization listings with organization credits (#3489)
* add org to update listing if bumping

* add credits redirect

* remove unnecessary auth

* fix auth and separate transaction

* update spec to match additional bump logic
2019-07-29 11:57:15 -04:00
rhymes
7d453d6856 Update Bundler to 2.0.2 (#3567) 2019-07-29 11:56:49 -04:00
dependabot-preview[bot]
2cabf9301e Bump rouge from 3.6.0 to 3.7.0 (#3555) [ci skip]
Bumps [rouge](https://github.com/jneen/rouge) from 3.6.0 to 3.7.0.
- [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.6.0...v3.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 10:28:40 -04:00
Bolarinwa Balogun
b21a7c9230 Fix out of place clipboard-copy icon (#3551) [ci skip] 2019-07-29 10:27:18 -04:00
Ben Halpern
ee00b460bf Add getunopenedchatchannels to onboardingredirect (#3565) 2019-07-29 09:33:36 -04:00
dependabot-preview[bot]
7640f6d6f3 Bump staccato from 0.5.1 to 0.5.2 (#3554) [ci skip]
Bumps [staccato](https://github.com/tpitale/staccato) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/tpitale/staccato/releases)
- [Changelog](https://github.com/tpitale/staccato/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tpitale/staccato/compare/v0.5.1...v0.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:32:58 -04:00
dependabot-preview[bot]
daedb8896d Bump @github/clipboard-copy-element from 1.0.1 to 1.0.2 (#3563) [ci skip]
Bumps [@github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/github/clipboard-copy-element/releases)
- [Commits](https://github.com/github/clipboard-copy-element/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:31:42 -04:00
dependabot-preview[bot]
2f1ac90772 Bump twilio-ruby from 5.25.1 to 5.25.2 (#3559) [ci skip]
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.25.1 to 5.25.2.
- [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.25.1...5.25.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:18:39 -04:00
Yelena Gruner
a135076f62 Added overflow-x: auto to comments.scss (#3552) [ci skip] 2019-07-29 09:16:34 -04:00
dependabot-preview[bot]
fde170ba0c Bump google-api-client from 0.30.7 to 0.30.8 (#3558) [ci skip]
Bumps [google-api-client](https://github.com/google/google-api-ruby-client) from 0.30.7 to 0.30.8.
- [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.30.7...0.30.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:14:50 -04:00
dependabot-preview[bot]
b764b37276 Bump eslint-plugin-react from 7.14.2 to 7.14.3 (#3562) [ci skip]
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.14.2 to 7.14.3.
- [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.14.2...v7.14.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:14:15 -04:00
dependabot-preview[bot]
8871ac82d0 Bump shoulda-matchers from 4.1.0 to 4.1.1 (#3561) [ci skip]
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md)
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:13:17 -04:00
dependabot-preview[bot]
e215fd9c2f Bump lint-staged from 9.2.0 to 9.2.1 (#3564) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.2.0...v9.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 09:11:08 -04:00
cyrillefr
fb1915c1be Move delayed algoliasearch tasks to Active Jobs (#3486)
- refactor calls to use built-in algolia Active Job
  - add spec
2019-07-29 08:58:27 -04:00
Anna Buianova
3de1bdad02 Podcast ownership (#3546)
* Podcast#admins

* Start with /internal/podcasts

* Adding and removing podcast admin roles

* Improve podcasts internal section

* Fix podcast updating

* More internal podcasts specs

* Podcasts internal link
2019-07-29 08:32:49 -04:00
Andy Zhao
9f34dcd0eb Make window.currentUser available globally (#3550) 2019-07-26 19:26:47 -04:00
Ben Halpern
640ada4948
Tiny adjustments to copy and functionality of onboarding (#3549) 2019-07-26 16:56:44 -04:00
Ali Spittel
52c60ce37e Feature/refactored onboarding (#3333)
* set up refactored onboarding

* create onboarding page

* add in first slide and change slide functionality

* fix test suite

* profile refactor

* profile refactor

* refactor to api

* add checkbox fields

* add checkbox fields

* remove puts

* add basic css

* add styling

* add redirect

* hide back and next at first and last slides

* test refactored onboarding

* test refactored onboarding

* remove article edits

* Fix schema

* Add deleted file back in

* Add default value for checked_t&c column

* Adjust HTML structure to keep nav buttons in place

* Fix ESLint issues on Onboarding.jsx file

* Handling for undefined or empty followedTags on getUserTags

* Fix codeclimate issues

* Fix codeclimate issues

* Fix more codeclimate issues

* Fix more codeclimate issues

* Update Onboarding snapshots

* Uncheck the CoC and T&C checkboxes on render

* Update snapshots

* Return false instead of raising error

* Update spec to use new onboarding

* Redirect to onboarding if haven't seen it yet

* Prevent redirect to onboarding from /signout_confirm

* Use assign_attributes instead of saving twice

* Move COC and T&C checkbox page to second slide

* Add 'go back to original page' functionality

* Reuse ready prototype logic

* Keep track of the last visited onboarding page

* Fix email subscription bug

* Fix overflow issue for tags page

* Remove height to prevent page container scrolling

* Check for CoC and T&C for displaying onboarding

* Add InstantClick redirect and preserve referrer in client

* Fix async update + check by using localStorage

* Turn off onboarding for tests

* Finalize design for onboarding

* Finalize design for onboarding

* Make bulk follows during onboarding

* Fix bulk follow test
2019-07-26 15:53:32 -04:00
Leonel Elimpe
6cc0d125b5 Remove duplicate css property (#3543) [ci skip] 2019-07-26 13:34:27 -04:00
Anna Buianova
7c1917f5f7 Don't hide podcasts if they have reachable episodes (#3532)
* Don't hide podcasts if they have reachable episodes
Recheck episodes' reachability after the podcast status is set to
unreachable

* Update db/schema.rb

* Fix GetEpisodesJob specs

* Fix stories spec

* Episodes are reachable even if the podcast is unreachable

* Improve the Podcast.reachable query

* Fix podcasts root page spec

* Add index concurrently
2019-07-26 11:33:31 -04:00
Andy Zhao
0133cf1d81 Refactor the Spotify playlist option (#3539) 2019-07-25 16:14:12 -04:00
dependabot-preview[bot]
a7b9e6005f Bump pusher-js from 4.4.0 to 5.0.0 (#3516)
Bumps [pusher-js](https://github.com/pusher/pusher-js) from 4.4.0 to 5.0.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.4.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 11:15:59 -04:00
dependabot-preview[bot]
f0bc024a37 Bump ahoy_email from 1.0.3 to 1.1.0 (#3521) [ci skip]
Bumps [ahoy_email](https://github.com/ankane/ahoy_email) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/ankane/ahoy_email/releases)
- [Changelog](https://github.com/ankane/ahoy_email/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/ahoy_email/compare/v1.0.3...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 11:14:59 -04:00
dependabot-preview[bot]
a903c82dd8 Bump stripe from 4.21.2 to 4.21.3 (#3526) [ci skip]
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 4.21.2 to 4.21.3.
- [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.21.2...v4.21.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 10:28:02 -04:00
dependabot-preview[bot]
d0ffe96d8a Bump codemirror from 5.48.0 to 5.48.2 (#3514) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.48.0 to 5.48.2.
- [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.48.0...5.48.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 10:27:13 -04:00
dependabot-preview[bot]
36c8552bcc Bump google-api-client from 0.30.6 to 0.30.7 (#3524) [ci skip]
Bumps [google-api-client](https://github.com/google/google-api-ruby-client) from 0.30.6 to 0.30.7.
- [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.30.6...0.30.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 10:26:08 -04:00
HKrogstie
2f9e581098 Remove double string escape by removing stip_tags from title (#3531)
* Remove double string escape by removing stip_tags from title

The field is escaped in views/articles/_liquid.html.erb

* Use sanitize for article title in liquid tag spec, add test

* Fix wrong comments

* Add tag to see that they are kept through rendering of liquid tags

* Fix error in test

* Try hack for sanitizing the way rails does it

* Use CGI.escapeHTML to keep tags in liquid tag link titles
2019-07-24 20:48:26 -04:00
dependabot-preview[bot]
6d7b092bbf Bump capybara from 3.25.0 to 3.26.0 (#3522)
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.25.0 to 3.26.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.25.0...3.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 19:30:29 -04:00
dependabot-preview[bot]
d4e1bcfcdb Bump fog-aws from 3.5.1 to 3.5.2 (#3527)
Bumps [fog-aws](https://github.com/fog/fog-aws) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/fog/fog-aws/releases)
- [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fog/fog-aws/compare/v3.5.1...v3.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:48:57 -04:00
dependabot-preview[bot]
0be00e1ba3 Bump husky from 3.0.0 to 3.0.1 (#3515) [ci skip]
Bumps [husky](https://github.com/typicode/husky) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:46:17 -04:00
dependabot-preview[bot]
d3cdfdceea Bump rubocop from 0.72.0 to 0.73.0 (#3523) [ci skip]
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.72.0 to 0.73.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.72.0...v0.73.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:44:46 -04:00
dependabot-preview[bot]
2643c2a984 Bump webdrivers from 4.1.0 to 4.1.1 (#3528) [ci skip]
Bumps [webdrivers](https://github.com/titusfortner/webdrivers) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/titusfortner/webdrivers/releases)
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/titusfortner/webdrivers/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:42:25 -04:00
dependabot-preview[bot]
b02ff12c5a Bump eslint-plugin-import from 2.18.0 to 2.18.2 (#3517) [ci skip]
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.0 to 2.18.2.
- [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.18.0...v2.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 17:33:53 -04:00
Haseeb Elahi
33cb8050e7 Improve milestone notification's language (#3533) [ci skip] 2019-07-24 12:03:11 -04:00
rhymes
1e72749cc0 Remove unnecessary pluck calls (#3534) [ci skip] 2019-07-24 12:01:09 -04:00
Anna Buianova
471a7d747c Make unsure specs more confident about time (#3518)
* Make notifications reactions specs more confident about time

* Protect AnalyticsService specs if run on International Date Line West time zone

* Display local datetime to make it easier to reproduce time zone bugs

* Display date in RFC 3339

* Freeze time and confront without nanoseconds
2019-07-23 09:36:47 -04:00
Kitten King
6290451273 Fix Typos (#3510) 2019-07-22 12:56:48 -04:00
Andy Zhao
e604bf729c Use each instead of find_each to preserve order (#3519) 2019-07-22 11:24:57 -04:00
Mario See
ed35ab71a5 Open "buy credits" link in new tab in creating listings (#3506)
* open in new tab

* add no opener and no referrer rel to links opening in new tab
2019-07-22 08:08:36 -07:00
Anna Buianova
95a9e13922 Remove logic relying on old podcast status (#3505) 2019-07-19 09:30:51 -04:00
Ali GOREN
36189e94af Add share to hacker news link (#3297) [ci skip] 2019-07-18 11:30:39 -04:00
Anna Buianova
445bb0952c Open a page in a new tab w/o warning when playing a podcast #2958 (#3499) 2019-07-18 09:51:08 -04:00
Andy Zhao
33302d9a0d Use each instead of find_each to keep order (#3501) 2019-07-17 17:01:11 -04:00
Anna Buianova
a8227b3048 A temp rake task to update podcast statuses (#3496) 2019-07-17 11:10:02 -04:00
Bolarinwa Balogun
cdd8870de5 Add copy button to markdown image upload (#2957) 2019-07-17 11:05:21 -04:00
Mac Siri
9f6cf61911
Update Banisher (#3495) [ci skip] 2019-07-16 19:08:06 -04:00
Elecweb
ebf9208877 Add support for hotkey to toggle article preview (#3308) [ci skip] 2019-07-16 14:35:45 -04:00
Anna Buianova
94ab4e23fe Update podcast episode statuses #2952 (#3450) 2019-07-16 13:36:25 -04:00
Andy Zhao
4da791e5af Cache bust the article's path and add minor improvement for banishing (#3492) 2019-07-16 13:17:29 -04:00
Andy Zhao
b4e493ec30 Redirect to actual latest published thread for /welcome (#3488) 2019-07-15 17:03:47 -04:00