* improve db error handling
* web view should always result in an user friendly error if the db connection is missing or erronous
* cli use should never fatal if the db connection is erronous. How are you going to fix it, d'uh.
* if some CLISetup script requires a db connection check it individually
* define and use some more magic numbers
* move id-based custom data from spell SetupScript to aowow_setup_custom_data table
* hide on unused glyph while at it
* allow overwriting generic/fine log output
* fix some errors
* can't catch notices generated by mysqli_connect
* removed some unnessecary ORDER from querys
* fix text vars in tooltips for missing entities
* fix notice in weapon GS calculation
* reduce tooltip max width slightly to prevent overlap with secondary tooltip
* a guide is a wrapper around an article providing management tools.
* administration is limited to the review process. Needs to be expanded.
* articles on DB pages are seperate. Editor will be added in the future.
* 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
* fixed set bonus calculation when using multiple sets in one summary
Localization
* create more concise error messages when accessing nonexistant locale strings
* 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
* added support for locale 4
* some strings are missing and will need to be translated at a later date
* thx @qyh214 for a lot of content
Co-authored-by: qyh214 <sandy0214qin@msn.com>
* reworked default exclusions (hid some things entirely, flagged others for appropriate cases)
* char names consisting of two letters are now valid
* fixed matching enchantments onto ranged weapons
* hide a lot of internal spells from searches
* apply a faction to mount listing, so the Profiler can hide mounts from the opposite faction
* apply GS to profession enchantments
* fixed error, causing everything to be displayed as not dound if anything was missing
* added readable output to source finding stage
* should now be obvious if something is missing
* 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
* vastly improved memory usage when handling DBCs
* DBCs are no longer read entirely into memory, instead appropriate file handles are used.
* read data is written to DB in reasonable intervals instead of all at once
* DBC-class can no longer read from DB, but that wasn't used anyway
CLISetup
* can now interpret the HOME-shorthand (~) in paths