Commit graph

1754 commits

Author SHA1 Message Date
rhymes
3a53d5797e Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
Anna Buianova
509c11e86f New comment notifications to Active Jobs #1996 (#2287)
* Send new comment notification service + specs

* Call new comment notification service from the model

* Return to non-bang notifications create

* An ActiveJob for the new comment notifications

* Call comments notification ActiveJob from Notification
2019-04-03 11:38:30 -04:00
Mohammadjavad Raadi
1fd637cd37 Fixes Upload Video Section Background Color in Night Mode Theme #2245 (#2296) 2019-04-03 09:58:16 -04:00
rhymes
dc2414c174 Add tests to PodcastEpisodesController (#2297)
* Add tests for existing API PodcastEpisodesController

* Generate only index route

There's no need to generate all routes if they are not implemented
2019-04-03 09:57:48 -04:00
Anna Buianova
1a0d4667c5 Unique twitter and github usernames #2061 (#2255)
* Set github and twitter usernames to nil if they are blank

* Verify github and twitter username in the Admin::UsersController (just in case)

* Add unique indexs on users twitter_username and github_username
2019-04-02 18:16:29 -04:00
Ben Halpern
5cc1109de4
Conditionally run feed validation (#2292) 2019-04-02 17:48:53 -04:00
Anna Buianova
d1db3abc35 Optimize sign in: User (#2237)
* Unique index on users email, conditional user unique validations

* Only uniqueness validations are conditional
2019-04-02 17:12:35 -04:00
Mohammadjavad Raadi
9f02062eb8 Fixes night mode issue #2244 (#2285)
* Patched article's comments/discussion styling according to night mode design (#2244)

* Fixed header title color

* Fixed article header background color and its border color

* Fixed "code of conduct" text and anchor link color

* Patched article's comments/discussion styling according to night mode design (#2244)

* Fixed "code of conduct" text and anchor link color

* Fixes night mode issue #2244
2019-04-02 16:08:26 -04:00
dependabot[bot]
0bc1b46535 Bump gibbon from 2.2.5 to 3.2.0 (#916)
Bumps [gibbon](https://github.com/amro/gibbon) from 2.2.5 to 3.2.0.
- [Release notes](https://github.com/amro/gibbon/releases)
- [Changelog](https://github.com/amro/gibbon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amro/gibbon/compare/v2.2.5...v3.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-02 13:24:42 -04:00
Ben Halpern
b0ad7f8c74
Some night theme code, other style adjustments, and extracted app name into ENV var (#2289)
* Style, theme adjustments, plus generalization work

* Modify login cta style on home page

* Modify text
2019-04-02 13:10:28 -04:00
Filip Defar
512c9ee8a0 Extract "followers" action from "show" in DashboardsController (#2270) 2019-04-01 18:43:44 -04:00
Ben Halpern
490645ea92
Add sponsors to sponsors page and add sponsor order field (#2284)
* Add sponsorship page

* Fix schema

* dev => DEV
2019-04-01 18:24:47 -04:00
Ben Halpern
c90be27677
Ignore unnecessary airbrake notices (#2283) 2019-04-01 17:40:50 -04:00
Ben Halpern
cc0e4b40dd
Allow orgs to be marked as sponsors (#2282)
* Allow orgs to be marked as sponsors

* Remove community sponsor condition
2019-04-01 16:41:25 -04:00
dependabot[bot]
9f4ab6d17a Bump twilio-ruby from 5.21.0 to 5.22.0 (#2254)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.21.0 to 5.22.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.21.0...5.22.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 16:38:42 -04:00
dependabot[bot]
d36f33f849 Bump recaptcha from 4.13.1 to 4.13.2 (#2253) [ci skip]
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/ambethia/recaptcha/releases)
- [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ambethia/recaptcha/compare/v4.13.1...v4.13.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 16:35:37 -04:00
dependabot[bot]
b8e567a350 Bump counter_culture from 2.1.2 to 2.1.4 (#2251) [ci skip]
Bumps [counter_culture](https://github.com/magnusvk/counter_culture) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/magnusvk/counter_culture/releases)
- [Changelog](https://github.com/magnusvk/counter_culture/blob/master/CHANGELOG.md)
- [Commits](https://github.com/magnusvk/counter_culture/compare/v2.1.2...v2.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 16:35:02 -04:00
dependabot[bot]
a903160d4a Bump shoulda-matchers from 4.0.0.rc1 to 4.0.1 (#2252) [ci skip]
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 4.0.0.rc1 to 4.0.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.0.0.rc1...v4.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 16:33:24 -04:00
dependabot[bot]
324d8fe6b1 Bump eslint from 5.15.3 to 5.16.0 (#2256) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.15.3 to 5.16.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.15.3...v5.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 16:32:45 -04:00
Mac Siri
beca74c587 Revert "Make comic sans default (#2257)"
This reverts commit 8865422bcf.
2019-04-01 12:49:46 -04:00
Ben Halpern
8865422bcf
Make comic sans default (#2257)
* Make comic sans default

* Add safe navigation for comic sans

* Add rails production clause

* Do html variant dismissal differently

* Do html variant dismissal differently
2019-04-01 08:48:51 -04:00
rhymes
c99fb27451 Add published in the SQL query to retrieve article (#2248)
Since we're already asking the DB to retrieve an article, we can directly ask it to filter out published articles without checking at runtime.
2019-04-01 06:24:17 -04:00
rhymes
54ccef4766 Fix error with articles API and unknown username (#2247)
Currently the articles API breaks the server when called with an unknown username. It should return nothing like when called with an unknown tag.
2019-03-31 10:47:48 -04:00
Ben Halpern
f1048c3cb9
Add night theme code in various places (#2243) 2019-03-30 18:04:32 -04:00
Perlat Kociaj
5b043e356d Fixes Github Repositories not visible #2227 (#2241)
Add theme container background color to GitHub repositories container in settings/integrations page.
2019-03-30 13:24:52 -04:00
Mac Siri
73127aca01 Remove controller specs (#2224)
* Create more request specs

* Update wording

* Update guard to work with requests

* Fix broken spec

* Remove rails-controller-testing gem

* Move article_specs

* Move last controller spec out

* Remove controller spec config

* Fix broken spec

* Remove all use of render_template

* Refactor spec

* Tweak User#remember_me

* Create ArticleAnalyticFetcher spec

* Undo User#remember_me

* Use srand in rspec

* Create FeedbackMessagesHelper spec

* Add DigestMailer spec

* Fix broken test
2019-03-29 19:05:02 -04:00
Paul
b22b3e3048 Fixed color to use custom property. (#2240) 2019-03-29 17:46:00 -04:00
Jess Lee
e5b9a1b7b1 Disable Scout's remote ip collection (#2239) 2019-03-29 15:09:30 -04:00
Anna Buianova
75a977172c Fix notifications about the new child comments (#2233) 2019-03-29 12:51:10 -04:00
Jess Lee
ece498caf8 add form validation so points cannot be nil (#2236) 2019-03-28 17:42:43 -04:00
Anna Buianova
4b02fe87a4 Optimize sign in: Identity #2061 (#2231)
* Add unique index to identity

* Conditional uniqueness validations on identities

* Remove redundant Identity specs
2019-03-28 16:10:23 -04:00
Jess Lee
9f74fd3794 Clear cache when merging users (#2229) 2019-03-28 12:26:14 -04:00
Anna Buianova
9c56e4413a Rubocop fixes (#2232)
* Enable ClassVars cop

* Enable Style/MultilineBlockChain cop

* Enable Style/SignalException

* Remove config parts matching with the default config

* Fix rubocop issue

* Moved cops that need to be fixed into the .rubocop_todo.yml
2019-03-28 07:35:17 -04:00
Mac Siri
7c1418a87c Update Gemfile.lock 2019-03-27 18:35:54 -04:00
Filip Defar
7a3b16c1e5 Extract "following" action from "show" in DashboardsController (#2212) 2019-03-27 17:03:53 -04:00
Jess Lee
2b92371d4d Add Scout gem and config (#2219) 2019-03-27 14:01:24 -04:00
Anna Buianova
6e23483b94 Enable BinaryOperatorParameterName and BlockNesting cops (#2214) [ci skip] 2019-03-26 20:01:48 -04:00
Lito
2ebd37aba2 Improved article slug generation (#2218)
* Improved article slug generation

Ruby on Rails has a built-in slug generator since Rails 2.2

This generator fix the slug generation when non english characters are used on title improving SEO. For example: https://dev.to/lito_ordes/redimensionando-imgenes-en-tiempo-de-ejecucin-con-packer-57c6

* Ruby on Rails has a built-in slug generator since Rails 2.2

This generator fix the slug generation when non english characters are used on title improving SEO. For example: https://dev.to/lito_ordes/redimensionando-imgenes-en-tiempo-de-ejecucin-con-packer-57c6

* Ruby on Rails has a built-in slug generator since Rails 2.2 

This generator fix the slug generation when non english characters are used on title improving SEO. For example: https://dev.to/lito_ordes/redimensionando-imgenes-en-tiempo-de-ejecucin-con-packer-57c6

* Ruby on Rails has a built-in slug generator since Rails 2.2

This generator fix the slug generation when non english characters are used on title improving SEO. For example: https://dev.to/lito_ordes/redimensionando-imgenes-en-tiempo-de-ejecucin-con-packer-57c6

* Ruby on Rails has a built-in slug generator since Rails 2.2 

This generator fix the slug generation when non english characters are used on title improving SEO. For example: https://dev.to/lito_ordes/redimensionando-imgenes-en-tiempo-de-ejecucin-con-packer-57c6

* Fix downcase transform on event model
2019-03-26 13:39:35 -04:00
Ben Halpern
d1e73dceba
Clean up new chat channel functionality and add tests (#2220) 2019-03-26 13:35:32 -04:00
Mario See
91968e3860 block/report abuse in dev-connect (#2074)
* block chat method

* block and report buttons

* styling

* more styling

* add id redirect

* remove whitespace

* authorize channel in block_chat method

* remove trailing whitespace

* make variable local

* validate using policy

* check channel direct

* fix comparison in chat_channel model

* fix channel variable
2019-03-26 11:53:30 -04:00
Ben Halpern
50c765ed10
Add several recommended tags for onboarding (#2217) 2019-03-26 10:51:36 -04:00
Glenn Carremans
cfd61b3b37 Inverted social icons in night theme (#2209) 2019-03-26 09:51:41 -04:00
Anna Buianova
a936aff625 DRY the Active Jobs specs (#2215) 2019-03-26 09:49:40 -04:00
Ali Spittel
ed1906b02e Fix dark theme issues with the pro dashboard (#2178) 2019-03-25 16:02:28 -04:00
dependabot[bot]
75391fee7f Bump webpush from 0.3.2 to 0.3.7 (#2198)
Bumps [webpush](https://github.com/zaru/webpush) from 0.3.2 to 0.3.7.
- [Release notes](https://github.com/zaru/webpush/releases)
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zaru/webpush/compare/v0.3.2...v0.3.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-25 15:38:59 -04:00
Jess Lee
65bdaa86f3 Remove product roadmap and clarify need for design mockups (#2206) [ci skip] 2019-03-25 15:34:00 -04:00
Filip Defar
88fc2a66d3 Remove /dashboard/following_users route (#2191) 2019-03-25 14:49:09 -04:00
Anna Buianova
e1968e815b Extract new reaction notification to ActiveJob (#2122) 2019-03-25 13:54:21 -04:00
Abraham Williams
fdd18e6bb1 Simplify development setup (#2143) 2019-03-25 12:53:39 -04:00
dependabot[bot]
cdb1e26719 Bump twilio-video from 1.15.2 to 1.16.0 (#2196) [ci skip]
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.15.2 to 1.16.0.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.16.0/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.15.2...1.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-25 12:24:58 -04:00