* Migrations up down
* Add forum model
* Syntactic sugar for db structure changes
* Refactor migrations with $up & $down
* Fix migrations upgrade and downgrade
+ Add option to disable auto migrate
* Add migrate:to command
Usage: php aac migrate:to x (x - database version)
* Show error when mail is not enabled
* Fixes regarding to init.php
* Add migrate command to manually upgrade db, incase auto migrate is disabled
* Fixed rest of the migrations
* Limit max version of database
* Don't allow minus number
* Option to clear specified plugin settings by name
* Version is required
* Fix PHPStan errors
* Unset $up after migration, to prevent executing same migration twice
* Add database version to output
* This is not needed
* Update 5.php
* Set database_auto_migrate on install
* Set blank & color only if current db version supports it
* Fix duplicate function declaration
* wip
* wip
* wip
* wip
* wip
* fix: reusing pdo connection from pot
* wip
* wip
* wip
* wip
* move files
In future, all classes will be in src/ folder
* Replace namespace name, for future
* Remove duplicated exception
* Fix towns from db
* Fix spells page
* Add default FAQ question + FAQ model
* feat: reset colors in menus
* Add confirm + save button at the top (menus)
* Do not insert duplicated FAQ on install
* Refactor install menus
* Fix changelogs showing
* Fix menu update, only with specified template name
* Fix account create -> missing compat
* Fix bans_per_page
* banned_by is player_id. type = 2 is namelock in tfs 0.3
* Add getPlayerNameById, fix getPlayerNameByAccount
* Change link name
* Order by lastlogin
* fix: query optimize
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Refactor notepad.php, class was useless
* This is showing error, if the updated rows = 0
* Fix success & error class (bootstrap)
* Uncomment require migrate.php
* Some distro have owner_id
* Update Player.php
---------
Co-authored-by: slawkens <slawkens@gmail.com>
* Part 1
Removing closing tags when no HTML or other output comes after the last PHP codeblock.
* Further removals
* nothing
---------
Co-authored-by: slawkens <slawkens@gmail.com>
* changed tableExist and fieldExist to $db->hasTable(table) +
$db->hasColumn(table, column)
* new configurable: database_log - can log database queries and show in
website source when logged as super admin
* removed debug_level configurable, enabled by default when logged on
super admin
* added OTS_Account:getCountry()
* added posibility to load OTS_Player partially, and without skills
* (internal) changed depracated $ots->createObject() functions with
their OTS_ equivalents
* (internal) removed unused code
* you can edit them in Admin Panel under 'Menus' option.
* you can also add custom links, like http://google.pl
* removed videos pages, as it can be easily added using custom Menus and Pages with insert Media
* removed bug_report configurable, its now enabled by default