Skip to content

Commit

Permalink
* update to 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Oct 16, 2017
1 parent 5041ed1 commit c914a73
Show file tree
Hide file tree
Showing 73 changed files with 118 additions and 70 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
[0.6.0 - 16.10.2017]
- added faq management - add/edit/move/hide/delete from website
- new account.login view for tibiacom template
- monsters and spells are now being loaded at the installation of the AAC
- fix for php versions under 5.5 where empty() function supported only variables
- added missing change email and change info buttons to account.management default template
- added new indicator icons for create account, create character and change character name
- fixed config loader when some inline comments are present
- fixed editing page in admin panel that contains some html code
- fixed forum new post on mac os and some specific mysql versions
- attempt to fix incorrect views counter behavior (its resetting to 0 in some cases)
- enabled cache http headers for signatures
- check if monster file exist before loading it
- fixed if plugin zip file name contains dot (.)
- renamed screenshots to gallery and movies to videos
- moved install pages to twig
- fixed Account::getGuildAccess function
- removed never used library from sources - dwoo
- moved check_* functions to class Validator
- from now all validators ajax requests will fire onblur instead of onkeyup
- ajax requests returns now json instead of xml
- added 404 response when file is not found

[0.5.1 - 11.10.2017]
- fixed forum add/edit board
- new configurable: highscores_length, how much highscores to display
Expand Down
2 changes: 2 additions & 0 deletions admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
die('Setup detected that <b>install/</b> directory exists. Please visit <a href="' . BASE_URL . 'install">this</a> url to start MyAAC Installation.<br/>Delete <b>install/</b> directory if you already installed MyAAC.<br/>Remember to REFRESH this page when you\'re done!');
}

define('ADMIN_PANEL', true);

$content = '';

// validate page
Expand Down
4 changes: 2 additions & 2 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
session_start();

define('MYAAC', true);
define('MYAAC_VERSION', '0.5.1');
define('MYAAC_VERSION', '0.6.0');
define('DATABASE_VERSION', 11);
define('TABLE_PREFIX', 'myaac_');
define('START_TIME', microtime(true));
Expand Down
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/

Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/

Expand Down
2 changes: 1 addition & 1 deletion system/compat_pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/countries.conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/cache_apc.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/cache_eaccelerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/cache_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/cache_xcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
11 changes: 11 additions & 0 deletions system/libs/creatures.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<?php
/**
* Creatures class
*
* @package MyAAC
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

class Creatures {
public static function loadFromXML($show = false) {
Expand Down
2 changes: 1 addition & 1 deletion system/libs/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/items.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
12 changes: 12 additions & 0 deletions system/libs/spells.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<?php
/**
* Spells class
*
* @package MyAAC
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

class Spells {
public static function loadFromXML($show = false) {
global $config, $db;
Expand Down
2 changes: 1 addition & 1 deletion system/libs/timer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/libs/visitors.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/accountmanagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/notepad.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/phpinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/players.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
2 changes: 1 addition & 1 deletion system/pages/admin/tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.5.1
* @version 0.6.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
Expand Down
Loading

0 comments on commit c914a73

Please sign in to comment.