Commit Graph

112 Commits

Author SHA1 Message Date
Sarjuuk
91ecc21e8c - implemented factions basics (search, listview and details)
- added forgotten shared brick for tooltips
2014-01-25 18:14:12 +01:00
Sarjuuk
c7c6028adf - allow for search by Id if json-searching
- changed, how achievement chains are saved (more obvious and probably faster)
- misc preparations for setup overhaul
2014-01-05 16:34:46 +01:00
Sarjuuk
edaaba6139 internalErrors renamed; can now also be set to apply to certain userGroups 2013-12-15 23:49:07 +01:00
Sarjuuk
60533ff27a - source:discovery in infobox for spells
- implemented search for crafted items (requires sql)
2013-12-15 22:19:41 +01:00
Sarjuuk
e7429d53d7 expanded reagents for spells 2013-12-15 21:09:22 +01:00
Sarjuuk
954352e17a - moved redButtons to separate brick-file (no more "here its translated, and not there" or mixed up button order and better management on top)
- implemented subTabs for spells (used on class-page)
- load sqlLimits from config into constants
2013-12-13 16:33:36 +01:00
Sarjuuk
07ee8213da - implemented use of itemExtendedCost and fueled some more item-tabs with it
- tinkering with learned spells and added teach-tabs to item.php
- required arenaRating in item tooltips
- updated js-functions handling currencies
- updated Markup with correct links
- i probably forgot to add sql
2013-12-08 17:57:02 +01:00
Sarjuuk
6c7006eeb2 * questrelated tabs for items
* display required quest for loot with questchance
* implemented genericmodel-Tab for item- and object-models
* tabs2spaces in gloabl.js (why were they still there in the first place?)
2013-12-03 21:56:17 +01:00
Sarjuuk
69cd14b753 - fixed variable names and ; in config.php.in
- moved effect- and aura-ids used to determine the type of a spell to static prop in spell.class.php
- directly get achievements by criteria (automatic join) in spell.php
- reverted back points needed for 1% arPen to 335 values (whyever i changed them in the first place)
2013-12-02 14:40:25 +01:00
Sarjuuk
2830fe97fc error-announces
rough draft for gameobjects (searchable, tooltips)
more tabs for item.php
2013-11-29 10:52:19 +01:00
Sarjuuk
5e785d6c78 omgishouldntbedoingthis 2013-11-24 23:15:15 +01:00
Sarjuuk
2d736fc785 item another one >.< 2013-10-09 21:30:28 +02:00
Sarjuuk
360f2e6878 - work agains items + some random fixes .. use own item-table
- do not display serverside events in calendar
- include gems in item comparison .. also parse their stats in setup
- filters use conditions and are more restrictive
- changed DBSimple version so it uses mysqli (mysql is deprecated as of php 5.5)
- moved each filter class to matching type; file for baseType and BaseFilter
- baseType querys are somewhat modular, trying to avoid ridiculous joins that WILL occur sometimes (especially with items) as far as possible
2013-09-22 18:20:47 +02:00
Sarjuuk
f422411cb6 - CharRaces:
* implemented detail-page
   * since factions are NYI the infobox will display an empty link
   * added articles for every race

- CharClasses:
   * added forgotten expansion-icon to detail-page

- Search
   * added no result gnome

- moved some locale-strings around, killed one duplicate
2013-09-01 21:19:49 +02:00
Sarjuuk
684b2f2778 - Tooltip class from global.js to basic.js (added nessecary prefix)
- miscTools:
    * implemented random DB-Page
    * others are placeholder (at least no errors are generated)
- Articles / Infobox:
    * dropped aowow_article_items, parse nessecary globals directly from article or infobox
    * articles default back to english if no target articles is absent
    * quickinfo from db is only used if no auto-generated info is available
- CharClass:
    * implemented detail-page
    * added basic articles per class (english only)
- generic lv-page
    * now accepts multiple listviews (as required by miscTools)
    * can display text and title
- Markup.js:
    * exchanged to current version (yet to be looked over, but basic articles are displayed properly for now)
    * removed some hacks that were nessecary for the old Markup / Menu
- Listview
    * made some more code readeable, no major changes
    * calendar-template is now functional (WorldEvents use it)

...squashing bugs left and right
2013-09-01 15:37:40 +02:00
Sarjuuk
97f67c32cd Skills:
- implemented detail-page
 - implemented search
