* fix fetching areatriggers from DB and calculating found matches
* fix Lang concatenating an array of strings with len < 2
* don't show debug-id col in picker windows (Summary/Profiler) and sort them by score if able
* unlink quick facts from articles and store per-row
* new system allows generic and manual QuickFacts to coexist
* fill new table with data for zones
* if someone used static quickFacts .. uh .. good luck?
* detatch from User and Util and move to its own enum class
* added definitions for all locales the 12340 client could in theory have
* this is incompatble with the Intl extension
* version bump and php requirement bump
* prevent direct access to some internal files where applicable and reword error for others
* if CFG_DEBUG is set also enable debug in client javascript
* non-breaking formatting changes
* define regions and missing locales for later use
* convert configuration from list of constants to object
* fixes config changes not applying on cli whithout closing and reopening again
* config variables are no longer embedded in localization text
* use built in function to determine if CLI can use escape codes
* define _post, _get and _cookie in all cases
* do not apply 8 regexes to a string that doesn't even contain a UI Sequence
* so, apparently the client allows ui escape sequences in the weirdest of places. Guess i have to follow suit.
* also, the sequences can be multiline
* also also, the file extension for icons is optional
* get sounds from ScreenEffect.dbc and link to type Spell and type Sound
* resolve ScreenEffect name in SpellDetailPage
Fixup
* fix warning in UI escape sequence parsing
* rewrote SetupSrcipt
* implemented 'zone' parameter
* implemented 'bossdrop' parameter
* implemented 'dungeondifficulty' parameter
* implemented item filter relying on zone information (dropsInX)
* fixed world random drops showing a single loot source
* extended Source column of spells to the same functionality as items
ToDo:
* apply new 'commondrop' parameter on loot listviews
* gather difficuly versions of gameobjects and apply the same logic as for creatures
* implement fake spawns so npcs can get linked to a zone
* fixed break and trim functions not handling text shorter than break length
* add option to output raw text besides html, markup format
* decalare return types and parameter types
* cleanup
* 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
* 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.
* display skill learning breakpoints for gathering skills
* fixed mixed up mining-skinning and savanging-skinning filters for NPCs
* defined some magic skill numbers
* fixed set bonus calculation when using multiple sets in one summary
Localization
* create more concise error messages when accessing nonexistant locale strings
* moving commonly used strings to defines
* moving commonly reused/similar page generation functions to the parent
* generally using consistent return types, more type hints and less strings
* prevent browser context menu when right clicking on UI elements with their own context menus
* fixed menu path for icons
* 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
* squash multiple notices from error log
* fixed copy&paste error preventing view on custom profiles
* fixed display of spell requirements if mount was required after changs to mount sorting
* properly get/send error code in profile synchronisation
* use clear:left after floating mail block in template
* 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>
* added option to 'verbose' concatenate a list of items to class Lang
* added option to strip tags from a string to class Markdown
* fixed several instances of wrong categories on pages
* actually display world state conditions for zone music
* some typos all over the place
* 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
* distinguish between articles for dbpage and other articles
* can be served by url instead of arbitrary picked type/typeId-pair
* save access to article in db (not used yet)
* serve correct g_pageInfo if on article-page
SiteReputation/Privileges
* implemented info pages
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!
* 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
* only trim floats, when in topLevel while parsing tooltips
* there is still an issue, where html-code gets returned from lower levels, screwing the eval()
should probably not bulk-handle all spellVars/formulas/variables on top level, but one after another