Go to file
James Nylen 5ca3652ba7 Use Slack display names instead of the "name" field (#29)
* Use Slack display names instead of the "name" field

The "name" field is the left-hand side of the email address in many
cases.  This information is not otherwise available so we shouldn't
expose it in forum posts.

* Fall back to real_name, add comments

* Store users as a hash

This should avoid a lot of O(n) lookups

* Format user mentions with the correct name also

* Fix the tests (first try)

* Fix the tests (second try); add a test for user mentions

* Fix the tests (third try)

* Empty commit to trigger Travis

* Fix the tests (fourth try)

* Fix the tests (fifth try)

* Change spaces to underscores

* Updates per feedback
2019-07-04 14:50:07 -04:00
.tx Update translations 2018-09-10 14:00:37 -04:00
app Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
assets REFACTOR: uses more modern patterns to prevent issues (#27) 2019-03-20 10:57:07 +00:00
bin Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
config Update translations 2019-06-17 13:57:25 -04:00
lib/discourse_chat Use Slack display names instead of the "name" field (#29) 2019-07-04 14:50:07 -04:00
spec Use Slack display names instead of the "name" field (#29) 2019-07-04 14:50:07 -04:00
test/javascripts/acceptance REFACTOR: uses more modern patterns to prevent issues (#27) 2019-03-20 10:57:07 +00:00
.eslintrc DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
.gitignore DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
.rubocop.yml Inherit rubocop config from discourse repo 2018-12-03 00:35:48 +01:00
.travis.yml DEV: Update .travis.yml 2018-09-12 18:10:27 +01:00
Gemfile Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
Gemfile.lock Update translations 2019-05-30 11:31:31 -04:00
LICENSE Initial commit 2017-06-26 15:08:06 +01:00
README.md Update README to remove scary message 2017-07-21 16:09:19 +01:00
package.json DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
plugin.rb Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
yarn.lock DEV: eslint/prettier 2019-01-11 17:30:57 +01:00

README.md

discourse-chat-integration

Build Status

This plugin integrates Discourse with a number of external chatroom systems. For more information, click here