Skip to content
Snippets Groups Projects
  1. Jan 17, 2014
  2. Jan 15, 2014
  3. Dec 11, 2013
  4. Nov 30, 2013
    • Jared Hancock's avatar
      auth: Handle REQUEST_URI not being authoritative · 4c7aaa03
      Jared Hancock authored
      If _SERVER{REQUEST_URI} does not start with a leading slash, add one. This
      will ensure that the redirect URL offered after a successful login will
      be to an absolute url rather than an implied relative one.
      
      Fixes osTicket/osTicket-1.7#858
      4c7aaa03
  5. Oct 29, 2013
  6. Oct 19, 2013
  7. Oct 17, 2013
  8. Oct 09, 2013
    • Jared Hancock's avatar
      Move client information to separate formset · 53666db6
      Jared Hancock authored
      This moves client information like name and email address out of the general
      dynamic forms data for a ticket. It really paves the way for the first-class
      user of the future.
      53666db6
    • Jared Hancock's avatar
      Dynamic data for osTicket · 9e75169e
      Jared Hancock authored
      *This is a major redesign / rework of the osTicket base*
      
      This patch drops the concept of static ticket metadata and allows for an
      admin-configurable arbitrary data that is attachable to tickets
      
      The system is architected such that the base osTicket install now comes with
      a "default" form that has fields for subject, name, email, and phone number.
      This form is editable to allow for the addition of arbitrary other fields;
      however, the basic fields must remain in order to be associated with a
      help-topic and attached to a ticket.
      
      This concept can be expanded to allow for arbitrary data associated with
      registered clients or ticket thread items.
      
      Forms are comprised of sections. Sections have a title and instructions
      properties and a list of fields. Fields have various implementations to
      represent different data such as text, long answer, phone number, datetime,
      yes/no, and selections, and are configurable to define the look and feel and
      interpretation of the respective form field.
      
      Dropdown lists are represented as "Dynamic Lists", which are
      admin-configurable lists of items. Dropdowns can be optionally represented
      as Bootstrap typeahead fields.
      
      This also adds the start of a simple ORM which will hopefully be expanded in
      the future to support multiple database platforms. Currently, only MySQL is
      implemented.
      9e75169e
  9. Oct 04, 2013
  10. Sep 30, 2013
  11. Sep 18, 2013
    • Jared Hancock's avatar
      Fixes ROOT_PATH detection on Windows · 338a71a5
      Jared Hancock authored
      Also converts ROOT_DIR detection to always use forward slashes. And it fixes
      the removal of the leading double-backslash on Windows UNC names (fixes #649)
      338a71a5
  12. Sep 11, 2013
  13. Sep 06, 2013
    • Jared Hancock's avatar
      Fix cookie domain for localhost · faeed43c
      Jared Hancock authored
      Web browsers don't appreciate a cookie domain without any dots. This patch
      detects the originally-requested domain for the request. If the domain does
      not contain dots (such as 'localhost' or the name of a local server on your
      network defined in your hosts file), no cookie domain is sent.
      
      The greatest symptom of this issue what the illustrious 'Invalid CSRF token'
      seen repeatedly on the scp login page. The reason is that the browser was
      rejecting the cookie from the server.
      
      Fixes #677, #672, #653
      faeed43c
    • Jared Hancock's avatar
      Fix cookie domain for localhost · 8e72e521
      Jared Hancock authored
      Web browsers don't appreciate a cookie domain without any dots. This patch
      detects the originally-requested domain for the request. If the domain does
      not contain dots (such as 'localhost' or the name of a local server on your
      network defined in your hosts file), no cookie domain is sent.
      
      The greatest symptom of this issue what the illustrious 'Invalid CSRF token'
      seen repeatedly on the scp login page. The reason is that the browser was
      rejecting the cookie from the server.
      
      Fixes #677, #672, #653
      8e72e521
  14. Sep 05, 2013
  15. Sep 02, 2013
  16. Aug 13, 2013
  17. Aug 12, 2013
    • Jared Hancock's avatar
      Make default data translatable · 20f3e62a
      Jared Hancock authored
      This is one of the last major hurdles to make osTicket fully translatable.
      With the advent of 1.7.0, database migration is based on the MD5 hash of the
      install SQL file. Therefore, the install SQL script cannot be modified (ie.
      translated) or else the system cannot be migrated, since the MD5 hash will
      no longer match up.
      
      This patch pulls initial data out of the install file so that it can be
      translatable. Eventually the install worksheet can allow a drop-down box of
      the default system language. The default data from that language will be
      loaded into the system.
      20f3e62a
  18. Aug 09, 2013
  19. Aug 02, 2013
  20. Aug 01, 2013
  21. Jul 23, 2013
    • Jared Hancock's avatar
      Add concept of initial data · 1c5338ac
      Jared Hancock authored
      We should move initial data out of the install SQL file, which will make way
      for a few things:
      
        * Internationalization -- which breaks the migrater model currently.
              Moving the data outside the install script makes it translatable
              without changing the SQL hash
        * Review -- Migrations which add more data don't highlight new features
              that need review to the adminsitrator
      1c5338ac
  22. Jul 04, 2013
    • Jared Hancock's avatar
      Support multiple update streams · b02778cd
      Jared Hancock authored
      This patch allows the upgrader to upgrade multiple database update
      'streams'. The main stream is renamed to 'core' to reflect changes made
      to the config class. This will significantly ease customizations
      requiring database customizations, and will make plugins requiring
      database changes possible.
      b02778cd
  23. Jul 03, 2013
  24. May 28, 2013
    • Jared Hancock's avatar
      Various bug-fixes for the upgrader · 0e0f6dcb
      Jared Hancock authored
      - timezone_offset was dropped from the config table at 1.7-dpr1
      - upgrader: only apply five patches in one request
      - upgrader: fix readPatchInfo to work correctly
      - session: support migrating from 1.6 (again)
      - config: support migrating from 1.6 (fallback)
      - config: no default for 'isonline' setting
      - config: fix SQL whitespace issue for schema signature fallbacks
      - config: hash 1.6 versions in the schema signature lookup
      - upgrader: fix logging bug in attachment migration
      0e0f6dcb
    • Jared Hancock's avatar
      03ede650
    • Jared Hancock's avatar
      Federate configuration settings · db81f071
      Jared Hancock authored
      Change the config table from a column-based table to a key-value table
      with namespacing. This allows several parts of osTicket to store their
      respective configurations in the same table without requiring database
      structure updates
      
      'namespace' is reserved in PHP
      db81f071
  25. May 23, 2013
  26. May 22, 2013
    • Jared Hancock's avatar
      Allow osTicket to install on a database cluster · c83248ce
      Jared Hancock authored
      The problem stems from assumed MySQL insert ids. In MySQL clusters, the id
      numbers will not necessarily be consecutive. This patch causes the install
      and upgrade patches to lookup the assumed values for the linked id numbers.
      c83248ce
  27. May 13, 2013
  28. Apr 02, 2013
  29. Mar 14, 2013
Loading