Skip to content

Commit

Permalink
tabletennis
Browse files Browse the repository at this point in the history
  • Loading branch information
diddipoeler committed Apr 16, 2023
1 parent b40988d commit 65f7a35
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Extensions ?

Änderungen
---------------------
* 16-04-2023: **4.15.00** Neue Felder für Einzelsportart Tischtennis
* 10-04-2023: **4.14.00** Neue Felder für Einzelsportart
* 03-04-2023: **4.13.00** Anpassungen Joomla 4
* 27-03-2023: **4.12.00** Anpassungen Joomla 4
Expand Down
15 changes: 15 additions & 0 deletions admin/sql/install.mysql.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,8 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_season_team_person_id` (
`person_id2` INT( 11 ) NOT NULL DEFAULT '0',
`person_art` TINYINT( 4 ) NOT NULL DEFAULT '1',

`tt_startpoints` INT( 11 ) NOT NULL DEFAULT '0',

PRIMARY KEY (`id`) ,
UNIQUE KEY `combi` (`person_id`,`season_id`,`team_id`,`persontype`) ,
KEY `team_id` (`team_id`),
Expand Down Expand Up @@ -1742,6 +1744,19 @@ CREATE TABLE IF NOT EXISTS `#__sportsmanagement_match_single` (
`ringetotal_teamplayer1_id` int(11) DEFAULT NULL,
`ringetotal_teamplayer2_id` int(11) DEFAULT NULL,

`tt_startpoints_teamplayer1_id` INT( 11 ) NOT NULL DEFAULT '0',
`tt_startpoints_teamplayer2_id` INT( 11 ) NOT NULL DEFAULT '0',

`tt_teamplayer1_id_normal_won` INT( 11 ) NOT NULL DEFAULT '0',
`tt_teamplayer1_id_normal_lost` INT( 11 ) NOT NULL DEFAULT '0',
`tt_teamplayer1_id_anormal_won` INT( 11 ) NOT NULL DEFAULT '0',
`tt_teamplayer1_id_anormal_lost` INT( 11 ) NOT NULL DEFAULT '0',

`tt_teamplayer2_id_normal_won` INT( 11 ) NOT NULL DEFAULT '0',
`tt_teamplayer2_id_normal_lost` INT( 11 ) NOT NULL DEFAULT '0',
`tt_teamplayer2_id_anormal_won` INT( 11 ) NOT NULL DEFAULT '0',
`tt_teamplayer2_id_anormal_lost` INT( 11 ) NOT NULL DEFAULT '0',

PRIMARY KEY (`id`),
KEY `round_id` (`round_id`),
KEY `projectteam1_id` (`projectteam1_id`),
Expand Down
20 changes: 20 additions & 0 deletions admin/sql/updates/mysql/4.15.00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ALTER TABLE `#__sportsmanagement_season_team_person_id` ADD `tt_startpoints` INT( 11 ) NOT NULL DEFAULT '0';


ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_startpoints_teamplayer1_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_startpoints_teamplayer2_id` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer1_id_normal_won` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer1_id_normal_lost` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer1_id_anormal_won` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer1_id_anormal_lost` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer2_id_normal_won` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer2_id_normal_lost` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer2_id_anormal_won` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `#__sportsmanagement_match_single` ADD `tt_teamplayer2_id_anormal_lost` INT( 11 ) NOT NULL DEFAULT '0';





4 changes: 2 additions & 2 deletions 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.11.00</version>
<version>4.15.00</version>
<security>
<item><![CDATA[<p>No security issues.</p>]]></item>
</security>
Expand All @@ -46,7 +46,7 @@
</language>
<addition>
<item>JComments für Joomla 4</item>
<item>Neue Felder für glags_maps</item>
<item>Neue Felder für Tischtennis</item>
</addition>
<change>
<item>No change</item>
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.14.00" detailsurl="https://raw.githubusercontent.com/diddipoeler/sportsmanagement/master/sportsmanagement-update.xml"/>
<extension name="sportsmanagement" element="com_sportsmanagement" type="component" version="4.15.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 @@ -133,8 +133,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.14.00';
private $old_release = '4.13.00';
private $release = '4.15.00';
private $old_release = '4.14.00';

// $language_update = '';

Expand Down
19 changes: 18 additions & 1 deletion sportsmanagement-update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,24 @@
<targetplatform name="joomla" version=".*" />
</update>


<update>
<name>Sports-Management</name>
<description>Sports-Management Component</description>
<element>com_sportsmanagement</element>
<type>component</type>
<version>4.15.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>



Expand Down
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.14.00</version>
<version>4.15.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.14.00</version>
<version>4.15.00</version>
<infourl title="Sports-Management URL">http://fussballineuropa.de</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/diddipoeler/sportsmanagement/archive/4.14.00.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/diddipoeler/sportsmanagement/archive/4.15.00.zip</downloadurl>
</downloads>
<tags>
<tag>some-tag</tag>
Expand Down

0 comments on commit 65f7a35

Please sign in to comment.