Commit graph

480 commits

Author SHA1 Message Date
Ben Halpern
e2dbd7cfcc
Remove beta label on /connect and other small changes (#589)
* Remove beta label on /connect and other small changes

* Add better placeholder for narrow screens

* Adjust comma/bracket placement

* Add description to chat channels
2018-07-16 14:48:38 -04:00
Arun Kumar
9b753a4e9c Refactor channel permission method (#584) 2018-07-16 10:55:18 -04:00
Arun Kumar
e950028f1d Extract compound conditional to a method (#579) 2018-07-15 18:02:27 -04:00
Arun Kumar
35eddd5131 Replace if..else with hash lookup (#578) 2018-07-14 17:42:56 -04:00
Ben Halpern
1b68c284b0
Add cloudinary prefix to articles/show (#586) 2018-07-13 20:40:47 -04:00
Ben Halpern
5a2c549927
Add reactions to /connect content (#585) 2018-07-13 20:05:47 -04:00
Jess Lee
d407d9bc52 Allow members to add other social links to profile (#555)
* add social icons to profile

* fix spacing

* add validations

* update user spec

* check for user in profile settings

* fix regex validation

* refactor regex to multiple lines
2018-07-13 19:51:56 -04:00
Ben Halpern
3abcb091ab Bundle install 2018-07-13 17:08:23 -04:00
Ben Halpern
e995e081ad
Add rich links to /connect and remove auto sidecar opening (#582) 2018-07-13 16:56:26 -04:00
Yechiel Kalmenson
6bf23854a1 Update deprecated methods in rack-timeout gem (#564)
* update depracated methods in rack-timeout gem

* bump the version of the rack-timeout gem
2018-07-13 16:44:12 -04:00
Arun Kumar
b7a52b425b Fix typos (#580) --skip-ci 2018-07-13 12:48:47 -04:00
Mac Siri
14551ea827 Indicate /live issue with Safari (#571)
* Update copy

* Update Rails and Ruby versions
2018-07-12 13:19:13 -04:00
Mac Siri
995a18802f Remove rails_12factor from Gemfile.lock 2018-07-12 12:42:25 -04:00
Michael Kohl
7c16c85ee6 Remove rails_12factor gem (#572)
It’s no longer needed with Rails 5: https://github.com/heroku/rails_12factor#rails-5
2018-07-12 12:11:33 -04:00
Arun Kumar
52813f53dc Minor update to README (#568) 2018-07-12 10:59:00 -04:00
Arun Kumar
2400908b9d Refactor render_rewarding_context_message_html method with a guard (#569)
clause
2018-07-12 10:58:37 -04:00
Mac Siri
94601cdd87 Enrich database seeds (#566)
* Update Faker gem to master

* Randomize user profile images

* Enrich seeds.rb
2018-07-11 17:21:50 -04:00
Yechiel Kalmenson
37e0059ade open markdown links in new tab (take 2) (#512)
* open links in chats in new tabs

* fixed target_blank vulnerability

* add test to make sur links are being generated with target _blank

* add test for target blank vulnerability

* add rel and target to the whitelisted attributes

* add the link attributes to HTMLRouge#link
2018-07-11 15:04:03 -04:00
Andy Zhao
535e65ead1 Change mailer default url to https://dev.to (#549)
* Change mailer default url to https://dev.to

* Use ENV instead of hardcoding url
2018-07-11 14:05:23 -04:00
Mac Siri
889f813991 Create ReservedWords class (#562) 2018-07-11 11:53:04 -04:00
Edem Attikese
6e3b64f060 Apply bundler-audit fix & Update gems (#472)
* added bundler workaround so git repos are accessed via https

* Use forked version of fix-db-schema-conflicts gem

* Update #update_stripe_plan_for_subscription

* Update stripe version

This was actually already done but not reflexed in the Gemfile

* Pessimize Gemfile

* Fix lint

* Fix lint
2018-07-11 11:01:47 -04:00
Nick Taylor
0f96f97e48 Added vscode debug config for debugging Jest tests. (#561) 2018-07-10 16:05:09 -04:00
Andy Zhao
aab350f02b Return false to maybe prevent early form submit (#531) 2018-07-10 15:37:07 -04:00
Andy Zhao
41d028cc5a Use non-prettiered JS file instead (#563) 2018-07-10 14:54:31 -04:00
Andy Zhao
e7466fc436 [Done] Add Reaction Policy Spec (#547)
* Delete old files and combine into one spec

* Write new reaction request spec

* Use a single route for logged in/out reaction count

* Refactor a bit

* Remove unused file

* Add reaction policy and spec

* Fix eslint issue

* Remove dead route
2018-07-10 14:12:04 -04:00
Andy Zhao
6dfcf2e856 Fix adding quotes and dashes in codeblocks (#557)
* Fix adding quotes and dashes in codeblocks

* Use find_by for all remove_from_feed methods (#558)

* Destroy memberships when chat channel is destroyed
2018-07-10 13:41:54 -04:00
Jess Lee
2a38f14fb7 add copy and pasted language (#546) 2018-07-10 10:51:57 -04:00
Andy Zhao
9fa9a22d54 Add a comment for more public controllers (#553) 2018-07-09 18:14:34 -04:00
Andy Zhao
3bbfa03114 Fix bad query when deleting users (#556) 2018-07-09 17:46:08 -04:00
Ben Halpern
36fa056d24
Upgrade to Ruby 2.5.1 (#455)
* Upgrade sprockets for security reason

* Upgrade to Ruby 2.5.1
2018-07-09 16:17:22 -04:00
Andy Zhao
a920d6cf1c Add dependent destroys to automate some deletion tasks (#554)
* Add dependent destroys for dependency-less models

* Add before destroy for empty dm channels

* Fix typo

* Add new tests for new dependent destroys

* Remove failing test b/c rethinking relationships later

* Use find_by to return nil instead of erroring out

* Add before_destroy to destroy follows
2018-07-09 15:54:09 -04:00
Jess Lee
6b53c01762 Collect Mentorship Info (#551)
* add basic mentorship info

* add missing comma

* migrate test env
2018-07-06 10:56:24 -04:00
Ben Halpern
926991f5fc
Fix timezone issues and small adjustment to connect features (#548) 2018-07-05 16:39:04 -04:00
Andy Zhao
749ffabbe7 [Done] Adjust abuse reports (#540)
* Fix bad formatting of links

* Change spam bot to post in potential-spam

* Add internal report link to Slack message
2018-07-05 11:16:11 -04:00
Ben Halpern
fcac6575d1 Merge branch 'master' of github.com:thepracticaldev/dev.to_core 2018-07-03 19:06:39 -04:00
Ben Halpern
eaa13a53fb Update serviceworker notficiations 2018-07-03 19:06:23 -04:00
Ben Halpern
4638768d79
Remove channel member count limit (#545)
* check for dataset content in triggeractive

* Remove channel member count limit
2018-07-03 16:50:53 -04:00
Ben Halpern
53c925a148
check for dataset content in triggeractive (#544) 2018-07-03 15:43:36 -04:00
Ben Halpern
84568cd860
Remove video DM limitation (#543) 2018-07-03 15:04:35 -04:00
Ben Halpern
50bc2f259c
Add max channel members (#542)
* Add max channel members

* Change number

* Remove console.log
2018-07-03 13:54:57 -04:00
Ben Halpern
424be43865
Add chat_channel_membership roles and invite functionality (#541) 2018-07-03 13:16:48 -04:00
Andy Zhao
b45dd391b6 Disable rack timeout logs (#530) 2018-07-03 13:09:11 -04:00
Nick Taylor
9d55c5f854 Nick/task/dx/vscode chrome debugger (#538)
* Now you can attach to debug the front-end with VS Code.

* Added Chrome Debugger extension to suggested extensions.
2018-07-03 10:11:11 -04:00
Ben Halpern
12f18c0f4b
Add July sponsors (#533)
* Add July sponsors

* Remove outdated line from sponsor page
2018-07-02 17:40:46 -04:00
Andy Zhao
beac877e44 Add stripe policies and specs (#529)
* Add stripe policies and specs, and some refactor

* Update moderation test to test for 404
2018-07-02 17:19:25 -04:00
Ben Halpern
94e5154668
Add initial invitation framework for chat channels (#528)
* Add initial invitation framework for chat channels

* Update chat_channel specs

* Add DIY concept of accepting invite

* Add some js and fix spec

* Add full invite accept functionality

* Remove console.log from chat
2018-07-02 16:31:20 -04:00
Andy Zhao
a3aa5b5bd2 Silence cache log outputs from dalli gem (#527) 2018-07-02 15:51:14 -04:00
Ben Halpern
4565476fa7
Add monkeypatched auth method to admin application_controller (#525) 2018-06-29 17:20:55 -04:00
Ben Halpern
51228e929b
Remove user from algolia index before destroy (#524) 2018-06-29 14:26:31 -04:00
Ben Halpern
92a541a517
Add a couple specs for notifications and pages (#522)
* Add a couple specs

* Remove stream VCR from notifications_spec

* Add github readme spec

* Add notifications count specs

* Add guards in notifications controller

* Fix test

* Fix test
2018-06-29 14:14:36 -04:00