Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream merge #582

Closed
wants to merge 172 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
1b2fcbe
Copy old code that authenticates/loads user data from LDAP into Meteor.
Jul 15, 2015
3e2bc39
Add users to GENERAL channel by default.
rwakida Jul 16, 2015
d40385b
Fix bug where user information overwritten by ldap values on restart and
rwakida Jul 16, 2015
3ddb8d0
Merge pull request #2 from sscpac/feature/JEDIS-598
rwakida Jul 16, 2015
e3fda68
Modified 'room' template to display a banner
Jul 16, 2015
41397d6
Merge branch 'master' into feature/chat-locker-6
Jul 16, 2015
e347465
Converted js to coffeescript
Jul 16, 2015
da1a639
Fixed obtaining system country code setting
Jul 16, 2015
a71aa08
Removed default permission. Now return empty list if none found.
Jul 16, 2015
6a20b5a
Updates made for using chat-locker name.
bbrockman Jul 17, 2015
276126e
initial update for chat-locker name.
bbrockman Jul 17, 2015
ae7e1a7
Fixed type on about urls.
bbrockman Jul 17, 2015
54218bc
Added update for coverage status.
bbrockman Jul 17, 2015
7023d74
Added code climate.
bbrockman Jul 17, 2015
f39516c
Updating travis to use their new platform.
bbrockman Jul 17, 2015
d0a51cc
installing istanbul code coverage for travis.
bbrockman Jul 17, 2015
778c67a
Fixed type for missing single quote in before_script
bbrockman Jul 17, 2015
6e632e7
Added coveralls for nodejs
bbrockman Jul 17, 2015
c1ef223
debugging build
bbrockman Jul 17, 2015
3b92bf1
debugging travis.
bbrockman Jul 17, 2015
5e096db
going back to default travis. Couldn't get the extra travis coverage…
bbrockman Jul 17, 2015
e12566e
Merge branch 'master' into feature/chat-locker-6
Jul 17, 2015
270ad71
correct url for code climate.
bbrockman Jul 17, 2015
9dcbb55
update to use code climate platform
bbrockman Jul 17, 2015
af4fa19
moved code climate settings into correct file and deleted one that wa…
bbrockman Jul 17, 2015
67364fd
Alternate css for security-banner
rwakida Jul 17, 2015
4b6e17a
Use jquery to get actual height instead of hard 26
Jul 17, 2015
24fdb81
Merge pull request #10 from sscpac/feature/chat-locker-6.1
Jul 17, 2015
14ab971
Variables for classification colors
Jul 17, 2015
8dd5d1f
Merge pull request #9 from sscpac/feature/chat-locker-6
Jul 17, 2015
9f3b45f
Test commit to get git to use my email address for commit tracking
Jul 17, 2015
7b5e7c3
Merge remote-tracking branch 'upstream/master'
rwakida Jul 21, 2015
a961c64
- Added 'getAllowedConversationPermissions' method
Jul 21, 2015
ed87b91
Putting in logic to display the label selector. Still in need of debu…
berkich Jul 21, 2015
94352fa
Integrated labeling in the createChannelFlex. Initial functionality w…
berkich Jul 22, 2015
d167985
Fix sscpac/chat-locker#4. Integrate MAC restrictions (backend) into
rwakida Jul 23, 2015
bfda80d
Got the chosen drop downs to work.
berkich Jul 23, 2015
3a74231
Passed the permissions to the create direct message and private group…
berkich Jul 23, 2015
c2d17ba
Fix sscpac/chat-locker#14. user search not returning users.
rwakida Jul 25, 2015
ae3df35
Fix ssscpac/chat-locker#14. Update ldap import to set name field using
rwakida Jul 28, 2015
9129666
Partial implementation of relabeling. Still needs work
berkich Jul 28, 2015
d2e65ff
Forgot to add changes to chatRoomItem to the previous commit
berkich Jul 28, 2015
29b727f
Modified SideNav to always recreate/rerender the template when opened
Jul 28, 2015
09f0100
Relabeling updates
berkich Jul 28, 2015
cf09e77
Adjusted the private group display
berkich Jul 28, 2015
caa957b
A few minor display updates
berkich Jul 28, 2015
e78cdba
Fix sscpac/chat-locker#4. Add relabelRoom Meteor method.
rwakida Jul 29, 2015
8f87101
Merge pull request #16 from sscpac/bugfix/chat-locker-14
rwakida Jul 29, 2015
5159aea
A few minor display updates
berkich Jul 29, 2015
56b0b1a
Removed use of "Relabel_room" session variable in favor of setting da…
Jul 29, 2015
17638f1
Update README.md
bbrockman Jul 29, 2015
6ec611a
Update README.md
bbrockman Jul 29, 2015
a250345
Added roomUpdate method
berkich Jul 29, 2015
41c5160
Fixed issue where subscription data not immediately available to popu…
Jul 29, 2015
1e95f02
Merge branch 'chat-locker-3' of https://github.com/sscpac/chat-locker…
Jul 29, 2015
8d9cfb0
Fixed updateRoom bug
berkich Jul 29, 2015
7374c87
Merge remote-tracking branch 'origin/chat-locker-3' into chat-locker-3
berkich Jul 29, 2015
33054f4
Fix sscpac/chat-locker#4 Add MAC check when adding user to private gr…
rwakida Jul 29, 2015
13b7b48
Applied subscription data fix to direct messages.
Jul 29, 2015
7b81ca6
Remove default accessPermissions used for testing.
rwakida Jul 29, 2015
27171f2
Merge branch 'chat-locker-3' of https://github.com/sscpac/chat-locker…
Jul 29, 2015
6deba1c
Merge pull request #12 from sscpac/feature/chat-locker-4
rwakida Jul 29, 2015
11bc06a
Merge branch 'master' into chat-locker-3
rwakida Jul 30, 2015
49c907c
sscpac/chat-locker#3. Throw duplicate name error if the user attempt…
rwakida Jul 30, 2015
feb5ac6
Add div around security labels so that it doesn't cover any error
rwakida Jul 30, 2015
78e7df1
Remove autorun code that subscribed and retrieved room based on passe…
rwakida Jul 30, 2015
c1e2927
Updated added member to display username instead of fullname for
rwakida Jul 30, 2015
bfbb6dd
Update error message from create to participate to be more specific
rwakida Jul 30, 2015
516f71a
Publish AccessPermissions to client
rwakida Jul 30, 2015
135e453
Validate parameters, and:
rwakida Jul 30, 2015
107170a
Modify available access permission logic. The current user can selec…
rwakida Jul 30, 2015
27543be
Re-applied subscription updates to private groups to make sure can pu…
Jul 30, 2015
aae1bf8
Fixed direct message update problems
berkich Jul 30, 2015
c81a455
Fixed bug where SCI/SAP/RELTO labels couldn't be added unless classif…
Jul 30, 2015
85faae5
Applied logic from labeling/relabeling in private groups to direct me…
Jul 30, 2015
bac7228
Modify right flex tab to open left side nav when starting a direct me…
rwakida Jul 31, 2015
83cb754
Update security label error message to match logic. Update css class to
rwakida Jul 31, 2015
10b9a17
Add div around security label template so error messages aren't hidden
rwakida Aug 1, 2015
abc0e4c
Modify to display pop-out error when adding user to a room returns an
rwakida Aug 1, 2015
ebb43c0
Remove label room icon from sidenav for channels.
rwakida Aug 1, 2015
4f0aa8f
Modify room label options logic for create/update direct message and
rwakida Aug 1, 2015
65c42db
Merge pull request #18 from sscpac/chat-locker-3
rwakida Aug 2, 2015
a9ab735
Fixed click event for the banner and added the cursor pointer to the …
berkich Aug 3, 2015
50eb95a
Update README.md
bbrockman Aug 3, 2015
11862ed
Removed home page after you log in to not include social app and pict…
bbrockman Aug 4, 2015
25bc07a
Merge remote-tracking branch 'upstream/master' into upstream-merge
rwakida Aug 4, 2015
61e0d16
Updated the ChatSubscription query so that it does not check the favo…
berkich Aug 4, 2015
607f19a
Merge remote-tracking branch 'upstream/master' into upstream-merge
rwakida Aug 4, 2015
8611abb
Fixed thrown no method error for resize method due to incorrect method
rwakida Aug 4, 2015
1b253a8
Removed debug statement
rwakida Aug 4, 2015
af20ddc
Merge pull request #37 from sscpac/feature/chat-locker-36
bbrockman Aug 4, 2015
55967ed
Channels are no longer removed from original list when added to favor…
berkich Aug 4, 2015
4972eae
Merge pull request #35 from sscpac/chat-locker-19
berkich Aug 4, 2015
f0b4cae
Added Kadira Debug
bbrockman Aug 5, 2015
aab2a70
Initial commit
berkich Aug 5, 2015
b1afa75
Modified "AccessPermission" class to also return ids causing access f…
Aug 5, 2015
860a7b2
Whitespace
Aug 5, 2015
7417c9e
Merge remote-tracking branch 'upstream/master' into upstream-merge
rwakida Aug 6, 2015
febf5da
Added status-{{status}} to paragraph that displayed username in Membe…
bbrockman Aug 6, 2015
829b946
Modify privateGroupFlex and directMessageFlex to listen for changes to
rwakida Aug 6, 2015
b937ac2
Merge branch 'upstream-merge-fix-security-labels' into upstream-merge
rwakida Aug 6, 2015
0d18b54
Merge remote-tracking branch 'upstream/master' into upstream-merge
rwakida Aug 6, 2015
acec994
Getting functionality to work. Needs UI work and debugging
berkich Aug 6, 2015
f39bde1
Merge branch 'upstream-merge'
rwakida Aug 7, 2015
8b4ca30
Fixed sscpac/chat-locker#13. Error thrown for unncessary reason.
rwakida Aug 8, 2015
62e3ddb
Initial version. Creates Channel for all locations and sets 'testadmin'
rwakida Aug 10, 2015
b3258f6
Updated to reflect Reid's suggestions on the pull request: sscpac/cha…
bbrockman Aug 10, 2015
ea45e08
Fixed issue where not including RELTO labels in an access check alway…
Aug 11, 2015
a5572ab
Removed unneeded code
Aug 11, 2015
98fb2a7
Added simple style for warning of permission clashes
Aug 11, 2015
9d149cc
Added functionality to detect specific permission conflicts when labe…
Aug 11, 2015
a7a4403
Add deafult access permissions upon Channel creation.
rwakida Aug 11, 2015
53973ab
Merge remote-tracking branch 'origin/master' into feature/chat-locker-30
Aug 11, 2015
2a6ec52
Removed unnecessary logging code
Aug 11, 2015
64942c8
Fixed current user being added to selected users
Aug 11, 2015
6b0cbb7
Modify location Channel to be open by default for the newly added user.
rwakida Aug 11, 2015
a8f7f5b
Merge branch 'master' into feature/chat-locker-15
bbrockman Aug 11, 2015
ce6f356
Banner fixes and update to channel default permissions
rwakida Aug 12, 2015
1abef4a
Modify how association between user and location channel is made.
rwakida Aug 12, 2015
07e70e9
Updated onlineUsers to allUsers for rooms because we want to see ever…
bbrockman Aug 12, 2015
ac63f35
Ready for testing
berkich Aug 12, 2015
c0dafee
Removed logging
bbrockman Aug 12, 2015
32c5bdb
Added comment to not add additional fields to be returned with the pu…
bbrockman Aug 12, 2015
e30749b
Fixed Indenting error! Thanks Coffee!
bbrockman Aug 12, 2015
89b6a69
Put status text in header title
berkich Aug 12, 2015
d888c7c
Show status and custome message in the user details
berkich Aug 12, 2015
642daca
Merge branch 'bugfix/chat-locker-13'
rwakida Aug 13, 2015
1011e46
Merge branch 'feature/chat-locker-24'
rwakida Aug 13, 2015
bafbbdb
Wait for General room to exist before adding users to it. The general
rwakida Aug 13, 2015
ca1b7a1
Merge branch 'feature/chat-locker-24'
rwakida Aug 13, 2015
ee682d2
Add default access permissions when creating location channel.
rwakida Aug 13, 2015
d68a9aa
Add status and statusConnection fields to imported LDAP user.
rwakida Aug 13, 2015
f034000
Merge branch 'master' into feature/chat-locker-15
javawebdeveloper Aug 13, 2015
27389c4
Merge pull request #42 from sscpac/feature/chat-locker-15
bbrockman Aug 13, 2015
10ef911
Merge branch 'master' into feature/chat-locker-32
javawebdeveloper Aug 13, 2015
1e18bbf
Added status and custom message to the user detail right panel
berkich Aug 13, 2015
8b6ac9a
Merge remote-tracking branch 'origin/master' into feature/chat-locker-32
bbrockman Aug 13, 2015
1580ca8
Fixed issue where flex template sometimes didn't get created/rendered
Aug 13, 2015
836b51c
Updated to latest versions.
bbrockman Aug 13, 2015
502a139
Streamlined the logic for determining if entry needs styling
Aug 13, 2015
ffcfb45
Updated logic for creating/relabeling
Aug 13, 2015
43fbf71
Fixed missing semicolon
bbrockman Aug 13, 2015
9301191
Removed 'warnLabelIds' and 'warnUserIds' session variables in favor o…
Aug 13, 2015
2f106fb
Merge pull request #40 from sscpac/feature/chat-locker-32
bbrockman Aug 13, 2015
984ade0
Merge remote-tracking branch 'origin/master' into feature/chat-locker-30
Aug 13, 2015
fe563a6
Fixed typo in error message
Aug 13, 2015
e0d52e8
Merge branch 'chat-locker-31'
rwakida Aug 14, 2015
3316838
Merge pull request #50 from sscpac/bugfix/chat-locker-48
rwakida Aug 14, 2015
9f5f1d1
Change wherever username is displayed to use name field instead.
rwakida Aug 14, 2015
9472846
All users should belong to the "general" channel and their location
rwakida Aug 14, 2015
e768a95
Fixed problem with setStatusMessage updating the profile
berkich Aug 14, 2015
b6ea2d0
Merge pull request #58 from sscpac/bugfix/chat-locker-57
bbrockman Aug 14, 2015
cd7f559
Fixed grammar errors
Aug 14, 2015
8573036
Merged master
berkich Aug 14, 2015
795625e
Included custom messages for "busy" status
berkich Aug 14, 2015
6232f5e
Merge pull request #55 from sscpac/feature/chat-locker-30
bbrockman Aug 14, 2015
5160c7a
Adds comment to clarify what selectedUserName helper method returns.
rwakida Aug 14, 2015
d4594e2
Merge branch 'master' into bugfix/chat-locker-17
rwakida Aug 14, 2015
d292f19
Replaces username with name for system messages, user status (top of
rwakida Aug 15, 2015
3b1238b
Merge remote-tracking branch 'origin/master'
berkich Aug 17, 2015
d676e08
Update comment
rwakida Aug 18, 2015
bec7371
Makes security banner unclickable when viewing channel.
rwakida Aug 18, 2015
d46cd90
Merge branch 'master' into bugfix/chat-locker-17
rwakida Aug 18, 2015
93f60c0
Merge branch 'bugfix/chat-locker-17'
rwakida Aug 18, 2015
4e00ed0
Updated privateGroupsFlex and userSearch templates
Aug 20, 2015
1a19b6f
Upstream merge
rwakida Aug 22, 2015
7bfeb68
Merge pull request #66 from sscpac/bugfix/chat-locker-62
Aug 24, 2015
93d5448
Remove debug statement.
rwakida Aug 24, 2015
2cd4de8
Merge remote-tracking branch 'upstream/master' into upstream-merge
rwakida Aug 25, 2015
0f2fadb
Merge branch 'master' into upstream-merge
rwakida Aug 25, 2015
e23cfac
Upstream removed style.css. Our modifications where unused.
rwakida Aug 25, 2015
5efb55a
Handle case where statistic is undefined. Same as RocketChat #581.
rwakida Aug 25, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,32 @@
#
languages:
JavaScript: true

engines:
# to turn on an engine, add it here and set enabled to `true`
# to turn off an engine, set enabled to `false` or remove it
eslint:
enabled: true
coffeelint:
enabled: true
csslint:
enabled: true
fixme:
enabled: true



# Engines can analyze files and report issues on them, but you can separately
# decide which files will receive ratings based on those issues. This is
# specified by path patterns under the ratings key.

# For more details see here:
# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform

ratings:
paths:
- **.coffee
- **.js
#
# ---Exclude Files or Directories---
# List the files or directories you would like excluded from our analysis.
Expand All @@ -14,4 +40,4 @@ languages:
#
exclude_paths:
- "public/moment-locales/*"
- "packages/rocketchat-favico/favico.js"
- "packages/rocketchat-favico/favico.js"
19 changes: 19 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"bitwise" : true,
"curly" : true,
"eqeqeq" : true,
"forin" : true,
"immed" : true,
"latedef" : "nofunc",
"maxparams" : 4,
"newcap" : true,
"noarg" : true,
"noempty" : true,
"nonew" : true,
"undef" : true,
"unused" : true,
"node" : true,
"browser" : true,
"jquery" : true,
"globals" : {}
}
2 changes: 2 additions & 0 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ tmeasday:errors
todda00:friendly-slugs
underscorestring:underscore.string
yasaricli:slugify
eskan:chosen
nemo64:bootstrap
yasinuslu:blaze-meta
rocketchat:colors
raix:push@2.6.13-rc.1
Expand Down
3 changes: 3 additions & 0 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ deps@1.0.7
dispatch:run-as-user@0.0.2
ejson@1.0.6
email@1.0.6
eskan:chosen@1.4.2
facebook@1.2.1
fastclick@1.0.3
francocatena:status@1.3.0
Expand Down Expand Up @@ -78,6 +79,8 @@ mongo@1.1.0
mongo-livedata@1.0.8
mrt:reactive-store@0.0.1
mystor:device-detection@0.2.0
nemo64:bootstrap@3.3.5_2
nemo64:bootstrap-data@3.3.5
nimble:restivus@0.8.2
nooitaf:colors@0.0.2
npm-bcrypt@0.7.8_2
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ before_install:
script:
- meteor add rocketchat:external
- meteor add rocketchat:hubot
- meteor build --server demo.rocket.chat ./
- meteor build --server chat-locker ./
184 changes: 14 additions & 170 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,172 +1,36 @@
![Rocket.Chat logo](https://rocket.chat/images/logo/logo-dark.svg?v3)

The Complete Open Source Chat Solution

## Demo

Checkout the latest version at [https://demo.rocket.chat](https://demo.rocket.chat)

Get the app for your Android phone:

[![Rocket.Chat on Google Play](https://developer.android.com/images/brand/en_app_rgb_wo_45.png)](https://play.google.com/store/apps/details?id=com.konecty.rocket.chat)

Try it on Ubuntu:

[Deploy on VPS or standalone server](https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-Rocket.Chat-without-docker)

Try it with docker:

```
docker-compose up
```

and check it out at http://localhost:80

Download the Native Cross-Platform Desktop Application at [Rocket.Chat.Electron](https://github.com/RocketChat/Rocket.Chat.Electron/releases)

[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=49QX7TYCVZK8L)

## About
The Complete Open Source Chat Solution that implements the [DoD Manual 5200.01V2] (http://www.dtic.mil/whs/directives/corres/pdf/520001_vol2.pdf)

[![Build Status](https://img.shields.io/travis/RocketChat/Rocket.Chat/master.svg)](https://travis-ci.org/RocketChat/Rocket.Chat)
[![Coverage Status](https://coveralls.io/repos/RocketChat/Rocket.Chat/badge.svg)](https://coveralls.io/r/RocketChat/Rocket.Chat)
[![Code Climate](https://codeclimate.com/github/RocketChat/Rocket.Chat/badges/gpa.svg)](https://codeclimate.com/github/RocketChat/Rocket.Chat)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/RocketChat/Rocket.Chat/raw/master/LICENSE)

Rocket.Chat is a Web Chat Server, developed in JavaScript, using the [Meteor](https://www.meteor.com/install) fullstack framework.
[![Build Status](https://travis-ci.org/sscpac/chat-locker.svg?branch=master)](https://travis-ci.org/sscpac/chat-locker)
<!--- [![Coverage Status](https://coveralls.io/repos/sscpac/chat-locker/badge.svg?branch=master&service=github)](https://coveralls.io/github/sscpac/chat-locker?branch=master) -->
[![Code Climate](https://codeclimate.com/github/sscpac/chat-locker/badges/gpa.svg)](https://codeclimate.com/github/sscpac/chat-locker)
<!--- [![Test Coverage](https://codeclimate.com/github/sscpac/chat-locker/badges/coverage.svg)](https://codeclimate.com/github/sscpac/chat-locker/coverage)-->
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/sscpac/chat-locker/raw/master/LICENSE)

It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms.
Chat Locker is a Web Chat Server, developed in JavaScript, using the [Meteor](https://www.meteor.com/install) fullstack framework.

### On the News

##### [Hacker News](https://news.ycombinator.com/item?id=9624737)
> Yes, we made it to the #1

##### [Product Hunt](http://www.producthunt.com/posts/rocket-chat)
> Your own open source Slack-like chat

##### [JavaScript Weekly](http://javascriptweekly.com/issues/234)
> An open source Web based, channel based chat system (a la Slack) built using Meteor, the full stack JavaScript development platform.

##### [wwwhatsnew.com](http://wwwhatsnew.com/2015/05/30/rocket-chat-para-los-programadores-que-quieran-ofrecer-un-chat-en-su-web/)
> Para los programadores que quieran ofrecer un chat en su web

##### [clasesdeperiodismo.com](http://www.clasesdeperiodismo.com/2015/05/30/un-chat-de-codigo-abierto-que-puedes-anadir-a-la-web/)
> Un chat de código abierto que puedes añadir a la web

## Features

- BYOS (bring your own server)
- Multiple Rooms
- Direct Messages
- Private Groups
- Public Channels
- Desktop Notifications
- Mentions
- Avatars
- Markdown
- Emojis
- Sent Message Edit and Deletion
- Transcripts / History
- File Upload / Sharing
- I18n - Supports 22 Languages [Internationalization with Lingohub](https://translate.lingohub.com/engelgabriel/rocket-dot-chat/dashboard)
- Hubot Friendly - [Hubot Integration Project](https://github.com/RocketChat/hubot-rocketchat)
- Media Embeds
- Link Previews
- LDAP Authentication - [LDAP Authentication on Rocket.Chat Wiki](https://github.com/RocketChat/Rocket.Chat/wiki/LDAP-Authentication)
- Face to Face Video Conferencing aka WebRTC (Alpha) - [How to video chat](https://github.com/RocketChat/Rocket.Chat/wiki/Using-Face-to-face-video-conference-%28aka-webrtc%29)
- REST-full APIs - [Ready for testing ...](https://github.com/RocketChat/Rocket.Chat/wiki/REST-full-APIs)
- Remote Locations Video Monitoring - [Early access ...](https://github.com/RocketChat/Rocket.Chat/wiki/Remote-Video-Monitoring)
- Native Cross-Platform Desktop Application [Rocket.Chat.Electron - HELP WANTED](https://github.com/RocketChat/Rocket.Chat.Electron/releases)
- Mobile app for iPhone, iPad, and iPod touch [Available now! - help us test](https://github.com/RocketChat/Rocket.Chat/wiki/Mobile-app-for-iPhones,-iPads,-iPod-Touch)
- Mobile app for Android phone, tablet, and TV stick [Install now!](https://play.google.com/store/apps/details?id=com.konecty.rocket.chat)

### Roadmap

#### In Progress

- Native iOS Application [Rocket.Chat.iOS - HELP WANTED](https://github.com/RocketChat/Rocket.Chat.iOS)
- Native Android Application [Issue #271 - HELP WANTED](https://github.com/RocketChat/Rocket.Chat/issues/271)
- External popout window for chat with website visitor, like Zopim, Olark, LiveChat, SnapEngage [Issue #519](https://github.com/RocketChat/Rocket.Chat/issues/519)

#### Planned

- Off-the-Record (OTR) Messaging [Issue #36 - HELP WANTED](https://github.com/RocketChat/Rocket.Chat/issues/36)
- Full text search
- Kerberos Authentication
- XMPP Multi-user chat (MUC)
It is the best solution to agencies or companies that need to deploy a web based chat solution that can handle classification guidelines from the 5200.01V2.

### Issues

[Github Issues](https://github.com/RocketChat/Rocket.Chat/issues) are used to track todos, bugs, feature requests, and more.

### Integrations

#### Hubot

The docker image is ready.
Everyone can start hacking the adapter code, or launch his/her own bot within a few minutes now.
Please head over to the [Hubot Integration Project](https://github.com/RocketChat/hubot-rocketchat) for more information.

#### Many, many, many more to come!

We are developing the APIs based on the competition, so stay tunned and you will see a lot happening here.

### Documentation

Checkout [Github Wiki](https://github.com/RocketChat/Rocket.Chat/wiki) (coming soon)

## Production Deployment

### Unbuntu VPS or server

Follow these [deployment instructions](https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-Rocket.Chat-without-docker).

### Docker

Use the automated build at our [Official Docker Registry](https://registry.hub.docker.com/u/rocketchat/rocket.chat/)

[![Rocket.Chat logo](https://d207aa93qlcgug.cloudfront.net/1.95.5.qa/img/nav/docker-logo-loggedout.png)](https://registry.hub.docker.com/u/rocketchat/rocket.chat/)

```
docker pull rocketchat/rocket.chat
```

### 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)

### Heroku

Host your own Rocket.Chat server for **FREE** with [One-Click Deploy](https://heroku.com/deploy?template=https://github.com/RocketChat/Rocket.Chat/tree/master)

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/RocketChat/Rocket.Chat/tree/master)


[Github Issues](https://github.com/sscpac/chat-locker/issues) are used to track todos, bugs, feature requests, and more.

## Development Installation

Prerequisites:

* [Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
* [Meteor](https://www.meteor.com/install)
* [LDAP] - Configuration coming soon!

Now just clone and start the app:

```sh
git clone https://github.com/RocketChat/Rocket.Chat.git
cd Rocket.Chat
git clone https://github.com/sscpac/chat-locker.git
cd chat-locker
meteor
```

or use docker:

```
git clone https://github.com/RocketChat/Rocket.Chat.git
cd Rocket.Chat
docker run -it -p 3000:3000 -v "$(pwd)":/app danieldent/meteor
```

## Credits

Thanks to
Expand All @@ -181,29 +45,9 @@ Emoji provided free by [Emoji One](http://emojione.com)

Performance monitoring provided by [Kadira](https://kadira.io/)

### Contributions

#### We Need Your Help!

A lot of work has already gone into Rocket.Chat, but we have much bigger plans for it!

So if you'd like to be part of the project, please check out the [roadmap](https://github.com/RocketChat/Rocket.Chat/milestones) and [issues](https://github.com/RocketChat/Rocket.Chat/issues) to see if there's anything you can help with.

### Translations

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 the the conversation at [Twitter](http://twitter.com/RocketChatApp), [Facebook](https://www.facebook.com/RocketChatApp) or [Google Plus](https://plus.google.com/+RocketChatApp)

### License

Note that Rocket.Chat is distributed under the [MIT License](http://opensource.org/licenses/MIT).

### Donate
Note that Chat Locker is distributed under the [MIT License](http://opensource.org/licenses/MIT).

Rocket.Chat will be free forever, but you can help us speed-up the development!

[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=49QX7TYCVZK8L)
:smiling_imp:
Empty file modified build-android.sh
100755 → 100644
Empty file.
Empty file modified build-ios.sh
100755 → 100644
Empty file.
8 changes: 4 additions & 4 deletions build.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if [ $1 ]; then
export METEOR_SETTINGS=$(cat settings.$1.json)
meteor add rocketchat:external
meteor add rocketchat:hubot
meteor build --server https://demo.rocket.chat --directory /var/www/rocket.chat
cd /var/www/rocket.chat/bundle/programs/server
meteor build --server chat-locker --directory /var/www/chat-locker
cd /var/www/chat-locker/bundle/programs/server
npm install
cd /var/www/rocket.chat/current
pm2 startOrRestart /var/www/rocket.chat/current/pm2.$1.json
cd /var/www/chat-locker/current
pm2 startOrRestart /var/www/chat-locker/current/pm2.$1.json
fi
22 changes: 10 additions & 12 deletions client/lib/RoomManager.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Meteor.startup ->
subscription = null
msgStream = new Meteor.Stream 'messages'
deleteMsgStream = new Meteor.Stream 'delete-message'
onlineUsers = new ReactiveVar {}
allUsers = new ReactiveVar {}

Dep = new Tracker.Dependency

Expand Down Expand Up @@ -99,7 +99,7 @@ Meteor.startup ->
if Session.get('openedRoom') is msg.rid
type = if FlowRouter.current().route.name is 'channel' then 'c' else 'p'
RoomManager.close type + FlowRouter.getParam('name')
FlowRouter.go FlowRouter.current().route.name, name: msg.msg
FlowRouter.go FlowRouter.current().route.name, name: msg.slugName

deleteMsgStream.on openedRooms[typeName].rid, (msg) ->
ChatMessage.remove _id: msg._id
Expand Down Expand Up @@ -155,16 +155,14 @@ Meteor.startup ->
return room?.dom?

updateUserStatus = (user, status, utcOffset) ->
onlineUsersValue = onlineUsers.curValue
allUsersValue = allUsers.curValue
allUsersValue[user.username] =
firstName: user.profile.first_name
lastName: user.profile.last_name
name: user.name
status: user.status

if status is 'offline'
delete onlineUsersValue[user.username]
else
onlineUsersValue[user.username] =
status: status
utcOffset: utcOffset

onlineUsers.set onlineUsersValue
allUsers.set allUsersValue

open: open
close: close
Expand All @@ -174,4 +172,4 @@ Meteor.startup ->
msgStream: msgStream
openedRooms: openedRooms
updateUserStatus: updateUserStatus
onlineUsers: onlineUsers
allUsers: allUsers
6 changes: 4 additions & 2 deletions client/lib/accountBox.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
status = 0
self = {}

setStatus = (status) ->
setStatus = (status, message) ->
if message?
Meteor.call('setStatusMessage', status, message)
Meteor.call('UserPresence:setDefaultStatus', status)

toggle = ->
Expand Down Expand Up @@ -32,4 +34,4 @@
open: open
close: close
init: init
)()
)()
2 changes: 1 addition & 1 deletion client/lib/chatMessages.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class @ChatMessages
return

resize: ->
dif = 60 + $(".messages-container").find("footer").outerHeight()
dif = 60 + $(".messages-container").find("footer").outerHeight() + $(".messages-container").find(".security-banner").outerHeight()
$(".messages-box").css
height: "calc(100% - #{dif}px)"

Expand Down
Loading