Skip to content
Snippets Groups Projects
  1. Mar 29, 2016
    • Jared Hancock's avatar
    • Jared Hancock's avatar
      i18n: Fix slowness of DNS queries on system information · bf7dedb9
      Jared Hancock authored
      Also, add build version and path information for the PHAR files listed as
      language packs.
      bf7dedb9
    • Jared Hancock's avatar
      i18n: Add MAJOR_VERSION to the language packs · ae803f79
      Jared Hancock authored
      Since two major versions will internationalization support will soon be
      available, the language pack system will need a way to indicate which major
      version of osTicket the phrases were compiled for. This patch adds a
      `Phrases-Version` tag to the MANIFEST, which will be a copy of the
      MAJOR_VERSION included in the messages.pot file created via `make-pot`.
      Then, a `Build-Major-Version` tag is added to the MANIFEST which represents
      the version of osTicket used to compile the language pack.
      
      Ordinarily, both strings should be the same, and they should also both match
      the MAJOR_VERSION of osTicket when the language packs are loaded on a
      production system.
      
      This also adds support for PHAR compression in the build process. Since
      accessing a PHAR file in a request burns 1ms per megabyte of PHAR file,
      reducing the PHAR file size by up to 77% means that much less time spent
      loading PHAR files. This can be especially useful for a busy server with
      support for several languages. But, ZLIB or BZIP2 support would be required
      for all production servers.
      ae803f79
  2. Mar 28, 2016
  3. Mar 27, 2016
  4. Mar 26, 2016
  5. Mar 25, 2016
  6. Mar 24, 2016
  7. Mar 20, 2016
    • Jared Hancock's avatar
      login: Make the backdrop customizable · 463de2e9
      Jared Hancock authored
      This duplicates the custom logo code to allow for custom login backdrops. A
      new page is added to the "Company" settings page which allows for management
      of the uploaded custom backdrops.
      463de2e9
  8. Mar 19, 2016
  9. Mar 18, 2016
    • Jared Hancock's avatar
      orm: Add TTL to APCu cache stores · 57b109dc
      Jared Hancock authored
      57b109dc
    • Jared Hancock's avatar
      orm: Use faster newInstance method, cache ModelMeta · 5c0ac68e
      Jared Hancock authored
      Use APCu, if available, to cache the compiled model meta data.
      5c0ac68e
    • Jared Hancock's avatar
      orm: Migrate create functionality to the constructor · 1ba40e35
      Jared Hancock authored
      Previously, the create method was used to create a new instance of an orm
      model (which would later result in an INSERT when persisted); however, some
      classes require or utilize varying parameters to their create() method,
      which PHP7 considers an error. Methods in subclasses must be defined with a
      calling signature compatible with the parent class.
      
      This patch shifts the concept of model creation to the constructor. Now, the
      constructor of ORM models is required to be compatible with that of
      ModelBase class. Now that most models do not define a constructor, this is
      much easier to control, and much more logical.
      
      Also, remove an issue where assignments on a relationship field to an
      instance of a super class of the foreign model would raise an error. This
      was previously addressed by re-classing the instance in the
      ModelInstanceManager::getOrBuild(); however that design would create
      multiple instances of the same object in memory, which defeats one of the
      primary design concepts of the ORM. This patch addresses the issue by
      allowing super-classes of the declared foreign model in relationship
      assignments.
      1ba40e35
    • Jared Hancock's avatar
      php: Support PHP 7, require at least 5.4 · 9616a61d
      Jared Hancock authored
      This commit attempts to remove all coding standard warnings emitted by PHP
      7.0.
      9616a61d
  10. Mar 17, 2016
    • Peter Rotich's avatar
      bug: Page Limit · 0c294774
      Peter Rotich authored
      Default to system default of staff doesn't have page limit set.
      
      Credit: @antriver PR#2951
      0c294774
    • Peter Rotich's avatar
      forms: TextboxField cleanup · bacf3e4f
      Peter Rotich authored
      Strip tags on text input field to prevent potential XSS exploit.
      bacf3e4f
    • Peter Rotich's avatar
      Textarea input cleanup · 5710c051
      Peter Rotich authored
      Let textarea widgets parse and clean input based on configured text format.
      Add cleanup routine to ThreadEntryBody
      Clean response/note inputs
      
      Conflicts:
      
      	include/class.forms.php
      	include/class.ticket.php
      5710c051
Loading