1. 06 May, 2019 1 commit
  2. 19 Feb, 2019 1 commit
    • Cédric Anne's avatar
      Move cache configuration from DB to local config file · 9b30eb1f
      Cédric Anne authored
      * Cache configuration is now handled in DI container parameters.
      * `GLPI_CONFIG_DIR . '/parameters.yaml'` will be loaded, if existing, during container build.
      * Legacy cache config existing in DB will be migrated into the new local config file during migration from 9.4 to 10.0.
      * `global $GLPI_CACHE` has been dropped.
      * All tests are now ran using apcu cache adapter.
      * A unique cache id is now set on installation.
  3. 15 Feb, 2019 1 commit
    • Johan Cwiklinski's avatar
      Change DB configuration · 00e5fda3
      Johan Cwiklinski authored
      DB class no longer exisst
      Fix on install
      Database factory, use yml config
      Define db driver
      Fix config
      Maybe drop the param
      Fix class name and travis tests configuration
      No public properties in Database
      Fix some CS
      Wrong class
      Fix typehint
      Fix tests
      Do not expose password
      Prepare for slave and direct conf
      Rework conf write, change slave conf
      Missing use
      User, pass and dbname are not mandatory, will be inherited
      Slave config extends master one
      Fix CS
      Slave conf
      PR fixes
      Missed ocurence
      Handle old configuration file migration
  4. 06 Feb, 2019 1 commit
    • Johan Cwiklinski's avatar
      Switch to PDO; closes #5156 · 810bba2b
      Johan Cwiklinski authored
      This rewrites entirely the way database queries are built.
      Also, many (not needed) static calls has been dropped.
      Move non MYSQL specific in abstract class
  5. 31 Jan, 2019 1 commit
    • Cédric Anne's avatar
      Clean code · 0de6a224
      Cédric Anne authored
       * Remove passing of unexisting parameters
       * Add/Fix PHPDoc
       * Remove dead/useless code
       * Fix arguments/return types
       * Fix static calls of non statics methods
  6. 14 Dec, 2018 1 commit
  7. 29 Nov, 2018 1 commit