4 Commits
1.4.5 ... 1.4.7

24 changed files with 72 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
OpenDRS - Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -206,3 +206,15 @@ Changelog
- Changed the install.sh script to align with the standardized
installation process used by other applications.
1.4.6 - 2026-02-06
- Fixed bug in group_detail() function in common.php where the link
members were being sorted by linkid instead of writeupid. This
caused the group writeup table to be ordered based on when the
writeup was added to the group instead of in the logical writeup
order.
1.4.7 - 2026-03-03
- Fixed bug reported as Issue 1 where clicking the Show Printable
button on the search results page resulted in the results not
being shown on the printable page.

1
VERSION.txt Normal file
View File

@@ -0,0 +1 @@
1.4.7

View File

@@ -2,7 +2,7 @@
/*
boilerplate.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -69,7 +69,7 @@ CREATE TABLE `config` (
LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES
(1,'drs_version','1.4.5','1.4.5'),
(1,'drs_version','1.4.7','1.4.7'),
(5,'app_name','OpenDRS - Discrepancy Reporting System','OpenDRS Discrepancy Reporting System'),
(6,'banner','1','1'),
(7,'background_color','0B3144','0B3144'),

View File

@@ -2,7 +2,7 @@
# database-update.sh
# OpenLog Online Logbook
# Copyright (C) 2025 Rod Wright
# Copyright (C) 2026 Rod Wright
# SPDX-License-Identifier: GPL-2.0
@@ -29,3 +29,11 @@ margs="--defaults-extra-file=$mysql_opt_file"
# ---------- version 1.4.5 ----------
# Nothing to be done
# -----------------------------------
# ---------- version 1.4.6 ----------
# Nothing to be done
# -----------------------------------
# ---------- version 1.4.7 ----------
# Nothing to be done
# -----------------------------------

View File

@@ -276,3 +276,12 @@ UPDATE config SET value="1.4.4",defaultvalue="1.4.4" WHERE name="drs_version";
UPDATE config SET value="1.4.5",defaultvalue="1.4.5" WHERE name="drs_version";
-- --------------------------------------
-- ---------- version 1.4.6 -------------
-- Update version number
UPDATE config SET value="1.4.6",defaultvalue="1.4.6" WHERE name="drs_version";
-- --------------------------------------
-- ---------- version 1.4.7 -------------
-- Update version number
UPDATE config SET value="1.4.7",defaultvalue="1.4.7" WHERE name="drs_version";
-- --------------------------------------

View File

@@ -3,7 +3,7 @@
/*
db.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -1,5 +1,5 @@
OpenDRS - Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -206,3 +206,15 @@ Changelog
- Changed the install.sh script to align with the standardized
installation process used by other applications.
1.4.6 - 2026-02-06
- Fixed bug in group_detail() function in common.php where the link
members were being sorted by linkid instead of writeupid. This
caused the group writeup table to be ordered based on when the
writeup was added to the group instead of in the logical writeup
order.
1.4.7 - 2026-03-03
- Fixed bug reported as Issue 1 where clicking the Show Printable
button on the search results page resulted in the results not
being shown on the printable page.

View File

@@ -2,7 +2,7 @@
/*
about.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
changelog.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
common.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/
@@ -785,7 +785,7 @@ function group_detail($groupid,$role=false,$mode="view",$selection="none") {
";
}
$writeup_qry=mysqli_query($drs_db,"select writeupid from links where linkgroup=$groupid");
$writeup_qry=mysqli_query($drs_db,"select writeupid from links where linkgroup=$groupid order by writeupid asc");
while ($writeup=mysqli_fetch_row($writeup_qry)) {
// get writeup data
$writeupdata=mysqli_fetch_assoc(mysqli_query($drs_db,"select * from writeups where id={$writeup[0]}"));

View File

@@ -2,7 +2,7 @@
/*
config.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
create.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
dbadmin.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
gpl.php
OpenMTS Online Maintenance Tracking System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
groups.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
login.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
profile.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
search.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/
@@ -105,6 +105,7 @@ extract($incoming, EXTR_SKIP);
if (!isset($search)) $search=false;
if (!isset($viewtype)) $viewtype="summary";
if (!isset($s_id)) $s_id=NULL;
if (!isset($s_group)) $s_group=[];
if (!isset($s_discrepancy_text)) $s_discrepancy_text=NULL;
if (!isset($s_reported_by)) $s_reported_by=NULL;
if (!isset($s_action_text)) $s_action_text=NULL;

View File

@@ -2,7 +2,7 @@
/*
settings.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
writeupdetail.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -2,7 +2,7 @@
/*
writeups.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2025 Rod Wright
Copyright (C) 2026 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/

View File

@@ -76,4 +76,10 @@ then
fi
# --------------------------------------
# ---------- version 1.4.6 -------------
# Nothing to do for this version
# --------------------------------------
# ---------- version 1.4.7 -------------
# Nothing to do for this version
# --------------------------------------

View File

@@ -2,13 +2,13 @@
# install.sh
# OpenDRS Online Discrepancy Reporting System
# Copyright (C) 2025 Rod Wright
# Copyright (C) 2026 Rod Wright
# SPDX-License-Identifier: GPL-2.0
APP_NAME="OpenDRS"
DEFAULT_DB_NAME="opendrs"
APP_VERSION="1.4.5"
APP_VERSION="1.4.7"
DOC_ROOT="/var/www"
INSTALL_LOC="opendrs"
APACHE_CONF_DIR="/etc/apache2/conf-available"