*
* This file is part of Easy-WI.
*
* Easy-WI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Easy-WI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Easy-WI. If not, see .
*
* Diese Datei ist Teil von Easy-WI.
*
* Easy-WI ist Freie Software: Sie koennen es unter den Bedingungen
* der GNU General Public License, wie von der Free Software Foundation,
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder spaeteren
* veroeffentlichten Version, weiterverbreiten und/oder modifizieren.
*
* Easy-WI wird in der Hoffnung, dass es nuetzlich sein wird, aber
* OHNE JEDE GEWAEHELEISTUNG, bereitgestellt; sogar ohne die implizite
* Gewaehrleistung der MARKTFAEHIGKEIT oder EIGNUNG FUER EINEN BESTIMMTEN ZWECK.
* Siehe die GNU General Public License fuer weitere Details.
*
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
* Programm erhalten haben. Wenn nicht, siehe .
*/
if (isset($include) and $include == true) {
if (!function_exists('workAroundForValveChaos')) {
include(EASYWIDIR . '/stuff/methods/functions.php');
}
$response->add('Action: Update to new skin color template system');
$serverIDMissing = true;
$query = $sql->prepare("SHOW COLUMNS FROM `servertypes` WHERE `Field`='serverID'");
$query->execute();
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$serverIDMissing = false;
}
if ($serverIDMissing) {
$query = $sql->prepare("ALTER TABLE `servertypes` ADD `serverID` INT(10) UNSIGNED");
$query->execute();
$query->closecursor();
}
$query2 = $sql->prepare("UPDATE `servertypes` SET `appID`=?,`serverID`=`appID` WHERE `id`=? LIMIT 1");
$query = $sql->prepare("SELECT `id`,`appID`,`shorten` FROM `servertypes` WHERE `appID` IS NOT NULL AND `serverID` IS NULL");
$query->execute();
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$query2->execute(array(workAroundForValveChaos($row['appID'], $row['shorten'], true), $row['id']));
}
$query = $sql->prepare("INSERT INTO `easywi_version` (`version`,`de`,`en`) VALUES
('6.0.0','
14.05.2017
Hinweis:
Nach dem Update auf jedem Root Server mit Game Servern das Migration Skriot ausführen:
https://github.com/easy-wi/server/blob/master/migrate.sh
Änderungen:
- General:
- Hybrid Auth auf 2.9.5 aktualsiert
- Support von Ubuntu 16.04
- Russische Sprache hinzugefügt
- Globale Suche entfernt
- Admins werden bei veralteter Easy-Wi Installation informiert
- Länge der Namen von Public Keyfiles global auf 255 erhöht
- Versionierung über GitHub an Stelle von easy-wi.com
- CMS:
- Download Modul kann externe Downloads verwalten
- HTTP Only wird bei https gesetzt
- Gameserver:
- ip_port Unterordner entfernt
- Workaround -nobreakpad bei CS:GO Template
- GameQ auf die neueste Version aktualsiert
- Server wird vor Reinstall gestoppt
- Project Cars Template angepasst
- Sonderzeichen @ kann bei Addon Ordnern angeben werden
- Backup Erstellen wird ignoriert, wenn bereits eines läuft
- Server wird gestoppt, bevor der Umzug gestartet wird
- Beschreibung des Servers kann verwaltet werden
- Fast Download Anweisungen für UnrealEngine hinzugefügt
- Steam Server und Game ID nun beide konfiguriertbar
- Voice Server:
- Token können beim Anlegen übergeben werden
- Inifile wird beim Restart angegeben
- Beschreibung des Servers kann verwaltet werden
- Web:
- PHP-FPM Support hinzugefügt
- Default Redirects in den standard Templates
- MySQL:
- MySQL Server 5.7 Unterstützung hinzugefügt
- MySQL Master Beschreibung kann verwaltet werden
- Installer:
- Developer und Stable Release Train auswählbar
Bugfixes:
- General:
- Glyphicons definiert, aber nicht verfügbar
- Updater von 5.22 auf 5.30 fehlerhaft bei mehrfachem Aufruf
- Variable feedArray in der Admin Home Ansicht undefined in manchen Fällen
- Custom Modules werden in der User Ansicht nicht korrekt ins Menü eingebunden
- Zu Kurzes Passwort des API Users kann API unbrauchbar machen
- Vertreter wird nicht korrekt gegrüßt
- Admin kann auf User zugreifen, für die er keine Berechtigung hat
- SQL Fehler beim Update von mit md5 Hash importierter User
- Redirect nach Logout auf System ohne Domain funktioniert nicht
- CMS:
- Summernote Editor funktioniert nicht bei Seiten und News
- News bearbeiten und Keyword entfernen zur gleichen Zeit geht nicht
- User Aktivation Link
- Leih Server funktionieren nicht bei deaktierten SEO URLs
- Game Server:
- FTP Connect beim Serverlog fehlerhaft dargestellt
- Sperren von CVARs in mehreren Datein funktioniert nicht
- Lange INI Dateien werden abgeschnitten
- API FTP Passwort Änderung wird nicht auf den Root übertragen
- Italienische Übersetzung bei Monsta FTP
- Typo bei Game Server Update Mail
- Typo bei Master Server Menu Eintrag
- Shorten mit Nummer am Anfang crashen API
- Upload von leeren Dateien via MonstaFTP nicht möglich
- Kopie der Configs beim Protection Mode funktioniert nicht
- Voice:
- Erstellen via API schlägt fehl
- SSH Keys beim Master funktionieren nicht
- SSH Keys mit Passwort beim TSDNS Master funktionieren nicht
- Reset von notified beim Statuscheck schlägt fehl
- API TSDNS Löschen funktioniert nicht
- Masterid beim Reimport nicht gesetzt
- Typo bei Voice Master veraltet Mail
- Suhosin check beim Import auf Systemen ohne, löst Fehler aus
- Fehlerhafte Fehlermeldungen beim Connection Check
- Versions Lookup bei nicht existierendem Mirror entfernt
- Web:
- SSH Keys beim Master funktionieren nicht
- Angabe von URLs im Vhost Template nicht möglich
- User:
- API User Liste funktioniert im Debug Mode nicht
- Installer:
- Single Quotes bei Einträgen für die config.php lösen Syntax Fehler aus
- User Passwort Validation nicht vorhanden
- Valides Passwortformat wird abgelehnt
- Undefined Variable ui
','05.14.2017
Advice:
The migration script has to be executed on each root server with game servers after the update:
https://github.com/easy-wi/server/blob/master/migrate.sh
Changes:
- General:
- Hybrid Auth updated to 2.9.5
- Ubuntu 16.04 support
- added russian language
- Globale search removed
- Admins will be notified in case Easy-Wi installation becomes outdated
- Length for names for public keyfiles globally increased to 255
- Versioning via GitHub instead of easy-wi.com
- CMS:
- Download modul can maintain external downloads
- HTTP Only is set in case of https
- Game Server:
- ip_port sub folder removed
- Workaround -nobreakpad added at CS:GO template
- GameQ updated to latest dev version
- Server is stopped before reinstall
- Project Cars template updated
- Special character @ can be used for addon folders
- Backup create command will be ignored in case one is running
- Server is stopped before migration is done
- Server description can be maintained
- Fast download instructions added for UnrealEngine
- Steam Server and Game ID can be maintained in parallel
- Voice Server:
- Token can be used while adding via API
- Inifile is specified on restart
- Server description can be maintained
- Web:
- Added PHP-FPM support
- Default redirects added to standard templates
- MySQL Server:
- Added MySQL 5.7 support
- MySQL master description can be maintained
- Installer:
- Developer and stable release train configurable
Bugfixes:
- General:
- Glyphicons used, but not available
- Updater from 5.22 to 5.30 error prone if executed multiple times
- Variable feedArray undefined in some cases at admin home
- Custom modules not properly listed at user menu
- To short password leads to failing API
- Substitute is not greeted properly
- Admin can access users without having the proper permission
- SQL error in case imported users are updated and have been imported with md5 password
- Redirect after logout on systems without domain not working
- CMS:
- Summernote editor broken at sites and news
- News edit and removal of keywords not possible in parallel
- User activation link
- Lend servers do not work in case SEO URLs are deactivated
- Game Server:
- FTP connect at serverlog incorrectly displayed
- Securing CVARs in multiple files at once not working
- Long INI files are cut off
- API FTP password change not reflected to root
- Italian translation at Monsta FTP
- Typo at game server update mail
- Typo at master server menu entry
- Shorten with a leading number will crash the API
- Upload of empty files at MonstaFTP not possible
- Copy of configs at protection mode not working
- Voice:
- Creation via API fails
- SSH Keys at for master do not work
- SSH Keys with password fail for TSDNS master
- Reset of notified at statuscheck failing
- API TSDNS delete does not work
- Masterid at reimport not set
- Typo at voice master outdated mail
- Suhosin check during import will break importer on systems without Suhosin
- Incorrect error message at connection check
- Versions lookup at removed mirror removed
- Web:
- SSH Keys at for master do not work
- Usage of fixed urls at vhost template not possible
- User:
- API user list not working with active debig mode
- Installer:
- Single quote at values for config.php result in syntax error
- User passwort validation missing
- Valid password format might be rejected
- Undefined variable ui
')");
$query->execute();
$response->add('Action: insert_easywi_version done: ');
$query->closecursor();
} else {
echo "Error: this file needs to be included by the updater!
";
}