-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: (103 commits) Tokenize message on message render to prevent re processing using branding image from main app Remove unecessary logs Do not load all settings to process.env Fix preview of images in mobile re order settings code formatting Enforce data in body params Get integration name from body Set user role in integration update too Added new color variables to the theme editor embarrassing mistake make sample data into array fix livechat triggers not triggering added livechat branding Added infinite scroll to files list Allow searching for logged in user in userAutocomplete Added "Jump to" and infinite scroll to message search results Enable triggers in messages to users Rename integration api routes, add apis remove, info and sample ...
- Loading branch information
Showing
150 changed files
with
2,622 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,3 +66,4 @@ tramp | |
ecosystem.json | ||
pm2.json | ||
settings.json | ||
build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
packages/rocketchat-channel-settings-mail-messages/client/lib/startup.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Meteor.startup -> | ||
RocketChat.ChannelSettings.addOption | ||
id: 'mail-messages' | ||
template: 'channelSettingsMailMessages' | ||
validation: -> | ||
return RocketChat.authz.hasAllPermission('mail-messages') | ||
|
||
RocketChat.callbacks.add 'roomExit', (mainNode) -> | ||
messagesBox = $('.messages-box') | ||
if messagesBox.get(0)? | ||
instance = Blaze.getView(messagesBox.get(0))?.templateInstance() | ||
instance?.resetSelection(false) | ||
, RocketChat.callbacks.priority.MEDIUM, 'room-exit-mail-messages' |
24 changes: 24 additions & 0 deletions
24
packages/rocketchat-channel-settings-mail-messages/client/stylesheets/mail-messages.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.flex-tab { | ||
.mail-message { | ||
form { | ||
margin-top: 20px; | ||
|
||
.input-line.double-col { | ||
margin-bottom: 20px; | ||
|
||
label { | ||
line-height: 15px; | ||
} | ||
|
||
div { | ||
line-height: 15px; | ||
i.octicon { | ||
font-size: 13px; | ||
opacity: 0.4; | ||
vertical-align: top; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...rocketchat-channel-settings-mail-messages/client/views/channelSettingsMailMessages.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Template.channelSettingsMailMessages.events | ||
'click button.mail-messages': (e, t) -> | ||
Session.set 'channelSettingsMailMessages', Session.get('openedRoom') | ||
RocketChat.TabBar.setTemplate('mailMessagesInstructions') | ||
view = Blaze.getView($('.messages-box')[0]) | ||
view?.templateInstance?().resetSelection?(true) | ||
|
||
Template.channelSettingsMailMessages.onCreated -> | ||
view = Blaze.getView($('.messages-box')[0]) | ||
view?.templateInstance?().resetSelection?(false) |
8 changes: 8 additions & 0 deletions
8
...s/rocketchat-channel-settings-mail-messages/client/views/channelSettingsMailMessages.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<template name="channelSettingsMailMessages"> | ||
<li> | ||
<label>{{_ "Mail_Messages"}}</label> | ||
<div> | ||
<button type="button" class="button primary mail-messages">{{_ "Choose_messages"}}</button> | ||
</div> | ||
</li> | ||
</template> |
Oops, something went wrong.