Commit Graph

410 Commits

Author SHA1 Message Date
Penar Musaraj 63ddf106a4 DEV: Find/replace deprecated decorators 2020-02-19 11:56:45 -05:00
Neil Lalonde 7c2d265d69 Update translations 2020-02-13 15:05:10 -05:00
Neil Lalonde 15cbd16937 Update translations 2020-01-20 11:21:05 -05:00
nepeat c92b93ded1 FEATURE: Include category title and color in Discord payload (#19) 2020-01-06 16:47:00 +00:00
Neil Lalonde f023574194 Update translations 2019-12-19 12:50:10 -05:00
Sam Saffron b4e6a15ccf DEV: lint file
Corrects rubocop which no longer allows explicit returns
2019-12-10 11:58:07 +11:00
Joffrey JAFFEUX 6540d8b957 DEV: uses Discourse.redis instead of $redis 2019-12-03 10:45:32 +01:00
Saj Goonatilleke 05d4338a12 FIX: telegram: Not all channel posts contain text (#34)
The `text` field is marked optional, and is not guaranteed to exist:

https://core.telegram.org/bots/api#message

We should silently ignore these actions (while responding with a
positive acknowledgement) instead of throwing a `NoMethodError`.
2019-11-20 11:45:34 +01:00
Penar Musaraj 6fcf381751 Rubocop redundant return fix 2019-11-14 15:03:49 -05:00
Neil Lalonde bf6f66ada8 Update translations 2019-11-06 10:46:15 -05:00
Neil Lalonde 5236720825 Update translations 2019-10-10 11:25:36 -04:00
David Taylor 7e5dc5acc1 FIX: Allow slash commands to set rules in private groups
The Slack 'slash commands' API does not provide the user-friendly group name, so we must use the group ID. We could use the API to obtain the group name, but it would require adding additional scopes to the app.
2019-09-30 13:27:35 +01:00
Krzysztof Kotlarek 154361e22c FIX: Use top-level namespace for base classes (#33) 2019-09-16 13:38:30 -04:00
Raimundo Herrera 695d56a3dd FEATURE: support for slack custom username (#22)
* FEATURE: support for slack custom username

* make slack username setting backwards compatible

* fix slack username behavior when empty string
2019-09-11 10:08:40 -04:00
Krzysztof Kotlarek df44beb9a3 FIX: Save on chat_controller ready for Rails 6.0.0 (#31)
I think that passing attributes to save method is not necessary when the Object was initialized with them.

Problem is that with Rails 6.0.0 (https://github.com/discourse/discourse/pull/8083) this code is not working https://travis-ci.org/discourse/discourse/jobs/582556988
2019-09-10 10:02:24 +10:00
Robin Ward 82351a790c FIX: An error would be raised if fewer than "skip_messages" existed 2019-08-07 16:59:34 -04:00
Leon Xu 0b85c2a0e5 FIX: undefined local variable or method `site_setting_saved' (#30) 2019-08-02 10:05:33 +01:00
David Taylor a48870ef38 FIX: Access transcript params correctly
Previously we were using an undocumented Ember API
2019-07-27 15:04:42 +01:00
Penar Musaraj 4336374d27 Update deprecated icon names 2019-07-16 12:55:26 -04:00
Neil Lalonde 32877ce8f8 Update translations 2019-07-15 14:01:20 -04:00
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
Bianca Nenciu fc61b92183 FIX: Fix heisentest caused by float operations. 2019-06-24 14:08:04 +03:00
Neil Lalonde a148aacd98 Update translations 2019-06-17 13:57:25 -04:00
Neil Lalonde d19004a216 Update translations 2019-06-10 10:39:13 -04:00
Guo Xiang Tan cef085d0b6 Fix the build. 2019-06-06 10:26:24 +08:00
Guo Xiang Tan 3eb8e97f37 DEV: Remove deprecation warning. 2019-06-06 09:51:40 +08:00
David Taylor f75903cae5 FIX: Determine uncategorized category name using new core pattern 2019-06-04 18:47:32 +01:00
Neil Lalonde 3c030c8fbf Update translations 2019-05-30 11:31:31 -04:00
Tomas Varaneckas 95d8d5e9ea FIX: make plugin compatible with older Discourse (#28)
@tgxworld
2019-05-16 08:24:17 +08:00
Guo Xiang Tan ac288b9300 Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
David Taylor bf30b755cf Remove HipChat integration
As of February 15th, HipChat has been declared end-of-life. For more information, see https://community.atlassian.com/t5/Stride-articles/Stride-and-Hipchat-Cloud-have-reached-End-of-Life-updated/ba-p/940248
2019-04-15 17:56:01 +01:00
Neil Lalonde 28b4195467 Update translations 2019-04-05 10:13:40 -04:00
Joffrey JAFFEUX cd53275098 REFACTOR: uses more modern patterns to prevent issues (#27) 2019-03-20 10:57:07 +00:00
Neil Lalonde 56d11903c0 Update translations 2019-03-04 10:16:43 -05:00
Neil Lalonde b674247fc0 Update translations 2019-01-31 16:36:15 -05:00
Joffrey JAFFEUX 656081fbcd DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
David Taylor b7dff35722 FIX: Handle `mailto` links in slack messages 2019-01-03 11:14:26 +00:00
Tisza Gergő bf1939f08d FEATURE: Add Matrix option for using plain text instead of notice (#25)
Notices are problematic on certain IRC clients and lead to bans
if the Matrix channel is bridged to IRC.
2018-12-28 23:44:43 +00:00
Mateusz Bugowski 1a08d64785 FIX: loading user.list longer than 1000 (#24) 2018-12-14 01:03:49 +00:00
David Taylor 790f1bb8b5
DEV: Remove unnecessary semicolon 2018-12-04 11:45:17 +00:00
Gerhard Schlager 48ed2a6e8f Inherit rubocop config from discourse repo 2018-12-03 00:35:48 +01:00
Neil Lalonde d3a0c16a2c Update translations 2018-11-29 11:06:57 -05:00
Guo Xiang Tan 2b357b2dfe Add support for new upload site settings.
44391ee8ab
2018-11-14 15:17:44 +08:00
Penar Musaraj 1b8d06c57c fix FA5 icon 2018-11-11 22:36:16 -05:00
Penar Musaraj 5cd076803a fix icon + relative link without base_url 2018-11-11 22:34:33 -05:00
Gerhard Schlager c9ff8d8cb6 FIX: Relative links in translations should work with subfolder 2018-11-07 23:26:36 +01:00
Penar Musaraj 762300ab22 Avoid targetting "fa-" icon in test, prepare for FA5 in Discourse core 2018-11-01 18:03:39 -04:00
Sam 5beaa359b7 when the test suite was written tags were default disabled 2018-10-17 15:57:38 +11:00
David Taylor 8d93b68f80 DEV: Refactor JS acceptance tests 2018-09-12 18:35:50 +01:00
David Taylor 6824411b8b DEV: Update .travis.yml 2018-09-12 18:10:27 +01:00