mirror of
https://github.com/itflow-org/itflow
synced 2026-03-24 06:25:40 +00:00
Add versioning/release system - December 2024 / 24.12
This commit is contained in:
@@ -519,12 +519,16 @@ $mysqli->close();
|
|||||||
|
|
||||||
<table class="table table-bordered mb-3">
|
<table class="table table-bordered mb-3">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Current App Version</td>
|
<th>ITFlow release version</th>
|
||||||
<th><?php echo $commitHash; ?></th>
|
<th><?php echo APP_VERSION; ?></th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Current Code Commit</td>
|
||||||
|
<td><?php echo $commitHash; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Current DB Version</td>
|
<td>Current DB Version</td>
|
||||||
<th><?php echo CURRENT_DATABASE_VERSION; ?></th>
|
<td><?php echo CURRENT_DATABASE_VERSION; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|||||||
8
app_version.php
Normal file
8
app_version.php
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* ITFlow
|
||||||
|
* This file defines the current ITFlow release/version
|
||||||
|
* Update this file each time we merge develop into master. Format is YY.M (add a .v if there is more than one release a month.
|
||||||
|
*/
|
||||||
|
|
||||||
|
DEFINE("APP_VERSION", "24.12");
|
||||||
@@ -4,7 +4,7 @@ require_once "inc_confirm_modal.php";
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (str_contains(basename($_SERVER["PHP_SELF"]), "admin_")) { ?>
|
if (str_contains(basename($_SERVER["PHP_SELF"]), "admin_")) { ?>
|
||||||
<p class="text-right font-weight-light">ITFlow /versioning coming soon/ · <a target="_blank" href="https://docs.itflow.org">Docs</a> · <a target="_blank" href="https://forum.itflow.org">Forum</a> · <a target="_blank" href="https://services.itflow.org">Services</a></p>
|
<p class="text-right font-weight-light">ITFlow <?php echo APP_VERSION ?> · <a target="_blank" href="https://docs.itflow.org">Docs</a> · <a target="_blank" href="https://forum.itflow.org">Forum</a> · <a target="_blank" href="https://services.itflow.org">Services</a></p>
|
||||||
<br>
|
<br>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ require_once "check_login.php";
|
|||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
// TODO: Change this to enforceAdminPermission();
|
// TODO: Change this to enforceAdminPermission();
|
||||||
// We can't do this until everyone has the new database fields added in 1.4.9 on Sept 14th 2024
|
// We can't do this until everyone has the new database fields added in db 1.4.9 on Sept 14th 2024
|
||||||
|
|
||||||
require_once "header.php";
|
require_once "header.php";
|
||||||
|
|
||||||
@@ -22,3 +22,5 @@ require_once "inc_wrapper.php";
|
|||||||
require_once "inc_alert_feedback.php";
|
require_once "inc_alert_feedback.php";
|
||||||
|
|
||||||
require_once "filter_header.php";
|
require_once "filter_header.php";
|
||||||
|
|
||||||
|
require_once "app_version.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user