* automatically set and unset maintenance mode when data is being edited (either sql or files)
* added more verbose help prompts. They should now always appear when -h is used.
* added --setup as more intuitive command for --firstrun. --firstrun is now considered deprecated and will be removed in due time.
* unfuck order of indizes in --siteconfig
* fixed some typos
* convert echo use to CLI::write
* move scattered command line argument checks to CLISetup
* display and link clientside mails to other types and events
* fixed favorites menu for new types
* fixed sorting column triggered spells in enchantment listview
* some misc cleanups
* windows compatibility changes
- prevent crash on very large querys by reducing query size
- set memory limit to something less than 2GB. Old value caused memory_limit to be set to something miniscule. (with the changes to DBC extraction this should now be feasable)
- be a tad more lenient with time when generating enchant-datasets
* updated sql update for changed generator
Setup/Updates
* do not throw an invalid scripts supplied - error if no actual scripts where suppied
(in case of update it is skipped, in every other case it generates everything anyway)
* display db-entries as disabled or unavailable if appropriate
* affects now achievements and quests in addition to spells
* flag items without source as unavailable
* flag quests without starter als unavailable
Privileges
* i guess i forgott to add the template...
...among other things
* fixed complexImage always selecting images for LOCALE_EN if able
* fixed serverside events being displayed in the calendar
* set initial memory limit to 4GB
* set initial db_version to current version (forgotten to do that for a long time :x )
* updated README.md and .gitignore; revision incremented
* moved wt_presets to DB
* scales are now saved sensibly instead of just being dumped as is (also, tables have now constrains)
* added admin=weight-presets to edit presets
* added an internal user on id:0 who 'owns' the wt-presets and the +1 rates on new comments
* consequently added constraints to comment-related tables
Misc:
* Util::toJSON() priorizes its flags over CFG_DEBUG, wich fixes the modelviewer-redButton
* moved terrible javascript-dump from admin-page to template
* get files/tables, which need to be regenerated after! applying sql updates
* small wording change, to make exiting dbConfig feel less like an error occured
- also change function call talents() to talentCalc() for firstrun script
- filter waypoint_data query for creature_addon with path_id 0 (where did this get lost...)
* replaced some more uses of string functions with multibyte equivalents where it might matter
note: i didn't touch the spell-tooltip parser as it seems to work as intended regardless
* Setup
- accessing realm info by way of Util function
- added table ?_talents
* Lists
- added support for querying multiple databases with the same structure at once (read: realms)
- added support for exact string matches and forcing collate of fields to ci
* JS
- renamed occurences of 'subregion' to 'battlegroup' to be in line with other scripts (the usage is the same)
* display empty listview if no data
Setup
* do not pass null instead of expected type array
* added setup step for emotes to --firstrun *d'oh!*
* fixed a wrong constant
* using --update now reads scripts that need to be executed from ?_dbversion
* if the script fails it will be kept in ?_dbversion until it was successfully run via --update
* added variable titles and oneliners to frontpage
* added cascading foreign keys to news_overlay -> news
* renamed news -> featuredbox for consistency
Misc
* aowow_dbversion is now part of the basic sql
* also the db-dump is a fresh one and i'm shocked how often i forgot to apply updated there :<
* from now on shorttags will be used for 'echo' in template (e.g. <?=$var; ?>)
* added msg-level INFO
* changed some WARN-level messages to INFO
Util
* added function to handle directories aowow wants to write to / read from
SiteConfig
* group options to be less cluttered
* allow empty strings (numerical values must still at least be 0)
* renamed account related config values to be make more sense
* make cache path configurable
* make session save path configurable - use this to avoid the garbage collect cron job on Debian or Ubuntu, that cleans sessions and only depends on your php.ini (NOTE: putting this inside a web-enabled directory is a risk!)
* added parameter --firstrun to use for initial setup. Runs almost by itself..
* added 'ping home' for statistical purpose
Spell:
* fixed copy/paste error
- partially revert e2a0558a0a
TC-tables are still used and thus the localization
- an error when parsing enchantments based on nonexistant spells
- accessing an unused variable in item detail page
- setup/dbconfig: expect character-DBs to be unset
- improved handling of POST/GET-variables in AjaxHandler (less prone to errors)
- removed web-setup
- new CLI parameters
--account : create initial account(s)
--siteconfig : edit php/aowow config values
--dbconfig : set up db connection
--sql : create db content from world/dbc-tables
--firstrun : [NYI] step by step initial setup
- some fixes by the wayside
* display required arena bracket for extendedCost
* achievement chains are searchable again
* category trees for factions should now be correct
* trainer tab on spell detail page reapeared
* userMenu item 'Settings' no longer breaks the page
* display abilities of shapeshift in tab on spell detail page
* corrected reading ?_sourcestrings for titles
* fixed error on race detail page
* added simple descriptions to skill detail page
* fixed tab "reward from" (achievement) on title detail page
* fixed alphabetical order of some filter-dropdowns
* fixed skill colors for spells
* fixed power display for rune-based spells, that also cost mana
* added more information to zones
* also check mail_loot_template for achivements
* fixed bug, where loot_template-ids would be reused for multiple templates
* display sourcemore for pvp-sources