Releases: slawkens/myaac
Releases · slawkens/myaac
MyAAC v1.1
MyAAC v0.8.22
Generally I suggest switch to v1.0, but if someone still uses 0.8, here's an update.
I will continue to post only important fixes to 0.8.
New features will be added only in 1.0+.
Changed
- Better exception handler, which clears the whole html output, so the message is better visible + better style (c304a9a + 7abc3c7)
- Optimize $player->isOnline() function, thanks @gesior (7c3ebf7)
- All $cache->set calls should have $ttl (37ba9c7)
Fixed
- exception in lostaccount.php - $account->getName() (d390ea3)
MyAAC v1.0.1
Fixed
- tibiacom account & news menu links not auto selecting
Updated (Thanks dependabot)
- twig from ^2.0 to ^3.11
- tinymce from ^6.8.3 to ^7.2.0
- cypress from ^12.12.0 to ^13.17.0
- nesbot/carbon from 2.72.5 to 2.72.6
MyAAC v1.0
First stable release in the v1.0 series.
Minimum PHP 8.1 is required.
Changes since RC.2:
Added
- feature: migrations up/down. Allows to downgrade/upgrade database to specified version (3f6ff3a)
- new hooks for news management (011a85d, 36bd3eb)
- None Vocation to highscores (can be changed to RookStayer in Admin Panel) (a4a2480)
- support for button_color (green, red, blue) (d8b6b74)
- add $whoopsHandler as variable, can be used by plugins (b0c8cf2)
- PlayerModel->outfit_url attribute (3b5be1a)
- support for selecting plugin themes in Admin menus.php (77a2c1c)
Changed
- schema: Change character set to utf8mb4 (support for Emojis in Menus/Pages/News/Forum etc.) (27c44f1)
- prefer get_browser_real_ip() over REMOTE_ADDR (9418466)
- automatically set selected current one on highscores filters (e96227f)
- rewrite towns loading code, removed OTBM loader (was too slow) (c980a09)
- allow OTS_Player to be passed as object to getPlayerLink (84d37c5)
- do not clear menus by default on install (12d8faa)
- display warning in admin panel - plugins - if zip extension is not installed (e3ffe5d)
- set default_socket_timeout for ipinfo.io checkup to 5 seconds (783d96f)
- refactor getTopPlayers function (support for balance) (c769962)
Fixed
- XSS in forum (c2b7286, 8fb6435)
- price deducted when changing sex (16671ea)
- move_thread by unauthorized user (d6c40c8, thanks @anyeor)
- TFS 1.4.2 where conditions is NULL (b8396d4)
- do not show forum new thread show button if not logged in (5074021, @anyeor)
- login if limiter is disabled (a0f1971)
- fixes to installMenus function (a2fadc5)
- many PHP exceptions in different places
- fixes to tibiacom menus ActiveSubmenuItem
Removed
- bugtracker SQL table code as the page has been removed/moved to plugins (5782772)
MyAAC v0.8.21
MyAAC v0.8.20
Small fix regarding the latest release and the linux system.
Download this one, instead of the 0.8.19 if you are using linux.
If you are using 0.8.19, make this update:
The fix is to make this change in the system/libs/hooks.php
Change
require_once LIBS . 'src/plugins.php';
Into:
require_once LIBS . 'src/Plugins.php';
Yeah, we just changed 'p' to 'P' - that's just case-sensitive nature of linux.
MyAAC v0.8.19
Another half year, another release.
Added
- syntactic sugar for db structure changes (e0036a3)
- add "None" vocation to highscores (7f47376)
- new hooks in account manage + create (d401781)
- new functions: getGuildNameById($id) + getGuildLogoById($id) + Plugins::installMenus($templateName, $menus, $clearOld = false) (de1bb37 + d1c5a18 + 5a953ce)
Changed
- set default encryption to sha1 (55b8645)
- prefer get_browser_real_ip() over REMOTE_ADDR (cause of Cloudflare and similar services) (b5bbae6)
- allow account_create_character_create even if account_mail_verify is activated (1edf883)
- better https detection (patched from develop) (d73aceb)
- require login before create new thread (#261, @anyeor)
- better tables.headline.html.twig (patched from 1.0) (71ef30d)
Fixed
- bans page fixed functions getPlayerNameByAccount + getPlayerNameById (d39386c)
- account verify - do not allow login without verified email (1edf883, Thanks @anyeor)
- if <flags> is not present in monster.xml (81b6652)
- $db->update when there is null value (1458b7a)
- error on $db __destruct saving current script name in CLI (01660bd)
MyAAC v1.0-RC
v1.0 Release Candidate
Changes since 1.0-beta:
Added
- Feat: Hooks priority (dc17b70)
- Make autoload of pages, commands and themes configurable (c1d4b4f)
- Fraggers in characters page for TFS 1.x and canary (42f99c3)
- New hooks: HOOK_INSTALL_FINISH, HOOK_ACCOUNT_CREATE_CHARACTER_* (08ac8eb, 45dda5e)
Changed
- Allow account_create_character_create even if account_mail_verify is activated (203e411)
- Create guild_rank entries, in case MySQL trigger not loaded (d9c1b25, 47a19e8)
- Set Admin Account verified by default (cd49dfc)
- Refactor account routes into sub folders (bdc0c43)
- Order towns by id (9ea2a50)
- Do not create news about myaac, if any news already exist (on installation (504242f)
Fixed
- Not working google recaptcha plugin (a1bcb21)
- Not working account create if account_country is disabled (933b681)
- Account verify - do not allow login without verified email (Thanks @anyeor, fcb13f3)
- Detect tools/ext exists on install to prevent broken installs (10a7397)
- Cache reloading each time page refreshes (ec96985)
- Highscores frags for TFS 1.x and canary (a04d186)
- Monsters page: monster not found exception (ef79b99)
- Fixed bug if <flags> are not present in monster.xml (57b47ab)
- fastRoute duplicate errors (4c0739d)
- useGuildNick displaying (0db0ec1)
MyAAC v0.8.18
Added
- hook in guilds page to support guild wars (f875f3c)
MyAAC v1.0-beta
Minimum PHP version for this release is 8.1.
Added
- reworked Admin Panel (@Leesneaks, @gpedro, @slawkens)
- updated to Bootstrap v4
- new Menu
- new Dashboard: statistics, server status
- new Admin Bar showed on top when admin logged in
- new page: Server Data, to reload server data
- Towns, NPCs & Items are stored in permanent cache
- new pages: mass account & teleport tools
- changelogs editor
- revised Accounts & Players editors
- option to add/modify admin menus with plugins
- option to enable/disable plugins
- better, updated TinyMCE editor (v6.x)
- with option to upload images
- list of open source libraries used in project page
- auto-loading of themes, commands & pages from plugins/ folder. You need just to place them in correct folder and they will be loaded automatically - this allows better customization, without interfering with core AAC folders. This will allow in the future automatic updates for plugins as well the AAC as whole.
- config.php moved to Admin Panel -> Settings page
- new console script: aac - using symfony/console
- usage:
php aac
(will list all commands by default) - example:
php aac cache:clear
- example:
php aac plugin:install theme-example.zip
- usage:
- replace POT Query Builder to Eloquent ORM. Not 100% yet - in some places there is still old $db approach used (@gpedro) (#230)
- brand new charming installation page (by @fernandomatos)
- using Bootstrap
- new pages router: nikic/fast-route, allowing for better customisation
- Plugin cronjobs: central control of the cronjobs
- Guild Wars support (available as plugin)
- support for login and create account only by email (configurable)
- with no need for account name
- Google ReCAPTCHA v3 support (available as plugin)
- automatically load towns names from .OTBM file
- support for Account Number
- suggest account number option
- many new functions, hooks and configurables
- better Exception Handler (Whoops - https://github.com/filp/whoops)
- automated website tests (using Cypress)
- csrf protection (#235)
- option to restrict Page view to specified group of users (Not-Logged in, logged-in players, tutors, gamemasters etc.)
- phpdebug bar (http://phpdebugbar.com/). Activated if env == 'dev', can be also activated in production by enabling "enable_debugbar" in local config
Changed
- Composer and NPM is now used for external libraries like: Twig, PHPMailer, fast-route, jQuery, Bootstrap etc.
- mail support is disabled on fresh install, can be manually enabled by user
- disable add php pages in admin panel for security. Option to disable plugins upload
- visitors counter shows now user browser, and also if its bot
- changes in required and optional PHP extensions
- reworked Pages:
- Bans
- works now for TFS 1.x
- Highscores
- frags works for TFS 1.x
- cached
- Monsters
- Bans
- moved pages to Twig:
- experience stages
- update player_deaths entries on name change
- change_password email to be more informal
Fixed
- hundrets of bug fixes, mostly patched from 0.8, so it makes no sense writing them again here