Ben Halpern
fcb68b4f29
Add automatic random mentee show page after quick match ( #931 )
2018-10-16 13:41:14 -04:00
Andy Zhao
0dab93bdad
Allow Giphy links to be used and not from Cloudinary ( #927 )
...
* Test for giphy images
* Allow giphy images to be used as-is
2018-10-15 17:35:09 -04:00
Ben Halpern
79bc96e1ca
Simplify article show view/remove queries ( #905 )
2018-10-14 11:18:06 -04:00
Ben Halpern
75c4388e53
Add mentorship automation ( #896 )
2018-10-12 16:37:32 -04:00
dgolant
c3c420defd
Update codepen tag to accept links with trailing /'s ( #886 )
2018-10-11 10:54:44 -04:00
Andy Zhao
eaf98d738a
Unsubscribe users from newsletters before destroying ( #878 )
...
* Unsubscribe users from newsletters before destroying
* Fix email messages not loading on show page
* Add mock for update method
2018-10-10 15:22:20 -04:00
Andy Zhao
c0099475d7
Add regex checking for soundcloud links ( #874 )
...
* Add regex checking for soundcloud links
* Remove outdated test
2018-10-09 15:09:45 -04:00
dgolant
3a81c82b28
Add liquid tag for Soundcloud ( #844 )
...
* Add liquid tag for Soundcloud
Adds a liquid tag for soundcloud links. Currently does not support customizing autplay, display for comments, or color.
* Strip HTML from Soundcloud tag input
We want to prevent potential XSS exploits, so we sanitize all link input
* Add Soundcloud tag documentation to editor guide
2018-10-09 13:51:59 -04:00
Ben Halpern
ecb9645775
Make changes to editor ( #837 )
...
* Make changes to editor
* Make minor fixes and console log removals
* Fix test in article form
* Adjust rspec test
2018-10-05 16:03:06 -04:00
Benny Powers
7b52c21ef1
Fixes markdown nested lists by stripping all linebreaks ( #815 )
...
* Fixes markdown nested lists by stripping all linebreaks
* tixes fypo
2018-10-05 15:11:12 -04:00
Ben Halpern
2c482a355f
Remove saw_onboarding condition ( #824 )
...
* Remove saw_onboarding condition
* Remove outdated onboarding test
2018-10-05 15:07:05 -04:00
Benny Powers
9c840030f1
Feature/more markdown tags ( #826 )
...
* Add aside and abbr tags to markdown whitelist
* Permits abbr and aside when scrubbing rendered markdown
2018-10-04 19:02:55 -04:00
Ben Halpern
a761dfbc83
Finalize merge accounts ( #820 )
...
* Add initial remove association feature
* Add initial account deletion feature
* Add back in cursor pointer
* Update email text copy
* Update copy on email html
* Fix nav issue and add integration buttons to account
2018-10-04 12:27:37 -04:00
Maksim Litvinov
33db32e5f4
Fix rubocop lints ( #794 )
2018-10-03 13:00:09 -04:00
Ben Halpern
18c5e8718d
Add page_views_count to articles and track from analytics ( #761 )
2018-09-28 14:33:25 -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
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
dependabot[bot]
eafefd7422
Bump octokit from 4.8.0 to 4.12.0 ( #744 ) [ci skip]
...
* Bump octokit from 4.8.0 to 4.12.0
Bumps [octokit](https://github.com/octokit/octokit.rb ) from 4.8.0 to 4.12.0.
- [Release notes](https://github.com/octokit/octokit.rb/releases )
- [Changelog](https://github.com/octokit/octokit.rb/blob/master/RELEASE.md )
- [Commits](https://github.com/octokit/octokit.rb/compare/v4.8.0...v4.12.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update spec
2018-09-25 17:04:58 -04:00
Ben Halpern
e80bf919fc
Add top param to article tag api ( #741 )
2018-09-25 15:13:49 -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
Mac Siri
32d15f2820
Update test suite configuration ( #702 )
...
* Update DatabaseCleaner
* Only retry in CI
* Update rubocop precommit hook
* Update spec
* Restructure spec configs WIP
* Restructure spec configs WIP
* Create OmniauthMacros
* Fix broken spec
* Update spec
2018-09-24 14:40:22 -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
Mac Siri
6521545fb3
Improve Comment's email logic ( #699 )
...
* Improve comment's email logic
* Change #activity_notify logic
* Update comment_spec
* Remove focus
* Update should_send_email_notification?
2018-09-19 18:20:15 -04:00
rhymes
88d2e7343a
Remove a puts statement ( #691 ) [ci skip]
2018-09-17 16:08:37 -04:00
Benny Powers
3025999a45
Fix/glitch regression test ( #684 )
...
* Add regression test for glitch glitch
* Modify regression test for glitch glitch
Co-authored-by: rhymes <rhymesete@gmail.com>
2018-09-17 15:38:21 -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
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
Jess Lee
191588b34b
Adds method to create bulk mentorship matches ( #631 )
...
* add mentorship module
* update spec file name for consistency
2018-09-11 16:46:01 -04:00
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
Andy Zhao
744c2d4fff
Fix email formatting ( #627 )
2018-09-11 10:25:21 -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
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
Andy Zhao
49428cc09f
Add liquid variable class and specs ( #615 )
2018-09-06 14:24:14 -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
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
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
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
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
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
Grey Baker
519d1e1fea
Bump factorybot rails ( #475 )
...
* Bump factory_bot_rails from 4.10.0 to 4.11.0
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails ) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases )
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS )
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.10.0...v4.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update factories to always use blocks
2018-08-24 17:28:26 -04:00
Brett Stevenson
f423511178
Add youtube start time feature ( #437 )
2018-08-24 12:59:29 -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
b1f6587a3a
Fix #valid_link for CodePen and Gist Liquid tags ( #425 )
2018-08-21 14:16:56 -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