diff -Nru wowpreklad-1.0.0/Application/UpdateTrace.php wowpreklad-1.0.0/Application/UpdateTrace.php --- wowpreklad-1.0.0/Application/UpdateTrace.php 2023-01-13 01:16:08.000000000 +0000 +++ wowpreklad-1.0.0/Application/UpdateTrace.php 2023-03-04 04:16:06.000000000 +0000 @@ -2972,6 +2972,11 @@ $Manager->Execute('ALTER TABLE `ExportTask` CHANGE `Progress` `Progress` DOUBLE(5,2) NOT NULL;'); } +function UpdateTo892($Manager) +{ + $Manager->Execute('ALTER TABLE `User` CHANGE `Info` `Info` TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT '';'); +} + class Updates { function Get() @@ -3012,6 +3017,7 @@ 867 => array('Revision' => 872, 'Function' => 'UpdateTo872'), 872 => array('Revision' => 873, 'Function' => 'UpdateTo873'), 873 => array('Revision' => 887, 'Function' => 'UpdateTo887'), + 887 => array('Revision' => 892, 'Function' => 'UpdateTo892'), ); } } diff -Nru wowpreklad-1.0.0/Application/Version.php wowpreklad-1.0.0/Application/Version.php --- wowpreklad-1.0.0/Application/Version.php 2023-01-13 01:16:08.000000000 +0000 +++ wowpreklad-1.0.0/Application/Version.php 2023-03-04 04:16:06.000000000 +0000 @@ -6,6 +6,6 @@ // and system will need database update. $Version = '1.0'; -$Revision = 891; // Subversion revision -$DatabaseRevision = 887; // Database structure revision -$ReleaseDate = strtotime('2023-01-13'); +$Revision = 892; // Subversion revision +$DatabaseRevision = 891; // Database structure revision +$ReleaseDate = strtotime('2023-03-03'); diff -Nru wowpreklad-1.0.0/debian/bzr-builder.manifest wowpreklad-1.0.0/debian/bzr-builder.manifest --- wowpreklad-1.0.0/debian/bzr-builder.manifest 2023-01-13 01:16:14.000000000 +0000 +++ wowpreklad-1.0.0/debian/bzr-builder.manifest 2023-03-04 04:16:15.000000000 +0000 @@ -1,3 +1,3 @@ -# bzr-builder format 0.3 deb-version {debupstream}-0~811 -lp:wowpreklad revid:svn-v4:e0d647b5-504f-4be4-8469-84ac22119850:trunk:891 +# bzr-builder format 0.3 deb-version {debupstream}-0~812 +lp:wowpreklad revid:svn-v4:e0d647b5-504f-4be4-8469-84ac22119850:trunk:892 nest packaging lp:~chronoscz/wowpreklad/debian-packaging debian revid:svn-v4:e0d647b5-504f-4be4-8469-84ac22119850:trunk/Install/deb/debian:885 diff -Nru wowpreklad-1.0.0/debian/changelog wowpreklad-1.0.0/debian/changelog --- wowpreklad-1.0.0/debian/changelog 2023-01-13 01:16:14.000000000 +0000 +++ wowpreklad-1.0.0/debian/changelog 2023-03-04 04:16:15.000000000 +0000 @@ -1,8 +1,8 @@ -wowpreklad (1.0.0-0~811~ubuntu20.04.1) focal; urgency=low +wowpreklad (1.0.0-0~812~ubuntu20.04.1) focal; urgency=low * Auto build. - -- Jiří Hajda Fri, 13 Jan 2023 01:16:14 +0000 + -- Jiří Hajda Sat, 04 Mar 2023 04:16:15 +0000 wowpreklad (1.0.0-0) precise; urgency=low diff -Nru wowpreklad-1.0.0/Modules/User/Options.php wowpreklad-1.0.0/Modules/User/Options.php --- wowpreklad-1.0.0/Modules/User/Options.php 2023-01-13 01:16:08.000000000 +0000 +++ wowpreklad-1.0.0/Modules/User/Options.php 2023-03-04 04:16:06.000000000 +0000 @@ -14,8 +14,8 @@ '.T('I will translate normally to').': '.WriteLanguages($this->System->User->Language).' '.T('After save translation redirect to').': '; $Output .= ''. - ''. - ''; + ''. + ''; $Output .= '
'.T('Translation team').''; $DbResult = $this->Database->query('SELECT `Id`, `Name` FROM `Team`'); $Output .= ''.T('Create team').'
'. - ''.T('Leave team').'
'. - '
'. - ''. - ''. + '
'; + $Output .= CheckBox('Tag'.$UserTag['ID'], $checked, 'CheckBox'); + $Output .= ''.$UserTag['Text'].'
'; + } + $Output .= ''; - $Output .= ' PosledníIP: '.$UserLine['LastIP'].'
'. + $Output .= ' PosledníIP: '.$UserLine['LastIP'].'
'. 'Prohlížeč: '.$UserLine['UserAgent'].'
'. 'Email: '.$UserLine['Email'].'
'; - $Output .= '
'. - 'Napsat E-mail:'. - '
'. - 'Předmět:'. - ''. - '
'. - '
'. - ''. - '
'; + $Output .= '
'. + 'Napsat E-mail:'. + '
'. + 'Předmět:'. + ''. + '
'. + '
'. + ''. + '
'; } } else $Output .= ShowMessage('Uživatel nenalezen', MESSAGE_CRITICAL); return $Output; diff -Nru wowpreklad-1.0.0/Modules/User/User.php wowpreklad-1.0.0/Modules/User/User.php --- wowpreklad-1.0.0/Modules/User/User.php 2023-01-13 01:16:08.000000000 +0000 +++ wowpreklad-1.0.0/Modules/User/User.php 2023-03-04 04:16:06.000000000 +0000 @@ -203,6 +203,7 @@ $this->Role = $User['GM']; $this->Email = $User['Email']; $this->Info = $User['Info']; + if ($this->Info == null) $this->Info = ''; $this->PreferredVersion = $User['PreferredVersion']; $this->PreferredVersionGame = $User['PreferredVersionGame']; } else $this->SetAnonymous();