Skip to content
Snippets Groups Projects
  1. Sep 04, 2018
    • aydreeihn's avatar
      Email Name Format · 015d45a6
      aydreeihn authored
      This commit further corrects issues where emails were being sent out with names being improperly formatted if the name format is set as 'Last, First' or if it has special characters.
      015d45a6
  2. Aug 20, 2018
    • JediKev's avatar
      sessions: Clear On Password Set/Reset · 1aaab76f
      JediKev authored
      This adds a Signal to clean Agent and User sessions upon setting/resetting
      their password. If an Agent/User resets their own password and has multiple
      sessions open it will log them out of every session except the one they’re
      on.
      1aaab76f
  3. Jul 17, 2018
    • JediKev's avatar
      issue: User Import No Email · b65185ba
      JediKev authored
      This addresses issue 4329 where you can import a User with no email
      address via CSV file. Once the User is added and you try to update them
      with an email address it fails due to no default email. This updates the
      check for email address from `!isset()` to `empty()` which will correctly
      check for empty string.
      b65185ba
  4. Jul 13, 2018
    • JediKev's avatar
      issue: User Import No Email · c8e2c3f1
      JediKev authored
      This addresses issue 4329 where you can import a User with no email
      address via CSV file. Once the User is added and you try to update them
      with an email address it fails due to no default email. This updates the
      check for email address from `!isset()` to `empty()` which will correctly
      check for empty string.
      c8e2c3f1
    • Peter Rotich's avatar
      EmailAddress Revisited · 7b67cb41
      Peter Rotich authored
      Make it a utility class for parsing an email address. Relies on PEAR to
      parse RFC822 compliant email.
      7b67cb41
    • Peter Rotich's avatar
      Mailer: Add concept of multi-recipients to mailer · db7daa24
      Peter Rotich authored
      This commit adds ability to send and email to multiple recipients with
      auto-detection of TO/CC/BCC  (based on user class)
      db7daa24
  5. Jul 11, 2018
    • aydreeihn's avatar
      User Registration Fixes: · 824e92b2
      aydreeihn authored
      This commit fixes a bug where Public User Registration always resulted in creating a new User. Now, if a User goes to register an Account and their email already matches a User in the system, we will register the existing User. To set the registration method, go to:
      Admin Panel | Settings | Users | Registration Method
      824e92b2
  6. Apr 24, 2018
    • aydreeihn's avatar
      Changes for email template recipient/staff variables: · 3171aa0c
      aydreeihn authored
      - change recipient name vars to 'Collaborator' in tmpls if ticket user isn't a recipient
      - for templates going to Bcc'd Collaborators, account for all name format variables that could be used
      - new function getNameFormats returns an array of all name formats in templates for staff.name.* or recipient.name.*
      - other minor cc/bcc fixes
      3171aa0c
  7. Dec 17, 2017
  8. Oct 30, 2017
  9. Jan 02, 2017
  10. Mar 26, 2016
  11. Mar 24, 2016
  12. 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
  13. Feb 05, 2016
  14. Jan 07, 2016
  15. Nov 04, 2015
    • Peter Rotich's avatar
      Bug: Users import · b33aa528
      Peter Rotich authored
      Fix forms mixup bug that nulled users' name for existing users on CSV import. GUI update worked
      as expected only because of the magic $_POST variable.
      b33aa528
  16. Sep 28, 2015
  17. Sep 26, 2015
    • Jared Hancock's avatar
      orgs: Add ticket sharing feature · f6ccc3f6
      Jared Hancock authored
      This feature allows (by option) an organization to allow its members to see
      tickets from other members. It can be used beside or instead of the
      automated collaboration feature. Now, collaborators retain access to tickets
      on which they participate; however, sharing can be used to enable access to
      other tickets owned by their organization.
      f6ccc3f6
  18. Aug 18, 2015
  19. Aug 07, 2015
  20. Jul 30, 2015
  21. Jul 28, 2015
  22. Jul 21, 2015
  23. Jul 10, 2015
  24. Jul 08, 2015
    • Jared Hancock's avatar
      variable: Rework the variable replacement system · 9cc12bdb
      Jared Hancock authored
      getVar() is now called first, then object properties and array properties
      are considered, and then getTag() is considered if none of the other options
      work. This allows for more predictable results using the variable
      replacement system, and allows ::getVar() to override every other means to
      use variables in email templates.
      9cc12bdb
  25. Jun 08, 2015
  26. Jun 03, 2015
    • Jared Hancock's avatar
      Fix numerous observed issues · fdef8182
      Jared Hancock authored
      * Fix crash in Ticket::getLastRespondent
      * Fix crash is ORM if using a superclass of a relationship from cache. For
        instance, if the cache contains an ObjectThread instance, but a
        TicketThread instance is required in the relationship. In such a case, use
        the cached data, but change this class. This; however, violates the single
        nature of cache entries.
      * Fix spurious events appearing after upgrade due to deleted tickets
      * Ensure floating content in thread-body divs does not float past the bottom
      * Provide an anchor to thread entries
      * Show thread entries before events where both have the same timestamp
      * Fix double events for collaborator additions
      * Credit email sender with collaborator addition
      * Fix incorrect rendering of collaborator addition event
      * Fix crash on new ticket due to non-static function
      * Fix missing sort on sub-query if explicitly declared in QuerySet
      * Fix missing parentheses in SQL for ['field__eq' => QuerySet]
      * Fix incorrect SQL on compileSelect for models with inherited $meta['table']
      * Dynamically adjust relative time client side
      fdef8182
  27. May 28, 2015
    • Jared Hancock's avatar
      orm: Port Ticket class to ORM · 9a546a6c
      Jared Hancock authored
      This is one of the last milestones for osTicket on an ORM. Unfortunately, it
      doesn't make any remarkable speed increases at the moment.
      9a546a6c
Loading