- [#7823](https://github.com/RocketChat/Rocket.Chat/pull/7823) Fix new-message button showing on search
- [#7687](https://github.com/RocketChat/Rocket.Chat/pull/7687) Fix room load on first hit
- [#7758](https://github.com/RocketChat/Rocket.Chat/pull/7758) Fixed function closure syntax allowing validation emails to be sent.
- [#7825](https://github.com/RocketChat/Rocket.Chat/pull/7825) Google vision NSFW tag
- [#7679](https://github.com/RocketChat/Rocket.Chat/pull/7679) Make link inside YouTube preview open in new tab
- [#7644](https://github.com/RocketChat/Rocket.Chat/pull/7644) Markdown noopener/noreferrer: use correct HTML attribute
- [#7721](https://github.com/RocketChat/Rocket.Chat/pull/7721) meteor-accounts-saml issue with ns0,ns1 namespaces, makes it compatible with pysaml2 lib
- [#7652](https://github.com/RocketChat/Rocket.Chat/pull/7652) Only use "File Uploaded" prefix on files
- [#7809](https://github.com/RocketChat/Rocket.Chat/pull/7809) Remove redundant "do" in "Are you sure ...?" messages.
- [#7672](https://github.com/RocketChat/Rocket.Chat/pull/7672) Remove references to non-existent tests
- [#7748](https://github.com/RocketChat/Rocket.Chat/pull/7748) scroll on flex-tab
- [#7779](https://github.com/RocketChat/Rocket.Chat/pull/7779) Settings not getting applied from Meteor.settings and process.env
- [#8172](https://github.com/RocketChat/Rocket.Chat/pull/8172) Allow unknown file types if no allowed whitelist has been set ([#7074](https://github.com/RocketChat/Rocket.Chat/issues/7074))
- [#8146](https://github.com/RocketChat/Rocket.Chat/pull/8146) Fix iframe login API response (issue [#8145](https://github.com/RocketChat/Rocket.Chat/issues/8145))
- [#8144](https://github.com/RocketChat/Rocket.Chat/pull/8144) Fix new room sound being played too much
- [#8167](https://github.com/RocketChat/Rocket.Chat/pull/8167) Issue [#8166](https://github.com/RocketChat/Rocket.Chat/issues/8166) where empty analytics setting breaks to load Piwik script
- [#8154](https://github.com/RocketChat/Rocket.Chat/pull/8154) Sidebar and RTL alignments
- [#8159](https://github.com/RocketChat/Rocket.Chat/pull/8159) Text area lost text when page reloads
- [#8211](https://github.com/RocketChat/Rocket.Chat/pull/8211) Incorrect URL for login terms when using prefix
- [#8213](https://github.com/RocketChat/Rocket.Chat/pull/8213) Leave and hide buttons was removed
- [#8190](https://github.com/RocketChat/Rocket.Chat/pull/8190) Scrollbar not using new style
- [#8210](https://github.com/RocketChat/Rocket.Chat/pull/8210) User avatar in DM list.
- [#8241](https://github.com/RocketChat/Rocket.Chat/pull/8241) Api groups.files is always returning empty
- [#8216](https://github.com/RocketChat/Rocket.Chat/pull/8216) Case insensitive SAML email check
- [#8259](https://github.com/RocketChat/Rocket.Chat/pull/8259) clipboard and permalink on new popover
- [#8262](https://github.com/RocketChat/Rocket.Chat/pull/8262) make sidebar item animation fast
- [#8261](https://github.com/RocketChat/Rocket.Chat/pull/8261) RTL on reply
- [#8257](https://github.com/RocketChat/Rocket.Chat/pull/8257) sidenav colors, hide and leave, create channel on safari
- [#8252](https://github.com/RocketChat/Rocket.Chat/pull/8252) sidenav mentions on hover
- [#8278](https://github.com/RocketChat/Rocket.Chat/pull/8278) "Cancel button" on modal in RTL in Firefox 55
- [#8266](https://github.com/RocketChat/Rocket.Chat/pull/8266) "Channel Setting" buttons alignment in RTL
- [#8270](https://github.com/RocketChat/Rocket.Chat/pull/8270) [i18n] My Profile & README.md links
- [#8271](https://github.com/RocketChat/Rocket.Chat/pull/8271) Attachment icons alignment in LTR and RTL
- [#8307](https://github.com/RocketChat/Rocket.Chat/pull/8307) Call buttons with wrong margin on RTL
- [#8295](https://github.com/RocketChat/Rocket.Chat/pull/8295) Check attachments is defined before accessing first element
- [#8300](https://github.com/RocketChat/Rocket.Chat/pull/8300) Emoji Picker hidden for reactions in RTL
- [#8310](https://github.com/RocketChat/Rocket.Chat/pull/8310) Execute meteor reset on TRAVIS_TAG builds
- [#8237](https://github.com/RocketChat/Rocket.Chat/pull/8237) Removing pipe and commas from custom emojis ([#8168](https://github.com/RocketChat/Rocket.Chat/issues/8168))
- [#8269](https://github.com/RocketChat/Rocket.Chat/pull/8269) some placeholder and phrase traslation fix
- [#8298](https://github.com/RocketChat/Rocket.Chat/pull/8298) TypeError: Cannot read property 't' of undefined
- [#8296](https://github.com/RocketChat/Rocket.Chat/pull/8296) Wrong file name when upload to AWS S3
- [#8314](https://github.com/RocketChat/Rocket.Chat/pull/8314) After deleting the room, cache is not synchronizing
- [#8317](https://github.com/RocketChat/Rocket.Chat/pull/8317) Email Subjects not being sent
- [#8316](https://github.com/RocketChat/Rocket.Chat/pull/8316) Mention unread indicator was removed
- [#8315](https://github.com/RocketChat/Rocket.Chat/pull/8315) Put delete action on another popover group
- [#8334](https://github.com/RocketChat/Rocket.Chat/pull/8334) Remove sidebar header on admin embedded version
- [#8237](https://github.com/RocketChat/Rocket.Chat/pull/8237) Removing pipe and commas from custom emojis ([#8168](https://github.com/RocketChat/Rocket.Chat/issues/8168))
- [#8269](https://github.com/RocketChat/Rocket.Chat/pull/8269) some placeholder and phrase traslation fix
- [#8298](https://github.com/RocketChat/Rocket.Chat/pull/8298) TypeError: Cannot read property 't' of undefined
- [#8296](https://github.com/RocketChat/Rocket.Chat/pull/8296) Wrong file name when upload to AWS S3
<details>
<summary>Others</summary>
- [#8299](https://github.com/RocketChat/Rocket.Chat/pull/8299) [FIX] Amin menu not showing all items & File list breaking line
- [#8172](https://github.com/RocketChat/Rocket.Chat/pull/8172) Allow unknown file types if no allowed whitelist has been set ([#7074](https://github.com/RocketChat/Rocket.Chat/issues/7074))
- [#8146](https://github.com/RocketChat/Rocket.Chat/pull/8146) Fix iframe login API response (issue [#8145](https://github.com/RocketChat/Rocket.Chat/issues/8145))
- [#8144](https://github.com/RocketChat/Rocket.Chat/pull/8144) Fix new room sound being played too much
- [#8167](https://github.com/RocketChat/Rocket.Chat/pull/8167) Issue [#8166](https://github.com/RocketChat/Rocket.Chat/issues/8166) where empty analytics setting breaks to load Piwik script
- [#8154](https://github.com/RocketChat/Rocket.Chat/pull/8154) Sidebar and RTL alignments
- [#8159](https://github.com/RocketChat/Rocket.Chat/pull/8159) Text area lost text when page reloads
- [#7823](https://github.com/RocketChat/Rocket.Chat/pull/7823) Fix new-message button showing on search
- [#7687](https://github.com/RocketChat/Rocket.Chat/pull/7687) Fix room load on first hit
- [#7758](https://github.com/RocketChat/Rocket.Chat/pull/7758) Fixed function closure syntax allowing validation emails to be sent.
- [#7825](https://github.com/RocketChat/Rocket.Chat/pull/7825) Google vision NSFW tag
- [#7679](https://github.com/RocketChat/Rocket.Chat/pull/7679) Make link inside YouTube preview open in new tab
- [#7644](https://github.com/RocketChat/Rocket.Chat/pull/7644) Markdown noopener/noreferrer: use correct HTML attribute
- [#7721](https://github.com/RocketChat/Rocket.Chat/pull/7721) meteor-accounts-saml issue with ns0,ns1 namespaces, makes it compatible with pysaml2 lib
- [#7652](https://github.com/RocketChat/Rocket.Chat/pull/7652) Only use "File Uploaded" prefix on files
- [#7809](https://github.com/RocketChat/Rocket.Chat/pull/7809) Remove redundant "do" in "Are you sure ...?" messages.
- [#7672](https://github.com/RocketChat/Rocket.Chat/pull/7672) Remove references to non-existent tests
- [#7748](https://github.com/RocketChat/Rocket.Chat/pull/7748) scroll on flex-tab
- [#7779](https://github.com/RocketChat/Rocket.Chat/pull/7779) Settings not getting applied from Meteor.settings and process.env
Checkout the latest version at [https://demo.rocket.chat](https://demo.rocket.chat)
# Community
Join thousands of members world-wide 24 x 7 in our [community server](https://open.rocket.chat).
[](https://open.rocket.chat/channel/support) for help from our community with general Rocket.Chat questions.
[](https://open.rocket.chat/channel/dev) for developers needing help from the community to developing new features.
You can also join the conversation at [Twitter](https://twitter.com/RocketChat), [Facebook](https://www.facebook.com/RocketChatApp) or [Google Plus](https://plus.google.com/+RocketChatApp).
# Desktop Apps
Download the Native Cross-Platform Desktop Application at [Rocket.Chat.Electron](https://github.com/RocketChat/Rocket.Chat.Electron/releases)
# Native Mobile Apps
# Mobile Apps
## Native Mobile Apps
*Note: currently the native apps doesn't support all the features that web does. If you're looking for it, you should download the Cordova apps.*
[](https://itunes.apple.com/us/app/rocket-chat/id1148741252?mt=8) [](https://play.google.com/store/apps/details?id=chat.rocket.android)
# Hybrid Mobile Apps (Cordova)
## Hybrid Mobile Apps (Cordova)
[](https://itunes.apple.com/us/app/rocket.chat/id1028869439?mt=8) [](https://play.google.com/store/apps/details?id=com.konecty.rocket.chat)
*Now compatible with all Android devices as old as version 4.0.x - [download here](https://rocket.chat/docs/developer-guides/mobile-apps/), even on BlackBerry Passport!*
*Now compatible with all Android devices as old as version 4.0.x - [download here](https://docs.rocket.chat/developer-guides/mobile-apps/), even on BlackBerry Passport!*
### Also available as FirefoxOS app
[](https://rocket.chat/docs/installation/mobile-and-desktop-apps/#native-firefox-os-app)
[](https://docs.rocket.chat/installation/mobile-and-desktop-apps/#native-firefox-os-app).
# Deployment
## Instant Server Installation with Snaps
Install Rocket.Chat in seconds on Linux (Ubuntu and others) with:
[](https://uappexplorer.com/snap/ubuntu/rocketchat-server)
Installing snaps is very quick. By running that command you have your full Rocket.Chat server up and running. Snaps are secure. They are isolated with all of their dependencies. Snaps also auto update when we release new versions.
Installing snaps is very quick. By running that command you have your full Rocket.Chat server up and running. Snaps are secure. They are isolated with all of their dependencies. Snaps also auto update when we release new versions.
Our snap features a built-in reverse proxy that can request and maintain free letsencrypt SSL certificates. You can go from zero to a public-facing SSL-secured Rocket.Chat server in less than 5 minutes.
Find out more information about our snaps [here](https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/)
Find out more information about our snaps [here](https://docs.rocket.chat/installation/manual-installation/ubuntu/snaps/).
## RocketChatLauncher
@ -113,7 +120,7 @@ Instantly deploy your Rocket.Chat server for free on next generation auto-scalin
Painless SSL. Automatically scale your server cluster based on usage demand.
## Sandstorm.io
Host your own Rocket.Chat server in four seconds flat:
Host your own Rocket.Chat server in four seconds flat.
[](https://apps.sandstorm.io/app/vfnwptfn02ty21w715snyyczw0nqxkv3jvawcah10c6z7hj1hnu0)
@ -124,12 +131,12 @@ Host your own Rocket.Chat server in a few seconds.
## DPlatform
Easiest way to install a ready-to-run Rocket.Chat server on a Linux machine, VM, or VPS
Easiest way to install a ready-to-run Rocket.Chat server on a Linux machine, VM, or VPS.
@ -157,24 +164,22 @@ Host your own Rocket.Chat server for **FREE** with [One-Click Deploy](https://he
Deploy on Kubernetes using the official [helm chart](https://github.com/kubernetes/charts/pull/752).
## Scalingo
Deploy your own Rocket.Chat server instantly on [Scalingo](https://scalingo.com)
Deploy your own Rocket.Chat server instantly on [Scalingo](https://scalingo.com).
[](https://my.scalingo.com/deploy?source=https://github.com/RocketChat/Rocket.Chat#master)
## Sloppy.io
Host your docker container at [sloppy.io](http://sloppy.io). Get an account and use the [quickstarter](https://github.com/sloppyio/quickstarters/tree/master/rocketchat)
Host your docker container at [sloppy.io](http://sloppy.io). Get an account and use the [quickstarter](https://github.com/sloppyio/quickstarters/tree/master/rocketchat).
## Docker
[Deploy with docker compose](https://rocket.chat/docs/installation/docker-containers/docker-compose)
or
Use the automated build image of our [most recent release](https://hub.docker.com/r/rocketchat/rocket.chat/)
[Deploy with docker compose](https://docs.rocket.chat/installation/docker-containers/docker-compose)
Deploy on your own enterprise server, or with Microsoft Azure:
Deploy on your own enterprise server, or with Microsoft Azure.
[](https://rocket.chat/docs/installation/manual-installation/windows-server/)
[](https://docs.rocket.chat/installation/manual-installation/windows-server/)
## Ansible
Automated production-grade deployment in minutes, for RHEL / CentOS 7 or Ubuntu 14.04 LTS / 15.04:
Automated production-grade deployment in minutes, for RHEL / CentOS 7 or Ubuntu 14.04 LTS / 15.04.
Follow these [deployment instructions](https://rocket.chat/docs/installation/manual-installation/ubuntu/)
Follow these [deployment instructions](https://docs.rocket.chat/installation/manual-installation/ubuntu/).
## Hyper.sh
Follow their [deployment instructions](https://rocket.chat/docs/installation/paas-deployments/hyper-sh/) to install a per-second billed Rocket.Chat instance on [Hyper.sh](https://rocket.chat/docs/installation/paas-deployments/hyper-sh/)
Follow their [deployment instructions](https://docs.rocket.chat/installation/paas-deployments/hyper-sh/) to install a per-second billed Rocket.Chat instance on [Hyper.sh](https://docs.rocket.chat/installation/paas-deployments/hyper-sh/).
## WeDeploy
Install Rocket.Chat on [WeDeploy](https://wedeploy.com):
@ -300,7 +310,7 @@ It is a great solution for communities and companies wanting to privately host t
- Multi-users Audio Conference
- Screensharing
- Drupal 7.x and 8.x Plug-in (both stable and development flavours) ([download](https://www.drupal.org/project/rocket_chat) and [source code](https://git.drupal.org/project/rocket_chat.git) )
- Native real-time APIs for Microsoft C#, Visual Basic, F# and other .NET supported languages ([Get it!](https://www.nuget.org/packages/Rocket.Chat.Net/0.0.12-pre))
@ -310,7 +320,7 @@ It is a great solution for communities and companies wanting to privately host t
- Native Cross-Platform Desktop Application [Windows, Mac OSX, or Linux](https://rocket.chat/)
- Mobile app for iPhone, iPad, and iPod touch [Download on AppStore!](https://geo.itunes.apple.com/us/app/rocket.chat/id1028869439?mt=8)
- Mobile app for Android phone, tablet, and TV stick [Available now on Google Play!](https://play.google.com/store/apps/details?id=com.konecty.rocket.chat)
- Native Firefox OS Application (also for Desktop Firefox and Firefox for Android!) - [Check the docs page for install instructions](https://rocket.chat/docs/installation/mobile-and-desktop-apps/#native-firefox-os-app)
- Native Firefox OS Application (also for Desktop Firefox and Firefox for Android!) - [Check the docs page for install instructions](https://docs.rocket.chat/installation/mobile-and-desktop-apps/#native-firefox-os-app)
- Sandstorm.io instant Rocket.Chat server [Now on Sandstorm App Store](https://apps.sandstorm.io/app/vfnwptfn02ty21w715snyyczw0nqxkv3jvawcah10c6z7hj1hnu0)
- Available on [Cloudron Store](https://cloudron.io/appstore.html#chat.rocket.cloudronapp)
@ -341,7 +351,7 @@ It is a great solution for communities and companies wanting to privately host t
## How it all started
Read about [how it all started](http://osdelivers.blackducksoftware.com/2016/06/10/rocket-chat-hosted-chat-services/).
Read about [how it all started](https://blog.blackducksoftware.com/rocket-chat-enabling-privately-hosted-chat-services).
## Awards
[](http://www.infoworld.com/article/3122000/open-source-tools/bossie-awards-2016-the-best-open-source-applications.html#slide4)
@ -379,7 +389,7 @@ We are developing the APIs based on the competition, so stay tuned and you will
If you are not a developer and just want to run the server - see [deployment methods](https://rocket.chat/docs/installation/paas-deployments/).
If you are not a developer and just want to run the server - see [deployment methods](https://docs.rocket.chat/installation/paas-deployments/).
## Branching Model
See [Branches and Releases](https://rocket.chat/docs/developer-guides/branches-and-releases/).
See [Branches and Releases](https://docs.rocket.chat/developer-guides/branches-and-releases/).
It is based on [Gitflow Workflow](http://nvie.com/posts/a-successful-git-branching-model/), reference section below is derived from Vincent Driessen at nvie.
@ -415,10 +425,6 @@ See also this [Git Workflows Comparison](https://www.atlassian.com/git/tutorials
We are experimenting [Lingohub](https://translate.lingohub.com/engelgabriel/rocket-dot-chat/dashboard).
If you want to help, send an email to support at rocket.chat to be invited to the translation project.
## Community
Join thousands of members world-wide 24 x 7 in our [community server](https://demo.rocket.chat). Join the conversation at [Twitter](https://twitter.com/RocketChatApp), [Facebook](https://www.facebook.com/RocketChatApp) or [Google Plus](https://plus.google.com/+RocketChatApp)
## How to Contribute
Already a JavaScript developer? Familiar with Meteor? [Pick an issue](https://github.com/RocketChat/Rocket.Chat/labels/contrib%3A%20easy), push a PR and instantly become a member of Rocket.Chat's international contributors community.
// TODO: Remove this after three versions have been released. That means at 0.64 this should be gone. ;)
result.developerWarning='[WARNING]: The "usernames" field has been removed for performance reasons. Please use the "*.members" endpoint to get a list of members/users in a room.';
}
return{
@ -77,6 +99,16 @@ class API extends Restivus {
};
}
notFound(msg){
return{
statusCode:404,
body:{
success:false,
error:msg?msg:'Nothing was found'
}
};
}
addRoute(routes,options,endpoints){
//Note: required if the developer didn't provide options
if(typeofendpoints==='undefined'){
@ -94,7 +126,7 @@ class API extends Restivus {
if(this.helperMethods){
Object.keys(endpoints).forEach((method)=>{
if(typeofendpoints[method]==='function'){
endpoints[method]={action:endpoints[method]};
endpoints[method]={action:endpoints[method]};
}
//Add a try/catch for each endpoint
@ -124,8 +156,169 @@ class API extends Restivus {
super.addRoute(route,options,endpoints);
});
}
_initAuth(){
constloginCompatibility=(bodyParams)=>{
// Grab the username or email that the user is logging in with