Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    Make several optimizations to ticket-view page · 091fe701
    Jared Hancock authored
    * Log events for AJAX collaborator list edits
    * Avoid extra selects for inline image handling
    * Avoid using htmLawed to add target="_blank" and class="no-pjax" to links
      in the ticket thread
    * Cache instances of IntlDateFormatter; seems expensive to set up
    * Cache filetypes Yaml in APC if available
    * Cache I18n::getDefaltLanguage() in the request
    * Avoid extraneous usage of Model::_inspect and Model::$meta
    * Add aggregated query support to the ORM
    * Lazily compile SQL query for InstrumentedLists
    * Apply `select_related` setting when setting up InstrumentedList instances
    * Slight optimization in SqlCompiler::getField
    * Avoid double compiling Sql annotations in the ORDER BY clause
    * Cache Thread::getEntries
    * Break out event types for ThreadEvent for more legible code
    * Eliminate one query from Ticket::loadDynamicData
    * Fix ticket number bolding if already answered
    * Use dependent subqueries for ticket statistics in the queue page, which is
      significantly faster for large data sets (like hundreds of attachments or
      thread entries)
    * Fixup sidebar layout on client knowledge base pages
    091fe701