Skip to content

Commit

Permalink
neue Version
Browse files Browse the repository at this point in the history
  • Loading branch information
diddipoeler committed Feb 2, 2025
1 parent 88edf23 commit 4ea28ee
Show file tree
Hide file tree
Showing 9 changed files with 83 additions and 14 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Extensions ?

Änderungen
---------------------
* 02-02-2025: **4.23.00** Kleine Korrekturen
* 31-10-2024: **4.22.00** Neue Sportart Golfbillard <a href="http://www.webdesigntest.be/index.php" target="_blank">Golfbiljart Verbond Machelen-Diegem</a>.
* 23-03-2024: **4.21.00** 2 neue Tabellen
* 11-03-2024: **4.20.00** 2 neue Tabellen
Expand Down
34 changes: 30 additions & 4 deletions admin/sql/install.mysql.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ 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,

PRIMARY KEY (`id`),
KEY `country` (`country`),
KEY `parent_id` (`parent_id`),
Expand Down Expand Up @@ -67,6 +69,8 @@ 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,

PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
Expand Down Expand Up @@ -188,6 +192,8 @@ 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,

PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`alpha3`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
Expand Down Expand Up @@ -229,6 +235,8 @@ 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,

PRIMARY KEY (`id`),
KEY `project_id` (`project_id`),
KEY `parent_id` (`parent_id`)
Expand Down Expand Up @@ -318,6 +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,
PRIMARY KEY (`id`) ,
KEY `country` (`country`),
KEY `sports_type_id` (`sports_type_id`)
Expand Down Expand Up @@ -676,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,


PRIMARY KEY (`id`),
Expand Down Expand Up @@ -724,6 +733,8 @@ 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,

PRIMARY KEY (`id`) ,
KEY `club_id` (`club_id`),
KEY `country` (`country`)
Expand All @@ -750,6 +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,
PRIMARY KEY (`id`) ,
KEY `parent_id` (`parent_id`),
KEY `sports_type_id` (`sports_type_id`),
Expand Down Expand Up @@ -886,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,

