No description
Find a file
jituraj98 e2edf960dc
[deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903)
* Feature 🚀 : Ability to delete messages in chat channels

- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime

* Minor Bug 🐞: Show message action only for current user

- User can delete or edit their own messages

* Test cases added

* Bug 🐞: Update message id for receiver

Message id was not sent to receiver by pusher

* Refactoring🛠: Message controller refactoring

* Test Cases📝 : Specs for Delete message added

* Feature 🚀 : Ability to edit messages

* Test Cases📝 : Specs for Edit message added

* Move channel settings to sidecar

* added spec for chat_channels_memberships_controller.rb (#6539)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* Refining "Move sidecar to iframe" branch (#6634)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

* 🐞 Bug Fix: Open sidecar of clicking @all

* 🐞 Bug Fix: adding space after selecting the username from suggestion box

* added remove channel member functionality for moderators

* 🔩 Small Tweaks: Hover issue fixed

* 🐞 Bug Fix: Remove sidecar toggle on @all tag (for now)

* updated manually constructed urls with rails path helpers

* mod users cannot remove members of other channel

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* 🚀 Finalising the connect group/channel feature.  (#6829)

* added spec for chat_channels_memberships_controller.rb

* simplified record not found error for membership

* error message formatting updated

* added error key in flash message

* 🐞 Bug Fix: Open sidecar of clicking @all

* 🐞 Bug Fix: adding space after selecting the username from suggestion box

* added remove channel member functionality for moderators

* 🔩 Small Tweaks: Hover issue fixed

* 🐞 Bug Fix: Remove sidecar toggle on @all tag (for now)

* updated manually constructed urls with rails path helpers

* mod users cannot remove members of other channel

* mod members can now invite user who have left the channel

* 🐞 Bug Fix: Ability to open sidecar on mention all properly

* Eslint Changes

* send email notification on inviting user feature added

* 🛠  Email design enhancements for channel invitation

* send invitation to mod user added from internal

* 🛠  Gif changes for Mod

* spec fixed

* inviter name issue fixed

* 🚀 Open sidecar when automatically if you use link from email

Co-authored-by: jitendra <jitendrarajpurohit@skynox.tech>

* review changes

* added spec for channel_invite_email

* Bug🐞: Design problem with sidecar after merge

* Bug🐞: Design problem with invitation alert box

* replaced instance variables with local variable

* Bug🐞: Wrong css classes fixed

* Bug🐞: Edit option bug

* yarn.lock file updated

* code review changes

* updated manually constructed urls with rails path helpers in spec

* user name url issue fix in invite email

* user url corrected

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
Co-authored-by: benhalpern <bendhalpern@gmail.com>
2020-04-01 12:13:26 -04:00
.github Add Nick to codeowners for JS deps (#6890) 2020-03-26 18:39:17 +01:00
.vscode Add nickytonline.dev-to-extension-pack to VSCode recommendations (#6437) 2020-03-04 14:22:28 -05:00
.yarn/releases Update yarn version (#6857) 2020-03-26 18:08:49 -04:00
app [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
bin refactor(docker-setup): use bash instead of ruby (#6935) 2020-03-30 10:13:52 +02:00
config [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
datadog Revert "Make prerun.sh actually set the environment (#6609)" (#6614) [deploy] 2020-03-12 15:38:16 -04:00
db [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
docs Add rel noopener, noreferrer, nofollow to docs header links (#6944) 2020-04-01 10:15:58 +07:00
lib Hotness Score for Tags Should Use Article positive_reactions_count (#6808) [deploy] 2020-03-31 09:04:20 -05:00
log Initial commit 2018-02-28 16:11:08 -05:00
public Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
scripts Keeping your forked branch up to date (#6531) 2020-03-09 09:37:46 -04:00
spec [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
vendor/assets Initial commit 2018-02-28 16:11:08 -05:00
.codeclimate.yml Homepage feed components (#6052) 2020-02-19 11:39:13 -06:00
.dockerignore #4129 Reduce Dockerfile size (#4251) 2019-10-10 18:01:04 -04:00
.editorconfig Export articles/posts (#576) 2018-11-21 11:13:36 -05:00
.erb-lint.yml Fixe html_safe issues from comment domain (#6422) 2020-03-03 15:38:15 -05:00
.eslintignore Add app/assets/javascripts/lib to eslintignore (#4323) [ci skip] 2019-10-08 18:38:59 -04:00
.eslintrc.js Bump to sprockets 4.0.0 (#6172) [deploy] 2020-02-24 18:16:08 -05:00
.gitdocs.js Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
.gitignore Improved the podcasts seeds (#6565) 2020-03-10 14:23:48 -04:00
.gitpod.dockerfile Add Elasticsearch to GitPod (#6198) [deploy] 2020-02-20 07:37:33 -06:00
.gitpod.yml Add Elasticsearch to GitPod (#6198) [deploy] 2020-02-20 07:37:33 -06:00
.nvmrc Changed .nvmrc to be more implicit (#5080) 2019-12-11 15:39:35 -05:00
.postcssrc.yml Initial commit 2018-02-28 16:11:08 -05:00
.prettierignore Use yarn 1.21.1 (#5786) 2020-02-05 17:04:06 -05:00
.rspec Initial commit 2018-02-28 16:11:08 -05:00
.rubocop.yml Update max line limit to 15 for RSpec files (#6344) [deploy] 2020-02-27 11:55:07 -08:00
.rubocop_todo.yml Rubocop fixes (#6904) 2020-03-27 15:30:59 +01:00
.ruby-version Upgrade Ruby to 2.6.5 (#4451) 2019-10-17 09:34:31 -04:00
.simplecov Change SimpleCov to be on by default (#4666) [ci skip] 2019-10-31 11:18:32 -04:00
.slugignore Add .slugignore (#6528) 2020-03-10 14:43:48 -04:00
.travis.yml report only changes in master branch status (#6973) 2020-03-31 10:00:24 -05:00
.validaterc Validate API OpenAPI 3 spec (#6519) 2020-03-09 16:40:05 +01:00
.yardopts Adds Ruby source code documentation to docs.dev.to (#2656) 2019-05-02 13:50:58 -04:00
.yarnrc Update yarn version (#6857) 2020-03-26 18:08:49 -04:00
babel.config.js Added bugFixes option to @babel/preset-env. (#6909) 2020-03-28 19:35:37 +01:00
CODE_OF_CONDUCT.md Replace ban/banned with suspend/suspended in user facing text (#5816) [deploy] 2020-02-10 10:12:53 -05:00
config.ru Remove honeycomb code from config.ru (#2378) 2019-04-11 11:58:13 -04:00
CONTRIBUTING.md Update README and contributing guide (#6074) 2020-02-17 11:53:49 -05:00
docker-compose.yml refactor(docker): move redis env config to docker (#6936) 2020-03-30 10:48:38 +07:00
docker-entrypoint.sh #4129 Reduce Dockerfile size (#4251) 2019-10-10 18:01:04 -04:00
docker-run.sh Remove unused Envfile variables (#5474) 2020-01-14 12:05:35 -05:00
Dockerfile refactor(docker): move redis env config to docker (#6936) 2020-03-30 10:48:38 +07:00
dockerhub-readme.md Implement docker-run.sh script + docker container build (#1844) [ci skip] 2019-03-18 18:31:39 -04:00
empty-module.js Initial commit 2018-02-28 16:11:08 -05:00
Envfile Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
Gemfile Add Rack::Attack Gem to Throttle Requests, Only Search to start (#6841) [deploy] 2020-03-30 12:09:40 -04:00
Gemfile.lock Add Rack::Attack Gem to Throttle Requests, Only Search to start (#6841) [deploy] 2020-03-30 12:09:40 -04:00
Guardfile Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
jest.config.js Created preact component for crayons dropdown (#6961) 2020-03-31 09:42:21 -04:00
jsconfig.json Add webpack aliases for Crayons components (#6958) 2020-03-31 07:16:29 -04:00
LICENSE.md Ran all markdown files through prettier to fix a handful. (#4599) 2019-10-28 08:20:53 -04:00
Makefile Adds optional support for Docker/Compose (#296) 2018-10-12 11:48:53 -04:00
netlify.toml Add Setup for storybook.dev.to (#3885) 2019-09-03 16:49:37 -04:00
package.json [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
Procfile remove rake jobs:work references from code (#6082) [deploy] 2020-02-14 15:18:08 -05:00
Procfile.dev Add explicit 0.0.0.0 bind option to Procfile.dev (#6147) 2020-02-18 14:26:17 -05:00
Procfile.dev-hot Initial commit 2018-02-28 16:11:08 -05:00
Rakefile Code cleanups (#659) 2018-08-07 11:00:13 -04:00
README.md Add my name to Core Team list (#6974) 2020-03-31 11:11:59 -04:00
release-tasks.sh Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
yarn.lock [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00


DEV

DEV Community 👩‍💻👨‍💻

The Human Layer of the Stack

ruby version rails version Travis Status for thepracticaldev/dev.to Code Climate maintainability Code Climate test coverage Code Climate technical debt CodeTriage badge Dependabot Badge GitPod badge Netlify badge GitHub code size in bytes GitHub commit activity GitHub issues ready for dev Honeybadger badge

Welcome to the dev.to codebase. We are so excited to have you. With your help, we can build out DEV to be more stable and better serve our community.

What is dev.to?

dev.to (or just DEV) is a platform where software developers write articles, take part in discussions, and build their professional profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place within our community. ❤️

Table of Contents

Contributing

We encourage you to contribute to dev.to! Please check out the Contributing to dev.to guide for guidelines about how to proceed.

Getting Started

This section provides a high-level quick start guide. If you're looking for the installation guide, you'll want to refer to our complete Developer Documentation.

We run on a Rails backend, and we are currently transitioning to a Preact-first frontend.

A more complete overview of our stack is available in our docs.

Prerequisites

Installation Documentation

View Full Installation Documentation.

Developer Documentation

Check out our dedicated docs page for more technical documentation.

Core team

Vulnerability disclosure

We welcome security research on DEV under the terms of our vulnerability disclosure policy.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see the LICENSE file in our repository for the full text.

Like many open source projects, we require that contributors provide us with a Contributor License Agreement (CLA). By submitting code to the DEV project, you are granting us a right to use that code under the terms of the CLA.

Our version of the CLA was adapted from the Microsoft Contributor License Agreement, which they generously made available to the public domain under Creative Commons CC0 1.0 Universal.

Any questions, please refer to our license FAQ doc or email yo@dev.to.


Sloan, the sloth mascot
Happy Coding ❤️