* 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
* added markdown [enchantment=123] and [emote=456]
* updated item_stats to accomodate enchantments
* updated tables for community content to handle emotes and enchantments
Spells:
* getStatGain() now reads aura 123 as Spell Penetration
* fixed error in tooltips when displaying effect ranges (e.g. 10 - 10 damage)
* display the miscValue of aura 50, 102, 131 and 180 human readable
Emote:
* no longer displays empty quickInfo on detail page
* detail page no longer pretends to be a pet
Setup:
* sync no longer regenerates all tables/files, when the supplied world-table affects nothing
* fixed dependancy of ?_source from ?_achievment (damn plural-s)
Misc:
* FireFox doesn't understand <node>.innerText, use <node>.textContent instead
please refresh the affected tables and files
php aowow --sql=itemenchantment,item_stats
php aowow --build=enchants,gems
* added emotes to DB .. why? just because!
* also added to search
* cross-linked achievements and emotes
* data is generated via: php aowow --sql=emotes
* setup requires GlobalStrings.lua (see README.md)
* expanded tooltips
* moved cap from hardcoded to DB
* can now set description (manually)
Itemset
* expanded tooltips
Lang
* number formating is now locale-aware
* reworked upload process to be more user-friendly
* handle bricks that consist mostly of localized text separately
* added handle to display errors, when adding CommunityContent on the page they originated from