diff --git a/Plugin.php b/Plugin.php index 69f526a..8248b3e 100644 --- a/Plugin.php +++ b/Plugin.php @@ -45,11 +45,16 @@ public function getPluginAuthor() public function getPluginVersion() { - return '1.0.2'; + return '1.0.3'; } public function getPluginHomepage() { return 'https://github.com/kanboard/plugin-github-auth'; } + + public function getCompatibleVersion() + { + return '>=1.0.37'; + } } diff --git a/README.md b/README.md index b64f01c..00ed188 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Author Requirements ------------ -- Kanboard >= 1.0.29 +- Kanboard >= 1.0.37 - OAuth Github API credentials (available in your [Settings > Applications > Developer applications](https://github.com/settings/applications)) Installation diff --git a/Template/config/integration.php b/Template/config/integration.php index 9798d39..ce8b4d9 100644 --- a/Template/config/integration.php +++ b/Template/config/integration.php @@ -1,6 +1,5 @@

-
- +
form->label(t('Github OAuth callback URL'), 'github_oauth_url') ?> diff --git a/Template/user/external.php b/Template/user/external.php index 42f4ad6..3ef63b7 100644 --- a/Template/user/external.php +++ b/Template/user/external.php @@ -1,6 +1,6 @@

-

+

user->isCurrentUser($user['id'])): ?> url->link(t('Link my Github Account'), 'OAuthController', 'handler', array('plugin' => 'GithubAuth'), true) ?> @@ -10,4 +10,4 @@ -

+