Commit Graph

299 Commits

Author SHA1 Message Date
Sarjuuk
c3fe4b0224 Setup/Update
* get files/tables, which need to be regenerated after! applying sql updates
 * small wording change, to make exiting dbConfig feel less like an error occured
2016-01-16 10:37:37 +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
2f53abdb3e Setup/Spells:
* fixed some talents with erronous itemCreateIds to have an altIcon and quality color assigned
2015-11-28 17:23:06 +01:00
Sarjuuk
3eace0680d Setup/Fixups
- also change function call talents() to talentCalc() for firstrun script
 - filter waypoint_data query for creature_addon with path_id 0 (where did this get lost...)
2015-11-22 20:52:16 +01:00
Sarjuuk
3b32ce6b1f Conf
- moved misc categoty to index 0 as adding new categories became complicated.
 - display misc category last...
2015-11-22 16:25:25 +01:00
Sarjuuk
74f68c8a69 Setup/TalentCalc
* renamed file generator function to avoid naming conflict with sql generator function
2015-11-19 19:46:50 +01:00
Sarjuuk
e197072409 Locale/FR
* added some more translations

 thanks @joshwhedon
2015-11-18 23:49:21 +01:00
Sarjuuk
d55989510a Updated setup to TDB r60
* removed --resume command. Always offer to resume first time setup instead.
 * added skill_perfect_item_template to sources
2015-11-18 23:47:53 +01:00
Sarjuuk
dabf307c13 Setup/firstrun
* also added check for port on this option
 * hide control chars from error input request for win
2015-10-06 22:04:12 +02:00
Sarjuuk
ef5d7cce3b Setup/DBConfig
* fixed parsing port on host ip (already worked, but setup threw an error)
2015-10-03 12:20:50 +02: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
b1ef81c7e9 Merge pull request #36 from Toshik/patch-1
Setup/Quests
 - update to f7c7b92ef3
2015-09-12 22:26:55 +02:00
Sarjuuk
00bd33abfb CLISetup/OSCompatibility
- generally check for readline handler
 - only ignore \r for WIN
2015-09-12 22:15:12 +02:00
Toshik
973d2d90aa Quest DB structure fix
Fixes related to latest DB structure changes:
2015-09-10 11:51:15 +03:00
Sarjuuk
645894fdbf Setup/Source:
* fixup
2015-08-29 13:48:21 +02:00
Sarjuuk
cb1916c484 Setup/Fixups
* some additions to latest pull requests
   - added missing dependancies
   - added quest_template changes to source.func.php
2015-08-19 17:29:21 +02:00
Sarjuuk
af7015097b Setup/Source
* get starter spells from playercreateinfo_skill instead of playercreateinfo_spell
   (changed in 2a3546ca36)

thanks @Toshik for pointing that out
2015-08-19 16:52:14 +02:00
Toshik
ce915cbada Update game object DB structure
Corresponds to TC changeset TrinityCore/TrinityCore@9245bad
Closes #28
2015-08-19 13:08:09 +03:00
Toshik
482a8dbd7d Update quests DB structure
According to 5178395a4f
2015-08-18 22:05:16 +03:00
Sarjuuk
59e254be54 Spawns
* fixed any spawns in Northrend refering to Dalarans dungeon maps and thus being inaccurate
2015-08-18 21:01:03 +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
23260c2366 Tooltips
* fixed display for spells after e28c00ccda
   (if you are loading something, you DO need to register it afterwards)
2015-08-13 14:33:55 +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
bd2e0ccada Emotes:
* display empty listview if no data
Setup
 * do not pass null instead of expected type array
 * added setup step for emotes to --firstrun *d'oh!*
 * fixed a wrong constant
2015-08-10 00:04:33 +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
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
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
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
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
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
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
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
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
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
7673e256c8 Setup: added some checks when useing WIN
lets just say, the CLI works somewhat differently..
2015-06-29 00:10:03 +02:00
Carbenium
9897a6cf23 Setup: folder 'static/download/searchplugins/' has to be created during setup 2015-06-28 15:30:15 +02:00
Carbenium
7c0a2192f7 Setup: testSelf should reference README.md instead of README, otherwise setup will fail 2015-06-28 15:28:11 +02:00
Sarjuuk
ea538b0040 Setup:
* added parameter --firstrun to use for initial setup. Runs almost by itself..
 * added 'ping home' for statistical purpose
Spell:
 * fixed copy/paste error
2015-06-27 21:40:42 +02:00
Sarjuuk
2e327b7cc0 - fixed text overlaping with icon in Firefox for auticonized tooltips
- fixed PetCalc export option
2015-06-06 15:18:54 +02:00
Sarjuuk
30b0b413e6 moved alphaMaps from cache/ to setup/generated/ 2015-06-06 09:36:47 +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
c93b08f333 CLISetup:
- added --update command to automaticly apply sql-updates (e.g. via post-merge hook)
2015-06-02 23:38:36 +02:00
Sarjuuk
72c4cb2e8b CLISetup:
- access setup via 'php aowow'
 - index.php is now strictly for page display
2015-06-02 23:37:33 +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