forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request RocketChat#1 from RocketChat/develop
merge with upstream
- Loading branch information
Showing
247 changed files
with
7,697 additions
and
11,733 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
- Self Host | ||
- Docker | ||
- Multiple Deployment Options (Heroku, Digital Ocean, Sandstorm, etc.) | ||
- Authentication Options | ||
- OAuth | ||
- SAML | ||
- LDAP | ||
- CAS | ||
- Facebook, Github, Google, etc. | ||
- I18N: More than 30 languages so far | ||
- File Uploading | ||
- Drag-and-drop | ||
- Upload to file system | ||
- AWS + CDN | ||
- Live chat | ||
- SMS Integration | ||
- Rich Media | ||
- Audio Calls | ||
- Video Conferencing | ||
- Screensharing | ||
- Notifications | ||
- Desktop and Mobile | ||
- Use your own gateway | ||
- Use @all to notify everyone in the room (configurable to max. users) | ||
- Receive missed messages in your e-mail | ||
- Apps | ||
- Mobile | ||
- Native | ||
- Integrations | ||
- Hubot | ||
- Incoming / Outgoing Webhooks | ||
- Data Importer | ||
- Import from Slack | ||
- Import from Hipchat | ||
- Slack Bridge | ||
- Profiles | ||
- Custom avatars | ||
- Text Decorations | ||
- Mentions | ||
- Link Preview | ||
- Embedded videos | ||
- Markdown | ||
- Code, single or multi-line | ||
- TexMath | ||
- Emojis | ||
- Reactions | ||
- Message editing | ||
- Editing is as simple as using your arrow keys for picking the right message to edit | ||
- Setup to keep history of edits or discard the previous text | ||
- Show or hide edited/deleted status | ||
- History | ||
- Search | ||
- Full-text search | ||
- Regex search | ||
- Add stars to rooms and mark them as favorites | ||
- Add stars and pins to messages | ||
- Star messages that are important to you. Only you have access to your stars. | ||
- Pin messages that are important to everyone. | ||
- Access your starred/pinned and messages you were mentioned on quickly through side bar buttons | ||
- REST Api | ||
- Roles and Permissions | ||
- Public and Private multi-user rooms | ||
- One-on-one conversations | ||
- Off-the-record messaging (messages are encrypted and transiently saved on database) | ||
- Slashcommands |
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
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,11 @@ | ||
{ | ||
"name": "Rocket.Chat", | ||
"scripts": { | ||
"start": "meteor run", | ||
"lint": "eslint .", | ||
"deploy": "npm run build && pm2 startOrRestart pm2.json" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^3.1.1" | ||
} | ||
} |
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
5 changes: 4 additions & 1 deletion
5
packages/rocketchat-authorization/client/lib/ChatPermissions.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 |
---|---|---|
@@ -1 +1,4 @@ | ||
@ChatPermissions = new Meteor.Collection 'rocketchat_permissions' | ||
RocketChat.authz.cachedCollection = new RocketChat.CachedCollection({ name: 'permissions', eventType: 'onAll' }) | ||
@ChatPermissions = RocketChat.authz.cachedCollection.collection | ||
|
||
RocketChat.authz.cachedCollection.init() |
2 changes: 0 additions & 2 deletions
2
packages/rocketchat-authorization/client/lib/models/Subscriptions.js
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
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
23 changes: 21 additions & 2 deletions
23
packages/rocketchat-authorization/server/publications/permissions.js
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 |
---|---|---|
@@ -1,3 +1,22 @@ | ||
Meteor.publish('permissions', function() { | ||
return RocketChat.models.Permissions.find({}); | ||
Meteor.methods({ | ||
'permissions/get'() { | ||
this.unblock(); | ||
|
||
return RocketChat.models.Permissions.find().fetch(); | ||
}, | ||
|
||
'permissions/sync'(updatedAt) { | ||
this.unblock(); | ||
|
||
return RocketChat.models.Permissions.dinamicFindChangesAfter('find', updatedAt); | ||
} | ||
}); | ||
|
||
|
||
RocketChat.models.Permissions.on('change', (type, ...args) => { | ||
const records = RocketChat.models.Permissions.getChangedRecords(type, args[0]); | ||
|
||
for (const record of records) { | ||
RocketChat.Notifications.notifyAll('permissions-changed', type, record); | ||
} | ||
}); |
11 changes: 0 additions & 11 deletions
11
packages/rocketchat-authorization/server/publications/scopedRoles.js
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
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
Oops, something went wrong.