Commit Graph

133 Commits

Author SHA1 Message Date
Sarjuuk
d19a920c09 Filters/Items
* fixed forgotten rename, breaking page with certain tabs
 * fixed typo, breaking stat weights
2017-04-24 17:06:08 +02:00
Sarjuuk
6377a9e659 Misc
* 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
2017-04-23 20:20:44 +02:00
Sarjuuk
959d0ace0b ListPages/Filter
* vastly improved input validation
 * content and type validation occurs when filter is created
 * contextual filters like itemTypes are now only applied in context
2017-04-23 20:20:34 +02:00
Sarjuuk
a695a4188c Util/Game
* cleanup Util 2/2
 * move game related functions and variables to new class: Game
2017-04-19 01:47:03 +02:00
Sarjuuk
6fddbe40a4 Lang/Items
* try to account for non-latin formating
 * use correct words provided by GlobalStrings.lua
2017-04-13 19:19:26 +02:00
Sarjuuk
5a45c6a5e6 Lang/Items
* apply templates from GlobalStrings.lua
 * fix some translation errors in the process .. also, if s.o. knows, what constructs like |3-1(%s) do to the passed string, please tell me.
2017-04-13 02:01:12 +02:00
Sarjuuk
0360f6f600 Misc/Fixups
* fixed file generators involving ?_icons table
 * known spells onspell detail page should have a localized tooltip
 * fixed numer formating in spell tooltips for locales with a ',' as decimal
 * fixed php-tag in contribute template, causing parse error
2017-04-06 23:53:22 +02:00
Sarjuuk
acad94770b Item/Tooltips
* restore icon to tooltips after iconDB-changes tripped over a long forgotten change
2017-04-01 21:28:54 +02:00
Sarjuuk
92394e415a Spells/Effects
* only use MiscValue as spellid for SpellEffect:155
 * interpret and display SpellEffect 293
 * SpellEffects 131 & 132 can both play audio
2017-03-31 01:05:38 +02:00
Sarjuuk
cd9f90cea9 IconDB/Fixups (obligatory)
* table had wrong engine
 * two hunter pets have unique icons only referenced in creaturefamily.dbc
 * fixed links to rel-tabs
2017-03-29 22:16:08 +02:00
Sarjuuk
ee568da6ec IconDB
* 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
2017-03-29 21:48:14 +02:00
Sarjuuk
0fc006d2d4 Contribute
* added option to hide contribute tabs depending on subject (screenshots for sounds .. yeah, right)
2017-03-29 03:24:28 +02:00
Sarjuuk
8b9b653028 Disables
* 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
2017-03-20 18:00:12 +01:00
Sarjuuk
9fabd2c728 Reputation
* apply reputation_reward_rate to rewards on Quest Detail Page
 * apply reputation_reward_rate to NPC Detail Page
2017-03-16 21:32:23 +01:00
Sarjuuk
ddce998cad Spells/Tooltips
* fixed parser for lastValue/gender-switch (previous pattern matched against that too)
 * also its a stupid idea to replace a var with itself
2017-03-13 16:58:26 +01:00
Sarjuuk
849872d181 Misc
* fixed note in quest tab on zone detail page
 * fixed a notice when creating item tooltips while passing an empty randomEnchantment value
 * fixed currencies having no icons on zone detail page
2017-03-09 12:48:53 +01:00
Sarjuuk
20a1829317 implementation of Sound DB
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!
2017-03-06 15:16:34 +01:00
Sarjuuk
8fcd8ea429 Spells/Tooltips
* fixed range display when friend- and foe-distances differ
 * fixed interpretation of $l-switch

Item/DetailPage
 * do note prepare unnessecary data for the currency-for tab (eases load)
2017-02-26 21:42:30 +01:00
Sarjuuk
da59440106 Fixup
* access class property in screenshot/comment-admin by function. Aowow is compatible with PHP 5.5 again
 * changed line-endings across the board from \r\n to \n
2017-02-24 18:45:36 +01:00
Sarjuuk
83cc16107e Whoops
* partially revert 99760d7c72
 * fixed another type on quests list page
 * added default cases for empty data to pets and races list pages
 * improved typelist iterator to be recursively callable
2017-02-23 19:46:15 +01:00
Sarjuuk
99760d7c72 Screenshots
* 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
2017-02-23 16:30:58 +01:00
Sarjuuk
e5a5ad425a Spells/Description
* support parsing another form of formula
 * mod regen auras (mostly food) have an implicit periode of 5sec.
2017-02-16 19:40:12 +01:00
Sarjuuk
b3369d0b3f Items/Currency
* do not display unique-limited amount on item if currency token
 * display as cap on currency page instead
2017-02-13 02:22:22 +01:00
Sarjuuk
294ba109df Item/Tooltip
* fixed quote in faction link
2017-02-13 01:43:59 +01:00
Sarjuuk
a31e018959 Types/Items
* prevent a possible recursion occuring when preparing ItemSources
2017-02-11 19:54:32 +01:00
Sarjuuk
1a46e58477 Items/XML
* added source and cooldown to xml
2016-10-16 16:12:06 +02:00
Sarjuuk
e2ab00b4ba Spells/PageTexts
* fixed numeric & gender switch for russian locale
 * treat $| like a $l-switch (only one case iirc)
 * remived output for unhandled text variables
 * fixed display of pageText for items
