Commit Graph

194 Commits

Author SHA1 Message Date
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
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
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
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
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
f35be8fa36 Util/MostComments
* fixed wrong indexing on counting comments per page
2015-08-04 00:34:08 +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
8fa83eab64 Misc/Fixups
* made emotes random-searchable
 * fixed error with pageTexts on Item Detail Page
2015-07-21 11:54:35 +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
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
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
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
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
Sarjuuk
ed67493bb8 Items/Filter
fixed error, when appending empty upg= to query
NPC/Text
  handled rare case of uppercase string-placeholders
2015-07-05 19:15:36 +02:00
Sarjuuk
09e0886cdd Utility
* implemented sub-page: latest-videos (can't be suggested yet, i know!)
  * also show subject on latest-screenshots
2015-07-05 00:37:54 +02:00
Sarjuuk
5ecb46633a UserPage
* display amount of pending screenshots / videos
  * corrected amount of comment ratings on display
2015-07-05 00:06:48 +02:00
Sarjuuk
444e372a66 Utility/Random
no longer tries to lookup a random profile
Utility/Comments
  implemented sub-page: most-comments
2015-07-04 18:42:24 +02:00
Sarjuuk
af39933cc8 Utility
implemented subpage: latest-screenshots
2015-07-04 16:40:48 +02:00
Sarjuuk
cc886b4db9 Quest Detail Page:
properly distinguish between provided, required and provided-required items
2015-07-01 21:13:22 +02:00
Sarjuuk
a3c9b52073 Screenshots:
fixed sql-error in manager
Comments:
  no longer appear as upvoted for anonymous user
  can be voted on, again
Class detail page:
  removed default limit on class ability query (300). now shows all spells
Filter/Items:
  added missing table-prefix; fixed search for iconString
Spells/Search:
  display triggered player abilities as misc. spells. (previously hidden)
Misc:
  removed some obscure piece of old config
2015-07-01 19:44:44 +02:00
Sarjuuk
2f767ba835 misc fixes 2015-06-28 19:23:26 +02:00
Sarjuuk
61bc839d2f Spell: fixed modelviewer and spellEffect-listing, when spell had multiple models set (e.g. aura:shapeshift AND aura:transform) 2015-06-26 18:59:49 +02:00
Sarjuuk
1557cd7ed5 Items: removed an unnessecary check. (prevented filtering of virtual itemSubClasses) 2015-06-17 16:14:33 +02:00
Sarjuuk
a4c76de124 DB:
- change engine of ?_account*-tables to InnoDB
 - link userId of ?_account*, ?_screenshot & ?_videos -tables using foreign keys
 - also display screenshots/videos, that do not have an owner
2015-06-09 00:22:12 +02:00
Sarjuuk
7a0c6f22dc misc fixes:
- extAuth should be expected in config/ and not /config/
 - fixed copy/paste-error preventing purge of memcached pages
 - fixed 'text-shadow' on red-buttons
2015-06-08 21:02:05 +02:00
Sarjuuk
81a5a527ec - removed unnessecary limit from displayed creatures/objects per zone
- check if g_pageInfo exists, before attempting to overwrite it
2015-06-06 20:56:07 +02:00
Sarjuuk
618217b970 - fixed some typos
- fixed a forgotten query to use ?_icons

rerun 'php aowow --sql=item_stats' to generate the missing stats for gems
2015-06-06 09:19:57 +02:00
Sarjuuk
b3441b6e84 NPC:
- more specific wording for extreFlags
2015-06-02 21:15:01 +02:00
Sarjuuk
398bb3fd40 properly localize "not found"-pages 2015-05-31 21:05:56 +02:00
Sarjuuk
9fda302bf3 Spell:
- show spellScript in infobox
2015-05-31 18:57:39 +02:00
Sarjuuk
71110d432c Zones:
- added questgivers to map
 - added listviews: Quests, Started By (Item), Quest Rewards
 - fixed error in setup: kalimdor zones are back from eastern kingdoms
2015-05-31 18:46:49 +02:00
Sarjuuk
3eecc3ec7c Items:
* display parentNpcs instead of difficultyDummys as sources in listview
 * implemented filter cooldown, disenchantsinto and objectivequest
 * added lvTab 'shared cooldown', prepared tabs 'taught by xxx'
 * moved some items from misc to more sensible categories
2015-05-31 18:28:23 +02:00
Sarjuuk
03b90c438f some minor error suppresants 2015-05-27 23:29:17 +02:00
Sarjuuk
ebc7a9bee8 implemented user page
well .. most of it anyway
2015-05-20 22:36:42 +02:00
Sarjuuk
6d488e5831 fixes:
- partially revert e2a0558a0a
   TC-tables are still used and thus the localization
 - an error when parsing enchantments based on nonexistant spells
 - accessing an unused variable in item detail page
 - setup/dbconfig: expect character-DBs to be unset
 - improved handling of POST/GET-variables in AjaxHandler (less prone to errors)
2015-05-19 00:11:57 +02:00
Sarjuuk
8ca173bb33 - display if realm first achievement is still available on Achievement detail page
- --siteconfig now asks for the realmId when adding a new character DBs
  ( old entries should be set manually or deleted and then set anew)
2015-05-14 02:19:30 +02:00
Sarjuuk
51f2828f6f - moved shared setup functions from FileGen to new CLISetup
- removed web-setup
- new CLI parameters
  --account    : create initial account(s)
  --siteconfig : edit php/aowow config values
  --dbconfig   : set up db connection
  --sql        : create db content from world/dbc-tables
  --firstrun   : [NYI] step by step initial setup

- some fixes by the wayside
  * display required arena bracket for extendedCost
  * achievement chains are searchable again
  * category trees for factions should now be correct
  * trainer tab on spell detail page reapeared
  * userMenu item 'Settings' no longer breaks the page
  * display abilities of shapeshift in tab on spell detail page
  * corrected reading ?_sourcestrings for titles
  * fixed error on race detail page
  * added simple descriptions to skill detail page
  * fixed tab "reward from" (achievement) on title detail page
  * fixed alphabetical order of some filter-dropdowns
  * fixed skill colors for spells
  * fixed power display for rune-based spells, that also cost mana
  * added more information to zones
  * also check mail_loot_template for achivements
  * fixed bug, where loot_template-ids would be reused for multiple templates
  * display sourcemore for pvp-sources
2015-05-11 22:44:54 +02:00
Sarjuuk
27bc09f136 bulk replacement: accesing locale strings by function 2015-03-29 14:49:15 +02:00