Commit Graph

319 Commits

Author SHA1 Message Date
Sarjuuk
220fb81833 forgot to apply sql-update to dbversion-update 2015-08-07 20:01:36 +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
44e6e2ed38 Setup/Update
* using --update now reads scripts that need to be executed from ?_dbversion
 * if the script fails it will be kept in ?_dbversion until it was successfully run via --update
2015-08-06 20:48:28 +02:00
Sarjuuk
81e6098960 Home
* added variable titles and oneliners to frontpage
 * added cascading foreign keys to news_overlay -> news
 * renamed news -> featuredbox for consistency

Misc
 * aowow_dbversion is now part of the basic sql
 * also the db-dump is a fresh one and i'm shocked how often i forgot to apply updated there :<
 * from now on shorttags will be used for 'echo' in template (e.g. <?=$var; ?>)
2015-08-06 18:33:05 +02:00
Sarjuuk
38ac7b1dcb tabs2spaces in global.js 2015-08-06 12:49:38 +02:00
Sarjuuk
bfa1f261e0 Tooltips/Itemset
* handle enforced locale as espected
2015-08-04 23:23:37 +02:00
Sarjuuk
a0887f189f Faction
* fixed display of reputation columns on listviews on detail page
2015-08-04 21:25:36 +02:00
Sarjuuk
7ce72bf623 Articles
* convert all holidayIds to eventIds (by TC standard assignment)
2015-08-04 21:16:27 +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
ef686c9c57 Achievements:
* display criterium-Ids for everyone on detail page
 * unified display with subitems on item detail page
2015-08-04 16:04:55 +02:00
Sarjuuk
e28c00ccda Misc:
* also load item-scaling data for spell-tooltips
 * fixed an event reference in the markup-guide (holidayIds became eventIds some time ago)
 * removed underline from anchor elements
 * also increment version
2015-08-04 14:58:22 +02:00
Sarjuuk
e2beb82f29 Items
* display randomEnchantment-Id as title on suffix-text on detail page
Compare
 * fixed stats display in subitem-picker
2015-08-04 14:02:51 +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
f35be8fa36 Util/MostComments
* fixed wrong indexing on counting comments per page
2015-08-04 00:34:08 +02:00
Sarjuuk
1d5436bbd2 don't ask.. 2015-08-03 23:24:04 +02:00
Sarjuuk
a5f13325c0 Enchantments
* forgot notFound message
 * added Enchantments Tab to Spell Detail Page
2015-08-03 22:31:55 +02:00
Sarjuuk
7ac0601f88 Enchantments
* added tab: used by socketbonus to detail page
 * format ppm as float
2015-08-03 21:26:25 +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
7b30c49785 Setup/Emotes
fixed field count after 8fa83eab64
2015-07-23 22:48:46 +02:00
Sarjuuk
d771103428 added forgotten file
should have been committed in 8fa83eab64
2015-07-23 19:57:11 +02:00
Sarjuuk
2afcceaefb Heirlooms
* fixed expected structure of ScalingStatValues (js-scaling heirlooms should be working again)
  * weapons are now properly assigned ranged- or melee-dps

  need to rerun: php aowow --build=itemScaling
2015-07-21 23:24:06 +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
Sarjuuk
8fa83eab64 Misc/Fixups
* made emotes random-searchable
 * fixed error with pageTexts on Item Detail Page
2015-07-21 11:54:35 +02:00
Sarjuuk
4ab558858f Users
* do not numeric-check g_user in case of numeric user names (wich then break js string functions)
2015-07-21 01:07:57 +02:00
Sarjuuk
6f59afe8e6 DB/Emotes
* 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)
2015-07-21 01:07:21 +02:00
Sarjuuk
5239cbd293 NPCs / Quests
display reputattion change in list when using corresponding filters
2015-07-20 17:01:39 +02:00
Sarjuuk
7276fed9e7 Setup/Quests
* fixed wrong offset on questXP.dbc and factionReward.dbc
  * xp & reputation should be correct after running `aowow --sql=quests`
2015-07-20 15:36:29 +02:00
Sarjuuk
022ceba20d fixup to 998763b
so .. basicly everything was wrong with this one
2015-07-20 12:03:36 +02:00
Sarjuuk
5b8a862df9 DB/Structure (thx @Carbenium for the heads up & suggestions)
* adapted structure to TDB 335.59
  * dropped questItem[1-6] fields from ?_creature and ?_object (why were they even there)

 - removed a function-stub from Util (already forgot, what it was supposed to achieve)
