- spell: added effect: killCredit2 to parsed list
- fixed some mixups, when eventId was used instead of holidayId and vice versa
- avoid zero values for page Types so there are no longer empty tooltips on the language-menu
- rewrote conditions system:
* table: conditions is now in use (needs some more cases to check for)
* adapted existing 'conditions', may need some wording fixes
* can now calso reate a single listview tab for more detailed information
* this is not localized for frFR, esES or ruRU
- enabled support for non-tamplate tabs (leave 'file' empty and 'data' is used as HTML)
- Util: initialize enchantments even if it has no usable stats
- NPCs:
* added tamability to infobox
* added pet-spells to controlled spells tab
* fixed displaying texts for zero-length strings, also
adapted TrinityCore:master/e567ab95972508adc85a36f867723114a04fe227
* hide listview column 'type', when displaying one specific type
- Utility - missing-screenshots: reduced list-size to 200
- fixed copypasta-typo in locale_eses.js
- Skill: fixed error in detail page title
* show terms in quicksearch-box, when performing searches
* use trim() after urldecode() to catch urlencoded whitespaces
* check for empty search terms (wich occur with multiple adjacent whitespaces)
- updated some build-scripts to use aowow-tables instead of world-tables
- and one of each minors on account: time conversion, uninitiallized variable, wrong index
- added config-option to restrict available locales
- fixed opensearch suggestions by generating strict json
- include TalentCalc.css as lowerCase (fixes display under *nix)
- some minor formating
- Setup:
* added some additional files to be generated (they required STATIC_URL or HOST_URL to be set)
* moved class Locale from global.js to own template and generate it with CFG_LOCALES
* changed urlParam (?build=script): may be empty (builds everything) or specific scriptNames chained together with ; (?build=script1;script2)
you are required to run the following command to regenerate files affected by these cahnges
?build=demo;power;realmMenu;searchboxBody;searchboxScript;searchplugin;locales
- implemented Memcached (untested though (tough luck trying to get it to run using win))
- added config value to select caching method (default: filecache; setting debug to 1 will still disable caching)
- implemented url-param 'refresh' to clear cache for this page
- use https if available, added a config value to enforce it if nessecary
- NPC:
* fixed currency icons when displaying extendedCost for vendor
* display conditions column only if we actually have conditions set
- allow 0 (mis Spells) as valid pageParam
- set lcoale before creating featuredBox on homepage (fixes links)
- set iconStrings in DB to lowercase for Linux compatibility (thx @zackbcom)
- implemented 'group by source' and most source-related filters in items.php
note: some fields are not yet set and searches against those will yield no usable result
- fixed js-error; always expecting array characters in g_user
- fixed rep gain on first login, when using external auth
- fixed wrong lootIds in ?_objects, where the field size was too small
* use (locales_)achievement_reward to display rewards
* implemented display of reward mails
* updated mail to display sender if possible
Spell:
* fixed some issues with spell_loot
* added aura 286 (Ability Periodic Crit) to affect-checks
- added more sources for future use
* implemented enchantment conditions for meta gems
* removed hardcoded static-domain in transfer-string
Site:
* gain rep for ACTION_REGISTER when logging in for the first time, using external auth
* language-menu uses the same dropdown-icon as other menus
Spell:
* hide procChance of 100% or more
ItemComparison:
* fixed display of drag-icon
* fixed single gems being moved to first empty socket in tooltips
squelched some notices in quest.php and item.php
- partially implemented site reputation (required to grant privileges to comments)
- reworked 'home'-page (the news-box is now as configurable as you want)
- removed some ancient compatibility-code for IE67 (srsly, its 2014!)
- dropped associated stylesheets, reviewed the rest
- split some user-restrictions to trigger on insufficient siteRep
- added text-page: Markup-Guide
- implemented new class to handle Markup
- bugfixes [TM]
- also you will need to reapply the db-dumps (you may want do save account*, news,
reports, ..)
- reviewed and used objects PageTemplate and Locale
- removed associated workarounds
- replaced ~12k tabs with ~48k spaces
- fixed some localization errors
- whoops, forgot to update some Util::$pageTemplate calls to $this
- Currency: fixed title (copy n paste from gameObject)
- Spell: fixed display off effectValue, when spell creates items
- compare: changed page to non-caching (fixed display)
Summary:
- dropped smarty, moved scattered template-functions to a separate class GenericPage
- moved loot handler to a separate class Loot
- moved more ajax to Ajaxhandler
- rewrote user class and with it session handling
- added some account-related features (e.g.: recovery; mail confirmation)
- reworked loops containing db-lookups to gather data first, then execute once. Dependig on the page this reduced load by several seconds (e.g.: Items; Quest; enchantment-related)
tl;dr: caching pages now works as intended
- unified lv handling
* data should always be in the same structure now
* use of tabs is determined by the template, unless forced)
- Currency: fixed path on detail page
- Profiler: fixed use of dataKey
- Util::alphaMapCheck() 'images/' was removed long ago..; alphaMaps are now in 'cache/'
- Item: REALLY fixed markdown in tooltips
- added some forgotten account-srings
- fixed an error handling ItemFilter /w upgradeItems + markdown appearing in tooltips
- relaxed session-regeneration (only regenerates on status changes (signin/-out)), fixes losing the session, when opening multiple tabs at once
- striped smarty from profiler (only cleanups remaining)
- moved profiler-ajax to AjaxHandler
- created a (dummy, for now) ProfileClass to handle Chars and Profiles
- reimplemented Utilities-Page and Account-Page
- moved account-ajax to ajaxHandler
- AjaxHandler::handle() can no longer call itself, if the parameter is empty
- cache is now compressed (has a negligible delay)
- revisited User-Class / Accounts:
* implemented mail-confirmation (be sure to configure your server appropriately)
* implemented recovery of password or username
* there are now 3 options to auth against: 1) aowow-DB (default); 2)
wow-auth-DB; 3) user-defined script (SOAP or similar exotic methods)
* dropped the aowow-cookie, it relies on php-sessions now
* reworked how bans are handled (can now also ban from upload, rate, comment)
- fixed enhancements on itemTooltips
account related localization for FR, ES and RU is lacking (help is appreciated)
_account and _account_banned have changed and are incompatible with the prvious version
- readded quest/quests, zones
- delayed filter-evaluation, also linked filterObj to page to be applied to cacheKey
- added check for modulo calculation with floats (fixes "0 years" - duarions)
Quests:
* added category-locales
* creating objectives shouldn't be quite as intensive anymore
readded spell/spells
- changes to Lang, since it can no longer access the template
- set required php-version to 5.5.0 (generators were added and are essential to aowow)
- display stats in footer to staff only
- rewrote Item/Items
- BaseType: fixed querey generation wizh null-values in extraOpts
- ItemList:
* reworked extendJsonStats() to use ?_itemstats istead of parsing on the fly
* moved onUse-components used by xml from extendJsonStats() to separate function
* the enhance-string passed with tooltips is now checked first
- Loot: class is no longer static
- Util::parseItemEnchantment() will now accept and return arrays and does only one single lookup
- cuFlags are explained in the infobox, when available
- JS:
* do NOT strip iconStrings. It rightly can contain whitespaces >.<
* removed a redundant $WH.ct in Conditions
- rewrote currencies, achievements, events, factions
- GenericPage:
* moved more checks from Util
* structured and commented GenericPage to be easier to comprehend
* added GenericPage::postCache() to modify cached data before display (e.g. update time for events)
- fixed:
* parsing events from markdown (e.g. articles)
* huge padding of minibox headings (css)
* Loot passing jsGlobals to template
* ItemList::getExtendedCost passing jsGlobals to template
* categories for factions
* conflicting GenericPage::$subject when displaying 'notFound'
* load of typos
- added ObjectPage and ObjectsPage
- moved loot-related functions from Util to own class
- moved template-related functions from Util to GenericPage
- removed redundancies from user class
- enabled cache (may need some tweaking but it finally works as it should)
- some bugfixes