Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Open XDMoD Change Log

## 2026-05-12 v11.0.3

- Important Notes
- This release fixes a critical security vulnerability and two other
moderate-to-high severity security vulnerabilities in Open XDMoD:
- https://github.com/ubccr/xdmod/security/advisories/GHSA-29qm-7w4v-43fw
- https://github.com/ubccr/xdmod/security/advisories/GHSA-3pv7-qvc3-h527
- https://github.com/ubccr/xdmod/security/advisories/GHSA-3hfh-m242-8rmh
- Bug Fixes
- Fix bug in which the server runs out of memory when exporting data
([\#2085](https://github.com/ubccr/xdmod/pull/2085)).
- Fix tooltip display when hovering over area plots
([\#2077](https://github.com/ubccr/xdmod/pull/2077)).
- Fix charting export ([\#2192](https://github.com/ubccr/xdmod/pull/2192)).
- Fix username validation
([\#2194](https://github.com/ubccr/xdmod/pull/2194)).
- Enhancements
- Improve performance of database queries
([\#2182](https://github.com/ubccr/xdmod/pull/2182)).
- Documentation
- Update list of publications and presentations
([\#2081](https://github.com/ubccr/xdmod/pull/2081)).
- Maintenance / Code Quality
- Remove unused code ([\#2188](https://github.com/ubccr/xdmod/pull/2188)).

## 2025-08-19 v11.0.2

- New Features
Expand Down Expand Up @@ -214,6 +239,10 @@
- A new endpoint for retrieving raw data has been added.

## 2023-08-04 v10.0.3

- Important Notes
- This release fixes a critical security vulnerability in Open XDMoD:
- https://github.com/ubccr/xdmod/security/advisories/GHSA-r33r-6g3c-r992
- Bug Fixes
- General
- Fix handling of filters where the filter string has a quote character in it (#1749)
Expand Down
3 changes: 2 additions & 1 deletion bin/xdmod-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ ini_set('memory_limit', -1);
$supportedUpgrades = array(
'11.0.0' => '11.0.1',
'11.0.1' => '11.0.2',
'11.0.2' => '11.5.0'
'11.0.2' => '11.0.3',
'11.0.3' => '11.5.0'
);

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* Update config files from version 11.0.2 to 11.0.3
*/

namespace OpenXdmod\Migration\Version1102To1103;

use OpenXdmod\Migration\ConfigFilesMigration as AbstractConfigFilesMigration;

class ConfigFilesMigration extends AbstractConfigFilesMigration
{

/**
* Update portal_settings.ini with the new version number.
*/
public function execute()
{
$this->assertPortalSettingsIsWritable();
$this->assertModulePortalSettingsAreWritable();
$this->writePortalSettingsFile();
$this->writeModulePortalSettingsFiles();
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* Update config files from version 11.0.2 to 11.5.0
* Update config files from version 11.0.3 to 11.5.0
*/

namespace OpenXdmod\Migration\Version1102To1150;
namespace OpenXdmod\Migration\Version1103To1150;

use OpenXdmod\Migration\ConfigFilesMigration as AbstractConfigFilesMigration;
use CCR\Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* Update database from version 11.0.2 to 11.5.0
* Update database from version 11.0.3 to 11.5.0
*/

namespace OpenXdmod\Migration\Version1102To1150;
namespace OpenXdmod\Migration\Version1103To1150;

use OpenXdmod\Migration\DatabasesMigration as AbstractDatabasesMigration;
use OpenXdmod\Shared\DatabaseHelper;
Expand Down Expand Up @@ -37,15 +37,15 @@ public function execute()

if ($mysql_helper->tableExists('modw.storagefact')) {
Utilities::runEtlPipeline(
['storage-migration-11_0_2-11_5_0', 'xdw-aggregate-storage'],
['storage-migration-11_0_3-11_5_0', 'xdw-aggregate-storage'],
$this->logger,
['last-modified-start-date' => '2017-01-01 00:00:00']
);
}

if ($mysql_helper->tableExists('modw_cloud.event')) {
Utilities::runEtlPipeline(
['cloud-migration_11-0-2_11-5-0', 'cloud-state-pipeline'],
['cloud-migration_11-0-3_11-5-0', 'cloud-state-pipeline'],
$this->logger,
['last-modified-start-date' => '2017-01-01 00:00:00']
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"module": "xdmod",
"defaults": {
"migration-11_0_2-11_5_0": {
"migration-11_0_3-11_5_0": {
"namespace": "ETL\\Ingestor",
"options_class": "IngestorOptions",
"class": "DatabaseIngestor",
Expand All @@ -20,7 +20,7 @@
}
}
},
"cloud-migration_11-0-2_11-5-0": {
"cloud-migration_11-0-3_11-5-0": {
"namespace": "ETL\\Ingestor",
"options_class": "IngestorOptions",
"class": "DatabaseIngestor",
Expand All @@ -39,7 +39,7 @@
}
}
},
"storage-migration-11_0_2-11_5_0": {
"storage-migration-11_0_3-11_5_0": {
"namespace": "ETL\\Maintenance",
"options_class": "MaintenanceOptions",
"class": "ExecuteSql",
Expand All @@ -59,7 +59,7 @@
}
}
},
"migration-11_0_2-11_5_0": [
"migration-11_0_3-11_5_0": [
{
"name": "update-reports",
"description": "Update report tables to remove duplicate rows",
Expand Down Expand Up @@ -442,7 +442,7 @@
}
}
],
"storage-migration-11_0_2-11_5_0": [
"storage-migration-11_0_3-11_5_0": [
{
"name": "manageStorageTables",
"description": "Changes to storage tables",
Expand All @@ -460,7 +460,7 @@
]
}
],
"cloud-migration_11-0-2_11-5-0": [
"cloud-migration_11-0-3_11-5-0": [
{
"name": "cloud-add-disk-gb-to-instance-data",
"description": "Add disk_gb column to modw_cloud.instance_data",
Expand Down
32 changes: 32 additions & 0 deletions html/about/release_notes/xdmod.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@ <h1>Open XDMoD Release Notes</h1>

<p>Below is a list of Open XDMoD releases with major features and bug fixes listed.</p>

<h2 id="2026-05-12-v11-0-3">2026-05-12 v11.0.3</h2>
<ul>
<li><p>Important Notes</p><ul>
<li>This release fixes a critical security vulnerability and two other
moderate-to-high severity security vulnerabilities in Open
XDMoD:<ul>
<li><a href="https://github.com/ubccr/xdmod/security/advisories/GHSA-29qm-7w4v-43fw" target="_blank" rel="noopener noreferrer">https://github.com/ubccr/xdmod/security/advisories/GHSA-29qm-7w4v-43fw</a></li>
<li><a href="https://github.com/ubccr/xdmod/security/advisories/GHSA-3pv7-qvc3-h527" target="_blank" rel="noopener noreferrer">https://github.com/ubccr/xdmod/security/advisories/GHSA-3pv7-qvc3-h527</a></li>
<li><a href="https://github.com/ubccr/xdmod/security/advisories/GHSA-3hfh-m242-8rmh" target="_blank" rel="noopener noreferrer">https://github.com/ubccr/xdmod/security/advisories/GHSA-3hfh-m242-8rmh</a></li>
</ul></li>
</ul></li>
<li><p>Bug Fixes</p><ul>
<li>Fix bug in which the server runs out of memory when exporting
data.</li>
<li>Fix tooltip display when hovering over area plots.</li>
<li>Fix charting export.</li>
<li>Fix username validation.</li>
</ul></li>
<li><p>Enhancements</p><ul>
<li>Improve performance of database queries.</li>
</ul></li>
<li><p>Documentation</p><ul>
<li>Update list of publications and presentations.</li>
</ul></li>
</ul>

<h2 id="2025-08-19-v11-0-2">2025-08-19 v11.0.2</h2>
<ul>
<li><p>New Features</p><ul>
Expand Down Expand Up @@ -395,6 +421,12 @@ <h2 id="2023-09-11-v10-5-0">2023-09-11 v10.5.0</h2>
</ul>
<h2 id="2023-08-04-v10-0-3">2023-08-04 v10.0.3</h2>
<ul>
<li><p>Important Notes</p><ul>
<li>This release fixes a critical security vulnerability in Open
XDMoD:<ul>
<li><a href="https://github.com/ubccr/xdmod/security/advisories/GHSA-r33r-6g3c-r992" target="_blank" rel="noopener noreferrer">https://github.com/ubccr/xdmod/security/advisories/GHSA-r33r-6g3c-r992</a></li>
</ul></li>
</ul></li>
<li>Bug Fixes<ul>
<li>General<ul>
<li>Fix handling of filters where the filter string has a quote character in it (#1749)</li>
Expand Down
6 changes: 1 addition & 5 deletions html/controllers/sab_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@
*
* operation: params -----
* enum_tg_users: start, limit, [query], pi_only
* assign_assumed_person: person_id
* get_mapping: use_default
*/

require_once __DIR__ . '/../../configuration/linker.php';

\xd_security\start_session();

$controller = new XDController(array(STATUS_LOGGED_IN));
$controller = new XDController(array(STATUS_LOGGED_IN, STATUS_MANAGER_ROLE));

$controller->registerOperation('enum_tg_users');
$controller->registerOperation('assign_assumed_person');
$controller->registerOperation('get_mapping');

$session_variable
= (isset($_POST['dashboard_mode']))
Expand Down
38 changes: 0 additions & 38 deletions html/controllers/sab_user/assign_assumed_person.php

This file was deleted.

36 changes: 0 additions & 36 deletions html/controllers/sab_user/get_mapping.php

This file was deleted.

2 changes: 1 addition & 1 deletion html/password_reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

}//if (INVALID)

$first_name = $validationCheck['user_first_name'];
$first_name = htmlspecialchars($validationCheck['user_first_name'], ENT_QUOTES, 'UTF-8');

$mode = ( isset($_GET['mode']) && ($_GET['mode'] == 'new') ) ? 'create' : 'reset';

Expand Down
12 changes: 6 additions & 6 deletions libraries/charting.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,17 @@ function getSvgViaChromiumHelper($html, $width, $height){
*/

function convertSvg($svgData, $format, $width, $height, $docmeta){
$author = isset($docmeta['author']) ? addcslashes($docmeta['author'], "()\n\\") : 'XDMoD';
$subject = isset($docmeta['subject']) ? addcslashes($docmeta['subject'], "()\n\\") : 'XDMoD chart';
$title = isset($docmeta['title']) ? addcslashes($docmeta['title'], "()\n\\") :'XDMoD PDF chart export';
$creator = addcslashes('XDMoD ' . OPEN_XDMOD_VERSION, "()\n\\");
$author = isset($docmeta['author']) ? escapeshellarg($docmeta['author']) : "'XDMoD'";
$subject = isset($docmeta['subject']) ? escapeshellarg($docmeta['subject']) : "'XDMoD chart'";
$title = isset($docmeta['title']) ? escapeshellarg($docmeta['title']) : "'XDMoD PDF chart export'";
$creator = escapeshellarg('XDMoD ' . OPEN_XDMOD_VERSION);

switch($format){
case 'png':
$exifArgs = "-Title='$title' -Author='$author' -Description='$subject' -Source='$creator'";
$exifArgs = "-Title=$title -Author=$author -Description=$subject -Source=$creator";
break;
case 'pdf':
$exifArgs = "-Title='$title' -Author='$author' -Subject='$subject' -Creator='$creator'";
$exifArgs = "-Title=$title -Author=$author -Subject=$subject -Creator=$creator";
break;
default:
return $svgData;
Expand Down
2 changes: 2 additions & 0 deletions open_xdmod/modules/xdmod/xdmod.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ rm -rf $RPM_BUILD_ROOT
%dir %attr(0570,apache,xdmod) %{xdmod_export_dir}

%changelog
* Tue May 12 2026 XDMoD <ccr-xdmod-list@listserv.buffalo.edu> 11.0.3-2
- Release 11.0.3
* Tue Aug 19 2025 XDMoD <ccr-xdmod-list@listserv.buffalo.edu> 11.0.2-3
- Release 11.0.2
* Mon Mar 17 2025 XDMoD <ccr-xdmod-list@listserv.buffalo.edu> 11.0.1-1
Expand Down
Loading