github XGProyect/XG-Proyect-v3.x.x v3.3.0
XGP v3.3

latest release: v3.4.0
13 months ago

CHANGE LOG

Highlights

  • Use composer to install the project, there's no more custom AutoLoader.-
  • PHP 8.2 support.-
  • PHPMailer and MailHog for better mailing.-

Core

  • XGPCore is no longer parent of BaseController, we will keep things separated.-
  • The template class can be accessed directly by the controller instead of calling the getTemplate accessor.-
  • Is no longer possible to call page as a static property. Use $this->page instead.-
  • UsersLibrary has been renamed to Users.-
  • Users::checkSession is now a static method along with Users::isSessionSet.-
  • Is no longer possible to call the Users library using parent::$users, use $this->userLibrary instead.-
  • Is no longer possible to call the Objects library using parent::$objects or $this->getObjects, use $this->objects instead.-
  • Functions::modelLoader has been renamed to Functions::model.-
  • XGPCore::loadModel has been removed, please use BaseController::loadModel or Functions::modelLoader instead.-
  • Statistics_library has been renamed to StatisticsLibrary.-
  • Moved to Common from BaseController as a pre-validation if the game is closed or not.-
  • Moved to Common from Users as a pre-validation if the user is banned or not.-
  • EFTEC/BladeOne has been implemented so we slowly start migrating from CI Parser to Blade.-
  • config dir was relocated to the root.-
  • database dir was relocated to the root.-
  • new resources dir which contains the relocated folders languages (renamed as lang) and views.-
  • ThirdParty/battle_engine was relocated to libraries/BattleEngine.-
  • system/ci_custom was removed and its contents located under libraries/Ci.-
  • autoloading is now done through composer, you must use composer to install.-
  • ::load used to load libraries has been deprecated, access the library directly instead.-
  • Objects is now a singleton that can be accessed like Objects::getInstance()->.-

Security

No changes

Project

[#432] Added git attributes to force PHP lang (Thanks @duhow).-
[#427][#430] Force to use www-data owner user for the Docker Apache image, and copy only the upload folder (Thanks @duhow).-
[#444][#445] No Images shown in /public/ with docker install (Thanks @duhow).-
[#468] Use single Dockerfile with PHP version as build args (Thanks @duhow).-
[#470] Update Github Actions Workflow (Thanks @duhow).-
[#000] Relocated everything from upload into src, some old txt files were also removed.-
[#000] MailHog has been implemented which can be used to intercept local email traffic for testing.-
[#000] Several files were renamed to use a CamelCase format.-
[#000] Min combat has been removed from the pipeline, but still can be used through composer.-

Improvements

[#000] PHPMailer has been implemented replacing completely CodeIgniter 3 - CI_Email class.-

Features

[#99] Plasma Technology is now counted as a factor for the resource production.-

Fixes

[#405] Fixes the difference in energy balance by level (Thanks @duhow).-
[#428] Database error displayed to user when banned (Thanks @duhow).-
[#441][#446] Decimal numbers on times while building in the overview (Thanks @duhow).-
[#448] Fixed DB query issue when no mission is selected (Thanks @asparatu).-
[#450] Alliance deletion errors while deleting an inactive alliance owner. (Thanks @asparatu).-
[#452] Fixes wrong number type for really high building levels.-
[#453] Fixed issue that caused a unsynchronization between the moon creation and the message after an attack.-
[#455] config.php file was cleaned again from release path, which was causing some issues.-
[#458] Cargo bays are not reset on Transport mission - duplication of resources.-
[#459][#461] Fix bug where destroyed ships and defense isn't reflected in points (applied to attack and destroy missions) (Thanks @Newspaperman57).-
[#460][#463] Fixes bug where first espionage probe returns old data (Thanks @Newspaperman57).-
[#464] Fix typo causing colonization to not check if planet is already occupied (Thanks @Newspaperman57).-
[#466] Fixes an issue located during the debug procedure of an attack or destroy mission.-
[#000] Fixed issue that caused some controllers not being accessible on some systems.-
[#000] Fixed issue that throw errors on the admin login form and game login form when trying to login without some data.-
[#000] Fixed issue where the initial basic production was not considered in the total hour production.-
[#000] Fixed issue where the officer engineer provided a 50% bonus energy instead of 10% which was the default.-
[#000] PHP 8.2 revision support.-

Removed / Deprecated:

  • BaseController::getUserData, removed.-
  • BaseController::getPlanetData, removed.-
  • BaseController::getTemplate, removed.-
  • BaseController::getObjects, removed.-
  • XGPCore has been deprecated.-
  • Xml has been removed.-
  • CI_Email has been deprecated in favour of PHPMailer.-

Thanks to all the people that reported bugs, contributed ideas and suggestions, specially to @BeReal86 and @FGServers who made incredible contributions and they tested everything, as much as possible, so the project can keep growing and improving, without them this wouldn't have been possible.

Don't miss a new XG-Proyect-v3.x.x release

NewReleases is sending notifications on new releases.