Skip to content
Snippets Groups Projects
Commit bf1ccd50 authored by vtigerosm's avatar vtigerosm
Browse files

Added hook to stop migration if non ported extension found

parents faf37ea2 76ff1e2f
No related branches found
No related tags found
No related merge requests found
Showing
with 142 additions and 31 deletions
......@@ -14,11 +14,11 @@ $languageStrings = array(
'LBL_PRIDE_BEING_ASSOCIATED' => 'We take pride in being associated with you.',
'LBL_TALK_TO_US_AT_FORUMS' => 'Have any questions? Find help on Vtiger <a href="http://forums.vtiger.com" target="_blank"> Discussions </a><br>',
'LBL_DISCUSS_WITH_US_AT_BLOGS' => 'To know more about Vtiger follow us our <a href="http://blogs.vtiger.com" target="_blank">Blog</a>',
'LBL_CRM_DOCUMENTATION' => 'Vtiger6 Help - <a href="http://wiki.vtiger.com/vtiger6" target="_blank">Documentaion</a> , <a href="http://www.youtube.com/vtiger" target="_blank">Videos</a> <BR>',
'LBL_CRM_DOCUMENTATION' => 'Vtiger7 Help - <a href="http://wiki.vtiger.com/vtiger7" target="_blank">Documentaion</a> , <a href="http://www.youtube.com/vtiger" target="_blank">Videos</a> <BR>',
'LBL_THANKS' => 'Thanks for using <b>vtiger CRM</b>',
'LBL_WE_AIM_TO_BE_BEST' => 'We aim to be - simply the best',
'LBL_SPACE_FOR_YOU' => 'Come on over, there is space for you too!',
'LBL_MIGRATION_COMPLETED_SUCCESSFULLY' => 'Your vtiger6 migration completed successfully.',
'LBL_MIGRATION_COMPLETED_SUCCESSFULLY' => 'Your vtiger7 migration completed successfully.',
'LBL_RELEASE_NOTES' => 'To know what is new in this version, please read <a href="#" target="_blank">Release Notes</a> <br>',
'LBL_WAIT' => 'Please wait ...',
'LBL_INPROGRESS' => 'Migration Inprogress',
......
......@@ -16,13 +16,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/todc/css/bootstrap.min.css'>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/todc/css/todc-bootstrap.min.css'>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/font-awesome/css/font-awesome.min.css'>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/jquery/select2/select2.css'>
<link type='text/css' rel='stylesheet' href='libraries/bootstrap/js/eternicode-bootstrap-datepicker/css/datepicker3.css'>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/jquery/jquery-ui-1.11.3.custom/jquery-ui.css'>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/vt-icons/style.css'>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/todc/css/bootstrap.min.css'/>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/todc/css/todc-bootstrap.min.css'/>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/font-awesome/css/font-awesome.min.css'/>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/jquery/select2/select2.css'/>
<link type='text/css' rel='stylesheet' href='libraries/bootstrap/js/eternicode-bootstrap-datepicker/css/datepicker3.css'/>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/jquery/jquery-ui-1.11.3.custom/jquery-ui.css'/>
<link type='text/css' rel='stylesheet' href='layouts/v7/lib/vt-icons/style.css'/>
{if strpos($V7_THEME_PATH,".less")!== false}
<link type="text/css" rel="stylesheet/less" href="{vresource_url($V7_THEME_PATH)}" media="screen" />
......@@ -54,7 +54,7 @@
</script>
</head>
{assign var=CURRENT_USER_MODEL value=Users_Record_Model::getCurrentUserModel()}
<body data-skinpath="{Vtiger_Theme::getBaseThemePath()}" data-language="{$LANGUAGE}" data-user-decimalseparator="{$CURRENT_USER_MODEL->get('currency_decimal_separator')}" data-user-dateformat="{$CURRENT_USER_MODEL->get('date_format')}"
<body style="font-size: 13px !important;" data-skinpath="{Vtiger_Theme::getBaseThemePath()}" data-language="{$LANGUAGE}" data-user-decimalseparator="{$CURRENT_USER_MODEL->get('currency_decimal_separator')}" data-user-dateformat="{$CURRENT_USER_MODEL->get('date_format')}"
data-user-groupingseparator="{$CURRENT_USER_MODEL->get('currency_grouping_separator')}" data-user-numberofdecimals="{$CURRENT_USER_MODEL->get('no_of_currency_decimals')}">
<div id="page">
<div id="pjaxContainer" class="hide noprint"></div>
......
......@@ -7,7 +7,7 @@
* All Rights Reserved.
************************************************************************************}
<div class="row-fluid main-container">
<div class="row main-container">
<div class="inner-container">
<div class="row">
<div class="col-sm-10">
......
{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************}
{* modules/Migration/views/Index.php *}
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*************************************************************************************}
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
<DIV>TEMPLATE: layout/modules/Migration/MigrationStep1.tpl</DIV>
{strip}
{include file="Header.tpl"|vtemplate_path:'Install'}
<div class="container-fluid page-container">
<div class="row">
<div class="col-lg-6">
<div class="logo">
<img src="{'logo.png'|vimage_path}"/>
</div>
</div>
<div class="col-lg-6">
<div class="head pull-right">
<h3>{vtranslate('LBL_MIGRATION_WIZARD', $MODULE)}</h3>
</div>
</div>
</div>
<div class="row main-container">
<div class="col-lg-12 inner-container">
<div id="running" class="alignCenter">
<br><br><br><br><br>
<h4> {vtranslate('LBL_WAIT',$MODULE)} </h4><br>
<img src="{vimage_path('install_loading.gif')}"/>
<h5> {vtranslate('LBL_INPROGRESS',$MODULE)} </h5>
</div>
<div id="success" class="hide">
<div class="row">
<div class="col-lg-10">
<h4> {vtranslate('LBL_DATABASE_CHANGE_LOG',$MODULE)} </h4>
</div>
</div><hr>
</div>
<div id="showDetails" class="hide" style="max-height: 350px; overflow: auto; padding: 10px; border: 1px solid #ddd;"></div><br>
<div id="nextButton" class="button-container col-lg-12 hide">
<form action='index.php' method="POST">
<input type="hidden" name="module" id="module" value="Migration">
<input type="hidden" name="view" id="view" value="Index">
<input type="hidden" name="mode" value="step2">
<input type="submit" class="btn btn-default btn-primary pull-right" value="{vtranslate('Next', $MODULE)}"/>
</form>
</div>
</div>
</div>
</div>
{/strip}
\ No newline at end of file
{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************}
{* modules/Migration/views/Index.php *}
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*************************************************************************************}
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
<DIV>TEMPLATE: layout/modules/Migration/MigrationStep2.tpl</DIV>
{strip}
{include file="Header.tpl"|vtemplate_path:'Install'}
<div class="container-fluid page-container">
<div class="row">
<div class="col-lg-6">
<div class="logo">
<img src="{'logo.png'|vimage_path}" alt="Vtiger Logo"/>
</div>
</div>
<div class="col-lg-6">
<div class="head pull-right">
<h3> {vtranslate('LBL_MIGRATION_WIZARD', $MODULE)}</h3>
</div>
</div>
</div>
<div class="row main-container">
<div class="col-lg-12 inner-container">
<div class="row">
<div class="col-lg-10">
<h4> {vtranslate('LBL_MIGRATION_COMPLETED', $MODULE)} </h4>
</div>
</div>
<hr>
<div class="row">
<div class="col-lg-5 welcome-image">
<img src="{vimage_path('migration_screen.png')}" alt="Vtiger Logo" style="width:80%;"/>
</div>
<div class="col-lg-1"></div>
<div class="col-lg-6">
<br>
<h5>{vtranslate('LBL_MIGRATION_COMPLETED_SUCCESSFULLY', $MODULE)}</h5><br>
{vtranslate('LBL_RELEASE_NOTES', $MODULE)}<br>
{vtranslate('LBL_CRM_DOCUMENTATION', $MODULE)}<br>
{vtranslate('LBL_TALK_TO_US_AT_FORUMS', $MODULE)}<br>
{vtranslate('LBL_DISCUSS_WITH_US_AT_BLOGS', $MODULE)}<br><br>
Connect with us &nbsp;&nbsp;
<a href="https://www.facebook.com/vtiger" target="_blank"><img src="{vimage_path('facebook.png')}"></a>&nbsp;&nbsp;
<a href="https://twitter.com/vtigercrm" target="_blank"><img src="{vimage_path('twitter.png')}"></a>&nbsp;&nbsp;
<a href="//www.vtiger.com/products/crm/privacy_policy.html" target="_blank"><img src="{vimage_path('linkedin.png')}"></a>
</div>
</div>
<div class="button-container col-lg-12">
<input type="button" onclick="window.location.href='index.php'" class="btn btn-default btn-primary pull-right" value="{vtranslate('Finish', $MODULE)}" style="margin-left: 0px;"/>
</div>
</div>
</div>
</div>
{/strip}
\ No newline at end of file
/*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************/
Vtiger.Class('Migration_Index_Js', {
startMigrationEvent: function () {
var migrateUrl = 'index.php?module=Migration&view=Index&mode=applyDBChanges';
app.request.post({url:migrateUrl}).then(function (err, data) {
jQuery('#running').addClass('hide').removeClass('show');
jQuery('#success').addClass('show').removeClass('hide');
jQuery('#nextButton').addClass('show').removeClass('hide');
jQuery('#showDetails').addClass('show').removeClass('hide').html(data);
});
},
registerEvents: function () {
this.startMigrationEvent();
}
});
layouts/v7/skins/images/1.jpg

18.6 KiB

layouts/v7/skins/images/2.jpg

1.56 KiB

layouts/v7/skins/images/3.jpg

1.63 KiB

layouts/v7/skins/images/4.jpg

1.11 KiB

layouts/v7/skins/images/Authorize.png

8.09 KiB

layouts/v7/skins/images/Payments.png

3.6 KiB

layouts/v7/skins/images/Payments_1.png

3.6 KiB

layouts/v7/skins/images/Reports_1.png

3.92 KiB

layouts/v7/skins/images/Social_Landing_Image1.png

69.5 KiB

layouts/v7/skins/images/Social_Landing_Image2.png

23.7 KiB

layouts/v7/skins/images/Social_Landing_Image3.png

97.1 KiB

layouts/v7/skins/images/TellUsaboutYou.png

24.3 KiB

layouts/v7/skins/images/Twitter-Logo.png

22.2 KiB

layouts/v7/skins/images/mastercard.png

6.21 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment