Skip to content
Snippets Groups Projects
  1. May 15, 2018
    • JediKev's avatar
      issue: Prevent Click Jacking · 8c3f7a5f
      JediKev authored
      This addresses a vulnerability where there was no `X-Frame-Options` header
      which could potentially allow click jacking. This adds the
      `X-Frame-Options: SAMEORIGIN` header so it will remove any chance of click
      jacking. According to Mozilla Developer Docs:
      ```
      SAMEORIGIN
      The page can only be displayed in a frame on the same origin as the page
      itself.
      ```
      8c3f7a5f
  2. Nov 01, 2016
    • Peter Rotich's avatar
      Add Trusted Proxies and LAN Options · 4396f91c
      Peter Rotich authored
      * HTTP Option: TRUSTED_PROXIES (default: <none>
      To support running osTicket installation on a web servers that sit behind a
      load balancer, HTTP cache, or other intermediary (reverse) proxy; it's
      necessary to define trusted proxies to protect against forged http headers.
      
      * HTTP Option: LOCAL_NETWORKS (default: 127.0.0.0/24)
      When running osTicket as part of a cluster it might become necessary to
      white list local/virtual networks that can bypass some authentication
      checks.
      
      * Validate CLIENT_IP to make sure it's a valid IP address.
      4396f91c
  3. Aug 15, 2016
  4. Jun 06, 2016
  5. Jun 03, 2016
    • Michael's avatar
      Internal error occurred #2 · 8f524263
      Michael authored
      Update three phrases with from "Internal error" to "Internal error occurred" since it's the most common phrase
      8f524263
  6. Apr 24, 2016
  7. Apr 15, 2016
  8. Mar 28, 2016
  9. Mar 25, 2016
  10. Mar 24, 2016
  11. Mar 18, 2016
    • 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
  12. Jan 07, 2016
  13. Aug 19, 2015
  14. Aug 04, 2015
  15. Jul 22, 2015
  16. Jul 21, 2015
  17. Jul 13, 2015
  18. Jul 08, 2015
  19. Jun 29, 2015
    • Jared Hancock's avatar
      cli: Fix incorrect option parsing · 313641eb
      Jared Hancock authored
      This fixes a regression in the option parsing where --setup would be
      interpreted as --setup -e -t -u -p
      
      Also, some parts of osTicket, like internationalization and plugins need
      read access to a directory in order to get a list of installed plugins and
      language packs.
      313641eb
  20. Jun 24, 2015
  21. Jun 22, 2015
  22. Jun 11, 2015
  23. Jun 08, 2015
  24. Jun 03, 2015
  25. May 27, 2015
Loading