* Better name validation, like in the original game website
* Don't automatically ucfirst and strtolower the cases of the word
* This allows for names like: Lord of Ring, Man of the Earth etc.
* Don't allow special characters like: -, [], '
* Don't allow one letter words
* Require at least one vowel per word
* Add notice about admin logged in
* Add trim, for future
Currently its stripped anyway in the init.php, but AI don't know it :P
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Implement AI recommended changes
* Update tools/validate.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Trim $name
* Update Validator.php
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* [WIP] Rewrite OTS_Player class
* Fix exception on load a non existing player
* Fix for servers that don't have the cap & conditions columns
* Fix created column on player save
* Update OTS_Player.php
* Add Monk Sample + fixes
* Move FAQ creation to import_base_data + cleanup
* Restore vocations.xml loading
For better handling of vocations
Monk is supported now
* New images for vocations (+ added Monk)
* Fix online.html.twig cause of merge
* [WIP] Add access option to Menus
Thanks @joelslamospersson for idea
* Add notice about Guest*
* Add access column into schema.sql
* Remove spectrum.js from project
Was used in Menus, replaced by html "color" input
* Block access to page if not required Access by Menus
Cache entries now store both the value and expiration timestamp in the file, allowing for more reliable expiration checks. Method signatures have been updated with type hints.
* Database import tables on every install with "IF NOT EXISTS"
This fixed errors when one table is missing or is duplicated
* Add success message on import data
* Reorder