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. Jun 06, 2016
  3. 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
  4. Apr 15, 2016
  5. Mar 25, 2016
  6. Mar 24, 2016
  7. 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
  8. Jul 21, 2015
  9. Jul 13, 2015
  10. Jul 08, 2015
  11. Jun 03, 2015
  12. May 27, 2015
  13. May 17, 2015
  14. Apr 21, 2015
  15. Feb 17, 2015
  16. Feb 12, 2015
    • Jared Hancock's avatar
      Collaborators for threads, lock as a utility · 67d55198
      Jared Hancock authored
      This patch includes a slight database migration, and adjusts the
      functionality of a few core components.
      
        * Move collaborators from the ticket to the thread.
          This concept allows collaborators on any object which has a thread,
          including tasks.
      
        * Add flags to the thread entry
          This will allow flagging thread entries for different purposes.
          Initially this can be used to flag the original message of a thread in
          case a ticket / thread is created without an initial message.
      
        * Lock becomes more of a utility
          The lock is now disconnected from the ticket and is a separate utility.
          Separately, the ticket and task objects can have a reference to a lock
          object. Furthermore, when submitting some activities to tickets, the
          lock is verified to be owned by the respective agent, and the lock code
          must match a current lock code. The code is rotated on each acquire()
          call to guard against double submissions.
      
        * Collaborator is an ORM model
          The TicketUser class is broken up now so that the collaborator instance
          can exist apart from a ticket. Email message ids are now generated for
          collaborators without respect for a ticket so that collaborators can be
          properly supported on any thread.
      67d55198
  17. Jan 16, 2015
  18. Jan 13, 2015
  19. Jan 12, 2015
    • Jared Hancock's avatar
      Help topics have much better form configurations · 07e18dc1
      Jared Hancock authored
      Help topics can now specify one or more additional forms to be included on
      the help topic and can also specify the sort order of those forms.
      Furthermore, individual fields can be disabled per help topic, so that
      unnecessary fields can be omitted when necessary, per help topic.
      
      The disabled flag is recorded along side the field data so that the field
      will not be accidentally added to the form later automatically. There is no
      interface in this commit to enable a field which was disabled by the help
      topic when ticket was created.
      07e18dc1
  20. Dec 18, 2014
  21. Dec 11, 2014
Loading