mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-25 16:59:21 +02:00
18 KiB
18 KiB
Changelog
[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