docbrown/app/policies
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
..
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 Adjust BufferUpdatesController's authorization (#4070) 2019-09-20 11:50:34 -07:00
article_policy.rb Ignore unused articles columns (#6781) 2020-03-25 17:48:42 -04:00
block_policy.rb #260 increase mentee-mentor description length (#405) 2018-08-20 10:20:23 -04: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 [WIP] Connect misc improvements/debugs (#2880) 2019-05-20 10:08:51 -04:00
chat_channel_policy.rb [deploy] Connect: move settings to sidecar iframe, improve invitations and remove experimental features (#6903) 2020-04-01 12:13:26 -04:00
classified_listing_policy.rb Listing Drafts and Deletion (#3540) 2019-09-01 13:54:54 -04:00
comment_policy.rb Handle missing commentable for user_is_commentable_author? check (#5336) [deploy] 2020-01-02 18:06:05 -05:00
follow_policy.rb Add point weights for tag follows (#1229) 2018-11-30 15:36:58 -05:00
github_repo_policy.rb [deploy] Remove github_repos from public API (#6304) 2020-02-26 11:23:39 -05: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
message_policy.rb 🚀Feature/ability to edit messages (#5139) [deploy] 2019-12-20 10:19:00 -05:00
organization_policy.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
pro_membership_policy.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07: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 Add response templates for internal usage (#6676) 2020-03-20 11:32:55 -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 Allow users to opt-out of welcome notifications (#6852) [deploy] 2020-03-26 11:26:19 -07:00
video_policy.rb Remove harsh video restriction and add video duration (#1811) 2019-02-16 17:42:44 -04:00