docbrown/app/policies
Sarthak Sharma 6dee5edd0e
🚀 Ability to allow tag moderators to create chat channels (#9741)
* 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

* UI completed for Create Channel

* API for create channel & invitations

* 🚀 Combining Backend and Frontend

* Test cases added

* UI completed for Create Channel

* API for create channel & invitations

* 🚀 Combining Backend and Frontend

* Test cases added

* fix suggestions

* add test cases

* replace mod_relations_admin to tag_moderator

* fix test cases

* refactor and fix code climate issues

* Update app/controllers/chat_channel_memberships_controller.rb

Co-authored-by: Michael Kohl <me@citizen428.net>

* fix suggestions

* renaming the methods

* Update app/javascript/chat/chat.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Update app/javascript/chat/components/createChatModal.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* add jsDoc and add validation

* add PR suggestions

* renmae the file name to  PascalCase

* add styled component

* refactor channel button component

* fix specs

* fix code smell issues

* fix file name issue

* handle error message

* add jsDoc

* Update app/controllers/chat_channels_controller.rb

Co-authored-by: Michael Kohl <me@citizen428.net>

* refactor chat_channel_helpers

* update old hash to new hash

* Update app/javascript/chat/components/ChannelButton.jsx

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Update app/views/chat_channels/index.html.erb

Co-authored-by: Michael Kohl <me@citizen428.net>

* fix syntax error

* Update app/views/chat_channels/index.html.erb

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Policies changed

* The Disable Button issue 🐞

* Fixing Disabled button Issue 🐞

* New group doesn't show up 🐞

Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Michael Kohl <me@citizen428.net>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-12-08 13:10:36 +07:00
..
admin_policy.rb Various internal functionality adjustments (#1264) 2018-12-05 13:28:46 -05:00
api_secret_policy.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
application_policy.rb [deploy] Add new support admin role (#9681) 2020-08-07 22:52:13 -04:00
article_policy.rb [deploy] [Admin Tooling] Allow admins unpublish articles from the Mod Actions Panel (#10038) 2020-09-02 16:08:08 -05:00
buffer_update_policy.rb Add page for users to "manage" their posts after publication (distribution, etc.) (#2627) 2019-05-01 09:00:09 -04:00
chat_channel_membership_policy.rb [deploy] 🚀 Feature: Chat channel request manager (#9305) 2020-07-22 09:12:09 -04:00
chat_channel_policy.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
comment_policy.rb [deploy] [Moderation] Allow admins to delete comments (#9628) 2020-08-13 10:15:48 -04:00
follow_policy.rb Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
github_repo_policy.rb Refactoring GitHub Repos functionality - step 1 (#7764) 2020-05-12 13:48:19 +02:00
html_variant_policy.rb Add below-article html variant (#1669) 2019-01-28 14:31:43 -05:00
image_upload_policy.rb Edem/improvements/pundit coverage (#498) 2018-06-28 09:38:20 -04:00
internal_policy.rb Create InternalPolicy (#4380) 2019-10-17 14:21:43 -04:00
liquid_tag_policy.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
listing_policy.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
message_policy.rb 🚀Feature/ability to edit messages (#5139) [deploy] 2019-12-20 10:19:00 -05:00
organization_policy.rb [deploy] Allow org admins to delete their organizations (#9357) 2020-07-28 12:00:15 -04:00
rating_vote_policy.rb Add experience level averaging to articles (#1922) 2019-02-28 08:17:29 -08:00
reaction_policy.rb [Done] Add Reaction Policy Spec (#547) 2018-07-10 14:12:04 -04:00
response_template_policy.rb [deploy] Finalize and add response templates feature (#7068) 2020-04-16 15:53:29 -04:00
stripe_active_card_policy.rb Add stripe policies and specs (#529) 2018-07-02 17:19:25 -04:00
stripe_subscription_policy.rb Add stripe policies and specs (#529) 2018-07-02 17:19:25 -04:00
tag_policy.rb Update tag admin page(#1990) 2019-03-06 14:28:30 -05:00
user_block_policy.rb New Feature: Block Users (#4411) 2019-10-23 17:14:28 -04:00
user_policy.rb Fix Settings/Customization page (#11615) 2020-11-25 16:47:38 +01:00
video_policy.rb [deploy] Disable ability to upload videos on *some* forems Part 2 (#10955) 2020-10-20 17:33:35 +02:00