File tree Expand file tree Collapse file tree 11 files changed +39
-11
lines changed Expand file tree Collapse file tree 11 files changed +39
-11
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ abstract class MantisSourceBase extends MantisPlugin
1919 * a change in the minimum required MantisBT version: 0=1.2; 1=1.3, 2=2.x.
2020 * The framework version is incremented when the plugin's core file change.
2121 */
22- const FRAMEWORK_VERSION = '1.3.1 ' ;
22+ const FRAMEWORK_VERSION = '1.3.2 ' ;
2323
2424 /**
2525 * Minimum required MantisBT version.
Original file line number Diff line number Diff line change 1010require_once (config_get ( 'core_path ' ) . 'json_api.php ' );
1111
1212class SourceBitBucketPlugin extends MantisSourcePlugin {
13+
14+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
15+
1316 protected $ main_url = "https://bitbucket.org/ " ;
1417 protected $ api_url_10 = 'https://bitbucket.org/api/1.0/ ' ;
1518 protected $ api_url_20 = 'https://bitbucket.org/api/2.0/ ' ;
@@ -23,7 +26,7 @@ public function register() {
2326 $ this ->version = '0.19 ' ;
2427 $ this ->requires = array (
2528 'MantisCore ' => self ::MANTIS_VERSION ,
26- 'Source ' => ' 0.18 ' ,
29+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2730 );
2831
2932 $ this ->author = 'Sergey Marchenko ' ;
Original file line number Diff line number Diff line change 1515}
1616
1717class SourceCgitPlugin extends MantisSourcePlugin {
18+
19+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
20+
1821 public function register () {
1922 $ this ->name = plugin_lang_get ( 'title ' );
2023 $ this ->description = plugin_lang_get ( 'description ' );
2124
2225 $ this ->version = '0.16 ' ;
2326 $ this ->requires = array (
2427 'MantisCore ' => self ::MANTIS_VERSION ,
25- 'Source ' => ' 0.16 ' ,
28+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2629 );
2730
2831 $ this ->author = 'Alexander ' ;
Original file line number Diff line number Diff line change 1111
1212class SourceGithubPlugin extends MantisSourcePlugin {
1313
14+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
15+
1416 const ERROR_INVALID_PRIMARY_BRANCH = 'invalid_branch ' ;
1517
1618 public $ linkPullRequest = '/pull/%s ' ;
@@ -22,7 +24,7 @@ public function register() {
2224 $ this ->version = '1.3.0 ' ;
2325 $ this ->requires = array (
2426 'MantisCore ' => self ::MANTIS_VERSION ,
25- 'Source ' => ' 1.3.0 ' ,
27+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2628 );
2729
2830 $ this ->author = 'John Reese ' ;
Original file line number Diff line number Diff line change 1313
1414class SourceGitlabPlugin extends MantisSourcePlugin {
1515
16+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
17+
1618 const ERROR_INVALID_PRIMARY_BRANCH = 'invalid_branch ' ;
1719
1820 public function register () {
@@ -22,7 +24,7 @@ public function register() {
2224 $ this ->version = '1.0.4 ' ;
2325 $ this ->requires = array (
2426 'MantisCore ' => self ::MANTIS_VERSION ,
25- 'Source ' => ' 1.3.0 ' ,
27+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2628 );
2729
2830 $ this ->author = 'Johannes Goehr ' ;
Original file line number Diff line number Diff line change 1010require_once ( config_get ( 'core_path ' ) . 'url_api.php ' );
1111
1212class SourceGitwebPlugin extends MantisSourcePlugin {
13+
14+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
15+
1316 public function register () {
1417 $ this ->name = plugin_lang_get ( 'title ' );
1518 $ this ->description = plugin_lang_get ( 'description ' );
1619
1720 $ this ->version = '0.18 ' ;
1821 $ this ->requires = array (
1922 'MantisCore ' => self ::MANTIS_VERSION ,
20- 'Source ' => ' 0.16 ' ,
23+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2124 );
2225
2326 $ this ->author = 'John Reese ' ;
Original file line number Diff line number Diff line change 1818require_once ( config_get ( 'core_path ' ) . 'url_api.php ' );
1919
2020class SourceHgWebPlugin extends MantisSourcePlugin {
21+
22+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
23+
2124 function register () {
2225 $ this ->name = plugin_lang_get ( 'title ' );
2326 $ this ->description = plugin_lang_get ( 'description ' );
2427
2528 $ this ->version = '0.15 ' ;
2629 $ this ->requires = array (
2730 'MantisCore ' => self ::MANTIS_VERSION ,
28- 'Source ' => ' 0.14 ' ,
31+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2932 );
3033
3134 $ this ->author = 'David Hicks ' ;
Original file line number Diff line number Diff line change 88}
99
1010class SourceSFSVNPlugin extends SourceSVNPlugin {
11+
12+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
13+
1114 public function register () {
1215 $ this ->name = lang_get ( 'plugin_SourceSFSVN_title ' );
1316 $ this ->description = lang_get ( 'plugin_SourceSFSVN_description ' );
1417
1518 $ this ->version = '0.16 ' ;
1619 $ this ->requires = array (
1720 'MantisCore ' => self ::MANTIS_VERSION ,
18- 'Source ' => ' 0.16 ' ,
21+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
1922 'SourceSVN ' => '0.16 ' ,
2023 );
2124
Original file line number Diff line number Diff line change 88}
99
1010class SourceSVNPlugin extends MantisSourcePlugin {
11+
12+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
13+
1114 public function register () {
1215 $ this ->name = plugin_lang_get ( 'title ' );
1316 $ this ->description = plugin_lang_get ( 'description ' );
1417
1518 $ this ->version = '0.19 ' ;
1619 $ this ->requires = array (
1720 'MantisCore ' => self ::MANTIS_VERSION ,
18- 'Source ' => ' 0.16 ' ,
21+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
1922 );
2023
2124 $ this ->author = 'John Reese ' ;
Original file line number Diff line number Diff line change 99}
1010
1111class SourceViewVCPlugin extends SourceSVNPlugin {
12+
13+ const FRAMEWORK_VERSION_REQUIRED = '1.3.2 ' ;
14+
1215 public function register () {
1316 $ this ->name = lang_get ( 'plugin_SourceViewVC_title ' );
1417 $ this ->description = lang_get ( 'plugin_SourceViewVC_description ' );
1518
1619 $ this ->version = '0.1 ' ;
1720 $ this ->requires = array (
1821 'MantisCore ' => self ::MANTIS_VERSION ,
19- 'Source ' => ' 0.16 ' ,
22+ 'Source ' => self :: FRAMEWORK_VERSION_REQUIRED ,
2023 'SourceSVN ' => '0.16 ' ,
2124 );
2225
You can’t perform that action at this time.
0 commit comments