Commit graph

623 commits

Author SHA1 Message Date
Ben Halpern
01e43a99e7
Fix /connect bug and add email-if-inactive functionality (#482)
* Add basic functionality for connect message emails

* Fix lint

* Add connect messages email permission
2018-08-27 14:29:53 -04:00
Andy Zhao
cea3fc7f26 Update travis.yml (#504)
* Update travis.yml

* Add new bounty hunters

* Update travis.yml
2018-08-27 14:04:43 -04:00
Grey Baker
519d1e1fea Bump factorybot rails (#475)
* Bump factory_bot_rails from 4.10.0 to 4.11.0

Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS)
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.10.0...v4.11.0)

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

* Update factories to always use blocks
2018-08-24 17:28:26 -04:00
Peter Frank
a3dbc246e5 Add design guidelines to docs (#422)
* Add design guidelines to docs

Design inspiration, notes, and acknowledgments

* Update design guideline wording
2018-08-24 15:39:18 -04:00
Ali Spittel
f509607eb9 Create new offline page (#463)
* Update offline.html

* Update serviceworker.js.erb
2018-08-24 15:09:00 -04:00
Kohei Sugi
c50ac78c4b Fix Naming/MethodName Lint (#458) 2018-08-24 14:54:50 -04:00
Brett Stevenson
f423511178 Add youtube start time feature (#437) 2018-08-24 12:59:29 -04:00
Kohei Sugi
e772169211 Fix Style/For (#457) 2018-08-24 11:00:52 -04:00
Kohei Sugi
ac0d49cbd6 Fix Lint/ShadowingOuterLocalVariable (#455) 2018-08-24 09:11:13 -04:00
Kohei Sugi
7760a8d196 Fix Lint/UselessAssignment (#388) 2018-08-23 15:03:29 -04:00
Ben Halpern
992c95ff25 Add healthy debate flare tag and sidebar widget (#449) 2018-08-23 14:57:43 -04:00
Loïc Vernet
bbd9aef3cc Remove extra quote in html (#447) 2018-08-23 12:12:50 -04:00
Niraj Nandish
0600757d30 Fix broken link in README.md (#445) [ci skip]
The link for the installation docs was wrong and it has been fixed.
2018-08-23 12:11:35 -04:00
Andy Zhao
79d8661ccc Increase #cache_tag_list limit (#436)
* Update error message for single tag length

* Increase cached_tag_list length to match tag length limit
2018-08-22 14:17:58 -04:00
Jess Lee
8c695378c5 Add issue levels doc (#414) 2018-08-22 12:48:45 -04:00
Andy Zhao
fb22171267 Update ORLY Pages (#432) 2018-08-21 18:27:47 -04:00
Kohei Sugi
3343998391 Fix Naming/MemoizedInstanceVariableName lint (#389) 2018-08-21 16:35:57 -04:00
Shawn McElroy
318f1b28d5 link to the new repo (#416) 2018-08-21 15:27:38 -04:00
Andy Zhao
b1f6587a3a Fix #valid_link for CodePen and Gist Liquid tags (#425) 2018-08-21 14:16:56 -04:00
Ben Halpern
f609cfc2fc Remove thumbsdown slack ping (#421) [ci skip] 2018-08-21 14:09:25 -04:00
Kohei Sugi
5927b13667 Fix Style/DateTime Lint (#385) [ci skip] 2018-08-20 16:23:06 -04:00
dgolant
82f99c6c8b Add figcaption to _editor_guide_text.html.erb (#402) 2018-08-20 15:33:58 -04:00
Josh Cheek
4a2a003a98 Feature/vimeo tag (#409)
* Add liquid tag for vimeo

* VimeoTag works when Markdown makes its input HTML

* VimeoTag documentation
2018-08-20 14:26:18 -04:00
Mac Siri
1b8e158c7d
Update .travis.yml (#411) 2018-08-20 12:43:34 -04:00
Monica Powell
d303692bc0 #260 increase mentee-mentor description length (#405)
* increase mentee-mentor description length and fix linting errors

* fix char limit issue and refactor tests
2018-08-20 10:20:23 -04:00
Kohei Sugi
83c9196704 Fix Style/IfInsideElse (#386) 2018-08-19 19:38:30 -04:00
Kohei Sugi
2e0eb0e0ef Fix Naming/VariableName (#387) 2018-08-19 19:37:57 -04:00
Monica Powell
43ed4bfeec Added link to testing docs (#407) [ci skip]
It took longer then I care to admit to find the right command to run tests so I think it would be helpful to have a direct link to https://docs.dev.to/testing/ in the README in addition to the link to https://docs.dev.to/
2018-08-19 19:24:25 -04:00
Monica Powell
04e60f6829 Fixes "services" typo (#408) [ci skip] 2018-08-19 17:53:19 -04:00
Andy Zhao
4b3951cfb2 Silence cache logs and fix a small bug (#370)
* Test that async_score_calc only changes ratings if published

* Run async_score_calc only if an article is published

* Turn delaying jobs back on after tests run
2018-08-18 16:57:57 -04:00
rhymes
c4802218ff Fix LinkedIn accepted urls (#390)
* Add support for country specific Linkedin urls

Closes #343

* Add tests to make sure three letters country codes are prohibited
2018-08-17 17:25:23 -04:00
Andy Zhao
24e663c131 Update YouTube liquid tag with better example (#392) 2018-08-17 17:24:11 -04:00
Andy Zhao
de25d33ce9 Delay all destroys and bust old username path (#391) 2018-08-17 17:23:33 -04:00
Kohei Sugi
fc49fc002c Fix Style/Semicolon Lint (#376) [ci skip] 2018-08-17 12:15:38 -04:00
Kohei Sugi
222f4da3d5 Remove minor rubocop_todos (#378) [ci skip] 2018-08-17 12:09:09 -04:00
Peter Frank
2419c6c335 Add user liquid tag to editor guide (#379)
Added the DEV user embed instructions to the editor guide
2018-08-17 10:49:11 -04:00
rhymes
14fb6e4a8d Fix images button style in new editor (#381) 2018-08-17 10:48:33 -04:00
Mac Siri
7447c38d20
Update PULL_REQUEST_TEMPLATE.md 2018-08-16 17:03:41 -04:00
Mac Siri
7e88a3b57f Expend installation docs (#366)
* Update Travis's Slack config

* Fix styling

* Update prerequisites

* Update prerequisites

* Update README

* Expand installation docs

* Specify minimum Postgres version [ci skip]

* Change specified PostgreSQL version

* Update netlify.toml

* Update schema

* Update algolia links [ci skip]

* Update installation docs

* Remove TODO

* Update installation path/title

* Update top level installation guide

* Change installations directory name

* Rename installations to installation in docs

* Fix headline typo

* Add liquid tags and adjust main readme
2018-08-16 15:52:56 -04:00
Kohei Sugi
33086d47f0 Fix Style/NumericPredicate lint (#367) [ci skip] 2018-08-16 15:27:11 -04:00
Kohei Sugi
808655e2f3 Fix Layout/SpaceInsideArrayLiteralBrackets lint (#368) 2018-08-16 15:22:59 -04:00
Araslanov Evgeny
8095c8fc4d Added ArticleWithVideoCreationService (#344) 2018-08-15 17:19:54 -04:00
Araslanov Evgeny
4ba8296298 API: Fix find tags by name (#359) 2018-08-15 17:01:43 -04:00
Adarsh
f5a6011191 Fix doc's Twitter link [ci skip] (#353) 2018-08-15 16:40:18 -04:00
rhymes
b6f61cb4b7 Upgrade pg gem to 1.0 (#328)
This references #298. The rationale behind the changes:

* msgpack supports Ruby 2.5 on Windows starting from 1.2.4
* pg supports Ruby 2.5 on Windows starting from 1.0
* stackprof is Linux/OSX only
2018-08-15 16:18:42 -04:00
Kohei Sugi
91c3eef1e1 Fix Layout/EndAlignment lint (#349) [skip ci] 2018-08-15 15:49:38 -04:00
Thomas Joseph Lawton III
bbd86842bd Add linux documentation (#314) [ci skip]
* Updates README.md with details on setup for Linux

* Fixes silly git mistake

* Adds Linux setup documentation to README.md
2018-08-15 14:04:15 -04:00
Kohei Sugi
9b841f8235 Use TimeWithZone (#351) [ci skip]
before
```
$ bundle exec rspec  spec/models/article_spec.rb:431
Run options: include {:locations=>{"./spec/models/article_spec.rb"=>[431]}}
F

Failures:

  1) Article does not show year in readable time if not current year
     Failure/Error: expect(article.readable_publish_date).to eq(time_now.strftime("%b %e"))

       expected: "Aug 15"
            got: "Aug 14"

       (compared using ==)
     # ./spec/models/article_spec.rb:434:in `block (2 levels) in <top (required)>'
     # ./spec/rails_helper.rb:84:in `block (3 levels) in <top (required)>'
     # ./spec/rails_helper.rb:84:in `block (2 levels) in <top (required)>'

Finished in 0.88093 seconds (files took 15.54 seconds to load)
1 example, 1 failure
```

after
```
$ bundle exec rspec  spec/models/article_spec.rb:431
Run options: include {:locations=>{"./spec/models/article_spec.rb"=>[431]}}
.

Finished in 0.86248 seconds (files took 12.44 seconds to load)
1 example, 0 failures
```
2018-08-14 14:44:53 -04:00
Andy Zhao
183976fde0 Unmute cache silencer temporarily (#324)
* Unmute cache silencer temporarily

* Update .travis.yml
2018-08-14 12:29:35 -04:00
Nick Taylor
01d5ec0fa2 Task/prettier for markdown (#335) [ci skip]
* Added prettier for markdown files on precommit.

* Ran prettier on markdown files.

* Fixed wording as per PR comment.

* Got rid of the double vision on "the". 🙃
2018-08-13 18:04:26 -04:00