mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 20:43:26 +02:00
31 KiB
31 KiB
Changelog
[1.8.2 - 26.09.2025]
Added
- Routes: Possibility to override routes with plugins pages, like characters.php - No need to define routes in plugin.json anymore (
3f24f961b1)
Changed
- Style: Better look for myaac-table (
a6032093b2,5aa9bbf1c8)
Fixed
- Install: Fix when config.local.php cannot be saved (
4eab805d26) - Create Account: Fix an exception when email cannot be sent (
d0112d1a67) - Login Page: Add missing csrf() - fix create account button (
3c0cb53e17) - tibiacom template: Fix account lost menu (
ed9beaf2b6) - tibiacom template: Fix Menu div wrong tag/closing (#329) (
85e7005fd3) - tibiacom template: Replace firstChild with firstElementChild (Thanks to @un000000) (
df7b6e29fb)
[1.8.1 - 05.09.2025]
Added
- New Commands: plugin:enable/disable/uninstall {plugin-name} (
7a08f91d3f,fec773ba4b) - Gifts: Added Transferable Coins to the store dropdown menu in the admin area (by @andreoam, #321) (
42671c5c19)
Changed
- Commands: Allow settings to be changed/reset by plugin name (
f8c4332e03,4b948e9510) - Templates: Menus should be saved for each template separately (
482f4067b2)
Fixed
- Online: Fix skulls display (#320) (
98073a110a) - Online: Fix if there is no world_id in the server_record table (
b6e1620f14) (Reported by @gesior in #318) - tibiacom: some fixes to menus (
20f99903ae,11dae90fa9) - Guilds: Fix for some servers that don't have guild_invites table (
9725a3c2bd)
[1.8 - 02.08.2025]
Added
- Templates - Kathrine: Possibility to add custom menu categories (
ec11c14024) - Admin Panel - Accounts Editor: Add Coins Transferable (
45d6047031,bb097b69ce) - Highscores:
- Revamped: (
d8132d4d76)- Show real rank, if 2 or more players have the same skill, show them with same rank
- New setting: highscores_online_status
- Additional fields passed to twig: updatedAt, totalResults, page, baseLink
- Add new Setting: Display Skills Box (
36ca755243)
- Revamped: (
- Functions: Add getExperienceForLevel (level) (
1566deb84a) - Commands - cache:clear : Add warning about APCu clear in CLI (
83f84172e0) - Models - PlayerOnline: Add missing $fillable into model (
43415cf35d) - Twig: add cache variable (
0efe47ce71)
Changed
- pages/online: add cache, resulting in 20x performance boost
- (for an example server with 2k players) (
c836308601)
- (for an example server with 2k players) (
- Admin Bar: Move admin bar code into body_start place_holder (
f17269e44c) - Cache::remember: $ttl = 0 means no cache (
3b47e9df2f) - Templates: Load config.ini with $process_sections set to true (
a89f9a8484) - Twig: Allow for timestamp as integer in the timeago twig function
(
34fead906e)
Fixed
- Settings: Fixed two exceptions (
6e5a4ff8c7,20d69a641c) - Models\Account + OTS_Account -> isPremium -> ignore config.freePremium (
5271633bdb) - Admin Panel - Mailer:
- Fix send to email link redirecting from accounts page (
080cc2781f) - Option to send only to verified accounts - only if setting('core.account_mail_verify') enabled (
cf7fd20452)
- Fix send to email link redirecting from accounts page (
Internal
- Rewrite to use constants (account transferable coins) (
bccf8e056d) - Refactor to use HAS_ACCOUNT_COINS (
caf326a658)
[1.7.1 - 27.06.2025]
Changed
- Rename plugin:install:install to plugin:setup, also add alias to previous command (
13d33822b5)
Fixed
- Fix commands: setup + cache:clear (
0da524fefe,fe8281594e) - Fix polls link in tibiacom template (
d90fa323d7)
[1.7 - 22.06.2025]
Added
- Feature: plugins versions check (#310)
- New hooks: HOOK_ACCOUNT_MANAGE_AFTER_CHARACTERS, HOOK_GUILDS_AFTER_MANAGE_BUTTON (
c074a48f24,e6100a1b72) - Add OTS_Toolbox::getVocationName(id, promotion) + OTS_Player->isNameLocked() (
e222957893,522f6c11d8) - Add missing csrf in more places, causing white page with error about Request (
dca904e61d,c720ccc451)
Changed
- Revamped online page (
9a90e4aae2,4767120043) - Better $title inventing (
0c95bcfd06)
Fixed
- Use apcu cache clear (
b329da52aa,566c2a9151) - fix: boostedcreatures for 13.40 (by @GooseWithAKnife) (#307)
[1.6.1 - 11.06.2025]
Fixed
- Fixed "Request has been cancelled due to security reasons", cause of missing csrf() in twig files (
10cd71a663) - Fix: Ignore duplicated route exception (
9d8e9d27bd)
Changed
- Move counter & visitors code before router (In case someone wants to include that info on page) (
f782850307) - Set TinyMCE license key to gpl (Avoid warning message in browser console) (
8d29fdb98b)
Removed
- Remove deprecated TinyMCE plugin - template (
309c1fb715)
[1.6 - 03.06.2025]
Added
- Add new setting/configurable: site_url, prevents domain spoofing (
d8a6090be3) - Add new account coins setting (
28886551e8) - autoload: settings/install/init.php (
e574943707,7d213f479a,207d6bc691) - Protect against csrf in more places (accounts & guilds & forums pages) (
6eda38603c,e776bd52be,84d502bf10) - Added two new hooks for pages loaded from database (custom pages): HOOK_BEFORE_PAGE_CUSTOM, HOOK_AFTER_PAGE_CUSTOM (
c961a1ebf8) - Add global variables into $hooks->executeFilter (
8fdea94376) - Add getNPCsCount() to OTS_InfoRespond (
7d435ff643)
Fixed
- Allow [] in character name (
de6603a513) - Do not allow access to tools/ folder after install (
6e0f591383) - Fix CHANGELOG-1.x.md loading in admin panel (
4a30fb495d) - Fix links not working in admin dashboard modules (
be7b27c31a) - Fix twig variables: logged + account_logged being not set directly after login (
1e9b10d648)
Changed
- OTS_ServerInfo -> move setTimeout out of class - Possibility to use the class without MyAAC (
40d65a6613)
[1.5 - 14.05.2025]
Added
- Feature/twig hooks filters (#258)
- Add latest client versions (14.00 - 15.01) (
5367df2381) - db variable to twig (
5ed1aec28e) - New filter: HOOK_FILTER_ROUTES (
9b75011224) - Allow optionally separate folder for views (thanks @Scrollog for idea) (
03e2752139) - Add float & double types to the Settings (
67ab425bb9) - Add optional param _page_only for single-page apps etc. (
113473f256)
Changed
- Change OTS_Account->getPremDays to not return -1 in case of freePremium (
3befde2a1e) - Add note about highscores being updated x minutes + allow ttl 0 to disable cache (
a161cff003) - Better monster images (no image not found anymore) + use cache (
73a5829974) - Rename server-info -> ots-info, changelog -> change-log (Due to conflict with apache2 server-info mod) (
3949d84e5d) - Move rules page to admin panel (
3949d84e5d)
Fixed
- php 8.4 warnings
- Visitors counter not working properly on dev mode (
da15105118) - Fix login.php boosted creature & boss (not sure exact version, but should be 14.12 or around) (
c48b800631) - Fix installMenus when theme/template was removed from disc (
c24c580796) - Fix if user removes the menu category (
dbea69f314)
Updated:
- Update cypress from version ^13.17.0 to ^14.3.3 (
629fd18ea1)
[1.4 - 22.04.2025]
Added
- feat: admin-pages (can add admin pages through plugins) (
ceaa0639e6)- just place the page in admin-pages folder in the plugin
- Also, possibility to overwrite default myaac admin pages
- Add db->hasTableAndColumns(table, columns), credits to @opentibiabr Team (
82a533d88c) - Add noSubmit option to buttons.base (
64f6d3abca)
Fixed
- Fix: display 404 error instead of 500 when page has been removed from filesystem (
c2bf94fb23) - Fix headline.php: change image format to .png cause of black background (
b618084d50) - Clear cache on plugin enable/disable, fixes some issues with plugin pages being cached (
1d0c173e7d) - Do not autoload sub-folders if autoload pages is disabled (
d47195a787)
Changed
- SQL Syntax Standardization (by @JoaozinhoBrasil, #298)
- Pages in theme/template folder will now have precedence over normal pages (
6d8f4718a1) - Small changes in account.login.html.twig (
f40b986b59) - Plugin name is required, version is optional (
e6f05a2731)
[1.3.3 - 04.04.2025]
Fixed
- Fix uninstall plugin when plugin is disabled (
6c568fd36a)
Changed
- Display more useful info when error parsing config.lua (
fa6b6aa153)
Other
- Small adjustments (
35e2483de8,ae639d65b0)
[1.3.2 - 01.04.2025]
Fixed
- Fix debugBar/admin panel menu when using custom base_dir (
65696f63e3)
Changed
- Settings: Show/hide IP Ban Protection options depending on the value (enabled/disabled) (
dbf73d0b61) - Do not require init.php in cache:clear command (
d25c71857f)
[1.3.1 - 19.03.2025]
Fixed
- Fixed migrate:run command (
1a5771ad51)
Changed
- Small adjustments (
6fac883659,4a6896b446)
[1.3 - 10.03.2025]
Changed
- Use latest outfit-images host from @gesior (
529bdcf016) - Change monster link to $_GET ?name= (
4c5cc8b573)
Fixed
- Fixed house links (
887b5068ad) - Fixed long title on headline.php (
3e3f4bb5a5) - Fixed menu colors once again, plus add !important tag (
aa52df6e2e) - Fix: add possibility to remove all menu items in admin panel (
00fe1adc15,9239a4f419)
[1.2 - 09.02.2025]
Added
- Twig session(key) function + reworked session functions to accept multi-array like in Laravel (
b46ddb43d0) - add template_name to twig variables (
ae1161d770) - add HOOK_INIT, executed just after $hooks are loaded (
19686725dc)
Changed
- settings: password input hide/show, enable Save button only if changes has been made, save settings in transaction (
4fda4f643b,28fef952f8,4b6024dc45) - rework menus: Different categories can have different colors + Option to reset menus (
73de93a561,3da3e62c5b)
Fixed
- highscores: Fix online status + vocation for TFS 0.x (
ea51ad27c3) - clear cache button in admin bar needed to be clicked twice until it worked (
ea51ad27c3) - HOOK_STARTUP location (
a73fb1003e) - if vocation name has more words (
9d7fc98e1e)
Updated
- Bump twig/twig from 3.18.0 to 3.19.0 (#284)
[1.1 - 27.01.2025]
Changed
- adjust mailer settings descriptions to latest gmail (
c5d5bb8067) - optimize $player->isOnline() function, thanks @gesior (
10dd818b13) - make players.comment and guilds.description VARCHAR (
a45ceab83a) - add lua/ folder to .gitignore (
07012f786b)
Fixed
- general fixes in the tibiacom template menus, better support for custom menus
- make functions_custom.php optional (
dc2b5afd99) - error in CLI, where BASE_URL is not defined (
4d749b8815) - hook ACCOUNT_LOGIN_BEFORE_ACCOUNT location (
669c447fca)
[1.0.1 - 14.01.2025]
Fixed
- tibiacom account & news menu links not auto expanding
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
[1.0 - 12.01.2025]
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 (
3f6ff3a332) - new hooks for news management (
011a85d8ae,36bd3eb846) - None Vocation to highscores (can be changed to RookStayer in Admin Panel) (
a4a2480995) - support for button_color (green, red, blue) (
d8b6b749ee) - add $whoopsHandler as variable, can be used by plugins (
b0c8cf2ecd) - PlayerModel->outfit_url attribute (
3b5be1a8db) - support for selecting plugin themes in Admin menus.php (
77a2c1cec3)
Changed
- schema: Change character set to utf8mb4 (support for Emojis in Menus/Pages/News/Forum etc.) (
27c44f1bdf) - prefer get_browser_real_ip() over REMOTE_ADDR (
941846605c) - automatically set selected current one on highscores filters (
e96227fbe4) - rewrite towns loading code, removed OTBM loader (was too slow) (
c980a09146) - allow OTS_Player to be passed as object to getPlayerLink (
84d37c5a8f) - do not clear menus by default on install (
12d8faa3ed) - display warning in admin panel - plugins - if zip extension is not installed (
e3ffe5d9e1) - set default_socket_timeout for ipinfo.io checkup to 5 seconds (
783d96fc65) - refactor getTopPlayers function (support for balance) (
c769962e39)
Fixed
- XSS in forum (
c2b7286d20,8fb643596f) - price deducted when changing sex (
16671ea40b) - move_thread by unauthorized user (
d6c40c836a, thanks @anyeor) - TFS 1.4.2 where conditions is NULL (
b8396d4c84) - do not show forum new thread show button if not logged in (
507402171b, @anyeor) - login if limiter is disabled (
a0f1971583) - fixes to installMenus function (
a2fadc5945) - 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 (
5782772b90)
[1.0-RC.2 - 25.10.2024]
Still waiting for your reports about bugs found in this release. We are very close to stable release.
Added
- feat: rate limit settings for blocking accounts login attempts (@gpedro, #266)
- search by email in accounts editor (
c2ec468246) - New hooks in account manage + create (
93641fc68a)
Changed
- chore: drop raw queries + accounts - search by email + accounts - required min size for search by account number (@gpedro, #266)
- Use https for outfit & item images (
71c00aa5e0) - Do not require players & guilds tables on install (
779aa152fa) - Do not create player if there is no players table in db (
201f95caa8)
Fixed
- Highscore frags fixed for TFS 0.3 (@Scrollog, #263)
- Missing groups variable #262. thanks, @Scrollog for reporting (
8d8bdb6dac) - Verified email for login.php (@gpedro, #265)
- Warning if core.account_country is disabled (
ab73d60c61)
[1.0-RC.1 - 23.07.2024]
Changes since 1.0-beta:
Added
- Feat: Hooks priority (
dc17b701da) - Make autoload of pages, commands and themes configurable (
c1d4b4f80c) - Fraggers in characters page for TFS 1.x and canary (
42f99c3edc) - New hooks: HOOK_INSTALL_FINISH, HOOK_ACCOUNT_CREATE_CHARACTER_* (
08ac8ebade,45dda5e834)
Changed
- Allow account_create_character_create even if account_mail_verify is activated (
203e411b62) - Create guild_rank entries, in case MySQL trigger not loaded (
d9c1b2507c,47a19e85dd) - Set Admin Account verified by default (
cd49dfc799) - Refactor account routes into sub folders (
bdc0c43d3f) - Order towns by id (
9ea2a5067f) - Do not create news about myaac, if any news already exist (on installation (
504242fb84)
Fixed
- Not working google recaptcha plugin (
a1bcb217ec) - Not working account create if account_country is disabled (
933b681a9f) - Account verify - do not allow login without verified email (Thanks @anyeor,
fcb13f3c0f) - Detect tools/ext exists on install to prevent broken installs (
10a739773c) - Cache reloading each time page refreshes (
ec96985872) - Highscores frags for TFS 1.x and canary (
a04d186c22) - Monsters page: monster not found exception (
ef79b99b8a) - Fixed bug if <flags> are not present in monster.xml (
57b47ab798) - fastRoute duplicate errors (
4c0739d3e9) - useGuildNick displaying (
0db0ec1aa4)
[1.0-beta - 18.05.2024]
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) (https://github.com/slawkens/myaac/pull/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)
- 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 (https://github.com/slawkens/myaac/pull/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
- hundreds of bug fixes, mostly patched from 0.8, so it makes no sense writing them again here