No description
Find a file
Sarthak Sharma f088a672de
[deploy] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105)
* 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

* added chat action field and backend logic

* 🚀Action Messages: Someone Joins | Leaves | Removed

* chat action messages made realtion

* remove redundancy, message helper added

* 🛠  Style of action message changed

* 🔩 Specs added

Co-authored-by: Parasgr-code <paras.gaur@skynox.tech>
2020-04-08 18:14:34 -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] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105) 2020-04-08 18:14:34 -04:00
bin Unset DATABASE_URL in .gitpod.yml (#7059) 2020-04-03 15:56:43 +02:00
config [deploy] Make force_ssl an environment variable to make sure new communities can get proper ssl config. (#7090) 2020-04-08 14:23:50 -04:00
datadog Revert "Make prerun.sh actually set the environment (#6609)" (#6614) [deploy] 2020-03-12 15:38:16 -04:00
db [deploy] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105) 2020-04-08 18:14:34 -04:00
docs Adds Pusher Beams docs for Android PN (#7121) 2020-04-07 16:36:37 +02:00
lib [deploy] Add new user attributes to elasticsearch (#7123) 2020-04-07 13:16:15 -04: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] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105) 2020-04-08 18:14:34 -04:00
vendor/assets Initial commit 2018-02-28 16:11:08 -05:00
.codeclimate.yml Upgraded to eslint 6 and fixed barrel file issue for codeclimate (#7161) 2020-04-08 14:39:06 -04: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 Remove dynamic /live page (#7130) 2020-04-07 17:36:21 +03: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
.gitattributes Topbar icons states (#7012) 2020-04-02 11:50:05 +02: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 Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02:00
.gitpod.yml Unset DATABASE_URL in .gitpod.yml (#7059) 2020-04-03 15:56:43 +02: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 Create Broadcasts.rake (#7010) 2020-04-02 17:24:39 -04:00
.rubocop_todo.yml Misc rubocop fixes (#7044) 2020-04-03 11:48:47 -04:00
.ruby-version Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02: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 Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02: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 Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02: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 [deploy] Make force_ssl an environment variable to make sure new communities can get proper ssl config. (#7090) 2020-04-08 14:23:50 -04:00
Gemfile Bump aws-sdk-lambda from 1.37.0 to 1.38.0 (#7038) 2020-04-02 16:02:01 -04:00
Gemfile.lock Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02:00
Guardfile Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
jest.config.js Updated jest code coverage configuration. (#7144) 2020-04-07 17:17:51 -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
netlify.toml Use force redirects to follow legacy functionality (#7113) 2020-04-07 15:48:30 +02:00
package.json Bump @rails/webpacker from 5.0.0 to 5.0.1 (#7026) 2020-04-02 16:05:42 -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 Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02:00
release-tasks.sh Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
yarn.lock Bump @rails/webpacker from 5.0.0 to 5.0.1 (#7026) 2020-04-02 16:05:42 -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 ❤️