Commit graph

733 commits

Author SHA1 Message Date
Andy Zhao
13ab37951c Update analytics controller with new policy (#630) 2018-09-11 16:45:27 -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
Nathan Sebhastian
e0b7df7fc5 update article path when username is changed (#626) 2018-09-11 13:38:42 -04:00
Andy Zhao
ff9d2c7f7a Update gist tag regex (#628) 2018-09-11 13:29:28 -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
dependabot[bot]
7b8fff6e1a Bump puma from 3.11.2 to 3.12.0 (#545)
Bumps [puma](https://github.com/puma/puma) from 3.11.2 to 3.12.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/v3.11.2...v3.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 12:50:20 -04:00
dependabot[bot]
4ca7cb7bac Bump stream_rails from 2.5.2 to 2.6.5 (#468) [ci skip]
Bumps [stream_rails](https://github.com/GetStream/stream-rails) from 2.5.2 to 2.6.5.
- [Release notes](https://github.com/GetStream/stream-rails/releases)
- [Commits](https://github.com/GetStream/stream-rails/compare/v2.5.2...v2.6.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 12:49:04 -04:00
dependabot[bot]
4526b4453f Bump recaptcha from 4.6.4 to 4.12.0 (#546)
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 4.6.4 to 4.12.0.
- [Release notes](https://github.com/ambethia/recaptcha/releases)
- [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ambethia/recaptcha/compare/v4.6.4...v4.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 12:25:52 -04:00
dependabot[bot]
060fa1ce16 Bump rouge from 3.1.1 to 3.2.1 (#544) [ci skip]
Bumps [rouge](https://github.com/jneen/rouge) from 3.1.1 to 3.2.1.
- [Release notes](https://github.com/jneen/rouge/releases)
- [Changelog](https://github.com/jneen/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jneen/rouge/compare/v3.1.1...v3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-11 12:25:26 -04:00
Andy Zhao
744c2d4fff Fix email formatting (#627) 2018-09-11 10:25:21 -04:00
Mac Siri
be69958b92
Remove redundant dependencies (#613) 2018-09-10 17:59:36 -04:00
Timothy Ng
b32ebdb9b9 Update profile links regex to allow trailing slash (#614)
* Update url validation specs to include multiple cases of usernames

* Allow trailing slash in profile links

* Add username with dot separators to list of valid fb usernames

* Update fb url regex to allow dots in between words

* Push existing fb regex allowing for dot separators

* Revert to old regex with added period to character class

* Revert length restriction on fb regex
2018-09-10 16:34:45 -04:00
dependabot[bot]
b2dc1f2b7e Bump pundit from 1.1.0 to 2.0.0 (#557)
Bumps [pundit](https://github.com/varvet/pundit) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/compare/v1.1.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-10 16:15:25 -04:00
Kohei Sugi
f34c717027 Fix rubocop lint (#583)
* $ rm .rubocop_todo.yml && rubocop --auto-gen

* 👮 Layout/AlignHash

* 👮 Layout/IndentationConsistency

* 👮 Layout/TrailingBlankLines

* 👮 Lint/UnusedBlockArgument

* 👮 Style/TrailingCommaInHashLiteral

* Fix rubocop.yml setting

* Delete last conma

* Style/TrailingCommaInArguments and Style/TrailingCommaInArrayLiteral are comma style
2018-09-10 11:19:11 -04:00
dependabot[bot]
be6d2a24d5 Bump eslint-plugin-babel from 5.1.0 to 5.2.0 (#621) [ci skip]
Bumps [eslint-plugin-babel](https://github.com/babel/eslint-plugin-babel) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/babel/eslint-plugin-babel/releases)
- [Commits](https://github.com/babel/eslint-plugin-babel/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-10 11:17:32 -04:00
Jess Lee
0120477126 include notes on duplicate accounts and browser extensions (#617) [ci skip] 2018-09-07 12:39:33 -04:00
Mac Siri
78238cdc0f
Include CloudinaryHelper in MarkdownParser 2018-09-06 17:58:35 -04:00
Andy Zhao
b8cc33abee Make authorship optional for notes (#616) 2018-09-06 17:50:46 -04:00
Andy Zhao
49428cc09f Add liquid variable class and specs (#615) 2018-09-06 14:24:14 -04:00
Andy Zhao
e9dfe8be6a Fix user moderation button (#611) 2018-09-06 12:34:22 -04:00
dependabot[bot]
9ca474a7b9 Bump preact from 8.2.5 to 8.3.1 (#559)
Bumps [preact](https://github.com/developit/preact) from 8.2.5 to 8.3.1.
- [Release notes](https://github.com/developit/preact/releases)
- [Commits](https://github.com/developit/preact/compare/8.2.5...8.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 11:54:42 -04:00
dependabot[bot]
b623354b08 Bump css-loader from 0.28.11 to 1.0.0 (#581) [ci skip]
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 0.28.11 to 1.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v0.28.11...v1.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 11:53:05 -04:00
dependabot[bot]
fd31ba189f Bump eslint-plugin-import from 2.10.0 to 2.14.0 (#599) [ci skip]
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.10.0 to 2.14.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.10.0...v2.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 11:52:38 -04:00
dependabot[bot]
406d9b73dc Bump twilio-video from 1.10.0 to 1.14.0 (#601) [ci skip]
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.10.0 to 1.14.0.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.10.0...1.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 11:52:21 -04:00
dependabot[bot]
67bc912965 Bump @rails/webpacker from 3.5.3 to 3.5.5 (#605) [ci skip]
Bumps [@rails/webpacker](https://github.com/rails/webpacker) from 3.5.3 to 3.5.5.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v3.5.3...v3.5.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-06 11:51:48 -04:00
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
dependabot[bot]
e1aaa3b6f6 Bump babel-core from 6.26.0 to 6.26.3 (#598) [ci skip]
Bumps [babel-core](https://github.com/babel/babel) from 6.26.0 to 6.26.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v6.26.0...v6.26.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-05 14:30:51 -04:00
dependabot[bot]
f8e198fce7 Bump eslint-plugin-jsx-a11y from 6.0.2 to 6.1.1 (#603) [ci skip]
Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) from 6.0.2 to 6.1.1.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.0.2...v6.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-05 14:28:26 -04:00
dependabot[bot]
876202b828 Bump eslint from 5.4.0 to 5.5.0 (#602) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.4.0...v5.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-05 13:29:22 -04:00
dependabot[bot]
200b5e7f21 Bump pusher-js from 4.3.0 to 4.3.1 (#604) [ci skip]
Bumps [pusher-js](https://github.com/pusher/pusher-js) from 4.3.0 to 4.3.1.
- [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/v4.3.0...4.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-05 13:25:39 -04:00
Mac Siri
17f10810f5
Delete .codeclimate.yml 2018-09-05 12:33:49 -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
Antony Garand
fdec71455a Add nvm-windows to frontend doc (#591) [ci skip] 2018-09-05 11:39:39 -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
dependabot[bot]
43dad1e671 Bump @storybook/addons from 3.4.6 to 3.4.10 (#580) [ci skip]
Bumps [@storybook/addons](https://github.com/storybooks/storybook) from 3.4.6 to 3.4.10.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v3.4.6...v3.4.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 12:27:26 -04:00
dependabot[bot]
237920b59c Bump sass-loader from 7.0.3 to 7.1.0 (#551) [ci skip]
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.0.3 to 7.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.0.3...v7.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 12:24:37 -04:00
dependabot[bot]
c7194a886d Bump @storybook/addon-links from 3.4.6 to 3.4.10 (#561) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybooks/storybook) from 3.4.6 to 3.4.10.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v3.4.6...v3.4.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 11:59:53 -04:00
dependabot[bot]
a4c1677b57 Bump prettier from 1.11.1 to 1.14.2 (#560) [ci skip]
Bumps [prettier](https://github.com/prettier/prettier) from 1.11.1 to 1.14.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.11.1...1.14.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 11:59:15 -04:00
dependabot[bot]
1fe0d645e4 Bump webpack-dev-server from 2.9.3 to 2.11.3 (#549)
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 2.9.3 to 2.11.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v2.9.3...v2.11.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 11:42:56 -04:00
dependabot[bot]
f337ba888b Bump babel-eslint from 8.2.3 to 9.0.0 (#563) [ci skip]
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 8.2.3 to 9.0.0.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v8.2.3...v9.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 11:29:03 -04:00
dependabot[bot]
b6a73e883c Bump preact-compat from 3.18.3 to 3.18.4 (#562) [ci skip]
Bumps [preact-compat](https://github.com/developit/preact-compat) from 3.18.3 to 3.18.4.
- [Release notes](https://github.com/developit/preact-compat/releases)
- [Commits](https://github.com/developit/preact-compat/compare/3.18.3...3.18.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-04 11:28:16 -04:00