From 09da289c2fb18475f372bee24e885617da484e0b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 22:19:49 -0400 Subject: Move slack, hipchat and jabber integrations to plugins --- app/Template/config/integrations.php | 54 ------------------------------------ 1 file changed, 54 deletions(-) (limited to 'app/Template/config/integrations.php') diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php index b454fa86..bba85672 100644 --- a/app/Template/config/integrations.php +++ b/app/Template/config/integrations.php @@ -31,60 +31,6 @@ form->checkbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?> -

-
- form->checkbox('integration_jabber', t('Send notifications to Jabber'), 1, $values['integration_jabber'] == 1) ?> - - form->label(t('XMPP server address'), 'integration_jabber_server') ?> - form->text('integration_jabber_server', $values, $errors, array('placeholder="tcp://myserver:5222"')) ?> -

- - form->label(t('Jabber domain'), 'integration_jabber_domain') ?> - form->text('integration_jabber_domain', $values, $errors, array('placeholder="example.com"')) ?> - - form->label(t('Username'), 'integration_jabber_username') ?> - form->text('integration_jabber_username', $values, $errors) ?> - - form->label(t('Password'), 'integration_jabber_password') ?> - form->password('integration_jabber_password', $values, $errors) ?> - - form->label(t('Jabber nickname'), 'integration_jabber_nickname') ?> - form->text('integration_jabber_nickname', $values, $errors) ?> - - form->label(t('Multi-user chat room'), 'integration_jabber_room') ?> - form->text('integration_jabber_room', $values, $errors, array('placeholder="myroom@conference.example.com"')) ?> - -

url->doc(t('Help on Jabber integration'), 'jabber') ?>

-
- -

-
- form->checkbox('integration_hipchat', t('Send notifications to Hipchat'), 1, $values['integration_hipchat'] == 1) ?> - - form->label(t('API URL'), 'integration_hipchat_api_url') ?> - form->text('integration_hipchat_api_url', $values, $errors) ?> - - form->label(t('Room API ID or name'), 'integration_hipchat_room_id') ?> - form->text('integration_hipchat_room_id', $values, $errors) ?> - - form->label(t('Room notification token'), 'integration_hipchat_room_token') ?> - form->text('integration_hipchat_room_token', $values, $errors) ?> - -

url->doc(t('Help on Hipchat integration'), 'hipchat') ?>

-
- -

 

-
- form->checkbox('integration_slack_webhook', t('Send notifications to a Slack channel'), 1, $values['integration_slack_webhook'] == 1) ?> - - form->label(t('Webhook URL'), 'integration_slack_webhook_url') ?> - form->text('integration_slack_webhook_url', $values, $errors) ?> - form->label(t('Channel/Group/User (Optional)'), 'integration_slack_webhook_channel') ?> - form->text('integration_slack_webhook_channel', $values, $errors) ?> - -

url->doc(t('Help on Slack integration'), 'slack') ?>

-
-
-- cgit v1.2.3