2015-07-19 22:25:21 +02:00
Sarjuuk
11ab3e0f19 typo fix 2015-07-18 16:51:28 +02:00
Sarjuuk
998763be7b Errors/Logging
* log addNotes to DB as php user-errors
  * always skip the native php error handler
2015-07-18 16:48:00 +02:00
Sarjuuk
58a235e2e3 PageText
handle cases where pageTextId is given but pageText is not in DB
2015-07-18 15:16:35 +02:00
Sarjuuk
3e7a34a2ea Spells/Tooltips
* implemented 'know'-parameter (modifies tooltips based on known spells)
  * displayed on spell detail page
  * usale as urlParam (&know=<spellId>) or rel-attribute (rel="know=<spellId>)
2015-07-18 13:19:18 +02:00
Sarjuuk
111e53aaef Spells/Tooltips
* fixed text-parsing for spells with a combat rating in the tooltip, that is inside a formula (e.g. spell 24574)
  * fixed client tooltip updates when modifying level for affected tooltips
  * fixed spell-links on item tooltips with multiple combat ratings
2015-07-18 03:41:13 +02:00
Sarjuuk
c1f5d2ea9b Setup/Spawns:
* only priorize captials over their surrounding if there is no alphaMap present
  * Dalaran and Shattrath are capitals
  * truncate old data as it may not get overwitten
2015-07-18 01:52:08 +02:00
Sarjuuk
20732e38d8 DB/Structure
added proper keys to ?_comments
2015-07-14 21:51:20 +02:00
Sarjuuk
cea81d1810 fixup#2
* save sessions under absolute path
  * somehow forgot to add garbage collect - divisor to config
2015-07-13 00:29:27 +02:00
Sarjuuk
8b317d4b21 fixup
add forgtten categories to config values
2015-07-12 23:19:07 +02:00
Sarjuuk
dd0bb30481 Comments/Replies
* fixed reply editing
  * fixed displaying error messages
2015-07-12 01:40:09 +02:00
Sarjuuk
051334da22 Events
drop usage of holidayIds (as far as possible)
  the obvious change is, that all events are now refenreced by a positive eventId.
  (?event=375 will probably become ?event=5)
Comments
  fixed malformed db-table. It can now hold negative typeIds.
  applying this commit will drop any comments related to events without holiday
  added gain of SiteReputation for comment-replies

resyncing dependencies of 'game_event' is required
2015-07-12 00:06:21 +02:00
Sarjuuk
e9399c169a Config
move default_charset from .htaccess to DB
2015-07-11 19:48:52 +02:00
Sarjuuk
ce82a8f09f rather enforce interpretation as php for aowow/aowow than hiding it (wich broke filter forms) 2015-07-11 19:27:36 +02:00
Sarjuuk
54695a9490 Currency
* expanded tooltips
  * moved cap from hardcoded to DB
  * can now set description (manually)
Itemset
  * expanded tooltips
Lang
  * number formating is now locale-aware
2015-07-11 19:27:28 +02:00
Sarjuuk
08270ae09e Screenshots
* 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
2015-07-11 14:19:59 +02:00
Sarjuuk
f6d80cf473 Spawns
* display phaseMask as hexadecimal
  * hide phasemasks, containing every single phase (0xFFFF)
2015-07-09 23:29:20 +02:00
Sarjuuk
0cb5d6b896 CLISetup
* added msg-level INFO
  * changed some WARN-level messages to INFO
Util
  * added function to handle directories aowow wants to write to / read from
SiteConfig
  * group options to be less cluttered
  * allow empty strings (numerical values must still at least be 0)
  * renamed account related config values to be make more sense
  * make cache path configurable
  * make session save path configurable - use this to avoid the garbage collect cron job on Debian or Ubuntu, that cleans sessions and only depends on your php.ini (NOTE: putting this inside a web-enabled directory is a risk!)
2015-07-09 21:04:00 +02:00
Sarjuuk
4a47900860 Utility/RSS
use SimpleXML to generate rss-feed
  send rss as utf-8
  fixed some misc errors when generating a feed
2015-07-06 01:07:12 +02:00
Sarjuuk
f2ec843f7e Lang
rename /gameObjects?/ => /objects?/ so it can be localized via typeString
2015-07-05 21:17:55 +02:00