2013-08-25 11:08:33 +02:00
Sarjuuk
ad31501bd7 Spell:
* added forgotten brick-file names from last commit
* implemented Tab: 'Stack Rules'
* implemented Tab: 'Linked with'
2013-08-25 10:25:19 +02:00
Sarjuuk
d45b972d14 * moved tabs-block in template to separate brick-file
*yay* generification!
2013-08-25 10:02:09 +02:00
Sarjuuk
8ffbf13e03 * added min() and max() funcions for parsing SpellTooltips
* fixed error, when creating ItemTooltips for certain recipes
* fixed logic error when generating jsGlobals and id-array was empty
2013-08-21 09:18:49 +02:00
Sarjuuk
73cdce784e BaseTypes:
- rewrote BaseType::iterate() to be a generator and yield references (requires php 5.5)
- reduced usage of bandaid BaseType::reset()
- removed Util::getIdFieldName() which was even more of a bandaid
- discovered DBSimple::selectPage() and consequently removed $matchQuery as they are now obsoloete

Util:
- added trainerTemplate lists for future use with trainers and trained spells

misc. forgotten and/or broken stuff here and there
2013-08-20 20:45:24 +02:00
Sarjuuk
0b0fa39ff4 * added skills listview-page
* removed some overzealous $WH.-insertions
* fixed logic error omiting jsGlobals with id: 1
2013-08-07 20:58:34 +02:00
Sarjuuk
5436ead926 - implemented item-lookup per weightscale (used in profiler, comparison tool and item upgrade search)
- some minor nonfunctional changes to support 'known' spells
- enabled dynamic update of Spelltooltips changing with pointsPerLevel
2013-08-06 16:50:31 +02:00
Sarjuuk
317af7d768 * moved some more redundant code to basic.js
* moved static item-scaling data to datasets
* Tooltips should now be able to display secondary tooltips (maps) and handle "known" spells (parsing those would be the next step)

tabs to spaces .. a lot
2013-08-04 02:57:55 +02:00
Sarjuuk
3d7c4b8bd7 taking babysteps in the direction of profiles 2013-08-03 21:50:44 +02:00
Sarjuuk
06e5fb7278 * added quests to search
* added forgotten localizations
2013-08-03 21:10:49 +02:00
Sarjuuk
e834f1aee3 * moved duplicate utility/dom-functions from global.js to basic.js
- consequentially prepended $WH to those functions (since i do have issues with regEx, some errors may occur)
* simplified including required JS and CSS files per page
* replaced old Menu-class with (almost) current version. Since it relies heavily on jQuery it is also loaded.
2013-08-03 21:09:23 +02:00
Sarjuuk
b47be3c14a fixed setup for glyph-datasets (custom cases should be handled, when setting up aowow_spells)
translation & wording mishaps

readded jQuery .. is yet to be used
2013-08-02 15:48:29 +02:00
Sarjuuk
55c14eee5c misc:
- fixed caching, by escaping control chars
 - rough support for shortened urls .. kinda
 - achievements shows icons for required items again; also can get name for quest
2013-07-11 23:57:42 +02:00
Sarjuuk
49800da2c8 Moved most code related to jsGlobals to template. (Except for Globals, that belong to the object already created, it makes zero sense to look them up again from the template.)
I'm not overly happy with passing the templateObject to each typeObject, but it works .. for now.
Effectively this should reduce db-lookups as each type should be looked up only twice at max (once for relevant data on the page and maybe again to get related jsGlobals for the template)
also removed BaseType::addRewardsToJscript() get it with BaseType::addGlobalsToJscript() and the appropriate addMask

* added ListviewHelper::getSetFields() wich is more appropriate in some cases (like reagents for spells should be shown even if they are all the same)
* load bricks as needed, removed the if-blocks (maybe add the filename to every TypeClass..?)
2013-07-11 21:47:00 +02:00
Sarjuuk
a8804f6440 Achievements:
- removed excess escapes (htmlspecialchars really needed?)

* urlencode icons for all powered tooltips (some contain obscure symbols)

Spell:
 - added relatedTabs "criteria of" and "contains" (the later should be reworked with generic loot access)

 * implemented first draft of conditions in listview as extraCol; condition: {type, typeId, status}; currently only inpmplemented in the item-brick
 * obligatory oneliners all over the place fixing stuff that boggles the mind
2013-07-07 23:25:15 +02:00
Sarjuuk
79ee421833 Creatures:
- add hardcoded Totem-DisplayIds

Spell:
- fixed amount/damage not being displayed, when spell had createItemId set but no effect to create it
- respect interactivity for constructs in tooltip
- parse playerLevel as textVar, if the constuct cant be evaled
- fixed functionality to change level on tooltips granting ratings
- added related tabs: 'modified by', 'modifies', 'used by item', 'used by itemset', 'see also'

* some minor cleansing in js-tooltip code
2013-07-07 01:21:47 +02:00
Sarjuuk
9c9d03dbb8 Achievement:
- improved handling of rewards

Spell:
- moved calcuation of effectValue to separate function, use realPointsPerLevel
- eval: applied proper format, fixed evalable string when facing multiple signs in a row
- display modelviewer for summons

