Commit graph

297 commits

Author SHA1 Message Date
Ben Halpern
97a8958a87
Rearrange some code to remove unnecessary queries (#787)
* Change harcoded memcache limit

* Rearrange some code to remove unnecessary queries
2018-10-02 10:59:51 -04:00
Frederik Creemers
d5341a9130 Add aria-label to moderation notification buttons. (#789) 2018-10-02 10:59:22 -04:00
Ben Halpern
fecb307bbe
Add ability to create trending tags (#784) 2018-10-01 08:33:53 -04:00
Ben Halpern
7e48a23afa
Ben/add more recent posts to home feed (#775)
* Add meta to sidebar and adjust ranking algo

* Update home feed to show more recent posts from folks you follow

* Only show recent posts on home feed if user signed in
2018-09-30 14:05:59 -04:00
Ben Halpern
be11d8fda1
Add meta to sidebar and adjust ranking algo (#766) 2018-09-29 12:58:44 -04:00
Ben Halpern
eae8b6332f
Change various admin pages (#758)
* Change int to float for more granular admin controls

* Change int to float for more granular admin controls

* Add details to /mod for admins
2018-09-27 18:03:49 -04:00
Ben Halpern
b95f8ae028
Add tab for not-buffered today and this week for internal articles (#756) 2018-09-27 12:51:27 -04:00
Ben Halpern
a4ed6dd71a
Modify internal/articles and RSS feed rules/page (#754) 2018-09-26 18:33:37 -04:00
Ben Halpern
2517bb555b
Add functionality for buffering to different accounts (#752)
* Create initial buffer updates logic

* Add UI functionality and test for sattelite tweets

* Add additional /mod functionality and re-use script partial in /internal
2018-09-26 15:51:39 -04:00
Peter Frank
90c6731184 Update sponsor' page (#751) 2018-09-26 12:40:02 -04:00
Ben Halpern
cf075d4a9f
Ben/fix authorization edge case (#748)
* Add top param to article tag api

* Fix user validation persistence bug
2018-09-25 18:46:17 -04:00
Andy Zhao
5814d0a263 Add slack notifications to notes for reports (#660)
* Remove extraneous string conversion

* Add slack message for new notes

* Move status and minimize buttons to the bottom

* Add note model spec

* Remove extraneous param for reported links
2018-09-25 14:36:54 -04:00
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