Commit graph

2946 commits

Author SHA1 Message Date
Allan Klaus
4402cc212c Create tests to PingAdmins (#4169) [ci skip] 2019-10-03 11:18:53 -04:00
Chris Johnston
5da6c4e1c7 Add anchor and basic setup using docker (#4187) [ci skip] 2019-10-03 11:10:15 -04:00
Sebastián Chamena
2939a1cad4 Updates nio4r gem version (#4202) [ci skip] 2019-10-03 11:09:12 -04:00
Scott Batary
929f53ecfd Make onboarding compatible with all themes (#4198) [ci skip] 2019-10-03 11:08:40 -04:00
Jacob Herrington
fa3612abf9 Fix technical overview doc layout [ci skip] (#4201) 2019-10-03 11:07:54 -04:00
Juan Alejandro Morais
6a8c766322 Modify styling for tag-edit.scss (#4137)
Tags scss needed to be more cohesive with the entire DEV aeshetic, so I made the following changes:

* Decreased the margin between the `tag-edit-container` and `tag-edit-tag areas`.
* Added vertical margins to `tag-form-field` so that elements have a breathing room between them.
* Increased the width of `tag-form-text-field` so that it's a bit easier to read, and changed its resizing mode to be vertical ONLY. Resizing a textarea should feel easy.
* When clicking on a text field, the class `focus-visible` becomes active - The border color now becomes black.
* Button `tag-edit-submit` was looking very unfamiliar with all other buttons. I didn't want it to be lonely, so I gave it attributes to match the 'WRITE A POST' CTA button.
* `tag-edit-flash-error` will show background $red instead of the hardcoded hex value (#ff0000).

Modify tags/edit.html.erb

* The top area now shows a '#' sign next to the tag show section, e.g. '#beginner is the name of the tag used in Markdown.'
* The order for text edit fields is now Summary, Wiki Markdown, Rules Markdown. The reason for this is that the Rules Markdown area feels like it's optional - Not every tag will have submission guidelines or specific rules.
* Text area descriptions have changed a bit to try represent what they do better.

Fix: import variables & mixin, refactor tag-edit
2019-10-02 15:07:43 -04:00
Aswathprabhu
598427f658 Fix Dev listings button color in pink theme (#4190) [ci skip] 2019-10-02 14:15:08 -04:00
Luciano Lima
46750e0a87 Fix footer position bug (#3965) [ci skip] 2019-10-02 13:37:50 -04:00
Araslanov Evgeny
b7668f2518 Add test markdown parse snake case (#4188) [ci skip] 2019-10-02 13:26:22 -04:00
Anna Buianova
3c49073c2b Limit access to the API actions when authorized by doorkeeper token (#4170) 2019-10-02 13:17:47 -04:00
Araslanov Evgeny
c4cf6df29c Resolve CONTRIBUTING.md's markdown inconsistency (#4189) [ci skip] 2019-10-02 13:06:22 -04:00
Anna Buianova
00b602364e Fix pro_membership_spec's lint (#4193) [ci skip] 2019-10-02 13:04:43 -04:00
Michael Kohl
a9e1e71e1f Add Asciinema Liquid tag (#4152)
* Add Asciinema Liquid tag

Closes #4135

* Fix Iframe URL

* Remove unnecessary regex modifier

* Re-add accidentally deleted closing tag and set iframe height

* Improve error message for invalid ID

Co-Authored-By: Andy Zhao <andyzhao.zhao@gmail.com>
2019-10-02 11:39:19 -04:00
rhymes
757b1a8b57 Prepend before_destroy(s) in models with destroy dependents (#4191) 2019-10-02 11:25:24 -04:00
Aswathprabhu
e0287a574c Refactoring sendFetch.jsx removes code duplication (#4157) 2019-10-01 17:03:47 -04:00
Aswathprabhu
eeb6cbd763 Refactoring userDetails.jsx removes user config duplication (#4161) 2019-10-01 17:01:05 -04:00
Enrico Grillo
f3417d7ecb [DOC] Remove repetitive phrasing to improve readability (#4175) [ci skip] 2019-10-01 16:34:49 -04:00
Jacob Herrington
4ea1e6e020 Fix typos and mechanical mistakes (#4177) [ci skip] 2019-10-01 16:30:13 -04:00
Mac Siri
dd391d5e34
Validates Article's published_at (#4140) 2019-10-01 15:57:36 -04:00
Kay Plößer
eaf0722e7b Add comment syntax explanation #4130 (#4178) [ci skip] 2019-10-01 15:56:12 -04:00
Aswathprabhu
65394cb8cc Refactoring articleForm.jsx removes code duplication (#4159) 2019-10-01 12:05:57 -04:00
Araslanov Evgeny
418e66d5ff Refactoring Notifications::NewComment::Send (#4115) 2019-10-01 10:39:58 -04:00
Ben Halpern
cbef9ada79
Add some architecture docs (#4171) 2019-10-01 10:30:03 -04:00
John Curcio
bfef186684 Fix medium liquid tags scraping (#3485) (#4120)
* Scrape medium tag information using page meta tags (#3485)

* Add tests for medium liquid tag service
2019-10-01 10:29:25 -04:00
Aswathprabhu
cb84a7c63f Refactoring view.jsx removes code duplication (#4154)
* Refactoring view.jsx removes code duplication

* Updates view jsx test snapshots
2019-10-01 08:41:46 -04:00
Ben Halpern
53547e8ebc
Add hacktoberfest sidebar and flare (#4166) 2019-09-30 20:56:55 -04:00
dependabot-preview[bot]
696fd997d6 Bump uglifier from 4.1.20 to 4.2.0 (#4147) [ci skip]
Bumps [uglifier](https://github.com/lautis/uglifier) from 4.1.20 to 4.2.0.
- [Release notes](https://github.com/lautis/uglifier/releases)
- [Changelog](https://github.com/lautis/uglifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lautis/uglifier/compare/v4.1.20...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 19:16:54 -04:00
dependabot-preview[bot]
afd37e6589 Bump carrierwave from 2.0.1 to 2.0.2 (#4146) [ci skip]
Bumps [carrierwave](https://github.com/carrierwaveuploader/carrierwave) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/carrierwaveuploader/carrierwave/releases)
- [Changelog](https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md)
- [Commits](https://github.com/carrierwaveuploader/carrierwave/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 19:07:45 -04:00
dependabot-preview[bot]
a049e38cce Bump pusher-js from 5.0.1 to 5.0.2 (#4165)
Bumps [pusher-js](https://github.com/pusher/pusher-js) from 5.0.1 to 5.0.2.
- [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/v5.0.1...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 18:08:36 -04:00
dependabot-preview[bot]
b65d5695eb Bump redoc-cli from 0.8.6 to 0.9.2 (#4164) [ci skip]
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.8.6 to 0.9.2.
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 18:07:26 -04:00
dependabot-preview[bot]
90d18d78f7 Bump rouge from 3.10.0 to 3.11.0 (#4145) [ci skip]
Bumps [rouge](https://github.com/rouge-ruby/rouge) from 3.10.0 to 3.11.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.10.0...v3.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 18:03:38 -04:00
dependabot-preview[bot]
75f6590ab0 Bump lint-staged from 9.3.0 to 9.4.0 (#4162) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.3.0 to 9.4.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.3.0...v9.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 17:49:02 -04:00
dependabot-preview[bot]
33ed31c054 Bump husky from 3.0.5 to 3.0.7 (#4163) [ci skip]
Bumps [husky](https://github.com/typicode/husky) from 3.0.5 to 3.0.7.
- [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.5...v3.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 17:47:34 -04:00
Andy Zhao
1f2124d017 Increase length limit for url (#4160) 2019-09-30 15:16:11 -04:00
dependabot-preview[bot]
eeacc52841 Bump derailed_benchmarks from 1.3.6 to 1.4.0 (#4144) [ci skip]
Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks) from 1.3.6 to 1.4.0.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases)
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.3.6...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 13:35:35 -04:00
dependabot-preview[bot]
6c6dc3a95d Bump scout_apm from 2.6.0 to 2.6.1 (#4143) [ci skip]
Bumps [scout_apm](https://github.com/scoutapp/scout_apm_ruby) from 2.6.0 to 2.6.1.
- [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.6.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 13:34:48 -04:00
dependabot-preview[bot]
0df5897454 Bump webmock from 3.7.5 to 3.7.6 (#4142) [ci skip]
Bumps [webmock](https://github.com/bblimke/webmock) from 3.7.5 to 3.7.6.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.7.5...v3.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 13:34:10 -04:00
Jacob Herrington
57d1601caf Update core team members [ci skip] (#4150) 2019-09-30 12:43:45 -04:00
rhymes
178e752239 Require rubyzip (#4141) 2019-09-30 10:41:58 -04:00
rhymes
280f314123 Update rubyzip to 1.3.0 to fix vulnerability (#4133) 2019-09-30 09:58:41 -04:00
dependabot-preview[bot]
a85a35cfc9 Bump puma from 4.1.0 to 4.2.0 (#4084) [ci skip]
Bumps [puma](https://github.com/puma/puma) from 4.1.0 to 4.2.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.1.0...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 09:58:25 -04:00
Mike Healy
1e606b4298 Fix radio button labels on Report Abuse page (#4119) 2019-09-29 19:50:03 -04:00
Jake Wesorick
01f841923e Fix images in chat overflowing outside chat window. (#4127) 2019-09-29 19:13:13 -04:00
rhymes
50cdfb0a96 Do not cache articles notification time indication (#4122)
Fragment caching does not support an explicit expiration date for simplicitly, which means that cached resources are tied to the update datetime of the model.

In this case unfortunately this is not sufficient: a cached time that potentially never gets expired can stale quickly when applied to a time sensitive item like a notification.

Since the "time ago" computation is not particularly heavy and notifications are paginated, I ended up removing that part from the cache altogether.

As a byproduct I created two new separate cache keys for the article notification, one of each section surrounding the time.
2019-09-29 11:39:03 -04:00
rhymes
8a5fb23335 Use server side comments for templates (#4123) 2019-09-27 10:10:30 -04:00
Laura Chan
427a8dd45e Fix colorPicker's lints (#4109) [ci skip] 2019-09-27 09:43:51 -04:00
Ben Halpern
aa9f03740e
Change stackbit integrations page details (#4118)
* Change stackbit integrations page details

* Fix wrongly commented out code
2019-09-26 08:45:19 -04:00
Ben Halpern
8d40f54a31
Add initial functionality for Stackbit on integrations settings tab (#4113)
* Add initial functionality for Stackbit on integrations settings tab

* Add test for stackbit integration

* Adjust test

* switch check from grants to tokens
2019-09-26 07:29:28 -04:00
Anna Buianova
fd1b9868a2 Destroy webhook endpoints when user revokes oaurh app access (#4099)
* Destroy webhook endpoints when user revokes oaurh app access

* Make webhooks destroy on revoke asynchronous
2019-09-26 06:23:38 -04:00
Mac Siri
b7e254ac01
Fix biller spec's zonebie issue (#4112) [ci skip] 2019-09-25 19:00:53 -04:00