Skip to content
Snippets Groups Projects
  1. Oct 02, 2019
    • JediKev's avatar
      issue: Revert fefed147 · c9be2e00
      JediKev authored
      This addresses issue 5084 by partially reverting commit `fefed147`. In said
      commit, we updated `THIS_VERSION` to utilize `MAJOR_VERSION` which is fine.
      However, we also updated the deploy module to copy the same format. This
      interferes with the osTicket Version check by not including the entire
      subversion and not starting with a `v` (ie. `v1.12.3`). This reverts the
      copied format section of the commit so that `THIS_VERSION` will be the full,
      non-git version when deployed/packaged.
      c9be2e00
  2. Jul 26, 2019
    • JediKev's avatar
      issue: THIS_VERSION Utilize MAJOR_VERSION · 5b4c5124
      JediKev authored
      This addresses an issue where using osTicket from git would show the
      incorrect git version in `Admin Panel > Dashboard > Information`. This is
      due to a hardcoded git version of `1.8-git`. This updates `THIS_VERSION` to
      utilize `MAJOR_VERSION` so that it sets the correct git version. This also
      updates the `deploy` CLI module to match the same format (example:
      `1.12-git`).
      5b4c5124
  3. May 09, 2019
    • JediKev's avatar
      cli: Package Better Wording · bf20bdd5
      JediKev authored
      This updates the variable name that determines if the current PHP version is
      5.6+ from `$php56` to `$php56plus`. This will help other understand better
      what the variable is/does.
      bf20bdd5
  4. Apr 25, 2019
    • JediKev's avatar
      cli: Package No File Permissions · 25e6c6e9
      JediKev authored
      This addresses an issue where the `package` cli module is leaving out the
      permissions on files. This causes the final ZIP archive to contain files
      without permissions meaning the files are un-usable until you restore
      permissions. This can make life difficult on people trying to install
      osTicket with minimal knowledge as they wouldn’t know what is wrong.
      
      This is due to the `setExternalAttributesName` method not shifting 16 bits
      on the file "mode" which will not translate to binary. The file "mode" is
      the inode protection mode for a file returned by the `stat()` method. It is
      essentially a decimal representation of a file's permissions. Since "mode"
      is in decimal format we need to shift by 16 bits to translate it to binary
      so the archiver understands. Once the mode is translated to binary the
      permissions are preserved.
      25e6c6e9
  5. Apr 16, 2019
  6. Feb 05, 2019
  7. Oct 24, 2018
    • Jared Hancock's avatar
      upgrade: Actually re-fetch the config from database · c7386c8b
      Jared Hancock authored
      This patch fixes the issue where the configuration was not properly
      reloaded during an upgrade. The configuration items were stashed in the
      Config class and were not re-fetched from the ::load() method.
      Additionally, this patch forces the ORM cached objects to be flushed on
      each loop through the automated upgrader to ensure that cached data
      which might have been modified directly in the database during the
      database process is destroyed.
      c7386c8b
  8. Jul 30, 2018
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap Fix · 2dc08a9e
      JediKev authored
      This addresses an issue introduced with 4332 where the deploy CLI breaks
      upon deploying to an existing location. This checks to see if there is a
      bootstrap file in the destination first and if so it uses that one if not
      uses the source.
      2dc08a9e
  9. Jul 24, 2018
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap Fix · 2dacfde0
      JediKev authored
      This addresses an issue introduced with 4332 where the deploy CLI breaks
      upon deploying to an existing location. This checks to see if there is a
      bootstrap file in the destination first and if so it uses that one if not
      uses the source.
      2dacfde0
  10. Jul 17, 2018
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap · ee208fca
      JediKev authored
      This addresses issue 4322 where deploying via CLI is missing
      `bootstrap.php`. This is due to the `get_include_dir()` function that
      tries to include a file from the destination which doesn’t exist yet,
      causing a fatal error. This updates the function to use `$this->source`
      instead of `$this->destination` to correctly find and include
      `bootstrap.php`.
      ee208fca
  11. Jul 09, 2018
    • JediKev's avatar
      issue: CLI Deploy Missing Bootstrap · fd75eddf
      JediKev authored
      This addresses issue 4322 where deploying via CLI is missing
      `bootstrap.php`. This is due to the `get_include_dir()` function that
      tries to include a file from the destination which doesn’t exist yet,
      causing a fatal error. This updates the function to use `$this->source`
      instead of `$this->destination` to correctly find and include
      `bootstrap.php`.
      fd75eddf
  12. Oct 30, 2017
  13. Jun 13, 2016
  14. Apr 28, 2016
  15. Mar 29, 2016
    • Jared Hancock's avatar
    • Jared Hancock's avatar
      i18n: Fix slowness of DNS queries on system information · bf7dedb9
      Jared Hancock authored
      Also, add build version and path information for the PHAR files listed as
      language packs.
      bf7dedb9
    • Jared Hancock's avatar
      i18n: Add MAJOR_VERSION to the language packs · ae803f79
      Jared Hancock authored
      Since two major versions will internationalization support will soon be
      available, the language pack system will need a way to indicate which major
      version of osTicket the phrases were compiled for. This patch adds a
      `Phrases-Version` tag to the MANIFEST, which will be a copy of the
      MAJOR_VERSION included in the messages.pot file created via `make-pot`.
      Then, a `Build-Major-Version` tag is added to the MANIFEST which represents
      the version of osTicket used to compile the language pack.
      
      Ordinarily, both strings should be the same, and they should also both match
      the MAJOR_VERSION of osTicket when the language packs are loaded on a
      production system.
      
      This also adds support for PHAR compression in the build process. Since
      accessing a PHAR file in a request burns 1ms per megabyte of PHAR file,
      reducing the PHAR file size by up to 77% means that much less time spent
      loading PHAR files. This can be especially useful for a busy server with
      support for several languages. But, ZLIB or BZIP2 support would be required
      for all production servers.
      ae803f79
  16. Mar 24, 2016
  17. Dec 18, 2015
  18. Sep 18, 2015
  19. Jul 28, 2015
  20. Jul 22, 2015
  21. Jul 21, 2015
  22. Jul 10, 2015
    • Jared Hancock's avatar
      upgrade: Defer migrating attachments from v1.6 · 6d30aa28
      Jared Hancock authored
      This patch suggests that old attachments in the `upload_dir` can be located
      and left alone when upgrading away from osTicket v1.6. Later, via the `file`
      command line applet, the attachments can be migrated into the database, or
      to the new filesystem plugin after it is installed with:
      
          php manage.php file migrate --backend=6 --to=D
      
      This allows attachment migration to be retried in the event it failed for
      any reason.
      6d30aa28
    • Jared Hancock's avatar
      cli: Add concept of cli applet to upgrade · 804784fd
      Jared Hancock authored
      804784fd
  23. Jun 24, 2015
Loading