No description
Find a file
Sarthak Sharma 3addb64326
[deploy] 🚀 Feature: Chat channel membership manager component (#8945)
* 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

* Merge conflict resolved

* fix video content issue

* add UI for membership management

* add api to update memberahip role

* add methods for manage membership

* Add integration test cases

* add emoji for admin

* Open member profile in sidecar only

* 🐞 Problem with direct channel sidecar

* 🐞 Few other UI enhancements

* fix mod typo

* add limit upto 4 for display active memberships

* fix UI issues

* fix action ui for membership

* fix sidebar redirection issue

* fix svg buttons

* add test cases

* fixed broken spec

* fix PR suggestions

* remove not used code

* fix typo

* fix PR suggestion

* fix typos

* add invitation url expiry

* fix specs

* fix PR suggestions

* removed unused gem

* remove presenter format

* handle invitation link expiry with redis

* fix PR suggestions

* user can view non-discoverable channel invitation link

* fix typos

* remove commented code

* add spacing

* PR suggestions

* remove class from button

* replace componentDidMount with commen function

* remove action button for single membership

* add chat message on update role

* add spece between lines

Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Fernando Valverde <fdov88@gmail.com>
2020-07-20 08:08:31 -04:00
.gems Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
.github Remove codeql-analysis.yml (#9354) 2020-07-16 12:15:38 -04:00
.vscode Added node.js internals to list of skipped files for debugging jest in VS Code. (#9099) 2020-07-04 09:43:26 -04:00
.yarn/releases Update yarn version (#6857) 2020-03-26 18:08:49 -04:00
app [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
bin [deploy] Feature: Enable KnapsackPro Queue Mode Take 2 (#9021) 2020-07-01 13:28:22 -04:00
config [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
datadog [deploy] dont configure Honeycomb if its disabled (#6618) 2020-05-11 11:59:18 -05:00
db [deploy] Optimization:Change Broadcast and GithubIssue PKs to Bigint (#9372) 2020-07-19 17:41:37 -05:00
docs Fixed broken link, replaces file links with permalinks (#9334) 2020-07-16 07:41:07 -05:00
lib [deploy] Bug Fix: Refresh Hypershield after db:prepare if Enabled (#9353) 2020-07-16 13:50:22 -05:00
log Initial commit 2018-02-28 16:11:08 -05:00
public Remove trailing slashes from URLs to improve SEO (#8836) [deploy] 2020-06-22 13:44:58 -07:00
scripts Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
spec [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
vendor Bump test-prof from 0.11.3 to 0.12.0 (#9386) 2020-07-20 09:53:55 +02:00
.codeclimate.yml [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
.dockerignore Set --disable-march-tune-native when building sassc. (#8229) 2020-06-01 22:25:47 -05:00
.editorconfig Export articles/posts (#576) 2018-11-21 11:13:36 -05:00
.erb-lint.yml [deploy] Remove Unused Pro Memberships (#7894) 2020-05-20 11:54:30 -05:00
.eslintignore Add app/assets/javascripts/lib to eslintignore (#4323) [ci skip] 2019-10-08 18:38:59 -04:00
.eslintrc.js Fix eslint files for prettier (#8815) 2020-06-22 10:25:05 +02:00
.gitattributes Topbar icons states (#7012) 2020-04-02 11:50:05 +02:00
.gitdocs.js Adapt "gitdocs serve" to work in a remote dev env (#8791) 2020-06-25 21:02:45 -04:00
.gitignore Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
.gitpod.dockerfile GitPod: Use node version 12.16.3 (#9271) 2020-07-13 13:45:49 -04:00
.gitpod.yml [deploy] Remove ALL Algolia Code (#7577) 2020-04-29 10:11:57 -05:00
.nvmrc Update config.hosts for GitPod (#8677) 2020-06-15 17:18:33 +02: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 [deploy] Spec Speedup: Use Knapsack to Run Parallel Builds (#8390) 2020-06-11 10:27:11 -05:00
.rubocop.yml Rubocop: routine fixes (#9345) 2020-07-16 18:18:13 +02:00
.rubocop_todo.yml Rubocop: routine fixes (#9345) 2020-07-16 18:18:13 +02:00
.ruby-version Upgrade Ruby to 2.7.1 (#7097) [deploy] 2020-04-06 18:21:50 +02:00
.simplecov Update .simplecov (#8078) 2020-05-27 14:37:21 -04:00
.slugignore Add .slugignore (#6528) 2020-03-10 14:43:48 -04:00
.travis.yml Update Docs, Travis, and Containers to Use Postgres 11 (#9232) 2020-07-13 15:09:26 +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 pragmaFrag so terse Fragment syntax,<></>, can be used in Preact. (#9051) 2020-07-01 09:19:33 -04: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 Routine Rubocop fixes (#9302) 2020-07-14 17:24:03 +02:00
container-compose.yml Update Docs, Travis, and Containers to Use Postgres 11 (#9232) 2020-07-13 15:09:26 +02:00
Containerfile Set --disable-march-tune-native when building sassc. (#8229) 2020-06-01 22:25:47 -05:00
CONTRIBUTING.md Update maintainers documentation and contribution guides (#8939) 2020-06-30 09:11:59 +02:00
docker-compose.yml Update Docs, Travis, and Containers to Use Postgres 11 (#9232) 2020-07-13 15:09:26 +02:00
Dockerfile Bugfix for #7663 and refactor of container setup (#7747) 2020-05-28 12:11:51 -05:00
empty-module.js Initial commit 2018-02-28 16:11:08 -05:00
Envfile [deploy] Remove Vault ENV variables from Envfile so they arent Required in Prod (#8895) 2020-06-24 15:02:16 -05:00
Gemfile Bump test-prof from 0.11.3 to 0.12.0 (#9386) 2020-07-20 09:53:55 +02:00
Gemfile.lock Bump test-prof from 0.11.3 to 0.12.0 (#9386) 2020-07-20 09:53:55 +02:00
Guardfile Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
jest.config.js Update Connect responsiveness on smaller viewports (#8829) [deploy] 2020-06-29 09:08:18 -07:00
jsconfig.json [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
LICENSE.md Ran all markdown files through prettier to fix a handful. (#4599) 2019-10-28 08:20:53 -04:00
package.json [deploy] Bump @testing-library/jest-dom from 5.11.0 to 5.11.1 (#9381) 2020-07-19 18:29:55 -04:00
Procfile remove rake jobs:work references from code (#6082) [deploy] 2020-02-14 15:18:08 -05:00
Procfile.dev Adapt dev env to run on a remote box (#8232) 2020-06-18 13:01:49 +02: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 Update Readme (#9333) 2020-07-16 10:26:25 -04:00
release-tasks.sh [deploy] Consolidate Setup Tasks to a Single Rake Task (#8065) 2020-05-27 11:59:07 -05:00
SECURITY.md [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
testSetup.js Import jest-axe matchers via setupFilesAfterEnv config property (#8217) 2020-06-01 16:37:32 +02:00
yarn.lock [deploy] Bump @testing-library/jest-dom from 5.11.0 to 5.11.1 (#9381) 2020-07-19 18:29:55 -04:00


Forem 🌱

For Empowering Community

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 Knapsack Pro Parallel CI builds for dev.to

Welcome to the Forem codebase, the platform that powers dev.to. We are so excited to have you. With your help, we can build out Forems usability, scalability, and stability to better serve our communities.

What is Forem?

Forem is open source software for building communities. Communities for your peers, customers, fanbases, families, friends, and any other time and space where people need to come together to be part of a collective. See our announcement post for a higher level overview of what Forem is.

dev.to (or just DEV) is hosted by Forem. It is a community of software developers who 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 Forem! Please check out the Contributing to Forem 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

Local

Containers

Linux

OS X

Installation Documentation

View Full Installation Documentation.

Developer Documentation

Check out our dedicated docs page for more technical documentation.

Core team

Vulnerability disclosure

Forem is the open source software which powers DEV.

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 Forem 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 ❤️