Skip to content
Snippets Groups Projects
  1. Jan 06, 2014
  2. Dec 11, 2013
  3. Dec 10, 2013
  4. Dec 09, 2013
    • Jared Hancock's avatar
      fetch: Fix clobbered user on fetch, round two · 8ee35dc9
      Jared Hancock authored
      Again, fix issue where multiple mails fetched in the same fetch run will set
      the user of each of the mails to the user of the first email fetched.
      
      The previous patch neglected to pass the new $cache argument through the
      inherited UserForm::getFields() function.
      8ee35dc9
  5. Dec 05, 2013
  6. Nov 26, 2013
  7. Nov 25, 2013
  8. Nov 21, 2013
  9. Nov 16, 2013
  10. Nov 13, 2013
    • Jared Hancock's avatar
      Ensure unique form entries are made with each ticket · b25fa2ce
      Jared Hancock authored
      Fixes a case where multiple tickets are created in one request (such as a
      cron job triggering multiple email fetches). The TicketForm::getInstance()
      called in Ticket::create() used a singleton pattern to retrieve a cached
      instance of the TicketForm. In the case of ticket creation, each ticket
      needs a new TicketForm entry instance.
      b25fa2ce
  11. Nov 08, 2013
  12. Nov 07, 2013
  13. Nov 06, 2013
  14. Nov 05, 2013
  15. Oct 29, 2013
    • Jared Hancock's avatar
      Allow both internal and required fields · 81bcb80a
      Jared Hancock authored
      Previously, clients would not be able to create tickets if an internal,
      required field existed on any of the forms presented to the user. Instead,
      they would be stuck at permanent validation failure because there was no
      data for a required field not shown.
      
      This patch adds a feature to the form and dynamicFormEntry objects'
      isValid() method to receive a callable to filter which fields' errors should
      be added to the form's errors list. This allows for more complex validation
      where in some cases, validation errors should not be considered on some
      fields.
      
      Fixes #45
      81bcb80a
  16. Oct 28, 2013
    • Jared Hancock's avatar
      Use seemingly-random form input names · 4b62e47a
      Jared Hancock authored
      Which will help fight off spammers. This should be coupled with logic that
      will add some enticing fields, like 'email' and 'name' to invite bot input.
      Then, on the form processing side, a spam submission can be detected and
      handled differently from human submissions. This should lessen reliance on
      CAPTCHA only as spam detection.
      4b62e47a
  17. Oct 25, 2013
  18. Oct 22, 2013
  19. Oct 14, 2013
  20. Oct 11, 2013
  21. Oct 10, 2013
  22. Oct 09, 2013
    • Jared Hancock's avatar
      Rebase onto feature/html-thread · 9e4e35d7
      Jared Hancock authored
      9e4e35d7
    • Jared Hancock's avatar
      f7384359
    • Jared Hancock's avatar
      Fixup the installer · e055cc21
      Jared Hancock authored
      Fixup several minor bugs concerning initial experience
      e055cc21
    • Jared Hancock's avatar
      Completion of dynamic forms concept · 43b74f4a
      Jared Hancock authored
      Moved to an initial form which specifies the ticket's priority and issue and
      changed the rendering to render things properly. Now the user can decide
      where priority shows on the client side, and the priority privacy setting is
      placed in the dynamic form wizard.
      
      The standard form is added to every ticket without option. Extra forms can
      be defined and associated with help topics which can additionally be added
      to tickets upon creation. This allows for standardization of the dynamic
      data location for searches and filtering.
      
      Implemented advanced search for dynamic data. Along with reinstating the
      basic ticket search on keywords
      
      Implemented ticket filtering on dynamic data for both keyword searches as
      well as searches for special fields (drop-down lists, etc.)
      
      Phone number for users is now completely optional
      43b74f4a
    • 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
      Rebase form sections to forms and remove form sets · 59c219f4
      Jared Hancock authored
      Previously, form sections were grouped into form sets for reusability. This
      patch drops the form sets and makes form sections the new "forms".
      Eventually a section-header field will be added that technically does not
      add any dynamic data to the form, but allows for the same feature as having
      a form set with multiple sections.
      59c219f4
    • Jared Hancock's avatar
      Better implementation of joins in ORM · 1ce20852
      Jared Hancock authored
      Use an internal hash table of join information to prevent multiple joins
      over the same path. Also use table aliases in order to support self joins or
      otherwise multiple joins to the same table using different paths.
      1ce20852
    • 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
Loading