Skip to content

Commit

Permalink
introducint database pactch
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobianco committed May 26, 2020
1 parent 9cdd76b commit d44aa43
Show file tree
Hide file tree
Showing 64 changed files with 626 additions and 423 deletions.
35 changes: 19 additions & 16 deletions 5.1.0/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.1.0/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
35 changes: 19 additions & 16 deletions 5.2.0-RC/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.2.0-RC/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
35 changes: 19 additions & 16 deletions 5.2.0-VB1/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.2.0-VB1/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
35 changes: 19 additions & 16 deletions 5.2.0-VB2/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.2.0-VB2/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
35 changes: 19 additions & 16 deletions 5.2.0/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.2.0/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
35 changes: 19 additions & 16 deletions 5.2.1/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.2.1/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
35 changes: 19 additions & 16 deletions 5.3.0-RC/loading.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
<head>
<meta charset="utf-8">
<title>vtiger | loading...</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="Javanile">
<meta name="description" content="Waiting vtiger preparation...">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="font-family:arial;font-size:15px">
<div style="text-align:center;margin-top:50px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
<div style="text-align:center;margin-top:150px">
<img src="/layouts/v7/resources/Images/vtiger.png" alt="vtiger" width="300" />
<p>
<img src="/libraries/jquery/select2/spinner.gif"
alt="loading..."
style="vertical-align:baseline;margin-bottom:-2px" />
%%MESSAGE%%
</p>
</div>
<div style="position:absolute;bottom:0;right:0;color:#eee;margin-right:4px;font-size:12px;">
Javanile
</div>
<script>
setTimeout(function() {
window.location.replace('/index.php')
}, 15000)
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions 5.3.0-RC/vtiger-foreground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ service apache2 stop >/dev/null 2>&1
echo "[vtiger] Set working directory: ${WORKDIR}"
cd ${WORKDIR}

## Apply database patches if exists
loading "Waiting for patch database..."
[[ -f vtiger.sql ]] && echo -n "[vtiger] Database patch: " && mysql-import --force vtiger.sql
[[ -f vtiger.override.sql ]] && echo -n "[vtiger] Database override: " && mysql-import --force vtiger.override.sql

## copy vtiger.json file on working directory
[[ ! -f vtiger.json ]] && cp /usr/src/vtiger/vtiger.json .

Expand Down
Loading

0 comments on commit d44aa43

Please sign in to comment.