From b3b2866e02e6ea93214665cc34800bebe8965568 Mon Sep 17 00:00:00 2001
From: diddipoeler
Date: Sun, 2 Feb 2025 12:23:45 +0100
Subject: [PATCH] korrektur
---
README.md | 1 +
admin/sql/install.mysql.utf8.sql | 50 ++++++++++++++---------------
admin/sql/updates/mysql/4.24.00.sql | 25 +++++++++++++++
changelog.xml | 2 +-
list.xml | 2 +-
script.php | 4 +--
sportsmanagement-update.xml | 19 +++++++++++
sportsmanagement.xml | 2 +-
update-server.xml | 4 +--
9 files changed, 77 insertions(+), 32 deletions(-)
create mode 100644 admin/sql/updates/mysql/4.24.00.sql
diff --git a/README.md b/README.md
index 82669ab05..6b043d7d7 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,7 @@ Extensions ?
Ă„nderungen
---------------------
+* 02-02-2025: **4.24.00** Kleine Korrekturen
* 02-02-2025: **4.23.00** Kleine Korrekturen
* 31-10-2024: **4.22.00** Neue Sportart Golfbillard Golfbiljart Verbond Machelen-Diegem.
* 23-03-2024: **4.21.00** 2 neue Tabellen
diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql
index e3129bafc..448fbaa2a 100644
--- a/admin/sql/install.mysql.utf8.sql
+++ b/admin/sql/install.mysql.utf8.sql
@@ -29,7 +29,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_associations` (
`founded_year` VARCHAR(4) NULL DEFAULT NULL,
`notes` TEXT NULL DEFAULT NULL ,
`flag_maps` varchar(255) NOT NULL DEFAULT 'images/com_sportsmanagement/database/placeholders/placeholder_wappen_50.png',
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `country` (`country`),
@@ -69,7 +69,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_federations` (
`founded_year` VARCHAR(4) NULL DEFAULT NULL,
`notes` TEXT NULL DEFAULT NULL ,
`flag_maps` varchar(255) NOT NULL DEFAULT 'images/com_sportsmanagement/database/placeholders/placeholder_wappen_50.png',
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
@@ -192,7 +192,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_countries` (
`countrymap_mapinfo` MEDIUMTEXT NULL DEFAULT NULL,
`country_picture` varchar(255) NOT NULL DEFAULT 'images/com_sportsmanagement/database/placeholders/placeholder_wappen_50.png',
`flag_maps` varchar(255) NOT NULL DEFAULT 'images/com_sportsmanagement/database/placeholders/placeholder_wappen_50.png',
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`alpha3`)
@@ -235,7 +235,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_division` (
`picture` VARCHAR(128) NOT NULL DEFAULT '' ,
`cr_picture` varchar(255) DEFAULT NULL,
`rankingparams` TEXT NULL DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `project_id` (`project_id`),
@@ -326,7 +326,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_league` (
`dissolved_year` VARCHAR(4) NULL DEFAULT NULL,
`champions_complete` TINYINT(1) NOT NULL DEFAULT '0' ,
`notes` TEXT NULL DEFAULT NULL ,
-`picture_blob` BLOB NULL DEFAULT NULL,
+`picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `country` (`country`),
KEY `sports_type_id` (`sports_type_id`)
@@ -685,7 +685,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_person` (
`bank_account_number` VARCHAR( 100 ) NULL DEFAULT '',
`iban` VARCHAR( 100 ) NULL DEFAULT '',
`bank_identifier_code` VARCHAR( 100 ) NULL DEFAULT '',
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
@@ -733,7 +733,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_playground` (
`openligaid` int(11) DEFAULT NULL,
`playground_size` VARCHAR(200) NOT NULL DEFAULT '' ,
`max_visitors_int` INT(11) NOT NULL DEFAULT '0' ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `club_id` (`club_id`),
@@ -761,7 +761,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_position` (
`modified_by` INT NULL ,
`picture` VARCHAR(255) NOT NULL DEFAULT 'images/com_sportsmanagement/database/placeholders/placeholder_21.png' ,
`cr_picture` varchar(255) DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `parent_id` (`parent_id`),
KEY `sports_type_id` (`sports_type_id`),
@@ -898,7 +898,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_project` (
`double_events` TINYINT(1) NOT NULL DEFAULT '0' ,
`match_generated` INT( 11 ) NOT NULL DEFAULT '0',
-`picture_blob` BLOB NULL DEFAULT NULL,
+`picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `league_id` (`league_id`),
@@ -955,7 +955,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_project_referee` (
`image_copy` TINYINT(4) NOT NULL DEFAULT '0' ,
`extendeduser` TEXT NULL ,
`cr_picture` varchar(255) DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `project_id` (`project_id`),
KEY `person_id` (`person_id`),
@@ -1016,7 +1016,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_project_team` (
`cache_guestgoals_finally` SMALLINT(6) NOT NULL DEFAULT '0' ,
`cache_diffgoals_finally` SMALLINT(6) NOT NULL DEFAULT '0' ,
`champion` TINYINT(1) NOT NULL DEFAULT '0' ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `project_id` (`project_id`),
KEY `team_id` (`team_id`),
@@ -1079,7 +1079,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_project_team_division` (
`cache_homegoals_finally` SMALLINT(6) NOT NULL DEFAULT '0' ,
`cache_guestgoals_finally` SMALLINT(6) NOT NULL DEFAULT '0' ,
`cache_diffgoals_finally` SMALLINT(6) NOT NULL DEFAULT '0' ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `project_id` (`project_id`),
KEY `team_id` (`team_id`),
@@ -1111,7 +1111,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_rosterposition` (
`published` TINYINT(1) NOT NULL DEFAULT '1' ,
`modified` DATETIME NULL ,
`modified_by` INT NULL ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`short_name`),
KEY `country` (`country`)
@@ -1143,7 +1143,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_round` (
`rdatefirst_timestamp` BIGINT( 20 ) NOT NULL DEFAULT '0',
`rdatelast_timestamp` BIGINT( 20 ) NOT NULL DEFAULT '0',
`openligaid` int(11) DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `project_id` (`project_id`)
)
@@ -1193,7 +1193,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_season_team_id` (
`kaderlink` VARCHAR( 250 ) NULL DEFAULT NULL,
`teamname` VARCHAR( 75 ) NULL DEFAULT NULL,
`season_teamname` VARCHAR( 200 ) NULL DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`team_id`,`season_id`) ,
KEY `team_id` (`team_id`),
@@ -1220,7 +1220,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_season_person_id` (
`cr_picture` varchar(255) DEFAULT NULL,
`position_id` INT( 11 ) NOT NULL DEFAULT '0',
`club_id` INT(11) NOT NULL DEFAULT '0' ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`person_id`,`season_id`,`team_id`,`persontype`) ,
KEY `team_id` (`team_id`),
@@ -1271,7 +1271,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_season_team_person_id` (
`tt_startpoints` INT( 11 ) NOT NULL DEFAULT '0',
`market_text` VARCHAR(50) NULL ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`person_id`,`season_id`,`team_id`,`persontype`) ,
KEY `team_id` (`team_id`),
@@ -1371,7 +1371,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_team` (
`team_stars` INT(11) NOT NULL DEFAULT '0' ,
`email` VARCHAR(250) NULL ,
`openligaid` int(11) DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `club_id` (`club_id`),
KEY `sports_type_id` (`sports_type_id`)
@@ -1422,7 +1422,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_team_player` (
`away_date_start` DATE NOT NULL DEFAULT '0000-00-00' ,
`away_date_end` DATE NOT NULL DEFAULT '0000-00-00' ,
`market_text` VARCHAR(50) NULL ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `projectteam_id` (`projectteam_id`),
KEY `person_id` (`person_id`),
@@ -1470,7 +1470,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_team_staff` (
`modified_by` INT NULL ,
`image_copy` TINYINT(4) NOT NULL DEFAULT '0' ,
`extendeduser` TEXT NULL ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `projectteam_id` (`projectteam_id`),
KEY `person_id` (`person_id`),
@@ -1701,7 +1701,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_agegroup` (
`country` VARCHAR(3) NULL DEFAULT NULL,
`published` TINYINT(1) NOT NULL DEFAULT '1' ,
`cr_picture` varchar(255) DEFAULT NULL,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `sportstype_id` (`sportstype_id`),
INDEX `fk_sportstype` (`sportstype_id` ASC)
@@ -1889,7 +1889,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_prediction_member` (
`group_id` INT(11) NULL DEFAULT '0' ,
`published` TINYINT(1) NOT NULL DEFAULT '1' ,
`final4_tipp` VARCHAR(64) NOT NULL DEFAULT '' ,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `prediction_id` (`prediction_id`),
KEY `user_id` (`user_id`),
@@ -1941,7 +1941,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_prediction_project` (
`final4` TINYINT(4) NOT NULL DEFAULT '0' ,
`points_tipp_final4` SMALLINT(6) NOT NULL DEFAULT '5' ,
`league_final4` VARCHAR(128) NOT NULL DEFAULT '' ,
-`picture_blob` BLOB NULL DEFAULT NULL,
+`picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`) ,
KEY `prediction_id` (`prediction_id`),
KEY `project_id` (`project_id`),
@@ -2114,7 +2114,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_rquote` (
`modified_by` INT NULL ,
`cr_picture` varchar(255) DEFAULT NULL,
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
@@ -2334,7 +2334,7 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_playground_details` (
`timestamp_von` bigint(20) NOT NULL DEFAULT 0,
`timestamp_bis` bigint(20) NOT NULL DEFAULT 0,
`max_visitors_int` INT(11) NOT NULL DEFAULT 0,
- `picture_blob` BLOB NULL DEFAULT NULL,
+ `picture_blob` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `history` (`playground_id`,`date_von`,`date_bis`,`name_visitors`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/admin/sql/updates/mysql/4.24.00.sql b/admin/sql/updates/mysql/4.24.00.sql
new file mode 100644
index 000000000..42fbc1582
--- /dev/null
+++ b/admin/sql/updates/mysql/4.24.00.sql
@@ -0,0 +1,25 @@
+ALTER TABLE `#__sportsmanagement_associations` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_federations` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_countries` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_division` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_league` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_person` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_playground` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_position` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_project` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_project_referee` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_project_team` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_project_team_division` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_rosterposition` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_round` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_season_team_id` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_season_person_id` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_season_team_person_id` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_team` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_team_player` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_team_staff` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_agegroup` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_prediction_member` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_prediction_project` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_rquote` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
+ALTER TABLE `#__sportsmanagement_playground_details` CHANGE `picture_blob` `picture_blob` MEDIUMBLOB NULL DEFAULT NULL ;
diff --git a/changelog.xml b/changelog.xml
index 0514787c1..4805b1c6b 100644
--- a/changelog.xml
+++ b/changelog.xml
@@ -32,7 +32,7 @@
com_sportsmanagement
component
- 4.23.00
+ 4.24.00
- No security issues.
]]>
diff --git a/list.xml b/list.xml
index bd82e5ea4..d3c3342d4 100644
--- a/list.xml
+++ b/list.xml
@@ -1,3 +1,3 @@
-
+
diff --git a/script.php b/script.php
index 64313a9f4..16283cc52 100644
--- a/script.php
+++ b/script.php
@@ -141,8 +141,8 @@ class com_sportsmanagementInstallerScript
* The release value would ideally be extracted from in the manifest file,
* but at preflight, the manifest file exists only in the uploaded temp folder.
*/
- private $release = '4.23.00';
- private $old_release = '4.22.00';
+ private $release = '4.24.00';
+ private $old_release = '4.23.00';
// $language_update = '';
diff --git a/sportsmanagement-update.xml b/sportsmanagement-update.xml
index 7e1cbbcf6..44015009b 100644
--- a/sportsmanagement-update.xml
+++ b/sportsmanagement-update.xml
@@ -60,4 +60,23 @@
+
+ Sports-Management
+ Sports-Management Component
+ com_sportsmanagement
+ component
+ 4.24.00
+ http://fussballineuropa.de
+
+ https://github.com/diddipoeler/sportsmanagement/archive/master.zip
+
+
+ some-tag
+
+ Sports-Management Inc.
+ http://fussballineuropa.de
+
+
+
+
diff --git a/sportsmanagement.xml b/sportsmanagement.xml
index 45ec3bceb..310554915 100644
--- a/sportsmanagement.xml
+++ b/sportsmanagement.xml
@@ -9,7 +9,7 @@
Copyright Info
GNU General Public License version 2 or later; see LICENSE.txt
- 4.23.00
+ 4.24.00
COM_SPORTSMANAGEMENT_DESCRIPTION
diff --git a/update-server.xml b/update-server.xml
index cb5c50ec3..a9ea138b8 100644
--- a/update-server.xml
+++ b/update-server.xml
@@ -5,10 +5,10 @@
Sports-Management Component
com_sportsmanagement
component
- 4.23.00
+ 4.24.00
http://fussballineuropa.de
- https://github.com/diddipoeler/sportsmanagement/archive/4.23.00.zip
+ https://github.com/diddipoeler/sportsmanagement/archive/4.24.00.zip
some-tag