Commit Graph

419 Commits

Author SHA1 Message Date
Discourse Translator Bot 9f0303da58
Update translations (#163) 2023-04-11 15:44:57 +02:00
Mark VanLandingham a92108b69b
FEATURE: New rule filter to send message when topic tags change (#162) 2023-04-06 06:55:47 -05:00
Discourse Translator Bot 75cf4136e9
Update translations (#161) 2023-02-21 17:11:53 +01:00
Discourse Translator Bot 955347d089
Update translations (#160) 2023-02-15 10:50:48 +01:00
David Taylor 0522ad6414
FIX: Always use parent thread_ts for slack threads (#159)
Previously we were using the `ts` of the previous message we sent to the thread. While this did work under some situations, it's not recommended in the Slack API docs, and can lead to some unexpected behavior (e.g. when one of the threaded messages is deleted).

This commit updates our logic to always use Slack's returned `thread_ts`, which represents the thread's parent.
2023-01-26 12:18:48 +00:00
Keegan George bdc2f27a2a
DEV: Ember upgrade (#155) 2023-01-23 10:30:48 -08:00
Discourse Translator Bot 91d2cfb952
Update translations (#158) 2023-01-18 11:42:15 +01:00
Discourse Translator Bot af258dd163
Update translations (#156) 2023-01-10 20:54:26 +01:00
discoursebot c8a8df1265
DEV: Update CI workflows (#157)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 18:06:46 +00:00
Keegan George 7b2bb33032
DEV: Remove unused locale (#154) 2023-01-05 10:15:14 -08:00
David Taylor ccceb8841c
DEV: Update eslint-config-discourse, use prettier for hbs (#151) 2023-01-04 13:35:48 +01:00
Discourse Translator Bot 67896334b5
Update translations (#153) 2023-01-03 14:46:14 +01:00
Joffrey JAFFEUX ca18dba8f7
FIX: s/incomming/incoming (#152) 2022-12-30 17:48:08 +01:00
dependabot[bot] 8e405b2a08
Bump json5 from 2.2.1 to 2.2.2 (#150)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 12:22:25 -05:00
David Taylor 49956bf829
DEV: Introduce syntax_tree for ruby formatting (#149) 2022-12-29 13:31:05 +01:00
Joshua Rosenfeld f6dde41cba
Bump eslint-config-discourse to 3.3.0 (#147) 2022-11-29 15:38:27 +01:00
Discourse Translator Bot 3a513d6ca4
Update translations (#148) 2022-11-29 15:36:31 +01:00
dependabot[bot] a26808b909
Bump minimatch from 3.0.4 to 3.1.2 (#146)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 17:33:13 +01:00
Discourse Translator Bot ba40ede510
Update translations (#145) 2022-11-16 11:37:10 +01:00
Discourse Translator Bot 01a3766911
Update translations (#143) 2022-11-02 15:13:39 +01:00
David Taylor 820d04d1b2
SECURITY: Improve SSRF protections (#144)
See https://github.com/discourse/discourse/security/advisories/GHSA-rcc5-28r3-23rr
2022-11-01 17:36:56 +00:00
Jan Cernik 7b8a1a3960
DEV: Replace bootbox confirm dialog (#142) 2022-10-27 10:16:00 -03:00
David Taylor 5047583d95
DEV: Bump rubocop-discourse (#141)
* DEV: Bump rubocop-discourse

* Fix rubocop violations
2022-10-03 21:36:52 +02:00
Discourse Translator Bot 7bf7368520
Update translations (#140) 2022-09-27 19:07:51 +02:00
Discourse Translator Bot 0849e5b4fc
Update translations (#137) 2022-09-13 16:04:13 +02:00
Discourse Translator Bot 5ac334a729
Update translations (#136) 2022-08-30 20:15:54 +02:00
Martin Lim 4e73da8856
FEATURE: Introduce Guilded as a provider (#135)
Support for integration with https://www.guilded.gg/
2022-08-30 18:10:17 +01:00
Loïc Guitaut c68fde5d2b FIX: Don’t process commands when 'text' is missing
This patch concerns the Telegram integration. Currently, we always try
to process commands when we receive a hook from Telegram. To do so we
rely on the `text` parameters from a Telegram message but the
API documentation tells us this parameters is actually optional. It
means sometimes it’s not present in the payload we receive but we still
try to access it resulting in a crash.

This patch addresses the issue by simply returning early from the
`#process_command` method when `text` is missing from the payload since
we don’t have anything to process then.
2022-07-18 18:11:22 +02:00
Discourse Translator Bot 778bb3aad6
Update translations (#133) 2022-06-21 15:26:55 +02:00
discoursebot f1f6e04488
DEV: Update CI workflows (#132)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 21:34:10 +02:00
Leonardo Mosquera fd6be34974
FIX: don't send nil user.name for MS Teams (#131)
Because Teams rejects the request for having a JSON `null` where a string is expected.
2022-06-16 17:12:56 +01:00
David Taylor 157f3e910d
FIX: Respect core settings when rendering user names/usernames (#129)
This commit centralizes 'display name' generation into a helper, and updates it to respect core preferences for `enable_names` and `prioritize_username_in_ux`.
2022-05-30 17:13:55 +01:00
discoursebot 6c052c118d
DEV: Update CI workflows (#128)
Co-authored-by: discoursebuild <build@discourse.org>
2022-05-23 16:59:55 +02:00
dependabot[bot] ef67dd235e
Bump async from 2.6.3 to 2.6.4 (#127)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:02:48 +02:00
Discourse Translator Bot 8a45bb42a9
Update translations (#126) 2022-04-19 15:45:00 +02:00
Kris e3426c40fe
UX: admin controls alignment (#125) 2022-04-15 11:22:47 -04:00
dependabot[bot] eaa7de8c2b
Bump ansi-regex from 4.1.0 to 4.1.1 (#124)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 13:49:16 +02:00
dependabot[bot] f587cb9c30
Bump minimist from 1.2.5 to 1.2.6 (#123)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 13:42:37 +02:00
Discourse Translator Bot 7c96d62ddb
Update translations (#121) 2022-04-05 15:21:24 +02:00
David Taylor cd6e4a8b62
FEATURE: Allow `[quote]` to be disabled for slack transcripts (#120)
https://meta.discourse.org/t/222145
2022-04-01 13:49:34 +01:00
David Taylor 3900586557
FIX: Correct error in AdminDashboardData problem check (#119)
This would cause admin checks to fail when the plugin is disabled.

Unfortunately plugin-contributed AdminDashboardData checks are not currently testable, but I hope to fix that in a future core commit.

Follow-up to 8de3e498b2
2022-03-31 12:14:40 +01:00
Discourse Translator Bot d63e11cf33
Update translations (#118) 2022-03-30 14:52:54 +02:00
David Taylor 8de3e498b2
FIX: Only show admin dashboard errors when plugin/provider enabled (#117) 2022-03-25 15:53:49 +00:00
discoursebot 0c367e19ca
DEV: Update CI workflows (#116)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:02:57 +01:00
David Taylor d63477fec0
FIX: Use correct identifier in transcript thread hint (#115)
We were using the internal UID of the channel in the hint, which would then fail to match any 'channel' configs in Discourse (which use the human-friendly `#channel` format). This was causing automatic threading for transcripts to fail.
2022-03-21 16:03:23 +00:00
David Taylor cd5387c567
DEV: Fix flaky specs (#114) 2022-03-15 13:47:53 +00:00
David Taylor 20f0b1c6ce
DEV: Cache slack users list for 10 minutes (#113)
This should help to avoid Slack API rate limiting in very large slack communities
2022-03-15 13:32:28 +00:00
David Taylor 55f9b7873b
FIX: Use correct copy for 'all categories' (#112)
The select-kit API has changed since this plugin's original implementation. `rootNoneLabel` and `rootNone` have been replaced with `none`
2022-03-15 00:00:29 +00:00
Jarek Radosz 359d6f6be8
DEV: Fix imports (#111) 2022-03-06 21:18:46 +01:00
Jarek Radosz 46cdce24bd
DEV: Lose the es6 suffix (#110) 2022-03-04 19:27:42 +01:00