* allow overwriting generic/fine log output
* fix some errors
* can't catch notices generated by mysqli_connect
* removed some unnessecary ORDER from querys
* use strings from globalstrings.lua to format time in item and spell tooltips
* fixed item filter ItemCooldown
* fixed timeAgo format
* move item duration to correct position in tooltip
* colAddins should be null if not in use
* fix index warnings in search + profiler
* cast url param 'locale' to int for all uses
* fix breadcrumbs for sounds page
* fix determining actionOwner for SmartAI
* move related functions to separate class
* implement out of date comment handling shorthand
* implement admin interface to work with reports
- listing based on user group
- assign to self / unassign from self
- close with reason
- comment functionality
- reward reputation to creator based on resolution
* 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.
* add missing conditionsTypes
todo:
process params in Util::getServerConditions()
add locale strings to js
extend verbose display in global.js ConditionList
* 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
* be a lot more verbose when errors are occuring (to staff anyway)
* made hardcoded error messages for comments localizable
* add error messages from posting comments to session to be displayed on next page update
* 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>
* vastly improved input validation
* content and type validation occurs when filter is created
* contextual filters like itemTypes are now only applied in context
* initial implementation
* this includes a complete reindexing of everything touching icons
* this also means, no linking to red-rocket-site though, they index them differently
Client sounds are cross-referenced with as many other DB-Types as possible. Including, but not limited to:
* Character VOs (Errors, Emotes)
* Creature VOs (Boss Dialogue)
* Zone Music and Ambience
* Sounds triggerd by spells
* Sounds from general item/spell usage, creature behavior
Restrictions:
* only one locale is supported. Choose wisely!
* aproving a screenshot now flags the corresponding db entry as having a screenshot
* deleting & moving screenshots works equivalent
* instancing a new TypeClass without parameters no longer grabs everything from the corresponding tables ( pass a "[true]" to retain this behaviour)
* retroactively flag db entries for having screenshots
* fixed a typo
* allow defining a time span during which the box should be displayed
* added fields optional fields to point to diffenret header and home logos for the duration
* 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
* removed most templates by sensibly restructuring lvTab-data. Util::toJSON() does the rest.
* taught Util::toJSON() to recognize values prefixed with $ as js-code
* use Util::toJSON whenever possible
* misc
- mail attachments are displyed again
- always show all currency rewards on Quest-LVs
- suppress an error, when encountering unused ItemMods