2016-10-04 21:55:56 +02:00
Sarjuuk
08717c36d0 Templates/Listviews
* 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
2016-02-11 22:14:42 +01:00
Sarjuuk
5abdbe2080 Misc/Fixes
* fixed stats when comparing items with scaling random enchantments
 * fixed BOM on compare.php
 * fixed multiple typos and notices
2016-01-31 15:46:20 +01:00
Sarjuuk
432223264e Items/Block
* fixed formating of xml-export
 * fixed handling of block value (can have multiple sources per item (itemMods, spell, set individually) and is then displayed separately in tooltip, but summed for calculations)
2016-01-13 21:57:38 +01:00
Sarjuuk
99eb8f426b Misc/Fixes
* fixed typo preventing management of custom weight scales
 * added forgotten GET-Parameter to sanitization, preventing rating of comments
 * avoid hardcoding locales
 * do not show tooltip on BUTTON_WOWHEAD
2016-01-13 20:58:06 +01:00
Sarjuuk
4c4cde1165 Items/GemPerfection
* use skill_perfect_item_template to display Gem Perfection procs
2015-11-18 23:47:53 +01:00
Sarjuuk
99fdad29dd AjaxHandler
* separated into appropriate subclasses
* unified sanitizing of $_GET and $_POST data using build in filter_input()
* index now always tries to resolve page calls with ajaxHandler first and as a page last

minor bug-fixes to bugs that wre not reported yet, because they didn't occur yet
(e.g.: nobody tried to compose a comment with >7500 characters yet)
2015-11-08 23:14:17 +01:00
Sarjuuk
d7c6092d5f Strings/Encoding
* 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
2015-09-19 16:11:10 +02:00
Sarjuuk
00bd33abfb CLISetup/OSCompatibility
- generally check for readline handler
 - only ignore \r for WIN
2015-09-12 22:15:12 +02:00
Sarjuuk
58babe24fe Util/Realms
* check for accessibility
 * use for achievements/realm firsts
2015-08-30 14:04:27 +02:00
Sarjuuk
17fdd13d3d fixed copy/paste error 2015-08-18 17:00:21 +02:00
Sarjuuk
e825ed84e8 Items
* fixed displaying zero value stats as socketbonus
2015-08-18 14:43:07 +02:00
Sarjuuk
a7eabb4b9d Itemsats
* fixed an translation issue on itemMod <=> statId causing wrong search results
 * fixed an sql-error breaking stat-based searches for items
2015-08-17 21:44:39 +02:00
Sarjuuk
8394a3863f Misc
* added column bitIdx to ?_titles
 * actually don't use COLLATE as it ignores indizes. Just search with lowerCase and properCase simultaneously
2015-08-15 00:09:48 +02:00
Sarjuuk
11584a68d6 Profiler preparations
* 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)
2015-08-11 15:03:42 +02:00
Sarjuuk
3c69284e15 Misc
* fixed some recuring errors from db-log (mostly missing checks)
2015-08-08 00:47:52 +02:00
Sarjuuk
00f53fbb09 Spell/Tooltips
* added an exception for a bugged tooltip
 * better handle refs to unknown spells
2015-08-07 19:47:43 +02:00
Sarjuuk
63756b23d9 Spell/Tooltips
* 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
2015-08-06 21:13:11 +02:00
Sarjuuk
320ad252d1 Tooltips/Items
* skipping an error, when handling heirloom-armor with scaled level on external tooltips
   the tooltip will now be displayed but without the armor-class changing at level 40
 * prevent assigning arbitrary randomEnchantments to items (e.g. Warglaive of Azzinoth of the Whale)
2015-08-04 19:09:37 +02:00
Sarjuuk
b1a6911ede Optimization
* minor improvements to the use of Util::checkNumeric
 * gargantuan improvements to ItemList handling random enchantments (sec -> ms)
2015-08-04 11:45:10 +02:00
Sarjuuk
a5f13325c0 Enchantments
* forgot notFound message
 * added Enchantments Tab to Spell Detail Page
2015-08-03 22:31:55 +02:00
Sarjuuk
7f08708555 added enchantments to DB
* 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
2015-08-03 20:05:39 +02:00
Sarjuuk
f6e15c35fc Tooltips
* added word events to tooltips
  * added option to pass achieved criteria to achievement tooltips via rel-parameter
2015-07-25 00:14:59 +02:00
Sarjuuk
3d08de51e1 Items/Heirlooms
* damage range of melee weapons is noe 20% and ranged weapons 30%
  * removed localized number format from item-tooltips. this broke damage recalculation
User/Weightscales
  * fixed managing weightscales by moving ! around
2015-07-21 21:16:36 +02:00