Commit Graph

  • 44ade676e1 Fix JS tests. Guo Xiang Tan 2017-10-03 18:11:58 +08:00
  • f836047f90 REFACTOR: Clean up code in plugin. Guo Xiang Tan 2017-10-03 17:42:07 +08:00
  • aa4d169c0e Add some basic tests for migrating discourse-slack-official job. Guo Xiang Tan 2017-10-03 16:33:20 +08:00
  • 5cfa7f913d Don't migrate categories that do not exists anymore. Guo Xiang Tan 2017-10-03 16:33:07 +08:00
  • 1a3928b803 More improvements to migration script. Guo Xiang Tan 2017-10-03 15:41:27 +08:00
  • 2d6737ce5c REFACTOR: Remove hardcoded base KEY_PREFIX. Guo Xiang Tan 2017-10-03 15:35:27 +08:00
  • d77afa4c98 Remove self-explaintory comment. Guo Xiang Tan 2017-10-03 15:31:38 +08:00
  • 530e715588 STYLE: Shorten long lines. Guo Xiang Tan 2017-10-03 15:30:38 +08:00
  • f6e9fe9eb7 Remove dev dugging commands. Guo Xiang Tan 2017-10-03 15:16:09 +08:00
  • b33fb671f2 Filter out invalid tags when migrating. Guo Xiang Tan 2017-09-28 17:27:20 +08:00
  • 435b1cc9b5 Refactor plugin. Guo Xiang Tan 2017-09-28 16:32:38 +08:00
  • b0708c1aac Make sure we run the migrations in a transaction. Guo Xiang Tan 2017-09-28 16:19:12 +08:00
  • 49f58ec190 Fix tests to work with Rails 5.1. (#8) Guo Xiang Tan 2017-09-25 11:06:27 +08:00
  • c2f7a83606 Merge branch 'master' into fix_rails_tests_5 Guo Xiang Tan 2017-09-25 11:06:05 +08:00
  • 47a6a89e5a Defer processing of transcripts to avoid timeouts David Taylor 2017-09-15 23:12:02 +01:00
  • 6a976c4d66 Remove thumb_url from Mattermost, and restore accidental deletion from Slack David Taylor 2017-09-09 23:08:45 +01:00
  • 438a9d92fe Remove incorrect thumb_url from mattermost David Taylor 2017-09-09 21:07:07 +01:00
  • 92e22d65da Fix onceoff job to only run when slack is installed David Taylor 2017-09-07 22:45:54 +01:00
  • 1e52671c03 Add once-off job to migrate from discourse-slack-official David Taylor 2017-09-04 13:58:09 +01:00
  • 2251afbac0 Smart_create_rule should only use ‘normal’ rules David Taylor 2017-09-04 13:14:15 +01:00
  • d667524dc1 Fix tests to work with Rails 5.1. Guo Xiang Tan 2017-09-04 11:08:35 +08:00
  • 16c5607fa4 Use before_action instead of before_filter for Rails 5.1 compatibility. Guo Xiang Tan 2017-09-04 10:44:32 +08:00
  • 1fa228b68c Add site setting to allow adding “content” to Discord messages David Taylor 2017-09-01 21:03:31 +01:00
  • 9d99f5659a Adjust gitter regex David Taylor 2017-08-31 01:51:28 +01:00
  • 9f327e74e8 Merge pull request #7 from JafethDC/gitter David Taylor 2017-08-31 01:48:44 +01:00
  • e90d65f5d5 Add notifications support for Gitter jafethdc 2017-08-30 18:11:06 -05:00
  • 5ea6553236 Add support for Rocket.Chat David Taylor 2017-08-23 16:43:27 +01:00
  • 4703250c1f Only check channel uniqueness within the same provider David Taylor 2017-08-23 16:31:47 +01:00
  • 9b229b63f9 Use generic messages API for Zulip David Taylor 2017-08-23 12:36:11 +01:00
  • e3f09d8eb5 Add Zulip support David Taylor 2017-08-21 23:34:04 +01:00
  • 645c21f2f7 Correct eslint fails David Taylor 2017-08-21 16:46:43 +01:00
  • 148dd8df6b Tidy up Slack provider implementation David Taylor 2017-08-21 15:28:37 +01:00
  • ccb8571da5 Fix hipchat colour regex David Taylor 2017-08-16 15:51:46 +03:00
  • 688afe72d4 Merge pull request #6 from discourse/transcript-improvements David Taylor 2017-08-15 18:32:12 +03:00
  • 142925e4c4 Correct rubocop offence David Taylor 2017-08-15 18:26:11 +03:00
  • 064079a4ed Add auto-detection of first message in conversation David Taylor 2017-08-15 18:19:24 +03:00
  • 3314721232 RSpec tests for slack transcript posting David Taylor 2017-08-15 17:44:51 +03:00
  • 658553e875 Refactor transcript posting David Taylor 2017-08-15 10:26:03 +03:00
  • d13bf5409d Improve QUnit tests for admin interface David Taylor 2017-08-14 16:02:43 +03:00
  • 9604edaf88 Allow selecting first transcript message using a URL David Taylor 2017-08-04 13:06:57 +01:00
  • e470c7dc29 Merge pull request #5 from discourse/slack-transcript-improvements David Taylor 2017-08-04 01:01:07 +01:00
  • 9dc5445b7b Fix spec David Taylor 2017-08-04 00:54:11 +01:00
  • 12f3b96e02 Improve slack transcript posting UI with message buttons David Taylor 2017-08-04 00:47:04 +01:00
  • cfaef26e5d More modularisation for slack transcript generation David Taylor 2017-08-03 17:24:49 +01:00
  • df1f423f94 Specify a default for all site settings David Taylor 2017-08-03 16:24:04 +01:00
  • 4d811ed83e Make transcript generation object-oriented David Taylor 2017-08-03 15:48:33 +01:00
  • 4932c078ed Correct eslint offences David Taylor 2017-08-02 11:33:50 +01:00
  • c634b3ee65 Only check for mentions on standard posts (not PMs) David Taylor 2017-08-01 22:15:27 +01:00
  • 6af31bb244 Fix precedence for group-based rules David Taylor 2017-08-01 21:09:01 +01:00
  • 4f9ad4efef Correct rubocop offenses David Taylor 2017-08-01 20:53:39 +01:00
  • 4c379876b6 Merge pull request #4 from discourse/group_pm_support David Taylor 2017-08-01 20:33:51 +01:00
  • 7c3f58de41 Update display of group rules in admin UI David Taylor 2017-08-01 20:12:42 +01:00
  • 01d7fb47ef Display group rules correctly in slash commands David Taylor 2017-08-01 19:16:47 +01:00
  • c06a4aa4f6 Fix qunit David Taylor 2017-08-01 17:28:12 +01:00
  • 6aa94fcb27 Add once off job to “migrate” the Rule model David Taylor 2017-08-01 17:12:21 +01:00
  • f3347b0a92 Add support for group mentions David Taylor 2017-08-01 17:11:34 +01:00
  • 209daf7801 Add group messages support to admin UI, and add a ‘type’ field for further improvements David Taylor 2017-08-01 15:20:00 +01:00
  • d437634f61 Move rule editing into a modal dialog David Taylor 2017-07-31 17:09:21 +01:00
  • 4b2e8af711 Backend support for group pms David Taylor 2017-07-28 20:27:49 +01:00
  • f1df1f5234 Fix discord avatar URL David Taylor 2017-07-31 14:47:27 +01:00
  • 04c711e438 Only load dummy providers in specs where they are required David Taylor 2017-07-31 13:12:09 +01:00
  • 142687f4d4 Don’t send avatar URL to Discord, because it doesn’t specify a protocol David Taylor 2017-07-29 19:52:46 +01:00
  • 5bf1b4a653 Add spec for editing channels David Taylor 2017-07-29 19:29:19 +01:00
  • 28091a9a97 Ignore self when checking for duplicate rule David Taylor 2017-07-29 19:27:21 +01:00
  • 61fa0dbe0b Replace match? with match for backwards compatibility with Ruby 2.3 David Taylor 2017-07-29 19:21:11 +01:00
  • ce8acc9c26 Disallow duplicate channels - providers can define which fields should be ‘unique’ David Taylor 2017-07-28 15:47:46 +01:00
  • 11c8817ebd Allow enter key to submit admin modal forms David Taylor 2017-07-28 15:09:04 +01:00
  • 092f05d566 Fix locale indentation David Taylor 2017-07-28 15:04:17 +01:00
  • 2275793f6c Allow fields to be hidden from channel list (still visible in edit modal). David Taylor 2017-07-28 14:15:53 +01:00
  • a5d62bd44d Fix telegram error translation keys David Taylor 2017-07-28 13:25:31 +01:00
  • 5a4faa637f Add matrix support David Taylor 2017-07-27 17:09:44 +01:00
  • 4add044f86 Fix intermittently failing spec David Taylor 2017-07-26 21:14:29 +01:00
  • dac2dd3b25 Fix slack transcript spec David Taylor 2017-07-26 20:04:46 +01:00
  • 5c93b7792c Add ‘view on slack’ link to transcripts David Taylor 2017-07-26 19:51:44 +01:00
  • 95f99e5fcf Improve slack transcript formatting David Taylor 2017-07-26 19:27:22 +01:00
  • 05d38e2b4f Update travis config after docker rake changes David Taylor 2017-07-26 15:11:32 +01:00
  • e733c2564f Add mattermost slash command support David Taylor 2017-07-26 13:09:05 +01:00
  • 61a4fd2c23 Add Mattermost support David Taylor 2017-07-25 22:14:48 +01:00
  • 18aa827686 Remove timecop dependence David Taylor 2017-07-25 22:14:32 +01:00
  • c51e8ec3b5 Add HipChat support David Taylor 2017-07-24 19:22:19 +01:00
  • 681f37bc2b Workaround for intermittently failing redis spec David Taylor 2017-07-24 17:48:06 +01:00
  • 858533a788 ‘Deprecate’ the webhook slack integration method (for now) David Taylor 2017-07-24 17:44:01 +01:00
  • 8ca4797797 Add transcript posting support to slack David Taylor 2017-07-24 16:43:37 +01:00
  • 2d7f25d7e6 Add support for chat transcripts David Taylor 2017-07-24 16:13:53 +01:00
  • 0d9b251030 Allow telegram to send notifications to ‘broadcast channels’ David Taylor 2017-07-21 19:12:31 +01:00
  • 701e246ad2 Support slash commands in telegram group chats David Taylor 2017-07-21 17:55:33 +01:00
  • 745c289c6e Update README to remove scary message David Taylor 2017-07-21 16:09:19 +01:00
  • b5e2741214 Add discord support David Taylor 2017-07-21 15:48:57 +01:00
  • d398b88874 Remove docker rake patch, as now merged into core David Taylor 2017-07-21 12:28:32 +01:00
  • 964fb07c50 Move require_relative lines into the initializer David Taylor 2017-07-20 15:37:45 +01:00
  • 9d91081f0c Fix the post URL for telegram messages David Taylor 2017-07-20 12:27:34 +01:00
  • 7371c2ef72 Tidy up language strings David Taylor 2017-07-20 12:07:40 +01:00
  • d5a4eabb85 Merge pull request #3 from discourse/telegram-provider David Taylor 2017-07-19 21:36:40 +01:00
  • 970c38c7fe Add telegram specs David Taylor 2017-07-19 21:26:16 +01:00
  • 4422f14c6d Move slash command specs into helper_spec David Taylor 2017-07-19 18:22:50 +01:00
  • bf0b645f31 Add site setting language strings David Taylor 2017-07-19 17:41:08 +01:00
  • 236251ed11 Remove unnecessary log David Taylor 2017-07-19 17:34:41 +01:00
  • 509e7bc997 Add telegram slash commands David Taylor 2017-07-19 17:28:36 +01:00
  • 694bf919ce Move slack command processor into common helper so it can be used by other providers David Taylor 2017-07-19 16:57:33 +01:00
  • 2e94f23fbe Add Telegram provider. David Taylor 2017-07-19 16:28:02 +01:00