PRIMARY KEY (`id`) ,
KEY `league_id` (`league_id`),
Expand Down Expand Up @@ -943,6 +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,
PRIMARY KEY (`id`),
KEY `project_id` (`project_id`),
KEY `person_id` (`person_id`),
Expand Down Expand Up @@ -1003,6 +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,
PRIMARY KEY (`id`) ,
KEY `project_id` (`project_id`),
KEY `team_id` (`team_id`),
Expand Down Expand Up @@ -1065,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,
PRIMARY KEY (`id`) ,
KEY `project_id` (`project_id`),
KEY `team_id` (`team_id`),
Expand Down Expand Up @@ -1097,6 +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,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`short_name`),
KEY `country` (`country`)
Expand Down Expand Up @@ -1128,6 +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,
PRIMARY KEY (`id`) ,
KEY `project_id` (`project_id`)
)
Expand Down Expand Up @@ -1177,6 +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,
PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`team_id`,`season_id`) ,
KEY `team_id` (`team_id`),
Expand All @@ -1203,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,
PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`person_id`,`season_id`,`team_id`,`persontype`) ,
KEY `team_id` (`team_id`),
Expand Down Expand Up @@ -1254,6 +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,
PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`person_id`,`season_id`,`team_id`,`persontype`) ,
KEY `team_id` (`team_id`),
Expand Down Expand Up @@ -1353,6 +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,
PRIMARY KEY (`id`) ,
KEY `club_id` (`club_id`),
KEY `sports_type_id` (`sports_type_id`)
Expand Down Expand Up @@ -1403,6 +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,
PRIMARY KEY (`id`),
KEY `projectteam_id` (`projectteam_id`),
KEY `person_id` (`person_id`),
Expand Down Expand Up @@ -1450,6 +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,
PRIMARY KEY (`id`),
KEY `projectteam_id` (`projectteam_id`),
KEY `person_id` (`person_id`),
Expand Down Expand Up @@ -1680,6 +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,
PRIMARY KEY (`id`) ,
KEY `sportstype_id` (`sportstype_id`),
INDEX `fk_sportstype` (`sportstype_id` ASC)
Expand Down Expand Up @@ -1867,6 +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,
PRIMARY KEY (`id`) ,
KEY `prediction_id` (`prediction_id`),
KEY `user_id` (`user_id`),
Expand Down Expand Up @@ -1918,6 +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,
PRIMARY KEY (`id`) ,
KEY `prediction_id` (`prediction_id`),
KEY `project_id` (`project_id`),
Expand Down Expand Up @@ -2090,6 +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,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Expand Down Expand Up @@ -2309,6 +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,
PRIMARY KEY (`id`),
UNIQUE KEY `history` (`playground_id`,`date_von`,`date_bis`,`name_visitors`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Expand Down
25 changes: 25 additions & 0 deletions admin/sql/updates/mysql/4.23.00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
ALTER TABLE `#__sportsmanagement_associations` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_federations` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_countries` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_division` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_league` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_person` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_playground` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_position` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_project` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_project_referee` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_project_team` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_project_team_division` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_rosterposition` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_round` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_season_team_id` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_season_person_id` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_season_team_person_id` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_team` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_team_player` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_team_staff` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_agegroup` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_prediction_member` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_prediction_project` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_rquote` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
ALTER TABLE `#__sportsmanagement_playground_details` ADD `picture_blob` BLOB NULL DEFAULT NULL ;
2 changes: 1 addition & 1 deletion changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<changelog>
<element>com_sportsmanagement</element>
<type>component</type>
<version>4.22.00</version>
<version>4.23.00</version>
<security>
<item><![CDATA[<p>No security issues.</p>]]></item>
</security>
Expand Down
2 changes: 1 addition & 1 deletion list.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<extensionset name="sportsmanagement" description="JSM">
<extension name="sportsmanagement" element="com_sportsmanagement" type="component" version="4.21.00" detailsurl="https://raw.githubusercontent.com/diddipoeler/sportsmanagement/master/sportsmanagement-update.xml"/>
<extension name="sportsmanagement" element="com_sportsmanagement" type="component" version="4.23.00" detailsurl="https://raw.githubusercontent.com/diddipoeler/sportsmanagement/master/sportsmanagement-update.xml"/>
</extensionset>
4 changes: 2 additions & 2 deletions script.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ class com_sportsmanagementInstallerScript
* The release value would ideally be extracted from <version> in the manifest file,
* but at preflight, the manifest file exists only in the uploaded temp folder.
*/
private $release = '4.22.00';
private $old_release = '4.21.00';
private $release = '4.23.00';
private $old_release = '4.22.00';

// $language_update = '';

Expand Down
23 changes: 20 additions & 3 deletions sportsmanagement-update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,25 @@
<maintainerurl>http://fussballineuropa.de</maintainerurl>
<section>some-section</section>
<targetplatform name="joomla" version=".*" />
</update>

</update>

<update>
<name>Sports-Management</name>
<description>Sports-Management Component</description>
<element>com_sportsmanagement</element>
<type>component</type>
<version>4.23.00</version>
<infourl title="Sports-Management URL">http://fussballineuropa.de</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/diddipoeler/sportsmanagement/archive/master.zip</downloadurl>
</downloads>
<tags>
<tag>some-tag</tag>
</tags>
<maintainer>Sports-Management Inc.</maintainer>
<maintainerurl>http://fussballineuropa.de</maintainerurl>
<section>some-section</section>
<targetplatform name="joomla" version=".*" />
</update>


</updates>
2 changes: 1 addition & 1 deletion sportsmanagement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<copyright>Copyright Info</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<!-- The version string is recorded in the components table -->
<version>4.22.00</version>
<version>4.23.00</version>
<!-- The description is optional and defaults to the name -->
<description>COM_SPORTSMANAGEMENT_DESCRIPTION</description>

Expand Down
4 changes: 2 additions & 2 deletions update-server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<description>Sports-Management Component</description>
<element>com_sportsmanagement</element>
<type>component</type>
<version>4.22.00</version>
<version>4.23.00</version>
<infourl title="Sports-Management URL">http://fussballineuropa.de</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/diddipoeler/sportsmanagement/archive/4.22.00.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/diddipoeler/sportsmanagement/archive/4.23.00.zip</downloadurl>
</downloads>
<tags>
<tag>some-tag</tag>
Expand Down

0 comments on commit 4ea28ee

Please sign in to comment.