Commit Graph

116 Commits

Author SHA1 Message Date
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
7ce72bf623 Articles
* convert all holidayIds to eventIds (by TC standard assignment)
2015-08-04 21:16:27 +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
1d5436bbd2 don't ask.. 2015-08-03 23:24:04 +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
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
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
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
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
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
b76fc3b2a7 added memory_limit to initial config 2015-07-01 21:54:03 +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
Sarjuuk
7ec07c0dca Merge remote-tracking branch 'github/master' into ghMaster 2015-06-28 17:17:41 +02:00
Sarjuuk
c779e9139a Setup: unpacked db_structure.sql
README: added required db-version
2015-06-28 17:16:53 +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
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
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
Sarjuuk
03b90c438f some minor error suppresants 2015-05-27 23:29:17 +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
3d80041df9 is it 2015 already..?
setup/simpleImg:
 - also prefer PNG over BLP when generating icons
 - do not use alpha on icons (see icon: fishingextravaganza)
2015-05-18 23:04:12 +02:00
Sarjuuk
1d6ecc86d7 fixed some issues:
- allowed colons in config strings
 - setup for tpl-files that only have const text
2015-05-18 21:19:41 +02:00
Sarjuuk
e2a0558a0a - also generate static data file 'item-scaling' from dbc-data
- updated some hardcoded item mods to build 12340 (needs to be fetched on setup)
2015-05-18 00:17:45 +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
929cb95bcd - removed now obsolete sql-updates
- set revision to 1
2015-05-13 17:19:34 +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
d47fa93806 - enabled minimap in listviews for premium users & staff
- NPCs: display information about mechImmune and extraFlags to staff
2015-03-28 23:15:00 +01:00
Sarjuuk
c7fe84b7e0 - Error handling:
* replaced error-suppressions with proper checks
  * log php errors to db
  * use __callStatic() to access localization and thus handle erronous keys
- Setup:
  * fixed some erronous filenames when generating icons
  * increased alpha threshold for spawn maps (should improve spawn points)
- disentangled DB::Aowow and DB::World. Aowow should now be able to run
  with DB::World being on a different server
- added missing faction transfer pendants (title/quest/faction/..)
- fixed extended costs for specific vendors
2015-03-28 23:10:20 +01:00
Sarjuuk
acbe969b8d Setup:
- setup can now be run from CLI. Use "> php index.php --help" to start off
- updated logging for use with CLI
- added generators for client imagery (icons, maps, talents, ect)
DBC:
- parsed DBCs are now expected in the Aowow-DB, prefixed with dbc_* (they are joined with
  these tables, so its easier to have them here altogether)
- setup/db_setup_3.zip may be reapplied (optionally)
- alternatively aowow will now extract you own DBCs alongside your textures.
  They will be parsed and saved to DB, as needed.
Misc:
 * HOST_URL and STATIC_URL will now be determined automaticly once and
 * then saved to ?_config (setup by CLI requires these to be set)
Spell:
 * added glyph-symbol to infobox for glyph-related spells
2015-01-20 23:17:37 +01:00
Sarjuuk
2d09ea9bec moved iconStrings back to own table and ref by iconId
a) why did i do this in the first place?
 b) how to do it best with spells?
2015-01-18 18:20:11 +01:00
Sarjuuk
14f6262687 Creatures:
- removed unused atkPwr, minDmg and maxDmg from table
 - corrected damage calculation
2014-11-14 23:02:58 +01:00
Sarjuuk
356e14b621 Setup:
* check is_writable() on directory generation
 * additionally generate upload directories
 * supporessed a warning, if php is not allowed to chmod() it's own files
2014-11-12 23:12:54 +01:00