Skip to content

Commit

Permalink
Bump version to 5.0.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Dec 19, 2023
1 parent 028ebab commit d0389b6
Show file tree
Hide file tree
Showing 61 changed files with 89 additions and 68 deletions.
4 changes: 2 additions & 2 deletions app/Config/OpenAudit.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
class OpenAudit extends BaseConfig
{

public string $displayVersion = '5.0.2';
public int $appVersion = 20231207;
public string $displayVersion = '5.0.3';
public int $appVersion = 20231219;

public array $enterprise_collections = array('applications' => 'cud', 'baselines' => 'crud', 'baselines_policies' => 'crud', 'baselines_results' => 'crud', 'clouds' => 'crud', 'collectors' => 'crud', 'dashboards' => 'cud', 'discovery_scan_options' => 'cud', 'files' => 'crud', 'integrations' => 'crud', 'racks' => 'crud', 'roles' => 'cu');
public array $professional_collections = array('applications' => 'r', 'clusters' => 'crud', 'dashboards' => 'r', 'discovery_scan_options' => 'r', 'maps' => 'crud', 'rules' => 'crud', 'tasks' => 'crud', 'widgets' => 'crud');
Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Applications.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Baselines.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/BaselinesPolicies.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/BaselinesResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Buildings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Charts.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Clouds.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Clusters.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Collections.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Collectors.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Components.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Connections.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Credentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Dashboards.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Devices.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Discoveries.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Help.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Integrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Licenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Logon.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Networks.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Orgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Roles.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Summaries.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
2 changes: 1 addition & 1 deletion app/Controllers/Widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Mark Unwin <[email protected]>
* @copyright 2023 FirstWave
* @license http://www.gnu.org/licenses/agpl-3.0.html aGPL v3
* @version GIT: Open-AudIT_5.0.2
* @version GIT: Open-AudIT_5.0.3
* @link http://www.open-audit.org
*/

Expand Down
4 changes: 4 additions & 0 deletions app/Models/DatabaseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ public function update($id = null, $data = null): bool
include "db_upgrades/db_5.0.2.php";
}

if (intval(config('Openaudit')->internal_version) < 20231219) {
include "db_upgrades/db_5.0.3.php";
}

$instance = & get_instance();
$instance->data = $output;
return true;
Expand Down
Loading

0 comments on commit d0389b6

Please sign in to comment.