1
0
mirror of synced 2026-08-05 06:36:56 +00:00

Commit Graph

  • 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
  • 04cb6f1d73 Merge pull request #2 from discourse/separate-channel-model David Taylor 2017-07-18 23:21:47 +01:00
  • 5d18e1e444 Update language strings for new error message David Taylor 2017-07-18 23:15:56 +01:00
  • c5fdebd1bc Store errors per-channel rather than per-rule, and update UI to match David Taylor 2017-07-18 23:08:06 +01:00
  • d1d333523f Order rules by precedence in the UI and slash commands David Taylor 2017-07-18 21:36:07 +01:00
  • 97c4592950 Display provider-specific data for each channel in the UI David Taylor 2017-07-18 21:21:09 +01:00
  • 2772856201 Update qunit tests David Taylor 2017-07-18 20:42:00 +01:00
  • 0a9ef040a1 Update specs for updated controller methods David Taylor 2017-07-18 18:23:20 +01:00
  • 2275b048f9 Destroy associated rules when a channel is destroyed David Taylor 2017-07-18 16:42:05 +01:00
  • bdb81191d7 New admin interface for improved channel definitions David Taylor 2017-07-18 16:17:03 +01:00
  • 1ef9073027 Make CHANNEL_PARAMETERS a list David Taylor 2017-07-17 17:53:32 +01:00
  • ebb6fa947d Update slack provider to deal with new channel structure David Taylor 2017-07-13 23:21:15 +01:00
  • ab2e4c2de8 Allow looking up channel by data attributes (nested json values) David Taylor 2017-07-13 22:50:14 +01:00
  • e850fb194b Update helper to deal with the new channel structure David Taylor 2017-07-13 22:13:03 +01:00
  • 246c81ce5c Update manager to deal with new channel structure David Taylor 2017-07-13 21:47:15 +01:00
  • 4b25dcec8f Allow providers to define a data schema for their channel parameters David Taylor 2017-07-13 20:50:45 +01:00
  • e07a4da460 Model changes David Taylor 2017-07-13 16:09:34 +01:00
  • b04b5c22dd Refactor specs to match new directory structure David Taylor 2017-07-13 14:01:30 +01:00
  • bfb499d4cf Refactor into /app directory, move everything out of plugin.rb David Taylor 2017-07-13 13:32:11 +01:00
  • 4207456716 Abstract away DiscourseChat::PluginModel to be used for other ActiveRecord models David Taylor 2017-07-12 23:59:43 +01:00
  • 56da3639ab Use real ActiveRecord for the “Rule” model by extending the PluginStoreRow class. David Taylor 2017-07-12 18:28:45 +01:00
  • a724463f7c Update docker_patched.rake David Taylor 2017-07-12 12:27:07 +01:00
  • 688f28262e Add travis badge to README David Taylor 2017-07-12 12:23:33 +01:00
  • 92dc7ba2b2 Add travis setup David Taylor 2017-07-12 12:00:18 +01:00
  • f2c5223bc6 Remove accidental dependency on discourse-slack-official David Taylor 2017-07-12 11:58:19 +01:00
  • e85657181c Add qunit acceptance tests for admin interface David Taylor 2017-07-11 15:37:44 +01:00
  • bc579fb6e1 Added rspec tests for admin controller David Taylor 2017-07-10 21:04:37 +01:00
  • ba484dc9a1 Move ‘dummy provider’ logic into a shared context, to allow for use by multiple specs David Taylor 2017-07-10 18:19:59 +01:00
  • 52b8e3f3a6 Remove unneeded comments David Taylor 2017-07-07 11:51:19 +01:00
  • 95dd6bc09c Add error handling to the slack API requests, and associated tests David Taylor 2017-07-07 11:23:25 +01:00
  • f001320574 Add integration tests for slack ‘slash commands’ David Taylor 2017-07-06 23:30:27 +01:00
  • 062aa8d875 Add create/delete rule functionality to the slack ‘slash commands’ David Taylor 2017-07-06 21:42:37 +01:00
  • 527063aed0 Add helper function for deleting rules David Taylor 2017-07-06 21:36:50 +01:00
  • aa6430e23e Add helper method to intelligently create new rules (avoiding duplicates) David Taylor 2017-07-06 01:11:26 +01:00
  • fd333d59b7 Add basic “slash command” functionality to the slack provider David Taylor 2017-07-05 23:01:46 +01:00
  • e4ff1997c8 Add a helper class for common provider functionality David Taylor 2017-07-05 23:00:58 +01:00
  • 95344c348f Allow filtering of rules by channel David Taylor 2017-07-05 22:38:53 +01:00
  • 2f6d6f0d54 Automatically mount provider’s engines at /chat-integration/{provider_name} David Taylor 2017-07-05 15:03:02 +01:00
  • aaaffdf371 Add ‘send test message’ functionality to the admin interface David Taylor 2017-07-04 23:35:45 +01:00
  • d97d35fd0d Handle errors on trigger_notification David Taylor 2017-07-04 19:37:56 +01:00
  • 4be010fd07 Allow providers to specify a regex that the channel identifier is checked against during validation David Taylor 2017-07-04 00:14:01 +01:00
  • 444e380ca1 Tidy up admin user interface David Taylor 2017-07-03 22:11:17 +01:00
  • 0547543a1d Add server-side validation to rules David Taylor 2017-07-03 17:38:13 +01:00
  • f40f602a4f Add validation to slack settings (adapted from old slack plugin) David Taylor 2017-07-03 16:28:26 +01:00
  • 1c416d5a81 Allow providers to be disabled, and tidy up translations David Taylor 2017-07-03 15:53:26 +01:00
  • 984211e9ce Fix javascript imports after plugin rename David Taylor 2017-07-03 12:18:30 +01:00
  • 4643ad255c Rename plugin to discourse-chat-integration David Taylor 2017-07-03 11:08:14 +01:00
  • b824773a8a Add tests for SlackProvider David Taylor 2017-06-30 16:39:19 +01:00
  • 0074f90f14 Allow sending by API instead of webhooks for slack David Taylor 2017-06-30 15:28:20 +01:00