Titles:
- looks like titles behave differently when using "faction" or "side"

Achievement:
- implemented rewards (which i have forgotten for almost 2 years)

* reworked pet-setup
* typos and forgotten changes, that broke code here and there
2013-07-06 16:33:30 +02:00
Sarjuuk
a3f16f0e0d implemented detail-page for pets
- plus food and talents, minus zones (those are just madning)
 - also addes some bc/classic information on pet scaling

* mucked about the modelviewer, always uses high quality version .. should muck about some more to add animation-info and remove the java-option
* fixed some minor issues in spell maxaffectedtaregs in spell is displayed properly and erronous adding all classes/races to globals if none where selected
* created own table for creatures which unifies creature_template, locales_creature, creature_template_addon and some creatureDisplayInfo.dbc information
* more work against listviews and general structure in global.js .. should probably split this file by class and reassemble it for use
2013-07-02 23:02:04 +02:00
Sarjuuk
4c974f87c5 display modelviewer button for spells with transform, mount or shapeshift
parsed SpellShapeshiftForm.dbc to db and added Horde displayIds manually
use table for modelIds and spells speciffic to this form
2013-07-01 10:28:19 +02:00
Sarjuuk
bbfc4f5820 moved articles to template-class .. and am fed up with smarty by now.. 2013-07-01 10:28:17 +02:00
Sarjuuk
3d66eacb90 implemented Itemset detail page
- while the code and strings are there, no rules have been set concerning availability

User:
 - HTTP_ACCEPT_LANGUAGE may not be set.

Compare:
 - removed some relic code, that, once uppon a time, was used to link virtual item sets with real item sets or something..

Titles:
 - fixed a few forgotten changes

Lang:
 - hide DND-entries for locks

BaseType:
 - improved getField to automaticaly cast numerics to float
 - improved __construct to check for numeric instead of int
2013-06-23 22:11:39 +02:00
Sarjuuk
88bfae9c0a move global cuFlags left by 24b. They were unique to achievements but should be applicable to all types 2013-06-19 22:29:21 +02:00
Sarjuuk
08f4d84b6d objects:
- preparing tooltips (locks to Util & localization)
quests & npcs:
 - implemented tooltips
spells:
 - fixed tooltip-header
 - stat gain inclued periodic healing auras (item: 17743 for example) and spellHeal no longer applies spellPower
achievements:
 - path is less prone to errors
events:
 - disabled tab as it was causing js-errors

obligatory cleaning up everywhere
2013-06-19 21:41:15 +02:00
Sarjuuk
513c9d9114 split field 'flags' in announcements into distinct properties, mark jsVars with a '$' like in every other case 2013-06-19 20:43:16 +02:00
Sarjuuk
21f50ae2cd * tabs 2 spaces in some *.js and *.css
* updated Summary.js (Item Comparison)
 - can now manage custom weightscales, when logged in
 - can now apply weightscales to rank search results
 - CAN NOT yet search for items with a certain scale alone, as i haven't figured out yet how to design the database for that
* sorted and commented basic.css
* some missing imagery
* some cleanup

(my todoStack just got less inhuman in size)
2013-06-18 23:31:58 +02:00
Sarjuuk
b26accb32a tabs to spaces *siiigh* >.< 2013-06-01 17:25:16 +02:00
Sarjuuk
86a85f4925 fixed erronous formating of armor & block on items 2013-06-01 17:12:58 +02:00
Sarjuuk
aef069e919 - implemented tooltips for NPCs
- global STATIC_URL defined to be also usable in script
2013-06-01 16:56:05 +02:00
Sarjuuk
8a11a3d459 all localizations are up to date again; merged talent-specific terms into general file 2013-06-01 13:17:07 +02:00
Sarjuuk
e5df5260fd * updated names of skillLine from dbc (minus a few typos)
* prevent reference errors when fetching globals for nonexistant spell
2013-05-31 14:53:18 +02:00
Sarjuuk
127231e01b removed relic time measurement code 2013-05-31 08:12:09 +02:00
Sarjuuk
86c751a77e added overlooked overlay-sizes for mapper .. note to self .. update map generator 2013-05-30 23:57:22 +02:00
Sarjuuk
e603a0cff8 fiddling with spell-tooltips, parsing some more bitmasks and ratings in the spellEffects, fixed several typos, tabs to spaces in js-locales, implemented flightpath-maps for ?zones 2013-05-30 23:54:35 +02:00
Sarjuuk
2efd3924f9 minor faction icon fuckup 2013-05-30 18:58:08 +02:00
Sarjuuk
5f2cd9efec zones-listview: working draft 2013-05-21 23:14:25 +02:00