Commit graph

285 commits

Author SHA1 Message Date
Gabriel Lebec
4d673e9601 Support RunKit preamble (#696)
* feat(runkit-tag): support preamble

* chore(runkit-tag): remove unnecessary length check

* docs(editor guide text): add preamble to runkit snippet

* fix(spec/runkit-tag): add preamble code to spec

* fix(runkit-tag): prevent xss attacks

* fix(runkit-tag): prevent race condition
2018-09-21 11:27:42 -04:00
Ben Halpern
160056a19d
Add organization users to sidebar and other org ajustments (#707) 2018-09-20 15:43:43 -04:00
Ben Halpern
2545b8d77f
Modify styling and classes for iOS safari /connect (#701) 2018-09-19 18:25:36 -04:00
Andy Zhao
d8db1be7bd Update billing page with special case (#700) 2018-09-19 17:36:22 -04:00
Peter Frank
b157e221ee Update sponsor page (#688) 2018-09-17 14:40:03 -04:00
Benny Powers
95fe0eeb94 Add glitch embed options in liquid tag (#680)
* Add glitch embed options in liquid tag

* Add glitch embed options in liquid tag
2018-09-17 10:26:02 -04:00
Peter Frank
9b2bea8576 WIP new sponsor stuff (#650)
New Qlik sponsor stuff
2018-09-13 16:01:59 -04:00
Andy Zhao
da87fe2e0d Fix YouTube tag (#649)
* Fix YouTube tag

* Remove solargraph from VS Code recommendations

* Update editor guide for more clarity
2018-09-13 14:21:10 -04:00
Ben Halpern
dd32580ab1
Make article actions bar sticky (#648)
* Make article actions bar sticky

* Fix article load edge case

* Fix logic check
2018-09-13 13:52:35 -04:00
Ben Halpern
eeb408511a
Add extra caching to home query (#643)
* Update home feed logic and display

* Remove console log

* Add extra caching to home query

* Fix conflict
2018-09-12 16:34:10 -04:00
Ben Halpern
91f99036df
Update feed for slightly more customized top articles (#642)
* Update home feed logic and display

* Remove console log
2018-09-12 15:27:54 -04:00
Jess Lee
6117777841 fix badge sizing on internal user show page (#641) 2018-09-12 14:32:49 -04:00
Gaurav Shankar
4e297053ee Feature/share to linkedin (#624)
* Fixed the overflowing user name in the top bar under profile thumbnail

* Fixed by adding hidden and ellipsis

* Added the share to linkedin for sharing articles on LinkedIn

* Changed the summary param to article.description
2018-09-11 17:41:15 -04:00
Mac Siri
b946bb5530 Render canonical url (#632) 2018-09-11 17:40:04 -04:00
Jess Lee
4451e5eb38 Update User Dashboard With Mentorship Admin Features (#440)
* create mentor relationship table and begin dashboard

* add missing files from previous commit

* add mentorship relationship status

* remove uniqueness validation

* add multiple notes

* ban from mentorship deactives all relationships

* add untracked files

* fix logic issue and add specs

* add model specs

* add request specs

* add request specs and fix linting

* fix internal users spec

* remove phantom columns

* remove bizzaro character

* move all attr_accessor to one line
2018-09-11 15:59:25 -04:00
Ben Halpern
746329d4ef
Add check for @user in email template (which may not have @user) (#629) 2018-09-11 13:27:36 -04:00
Andy Zhao
744c2d4fff Fix email formatting (#627) 2018-09-11 10:25:21 -04:00
Ben Halpern
9009a1a977 Fix button height and modify video styling (#609) 2018-09-05 16:51:01 -04:00
Edison Yap
20082e2d78 Add a link to Reading List for easier access (#570) 2018-09-05 11:09:38 -04:00
Andy Zhao
7d7863da1f Add nofollow to /moderate links (#592) 2018-09-04 17:09:28 -04:00
Andy Zhao
22c9714919 V2 of Reports System (#441)
* Fix weird breakpoint top-nav issue

* Fix error handling when submitting blank note

* Change status closed to invalid

* Add ability to sort between status

* WIP

* Add working views for new report page

* Add mailer WIP

* Add MVP of new reports system

* Move collapse to the right & add show page link

* Fix buttons for index page

* Change collapse to collapse/expand

* Remove email functionality from new report

* Update copy of report abuse responses

* WIP of showing emails in reports

* Fix notes for user_role_service.rb

* Remove unused scripts from internal.html.erb

* Update tests for reports dashboard

* Add missing migration file

* Add finishing touches to reports dashboard

* Remove deprecated methods

* Update view with better timestamps

* Update and write new tests

* Add .codeclimate.yml

* Remove commented out editor thing

* Undo commented out code for recaptcha method

* Undo comment out code for development

* Use new comment path instead of old comment path
2018-09-04 17:08:41 -04:00
Andy Zhao
832e892373 Fix Liquid Tags (#590)
* Fix glitch tag

* Add custom solutions for default liquid tags

* Update liquid tags regex

* Add speakerdeck tag and format guide a bit
2018-09-04 16:19:24 -04:00
Ben Halpern
392d07e2bc
Fix sponsor copy 2018-09-01 12:02:30 -04:00
Ben Halpern
aa9cb7a7b7
Update sponsors page 2018-09-01 11:41:06 -04:00
Ben Halpern
7f56209dfb
Update sponsors for September 2018-09-01 11:31:50 -04:00
Araslanov Evgeny
97d9b836a7 Improve DogFoodController's querying (#350)
query with INNER JOIN and COUNT
2018-08-31 15:54:33 -04:00
Antony Garand
e7a0911b81 Replace http with https in links (#521)
* Comment liquid tag - https

Replaced `http` for `https` in twitter and github links

* User tag - Https

Replaced `http` with `https` in github and twitter links.

* Comments - Https

Replaced http with https for github and twitter links

* Article index

Article - Update twitter and github link from http to https

* Article markdown - Http to Https

Article markdown - replaced http with https

* Comment view: Closed `a` tag

An `a` tag was not correctly closed, before injecting an image. This commit closed it.
2018-08-30 16:06:38 -04:00
Kohei Sugi
36a895e521 Fix Lint/AmbiguousBlockAssociation (#454) 2018-08-30 12:51:21 -04:00
Nick Taylor
24621b03f2 Restructure pack files part I (#377)
* Renamed pack file from chat.jsx to Chat.jsx.

* refactor

* Missed a js pack where chat.js -> Chat.jsx

* 👷Refactor

* 👷Refactor

* 👷Refactor

* 👷Refactor

* Tests

* Fixed some wording in a test description.
2018-08-29 12:59:20 -04:00
Ben Halpern
0bc9a8d306 Remove open source announcement box (#534) 2018-08-29 11:40:11 -04:00
Ben Halpern
95908ddde1
Fix /live styling issues (#519) 2018-08-28 11:50:25 -04:00
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
Kohei Sugi
c50ac78c4b Fix Naming/MethodName Lint (#458) 2018-08-24 14:54:50 -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
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
Andy Zhao
fb22171267 Update ORLY Pages (#432) 2018-08-21 18:27:47 -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
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
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
Andy Zhao
24e663c131 Update YouTube liquid tag with better example (#392) 2018-08-17 17:24:11 -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
Andy Zhao
dc901999a7 Remove Algolia logo in search (#323)
* Update Algolia logo in search

* Remove algolia logo
2018-08-13 17:38:32 -04:00
Kayla
899e6e00a1 Show employment title without an employer (#291) 2018-08-13 17:01:49 -04:00
Kohei Sugi
36d2dfd122 Apply rubocop some rule (#295)
* Fix FactoryBot/StaticAttributeDefinedDynamically and Metrics/LineLength

* Fix RSpec/NotToNot: Prefer not_to over to_not

* Fix RSpec/NotToNot: Prefer not_to over to_not and Metrics/LineLength

* Fix Layout/MultilineMethodCallIndentation and Metrics/LineLength

* Fix Naming/PredicateName

* Fix Style/ConditionalAssignment

* Avoid code climate error
2018-08-13 16:32:11 -04:00
Ben Halpern
f7de30828e
Fix mentorship page typo (#330) 2018-08-11 02:59:08 -04:00