Commit graph

521 commits

Author SHA1 Message Date
Andy Zhao
a4c3d97aa9 Fix Liquid Filters and Fix DevComment Tag (#608)
* Update standard filters

* Update comment tag and rename devcomment tag

* Update tests with new file name

* Refactor liquid tags into null tag

* Fix renaming issue and refactor

* Fix useless assignment via codeclimate

* Add test for null tag

* Update LiquidTags.scss with new file name
2018-09-05 17:42:47 -04:00
Ben Halpern
9009a1a977 Fix button height and modify video styling (#609) 2018-09-05 16:51:01 -04:00
Andy Zhao
178d0205eb Update standard filters for Liquid (#607) 2018-09-05 12:15:55 -04:00
Gaurav Shankar
99d98d75b4 Fix long username in navbar (#588)
* Fixed the overflowing user name in the top bar under profile thumbnail

* Fixed by adding hidden and ellipsis
2018-09-05 11:58:07 -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
56f2a6479c Eager load reporter and notes (#594) 2018-09-04 18:11:07 -04:00
Kohei Sugi
1ccfdd4651 Fix Naming/UncommunicativeMethodParamName lint (#501)
* Fix Naming/UncommunicativeMethodParamName

* code climate
2018-09-04 18:00:26 -04:00
Ben Halpern
044be9e162
Modify instantclick to follow 404/500/302 statuses etc. (#593) 2018-09-04 17:20:13 -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
Andy Zhao
d9b6941537 Fix user profile additional links (#587)
* Fix user profile additional links

* Update user model and user spec
2018-09-04 13:06:48 -04:00
Ben Halpern
dcb73a7009
Modify gist tag regex (#585) 2018-09-03 19:49:58 -04:00
Yash Ghelani
9795b192a3 Upgrade to a font stack that uses better system fonts (#512) 2018-09-01 12:17:05 -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
Andy Zhao
fab4465bac Implement Liquid::StandardFilters (#571) 2018-08-31 17:27:41 -04:00
Araslanov Evgeny
97d9b836a7 Improve DogFoodController's querying (#350)
query with INNER JOIN and COUNT
2018-08-31 15:54:33 -04:00
Mac Siri
954efd3cab
Implement Liquid::CaptureTag (#565)
* Remove package-lock.json

* Remove phantom schema row

* Add better_errors gem

* Implement Liquid::CaptureTag

* Update .gitignore
2018-08-31 13:14:00 -04:00
Andy Zhao
c888fd6faa Add ability to prevent comment creation (#554) 2018-08-31 12:11:21 -04:00
Andy Zhao
c631209921 Fix codepen tag (#564)
* Fix codepen tag

* Fix codepen tag
2018-08-31 11:52:16 -04:00
Andy Zhao
b99566afb3 Improve GistTag (#555) 2018-08-30 16:32:20 -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
Ben Halpern
f1abd283f9 Expand BadgeRewarder functionality (#540)
- Refactor badge rewarder
- Add contributor badge functionality
- Create BadgeRewarder rake tasks
2018-08-30 16:03:38 -04:00
Araslanov Evgeny
c0c07a0085 Refactor application_helper.rb (#325) 2018-08-30 13:00:53 -04:00
Kohei Sugi
36a895e521 Fix Lint/AmbiguousBlockAssociation (#454) 2018-08-30 12:51:21 -04:00
Andy Zhao
ceb8a70103 Fix typo on offline page (#553) 2018-08-30 12:01:14 -04:00
Edison Yap
ee5efe4c4a Fix chat channels being blocked by footer (#513) 2018-08-29 18:24:17 -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
Mac Siri
2dbf16eeb2
Expand README's setup steps (#520)
* Remove duplicate key

* Improve test specs

* Update README
2018-08-28 17:37:29 -04:00
AshWhitear
ce45d0ef81 Update all necessary follow buttons on click (#433) 2018-08-28 15:34:09 -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
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
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
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