Skip to content

Commit

Permalink
[NEW] Internal Hubot load scripts from custom folders (#7095)
Browse files Browse the repository at this point in the history
* converted file, allow run scripts for custom folders.

* translations for hubot scripts

* Fix empty hubot scripts and add a migration

* Add breaking changes note
  • Loading branch information
ggazzo authored and sampaiodiego committed May 31, 2017
1 parent 8ff8a66 commit aab82ef
Show file tree
Hide file tree
Showing 10 changed files with 280 additions and 276 deletions.
10 changes: 8 additions & 2 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<a name="0.56.0"></a>
# NEXT

### Breaking Changes

- [#7095](https://github.com/RocketChat/Rocket.Chat/pull/7095) Internal hubot does not load [hubot-scripts](https://github.com/github/hubot-scripts) anymore.

# 0.56.0 (2017-05-15)

### New Features
Expand Down Expand Up @@ -51,7 +57,7 @@
- [#6780](https://github.com/RocketChat/Rocket.Chat/pull/6780) Convert Mailer Package to Js
- [#6694](https://github.com/RocketChat/Rocket.Chat/pull/6694) Convert markdown to js
- [#6689](https://github.com/RocketChat/Rocket.Chat/pull/6689) Convert Mentions-Flextab Package to Js
- [#6781](https://github.com/RocketChat/Rocket.Chat/pull/6781) Convert Message-Star Package to js
- [#6781](https://github.com/RocketChat/Rocket.Chat/pull/6781) Convert Message-Star Package to js
- [#6688](https://github.com/RocketChat/Rocket.Chat/pull/6688) Convert Oembed Package to Js
- [#6672](https://github.com/RocketChat/Rocket.Chat/pull/6672) Converted rocketchat-lib 3
- [#6654](https://github.com/RocketChat/Rocket.Chat/pull/6654) disable proxy configuration
Expand Down Expand Up @@ -168,7 +174,7 @@
- [#6780](https://github.com/RocketChat/Rocket.Chat/pull/6780) Convert Mailer Package to Js
- [#6694](https://github.com/RocketChat/Rocket.Chat/pull/6694) Convert markdown to js
- [#6689](https://github.com/RocketChat/Rocket.Chat/pull/6689) Convert Mentions-Flextab Package to Js
- [#6781](https://github.com/RocketChat/Rocket.Chat/pull/6781) Convert Message-Star Package to js
- [#6781](https://github.com/RocketChat/Rocket.Chat/pull/6781) Convert Message-Star Package to js
- [#6688](https://github.com/RocketChat/Rocket.Chat/pull/6688) Convert Oembed Package to Js
- [#6672](https://github.com/RocketChat/Rocket.Chat/pull/6672) Converted rocketchat-lib 3
- [#6654](https://github.com/RocketChat/Rocket.Chat/pull/6654) disable proxy configuration
Expand Down
7 changes: 5 additions & 2 deletions packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,9 @@
"Integrations_for_all_channels": "Enter <strong>all_public_channels</strong> to listen on all public channels, <strong>all_private_groups</strong> to listen on all private groups, and <strong>all_direct_messages</strong> to listen to all direct messages.",
"InternalHubot": "Internal Hubot",
"InternalHubot_ScriptsToLoad": "Scripts to load",
"InternalHubot_ScriptsToLoad_Description": "Please enter a comma separated list of scripts to load from https://github.com/github/hubot-scripts/tree/master/src/scripts",
"InternalHubot_ScriptsToLoad_Description": "Please enter a comma separated list of scripts to load from your custom folder",
"InternalHubot_PathToLoadCustomScripts": "Folder to load the scripts",
"InternalHubot_reload": "Reload the scripts",
"InternalHubot_Username_Description": "This must be a valid username of a bot registered on your server.",
"Invalid_confirm_pass": "The password confirmation does not match password",
"Invalid_email": "The email entered is invalid",
Expand Down Expand Up @@ -1237,6 +1239,7 @@
"Registration_via_Admin": "Registration via Admin",
"Regular_Expressions": "Regular Expressions",
"Release": "Release",
"Reload": "Reload",
"Remove": "Remove",
"Remove_Admin": "Remove Admin",
"Remove_as_moderator": "Remove as moderator",
Expand Down Expand Up @@ -1724,4 +1727,4 @@
"your_message_optional": "your message (optional)",
"Your_password_is_wrong": "Your password is wrong!",
"Your_push_was_sent_to_s_devices": "Your push was sent to %s devices"
}
}
208 changes: 0 additions & 208 deletions packages/rocketchat-internal-hubot/hubot.coffee

This file was deleted.

Loading

0 comments on commit aab82ef

Please sign in to comment.