Commit Graph

  • 745c289c6e Update README to remove scary message David Taylor 2017-07-21 16:09:19 +0100
  • b5e2741214 Add discord support David Taylor 2017-07-21 15:48:57 +0100
  • d398b88874 Remove docker rake patch, as now merged into core David Taylor 2017-07-21 12:28:32 +0100
  • 964fb07c50 Move require_relative lines into the initializer David Taylor 2017-07-20 15:37:45 +0100
  • 9d91081f0c Fix the post URL for telegram messages David Taylor 2017-07-20 12:27:34 +0100
  • 7371c2ef72 Tidy up language strings David Taylor 2017-07-20 12:07:40 +0100
  • d5a4eabb85 Merge pull request #3 from discourse/telegram-provider David Taylor 2017-07-19 21:36:40 +0100
  • 970c38c7fe Add telegram specs David Taylor 2017-07-19 21:26:16 +0100
  • 4422f14c6d Move slash command specs into helper_spec David Taylor 2017-07-19 18:22:50 +0100
  • bf0b645f31 Add site setting language strings David Taylor 2017-07-19 17:41:08 +0100
  • 236251ed11 Remove unnecessary log David Taylor 2017-07-19 17:34:41 +0100
  • 509e7bc997 Add telegram slash commands David Taylor 2017-07-19 17:28:36 +0100
  • 694bf919ce Move slack command processor into common helper so it can be used by other providers David Taylor 2017-07-19 16:57:33 +0100
  • 2e94f23fbe Add Telegram provider. David Taylor 2017-07-19 16:28:02 +0100
  • 04cb6f1d73 Merge pull request #2 from discourse/separate-channel-model David Taylor 2017-07-18 23:21:47 +0100
  • 5d18e1e444 Update language strings for new error message David Taylor 2017-07-18 23:15:56 +0100
  • c5fdebd1bc Store errors per-channel rather than per-rule, and update UI to match David Taylor 2017-07-18 23:08:06 +0100
  • d1d333523f Order rules by precedence in the UI and slash commands David Taylor 2017-07-18 21:36:07 +0100
  • 97c4592950 Display provider-specific data for each channel in the UI David Taylor 2017-07-18 21:21:09 +0100
  • 2772856201 Update qunit tests David Taylor 2017-07-18 20:42:00 +0100
  • 0a9ef040a1 Update specs for updated controller methods David Taylor 2017-07-18 18:23:20 +0100
  • 2275b048f9 Destroy associated rules when a channel is destroyed David Taylor 2017-07-18 16:42:05 +0100
  • bdb81191d7 New admin interface for improved channel definitions David Taylor 2017-07-18 16:17:03 +0100
  • 1ef9073027 Make CHANNEL_PARAMETERS a list David Taylor 2017-07-17 17:53:32 +0100
  • c9183dc81b Merge 8f428ab4f2 into b04b5c22dd SidV 2017-07-17 12:54:36 +0000
  • 8f428ab4f2 Merge pull request #1 from discourse/master SidV 2017-07-17 09:53:51 -0300
  • ebb6fa947d Update slack provider to deal with new channel structure David Taylor 2017-07-13 23:21:15 +0100
  • ab2e4c2de8 Allow looking up channel by data attributes (nested json values) David Taylor 2017-07-13 22:50:14 +0100
  • e850fb194b Update helper to deal with the new channel structure David Taylor 2017-07-13 22:13:03 +0100
  • 246c81ce5c Update manager to deal with new channel structure David Taylor 2017-07-13 21:47:15 +0100
  • 4b25dcec8f Allow providers to define a data schema for their channel parameters David Taylor 2017-07-13 20:50:45 +0100
  • e07a4da460 Model changes David Taylor 2017-07-13 16:09:34 +0100
  • b04b5c22dd Refactor specs to match new directory structure David Taylor 2017-07-13 14:01:30 +0100
  • bfb499d4cf Refactor into /app directory, move everything out of plugin.rb David Taylor 2017-07-13 13:32:11 +0100
  • 4207456716 Abstract away DiscourseChat::PluginModel to be used for other ActiveRecord models David Taylor 2017-07-12 23:59:43 +0100
  • 56da3639ab Use real ActiveRecord for the “Rule” model by extending the PluginStoreRow class. David Taylor 2017-07-12 18:28:45 +0100
  • a724463f7c Update docker_patched.rake David Taylor 2017-07-12 12:27:07 +0100
  • 688f28262e Add travis badge to README David Taylor 2017-07-12 12:23:33 +0100
  • 92dc7ba2b2 Add travis setup David Taylor 2017-07-12 12:00:18 +0100
  • f2c5223bc6 Remove accidental dependency on discourse-slack-official David Taylor 2017-07-12 11:58:19 +0100
  • e85657181c Add qunit acceptance tests for admin interface David Taylor 2017-07-11 15:37:44 +0100
  • bc579fb6e1 Added rspec tests for admin controller David Taylor 2017-07-10 21:04:37 +0100
  • ba484dc9a1 Move ‘dummy provider’ logic into a shared context, to allow for use by multiple specs David Taylor 2017-07-10 18:19:59 +0100
  • 52b8e3f3a6 Remove unneeded comments David Taylor 2017-07-07 11:51:19 +0100
  • 95dd6bc09c Add error handling to the slack API requests, and associated tests David Taylor 2017-07-07 11:23:25 +0100
  • f001320574 Add integration tests for slack ‘slash commands’ David Taylor 2017-07-06 23:30:27 +0100
  • 062aa8d875 Add create/delete rule functionality to the slack ‘slash commands’ David Taylor 2017-07-06 21:42:37 +0100
  • 527063aed0 Add helper function for deleting rules David Taylor 2017-07-06 21:36:50 +0100
  • aa6430e23e Add helper method to intelligently create new rules (avoiding duplicates) David Taylor 2017-07-06 01:11:26 +0100
  • fd333d59b7 Add basic “slash command” functionality to the slack provider David Taylor 2017-07-05 23:01:46 +0100
  • e4ff1997c8 Add a helper class for common provider functionality David Taylor 2017-07-05 23:00:58 +0100
  • 95344c348f Allow filtering of rules by channel David Taylor 2017-07-05 22:38:53 +0100
  • 2f6d6f0d54 Automatically mount provider’s engines at /chat-integration/{provider_name} David Taylor 2017-07-05 15:03:02 +0100
  • aaaffdf371 Add ‘send test message’ functionality to the admin interface David Taylor 2017-07-04 23:35:45 +0100
  • d97d35fd0d Handle errors on trigger_notification David Taylor 2017-07-04 19:37:56 +0100
  • 4be010fd07 Allow providers to specify a regex that the channel identifier is checked against during validation David Taylor 2017-07-04 00:14:01 +0100
  • 444e380ca1 Tidy up admin user interface David Taylor 2017-07-03 22:11:17 +0100
  • 0547543a1d Add server-side validation to rules David Taylor 2017-07-03 17:38:13 +0100
  • f40f602a4f Add validation to slack settings (adapted from old slack plugin) David Taylor 2017-07-03 16:28:26 +0100
  • 1c416d5a81 Allow providers to be disabled, and tidy up translations David Taylor 2017-07-03 15:53:26 +0100
  • 984211e9ce Fix javascript imports after plugin rename David Taylor 2017-07-03 12:18:30 +0100
  • 4643ad255c Rename plugin to discourse-chat-integration David Taylor 2017-07-03 11:08:14 +0100
  • b824773a8a Add tests for SlackProvider David Taylor 2017-06-30 16:39:19 +0100
  • 0074f90f14 Allow sending by API instead of webhooks for slack David Taylor 2017-06-30 15:28:20 +0100
  • 3f0462d40c Implement slack provider, based on existing plugin. David Taylor 2017-06-30 13:09:36 +0100
  • 4ad9ad6a7a Move lib files inside a discourse_chat directory, and make the notifications run on a delay after post creation David Taylor 2017-06-30 11:10:11 +0100
  • 8d70b4ad46 Allow add, edit & delete in the admin UI David Taylor 2017-06-29 20:19:40 +0100
  • 61caca3c5b Use new DiscourseChat::Rule model throughout the backend code David Taylor 2017-06-29 17:50:54 +0100
  • cd3bd8d807 Add a “Rule” class, borrowing and extending the ActiveRecord-like design from data-explorer plugin David Taylor 2017-06-29 17:01:04 +0100
  • 8b1a065e3d Style categories in list to match rest of Discourse David Taylor 2017-06-29 13:28:49 +0100
  • 304d8f962f Refresh the list of rules when the modal dialog closes David Taylor 2017-06-29 12:56:48 +0100
  • 8e0bec6e6f Use RestModel and buildPluginAdapter to deal with communication of data models between client and server David Taylor 2017-06-28 22:32:02 +0100
  • e067f8611d Add modal dialog for editing rules. David Taylor 2017-06-28 18:04:21 +0100
  • d8e5494d4c Add (currently read-only) UI to the admin panel, displaying all existing rules. Dynamic routes created for each registered provider. David Taylor 2017-06-28 15:12:37 +0100
  • 02692cf100 Added filtering logic for multiple providers, along with many RSpec tests. David Taylor 2017-06-27 19:21:27 +0100
  • fc2bbe627b Create client.es.yml SidV 2017-06-27 12:04:52 -0300
  • ec9716e858 Create server.es.yml SidV 2017-06-27 12:04:26 -0300
  • 3967e2cd91 Created basic system to allow multiple integrations to register themselves, creating a separate tab in the admin interface for each one. David Taylor 2017-06-26 19:19:50 +0100
  • 3e3a309c44 Initial commit David Taylor 2017-06-26 15:08:06 +0100