Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bebb1209ae | |||
| 9b8688e30e | |||
| f7d26b5f2d | |||
| e9141c7dde | |||
| 7b134c1010 |
14
CHANGELOG
14
CHANGELOG
@@ -1,5 +1,5 @@
|
|||||||
OpenDRS - Online Discrepancy Reporting System
|
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
|
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
|
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
|
- Changed the install.sh script to align with the standardized
|
||||||
installation process used by other applications.
|
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
1
VERSION.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.4.7
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
boilerplate.php
|
boilerplate.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ CREATE TABLE `config` (
|
|||||||
LOCK TABLES `config` WRITE;
|
LOCK TABLES `config` WRITE;
|
||||||
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
|
||||||
INSERT INTO `config` VALUES
|
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'),
|
(5,'app_name','OpenDRS - Discrepancy Reporting System','OpenDRS Discrepancy Reporting System'),
|
||||||
(6,'banner','1','1'),
|
(6,'banner','1','1'),
|
||||||
(7,'background_color','0B3144','0B3144'),
|
(7,'background_color','0B3144','0B3144'),
|
||||||
|
|||||||
10
database-update.sh
Normal file → Executable file
10
database-update.sh
Normal file → Executable file
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# database-update.sh
|
# database-update.sh
|
||||||
# OpenLog Online Logbook
|
# OpenLog Online Logbook
|
||||||
# Copyright (C) 2025 Rod Wright
|
# Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
@@ -29,3 +29,11 @@ margs="--defaults-extra-file=$mysql_opt_file"
|
|||||||
# ---------- version 1.4.5 ----------
|
# ---------- version 1.4.5 ----------
|
||||||
# Nothing to be done
|
# Nothing to be done
|
||||||
# -----------------------------------
|
# -----------------------------------
|
||||||
|
|
||||||
|
# ---------- version 1.4.6 ----------
|
||||||
|
# Nothing to be done
|
||||||
|
# -----------------------------------
|
||||||
|
|
||||||
|
# ---------- version 1.4.7 ----------
|
||||||
|
# Nothing to be done
|
||||||
|
# -----------------------------------
|
||||||
|
|||||||
@@ -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";
|
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";
|
||||||
|
-- --------------------------------------
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/*
|
/*
|
||||||
db.php
|
db.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
OpenDRS - Online Discrepancy Reporting System
|
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
|
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
|
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
|
- Changed the install.sh script to align with the standardized
|
||||||
installation process used by other applications.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
about.php
|
about.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
changelog.php
|
changelog.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
common.php
|
common.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
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)) {
|
while ($writeup=mysqli_fetch_row($writeup_qry)) {
|
||||||
// get writeup data
|
// get writeup data
|
||||||
$writeupdata=mysqli_fetch_assoc(mysqli_query($drs_db,"select * from writeups where id={$writeup[0]}"));
|
$writeupdata=mysqli_fetch_assoc(mysqli_query($drs_db,"select * from writeups where id={$writeup[0]}"));
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
config.php
|
config.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
create.php
|
create.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
dbadmin.php
|
dbadmin.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
gpl.php
|
gpl.php
|
||||||
OpenMTS Online Maintenance Tracking System
|
OpenMTS Online Maintenance Tracking System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
groups.php
|
groups.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
login.php
|
login.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
profile.php
|
profile.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
search.php
|
search.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
@@ -105,6 +105,7 @@ extract($incoming, EXTR_SKIP);
|
|||||||
if (!isset($search)) $search=false;
|
if (!isset($search)) $search=false;
|
||||||
if (!isset($viewtype)) $viewtype="summary";
|
if (!isset($viewtype)) $viewtype="summary";
|
||||||
if (!isset($s_id)) $s_id=NULL;
|
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_discrepancy_text)) $s_discrepancy_text=NULL;
|
||||||
if (!isset($s_reported_by)) $s_reported_by=NULL;
|
if (!isset($s_reported_by)) $s_reported_by=NULL;
|
||||||
if (!isset($s_action_text)) $s_action_text=NULL;
|
if (!isset($s_action_text)) $s_action_text=NULL;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
settings.php
|
settings.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
writeupdetail.php
|
writeupdetail.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
writeups.php
|
writeups.php
|
||||||
OpenDRS Online Discrepancy Reporting System
|
OpenDRS Online Discrepancy Reporting System
|
||||||
Copyright (C) 2025 Rod Wright
|
Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-2.0
|
SPDX-License-Identifier: GPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
6
files-update.sh
Normal file → Executable file
6
files-update.sh
Normal file → Executable file
@@ -76,4 +76,10 @@ then
|
|||||||
fi
|
fi
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
|
# ---------- version 1.4.6 -------------
|
||||||
|
# Nothing to do for this version
|
||||||
|
# --------------------------------------
|
||||||
|
|
||||||
|
# ---------- version 1.4.7 -------------
|
||||||
|
# Nothing to do for this version
|
||||||
|
# --------------------------------------
|
||||||
4
install.sh
Normal file → Executable file
4
install.sh
Normal file → Executable file
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
# install.sh
|
# install.sh
|
||||||
# OpenDRS Online Discrepancy Reporting System
|
# OpenDRS Online Discrepancy Reporting System
|
||||||
# Copyright (C) 2025 Rod Wright
|
# Copyright (C) 2026 Rod Wright
|
||||||
|
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
APP_NAME="OpenDRS"
|
APP_NAME="OpenDRS"
|
||||||
DEFAULT_DB_NAME="opendrs"
|
DEFAULT_DB_NAME="opendrs"
|
||||||
APP_VERSION="1.4.5"
|
APP_VERSION="1.4.7"
|
||||||
DOC_ROOT="/var/www"
|
DOC_ROOT="/var/www"
|
||||||
INSTALL_LOC="opendrs"
|
INSTALL_LOC="opendrs"
|
||||||
APACHE_CONF_DIR="/etc/apache2/conf-available"
|
APACHE_CONF_DIR="/etc/apache2/conf-available"
|
||||||
|
|||||||
Reference in New Issue
Block a user