discourse-chat-integration/spec
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
..
helpers Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
jobs FIX: Fix heisentest caused by float operations. 2019-06-24 14:08:04 +03:00
lib/discourse_chat/provider Use Slack display names instead of the "name" field (#29) 2019-07-04 14:50:07 -04:00
models Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
requests Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
services Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
dummy_provider.rb Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00