Commit graph

2728 commits

Author SHA1 Message Date
dependabot-preview[bot]
bcf3abbeb4 Bump eslint-config-prettier from 6.0.0 to 6.1.0 (#3832) [ci skip]
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.0.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:48:43 -04:00
dependabot-preview[bot]
df6a036d67 Bump babel-eslint from 10.0.2 to 10.0.3 (#3833) [ci skip]
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:47:42 -04:00
dependabot-preview[bot]
1de58b0ea0 Bump rubocop-rails from 2.2.1 to 2.3.1 (#3836) [ci skip]
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.2.1...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:46:53 -04:00
dependabot-preview[bot]
a6a72f7e59 Bump lint-staged from 9.2.1 to 9.2.4 (#3834) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.2.1 to 9.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.2.1...v9.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:46:24 -04:00
dependabot-preview[bot]
4785183b21 Bump test-prof from 0.9.0 to 0.10.0 (#3842)
Bumps [test-prof](https://github.com/palkan/test-prof) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/palkan/test-prof/releases)
- [Changelog](https://github.com/palkan/test-prof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palkan/test-prof/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:02:01 -04:00
not-a-patch
4243510f87 Backend Docs: roles.md #3737 (#3827) 2019-08-26 14:50:39 -04:00
dependabot-preview[bot]
f4ff71a41c [Security] Bump eslint-utils from 1.3.1 to 1.4.2 (#3844)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. **This update includes a security fix.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 14:50:03 -04:00
Ben Halpern
cbe599e2eb
Adjust internal page logic and add credits copy to notifications (#3843)
* Adjust internal page logic and add credits copy to notifications

* Adjust badge email copy
2019-08-26 13:41:13 -04:00
Feruz Oripov
4cc517d1c2 Refactoring models/article.rb. (#3835) 2019-08-26 13:32:28 -04:00
dependabot-preview[bot]
e5b3d23297 Bump twilio-ruby from 5.25.3 to 5.25.4 (#3839)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.25.3 to 5.25.4.
- [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.3...5.25.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 13:29:09 -04:00
John Curcio
0f2ae535c8 Removes temp .received file (#3731) (#3821) 2019-08-25 12:30:27 -04:00
Feruz Oripov
c9d91e1552 Refactoring social_previews_controller.rb. (#3818) 2019-08-24 16:24:20 -04:00
John Curcio
c81ff56d13 Fix encoding of special characters in org (#3779) (#3817) 2019-08-24 15:08:31 -04:00
Ben Halpern
3443fdf2bd
Create endpoint for liquid tag embed (#3813) 2019-08-23 17:42:04 -04:00
Mario See
47c2885810 Listings set custom expiry date (#3770)
* add expire_on column to classified_listings

* add expire_on to valid listing params

* add expire_on to model

* add expire date to new listing form

* add field in edit form

* add expiry dates to dashboard

* update expiry date in listing toolkit

* WIP unpublish job and test

test still has to run properly

* add job to class name

* change job to rake task

* revert snap change

* delete migration file

will add new one and revert schema changes to rename column

* reset schema

* add new migration to schema 'expires_at'

* change expire_on to expires_at
2019-08-23 17:33:50 -04:00
Feruz Oripov
352a09e82f Refactoring chat_channels_controller.rb. (#3808)
* Refactoring chat_channels_controller.rb.

* Use %i or %I for an array of symbols
2019-08-23 17:16:35 -04:00
not-a-patch
e9c33f4aea Backend docs: github authentication updated (#3814)
- first item says "sign in" when it actually links you to
   creation of a OAuth application
2019-08-23 17:11:22 -04:00
Anna Buianova
9b04654e3b Refactor articles creation (#3797)
* Refactor articles creation

* Create article from /admin via a service for consistency

* Move articles destroy logic into Articles::Destroyer
2019-08-23 14:43:29 -04:00
Ben Halpern
76bedc6b23
Add onboarding variants and update variant display ratio (#3812) 2019-08-23 12:48:29 -04:00
Nick Taylor
39618f66a2 Fixed some more Frontend Lint Issues (#3792)
* Removed a file that is not used.

* Fixed some lint issues

* Fixed some more lint issues
2019-08-23 10:21:28 -04:00
not-a-patch
c6fc92b63c Replace magic number for reading speed with symbolic constant (#3809) 2019-08-23 10:04:17 -04:00
Andy Zhao
5754b4a169 Add comment markdown to warned_user_ping (#3750)
* Add comment markdown to warned_user_ping

* Add missing argument
2019-08-22 22:04:45 -04:00
John Curcio
6dbb588d37 Add android and ios apps download page (#3736) (#3798)
* Add android and ios apps download page (#3736)

* Adhere to Rubocob's style guide
2019-08-22 21:04:58 -04:00
Feruz Oripov
c0e1ad0e46 Refactoring organizations_controller.rb. Adding set_organization method (#3793)
for not repeating query code.
2019-08-22 20:54:53 -04:00
Feruz Oripov
8acd1dc638 Refactoring dashboards_controller.rb. (#3794) 2019-08-22 20:54:21 -04:00
Yash Dave
773982e210 Fixes some lint issues (#3786)
Fixes lint issues in /home/yash/GitHub/dev.to/app/assets/javascripts/utilities/
	- browserStoreCache.js
	- checkUserLoggedIn.js
	- createAjaxReq.js
	- getCurrentPage.js
	- getImageForLink.js
	- insertAfter.js
	- localDateTime.js
	- localStorageTest.js
	- preventDefaultAction.js

Signed-off-by: Amorpheuz <mail2ypd@gmail.com>
2019-08-22 15:59:13 -04:00
Jess Lee
d093667198 show single pinned article (#3803) 2019-08-22 15:57:31 -04:00
Yash Dave
0a9dc547d0 Updates Docs -> Installation -> Windows -> Possible error messages (#3804)
Adds solution for the command 'bin/setup' failing while trying to install
'cld-0.8.0' due to absence of 'aclocal-1.10' and 'automake-1.10'. Provides
commands to install 'automake-1.10' from 'ftp.gnu.org' which fixes the problem.

Signed-off-by: Amorpheuz <mail2ypd@gmail.com>
2019-08-22 15:56:40 -04:00
Mladen Ilić
50fe104ee7 Fix typo (#3789)
Fix a typo in flash message
2019-08-22 12:51:05 -04:00
Feruz Oripov
c9b40326ac Refactoring chat_channels_controller.rb. Adding set_channel private (#3787)
method for not repeating query code.
2019-08-21 19:08:16 -04:00
Ben Halpern
a287263875
Remove listings privileges from banned users (#3784) 2019-08-21 16:44:27 -04:00
Ben Halpern
a934968190
Add dropdown and report-abuse for users (#3788)
* Add dropdown and report-abuse for users

* Move script to JS area
2019-08-21 16:43:52 -04:00
dependabot-preview[bot]
a896149ae8 Bump rouge from 3.7.0 to 3.8.0 (#3763)
Bumps [rouge](https://github.com/rouge-ruby/rouge) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rouge-ruby/rouge/compare/v3.7.0...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 11:36:17 -04:00
dependabot-preview[bot]
e40b9b2ff9 Bump codemirror from 5.48.2 to 5.48.4 (#3757)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.48.2 to 5.48.4.
- [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.2...5.48.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 10:47:26 -04:00
dependabot-preview[bot]
ad33d85377 Bump pundit from 2.0.1 to 2.1.0 (#3761)
Bumps [pundit](https://github.com/varvet/pundit) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 10:46:26 -04:00
Nick Taylor
0147d8bd26 Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
dependabot-preview[bot]
6442ce2bb8 Bump puma from 4.0.1 to 4.1.0 (#3766)
Bumps [puma](https://github.com/puma/puma) from 4.0.1 to 4.1.0.
- [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/v4.0.1...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 17:17:52 -04:00
Ben Halpern
fe2d67eedc
Remove channel_users from chat_channel index (#3780) 2019-08-20 17:11:50 -04:00
dependabot-preview[bot]
f90dda081c Bump sass-rails from 5.0.7 to 5.1.0 (#3764)
Bumps [sass-rails](https://github.com/rails/sass-rails) from 5.0.7 to 5.1.0.
- [Release notes](https://github.com/rails/sass-rails/releases)
- [Commits](https://github.com/rails/sass-rails/compare/v5.0.7...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 13:57:33 -04:00
dependabot-preview[bot]
10ca41adb5 Bump husky from 3.0.3 to 3.0.4 (#3760)
Bumps [husky](https://github.com/typicode/husky) from 3.0.3 to 3.0.4.
- [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.3...v3.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 13:56:05 -04:00
Ben Halpern
04a810d739
Fix video image redirect issue (#3778) 2019-08-20 13:18:38 -04:00
Anna Buianova
5deb668ecd Rubocop fixes (#3774) 2019-08-20 10:32:26 -04:00
dependabot-preview[bot]
b941de79cb Bump airbrake from 9.4.1 to 9.4.3 (#3765)
Bumps [airbrake](https://github.com/airbrake/airbrake) from 9.4.1 to 9.4.3.
- [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/v9.4.1...v9.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 18:16:16 -04:00
Andy Zhao
e0da0ac955 Fix for multi-image upload to handle single imgs for comments (#3771)
* Fix for multi-image upload to handle single imgs for comments

* Remove additional multiple oops
2019-08-19 18:15:35 -04:00
Ben Halpern
dd41f7ddf5
Redesign series style (#3768) 2019-08-19 15:26:21 -04:00
dependabot-preview[bot]
31b3fad693 Bump scout_apm from 2.5.1 to 2.5.2 (#3767)
Bumps [scout_apm](https://github.com/scoutapp/scout_apm_ruby) from 2.5.1 to 2.5.2.
- [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.5.1...v2.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 15:13:01 -04:00
Ben Halpern
8b4dc85ee4
Add internal dashboard for growth (#3749) 2019-08-19 09:41:04 -04:00
Nick Taylor
ffd5becbde Updated Preact to fix React DevTools errors. (#3745) 2019-08-19 08:58:41 -04:00
Ben Halpern
9dd474d12e
Remove unnecessary imports from css (#3743)
* Remove unnecessary imports

* Remove unneeded shared.scss code and mixins

* Add kbd to top
2019-08-18 19:39:03 -04:00
Ben Halpern
40559a0457
Add random variants to onboarding for a/b testing (#3742)
* Add random variants to onboarding for a/b testing

* revert listings dashboard snapshot
2019-08-18 18:30:22 -04:00