Commit graph

2601 commits

Author SHA1 Message Date
Mac Siri
fc9272fe71 Make Doorkeeper inherit from ApplicationController (#3591)
* Resolve doorkeeper issue

* Refactor spec

* Remove comment
2019-07-31 18:41:44 -04:00
dependabot-preview[bot]
06e41f38a9 Bump puma from 3.12.1 to 4.0.1 (#3525)
Bumps [puma](https://github.com/puma/puma) from 3.12.1 to 4.0.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v3.12.1...v4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-31 15:09:20 -04:00
Andy Zhao
96449fcc8f Add organization membership functionality to internal (#3541) 2019-07-31 14:38:36 -04:00
João Pedro Raskopf
5d13752e34 Show article edit date in dashboard (#3325) 2019-07-31 14:13:24 -04:00
Ben Halpern
5d380f93cb
Track success of DEV Shop ads (#3589)
* Add basic display ad event tracking

* Finalize client-side eventlistening functionality
2019-07-31 13:44:47 -04:00
Mac Siri
3071ac8c76 Implement Doorkeeper gem (#3504)
* Add doorkeeper gem

* Generate files with Doorkeeper's generator

* Create Doorkeeper tables

* Add new associations to User

* Update associations

* Remove confusing schemas

* Change oauth2_provider name
2019-07-31 10:30:58 -04:00
Ben Halpern
b837f5b43d
Add more partnership pricing info (#3585) 2019-07-30 22:10:54 -04:00
Mac Siri
9dd4ec6baf Update Gemfile.lock [ci skip] 2019-07-30 18:43:55 -04:00
Mac Siri
5f85250220
Update to Chromedriver 76 (#3587) [ci skip] 2019-07-30 17:58:21 -04:00
rhymes
5cfa8b5586 Remove columns that don't existing from schema.rb (#3586) [ci skip] 2019-07-30 17:29:38 -04:00
dependabot-preview[bot]
ebefca6a8a Bump capybara from 3.26.0 to 3.27.0 (#3556) 2019-07-30 16:47:08 -04:00
rhymes
816c062ea0 Upgrade Rubocop related gems and fix new violations (#3581) [ci skip] 2019-07-30 14:29:05 -04:00
Mazen Touati
bb6fe4495a Escape HTML in the notifications view (#3243) 2019-07-30 14:24:23 -04:00
rhymes
8f5706fcc1 Remove all old membership code, see 97040ab6 (#3575) 2019-07-30 12:33:50 -04:00
Anna Buianova
b9f0b282ca Add index to ahoy_messages to (#2367)
* Add index to ahoy_messages to

* Add ahoy_messages index concurrently
2019-07-30 11:53:52 -04:00
dependabot-preview[bot]
653b74b39b Bump feedjira from 2.2.0 to 3.0.0 (#3560)
* Bump feedjira from 2.2.0 to 3.0.0

Bumps [feedjira](https://github.com/feedjira/feedjira) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/feedjira/feedjira/releases)
- [Changelog](https://github.com/feedjira/feedjira/blob/master/CHANGELOG.md)
- [Commits](https://github.com/feedjira/feedjira/commits)

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

* Update Feedjira's usage of parse
2019-07-30 10:10:56 -04:00
Bolarinwa Balogun
7f125f18df Fix Video Duration to include hours (#3572) 2019-07-30 09:10:49 -04:00
rhymes
b90cd8812b Rename specs not named *_spec.rb (#3576) 2019-07-30 08:49:08 -04:00
Anna Buianova
f5709ce2d8 Fix failing algolia jobs (#3578)
* Fix algolia sync when destroying comments

* Fix algolia jobs when destroying a user
2019-07-30 08:47:40 -04:00
Ben Halpern
710c1d9e7b
Allow for the sending of arbitrary broadcasts (#3569) 2019-07-29 17:10:49 -04:00
Mario See
36535e546d Listing Dashboard: Handle expired listings (#3442)
* wip filter active and expired listings

* add published attribute to listings json

* add expired class to listings row

* filter through state

* make span button tabbable

* remove unused state

* update snapshot test

* add indicator and styles for expired

* linting errors

* clean up link

* remove function argument

* Update listingDashboard snapshot
2019-07-29 12:42:32 -04:00
dependabot-preview[bot]
d02324ed1c Bump envied from 0.9.1 to 0.9.3 (#3557) [ci skip]
Bumps [envied](https://gitlab.com/envied/envied) from 0.9.1 to 0.9.3.
- [Release notes](https://gitlab.com/envied/envied/tags)
- [Changelog](https://gitlab.com/envied/envied/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/envied/envied/compare/v0.9.1...v0.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 12:13:20 -04:00
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