* detatch from User and Util and move to its own enum class
* added definitions for all locales the 12340 client could in theory have
* this is incompatble with the Intl extension
* version bump and php requirement bump
* minor rework
* fixed columns of tab item loot
* fixed lookup of classes/races (as they are the only type used as bitmask)
* implemented reverse lookups everywhere (arguably class, race and skill are too spammy)
* reverse lookups no longer contain redundant data
* changed how the groupKey is set, so there are no more cases that can't be looked up
* fixes#273
* title: added tab 'criteria-of'
* rewritten and moved to its own class, should be easier to expand in the future
* add missing sources and types from TrinityCore
* implement conditions on Areatrigger and Loot containers
* implement reverse lookups (e.g. a spell is a conditional for something else)
* general beautification pass .. should be more legible in general
NOTE:
* texts have been changed, so the existing translation for esES ist gone
* selecting and describing condition targets is still wonky
* fixed misc issues Intellisense was nice enough to highlight.
* mostly deprecated usage of uninitialized parameters
* class GenericPage still needs a long, hard look and a refactor
* append a filemtime timestamp to js/css files to work around browser caching after update
* shuffle script handling around a bit
* also user pages cant have community content
* also fix breadcrumbs on items page
* moving commonly used strings to defines
* moving commonly reused/similar page generation functions to the parent
* generally using consistent return types, more type hints and less strings
* prevent browser context menu when right clicking on UI elements with their own context menus
* fixed menu path for icons
* further optimize search
- use achievement 4496 as shortcut for everything based around total achievement points
- get talent distribution separately
- get total profiler-items found separately
- opt to not sort found results
* fixed Profiles with zero Achievement Points
* added cache key genrator i forgot :<
* fixed typos
* initial implementation
* this includes a complete reindexing of everything touching icons
* this also means, no linking to red-rocket-site though, they index them differently
* added [money ..] and [currency=] to tag parser
* added missing styles to properly display [quote ..] and diffs
* added missing js to display [n5 ..] and progress bars
* removed most templates by sensibly restructuring lvTab-data. Util::toJSON() does the rest.
* taught Util::toJSON() to recognize values prefixed with $ as js-code
* use Util::toJSON whenever possible
* misc
- mail attachments are displyed again
- always show all currency rewards on Quest-LVs
- suppress an error, when encountering unused ItemMods
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
* 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
* menu-icons using hardcoded path
* german translation for conditions
* redundant check for conditions on quest and spell detail pages
- show eventId for staff on event detail page
- 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)
- 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
- 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
- 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
- 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
- BaseFilter: defined selectAll / selectNone magic numbers
- Item:
* fixed formating error for required arena rating
* filters for purchasablewith -item; -currency; -honor; -arena; reqarenarating
- Zone:
* removed extra escape for globals
* token changes to ZoneList... still not really usable
- Events: prevent selecting arbitrary related events on empty list
- Factions:
* added filter-links to relTabs
* added relTab for factionspecific GameObjects
- Spell:
* parse information for aura:forceReaction
* added relTab Zones to display info from spell_area
- JS:
* added display of subzones to listview-template: zone
* reworked condition to display multiple conditions
* added race and gender conditions
typos.. they are never entirely gone
- moved search to /pages
- moved g_dataKey to header.tpl and apply it on nessecary pages (restores TalentCalc)
- Events: fixed relTabs with arbitrary data, when holidayId was 0
- CharClass: get heroClass-status through flags; dropped related DB-field
- Achievements: fixed some criteria not being displayed in tooltips
- Community: applied long forgotten changes to tplVars and use of uppercase ids
- Titles:
* exclude unused titles from listview
* restored 'links'-button on detail-page
- Quests:
* added 'slain' fro proxy-npcs
* use more wflags (&1 needs more research)
- Factions:
* fixed order of categories
* fixed params to QuestList for relTabs
- Profiler:
* enabled 'profiles that have this char as source' in Profiler
* removed the exampelChar from project
* further documented more expected variables; includes/excludes-handling still not entirely clear
* created datasets for reference data (create with ?build=profiler)
- Localzation:
* localized profiler for loc3
* corrected some single words
* localized custom reward rate - table in factions
- AjaxHandler:
* new handler for ajax-requests *duh*
* dropped data.php (index.php now calls to AjaxHandler for these cases)
- moved reading of static files to own function Util::loadStaticFile()
- added relTabs to detail page
achievements:
- implemented event-filter
- filter will now always apply
- years are now one day shorter (and time formating will no longer bug out)
detail and listview for NPCs (without spawns, spells and some filters)
forcing the template to be more generic
- noticed, that the loot display is off. It happens with different modes
on a creature, that has the same loot but different chances or quantities
... analyzing