1. 26 Nov, 2021 4 commits
  2. 23 Nov, 2021 1 commit
  3. 16 Nov, 2021 1 commit
    • Cédric Anne's avatar
      Refactor encrypt/decrypt · 8d2f7089
      Cédric Anne authored
      1. Trigger warning instead of throwing errors when keyfile is corrupted/unreadable.
      2. Add more accurate tests on reading/writing operations.
      3. Simplify legacy decrypt method usage.
      4. Move encrypt/decrypt operations into GLPIKey class.
      5. Add lots of tests.
      8d2f7089
  4. 28 Oct, 2021 2 commits
  5. 27 Oct, 2021 1 commit
    • Cédric Anne's avatar
      Improve requirements checks · a121b73e
      Cédric Anne authored
      1. Add ctype, iconv and mbstring polyfills to limit required extensions.
      2. Add badges to indicates required/optional state.
      3. Add description on some requirements.
      4. Add openssl to optional required extensions.
      5. Reword titles/valdiation messages.
      6. Group some checks to improve readability.
      a121b73e
  6. 19 Oct, 2021 1 commit
  7. 14 Oct, 2021 1 commit
  8. 12 Oct, 2021 1 commit
  9. 04 Oct, 2021 2 commits
  10. 01 Oct, 2021 1 commit
  11. 15 Sep, 2021 2 commits
    • Cédric Anne's avatar
      Merge pull request from GHSA-6w9f-2m6g-5777 · 04fb738a
      Cédric Anne authored
      04fb738a
    • Cédric Anne's avatar
      Merge pull request from GHSA-5qpf-32w7-c56p · 93750ead
      Cédric Anne authored
      * Protect ITIL document deletion against CSRF
      
      * Protect AJAX POST queries against CSRF
      
      * Keep CSRF token when used from AJAX query
      
      * Ensure marketplace writing actions are using POST
      
      * Ensure planning writing actions are using POST
      
      * Ensure datacenter writing actions are using POST
      
      * Ensure timeline writing actions are using POST
      
      * Ensure objectlock writing actions are using POST
      
      * Ensure dashboard writing actions are using POST
      
      * Ensure file uploads are using POST
      
      * Ensure kanban writing actions are using POST
      
      * Ensure cache reset operations are using POST
      93750ead
  12. 25 Aug, 2021 1 commit
  13. 23 Jul, 2021 1 commit
  14. 19 Jul, 2021 1 commit
    • Cédric Anne's avatar
      Replace TCPDF by mPDF (#9282) · aaa3060f
      Cédric Anne authored
      * Replace TCPDF by mPDF
      
      * Fix lib check
      
      * Migrate font prefs
      
      * Changelog, memory optim + code mutualization
      
      * Fix TMP dir
      aaa3060f
  15. 30 Jun, 2021 1 commit
    • Cédric Anne's avatar
      Fix inconsistency on date fields and add index on name fields (#9200) · 8fc5d4f6
      Cédric Anne authored
      * Rename db check commands
      
      * Check DB schema consistency for date fields
      
      * Add indexes on "name" fields
      
      * Rename some date fields to improve naming consistency
      
      * Fix search option id migration
      
      * Add test on name indexing
      
      * Add tests on DatabaseSchemaConsistencyChecker
      
      * Fix missing renaming
      8fc5d4f6
  16. 10 Jun, 2021 1 commit
  17. 09 Jun, 2021 1 commit
  18. 17 May, 2021 2 commits
  19. 07 May, 2021 1 commit
    • Cédric Anne's avatar
      Switch to symfony/cache; closes #8561 (#8944) · b0f65dec
      Cédric Anne authored
      * Switch to symfony/cache; closes #8561
      
      1. Use filesystem by default.
      2. Drop support of APCu/Wincache (and so remove footprint file checks).
      3. Remove fallback to memory cache when configured cache adapter fails.
      4. Handle configuration outside database.
      5. Add a configuration command.
      6. Remove cache contents from debug tab (weighs too much and not really usefull).
      7. Test, test, test !
      
      * Drop couchbase support
      
      * Drop file:// scheme definition
      
      * Add memcached to test suite
      
      * Fix namespace normalization
      
      * Fix tests
      
      * Show memcached version
      b0f65dec
  20. 29 Mar, 2021 1 commit
  21. 18 Mar, 2021 1 commit
  22. 16 Mar, 2021 1 commit
  23. 02 Mar, 2021 1 commit
  24. 12 Feb, 2021 2 commits
  25. 03 Feb, 2021 1 commit
    • Cédric Anne's avatar
      Enhance db:check command · 7dd526f4
      Cédric Anne authored
      - Move code to a dedicated and testable class;
      - Check for indexes differences;
      - Check for table options differences;
      - Adapt checks to DB config, DB server and DB version;
      - Add parameters to adapt checks depending on already ran migrations;
      - Exit with an error code when differences are found;
      - Permit do do a non strict check (do not take care or fields / index orders in table);
      - Call the command after each migration on test suite;
      - Add tests on most relevant cases.
      7dd526f4
  26. 02 Feb, 2021 1 commit
    • Curtis Conard's avatar
      Complete Clonable trait (#7816) · 00bc1bec
      Curtis Conard authored
      
      
      * Move clone methods to Clonable trait
      
      * Fix lint + try rerun tests
      
      * Revert return type. Use Toolbox::deprecated
      
      * Fixes
      
      Deprecate
      DBChild and DBRelations should be clonable by nature
      Fix parent calls
      
      * Factorize trait imports
      
      * Changes/fixes:
      
      - Simplify trait usage
      - NetworkPort is clonable
      - CommonDBConnexity is clonable
      - Clean input properties in dedicated method
      
      * Networkport inherits clonable from CommonDBConnexity
      Co-authored-by: default avatarJohan Cwiklinski <jcwiklinski@teclib.com>
      Co-authored-by: default avatarCédric Anne <cedric.anne@gmail.com>
      00bc1bec
  27. 27 Jan, 2021 1 commit
  28. 25 Jan, 2021 1 commit
  29. 20 Jan, 2021 1 commit
    • Johan Cwiklinski's avatar
      Native inventory, based on JSON schema · 3a38ec5e
      Johan Cwiklinski authored
      Schema doc: https://github.com/glpi-project/inventory_format
      Can be overrided from a plugin to inventory its own types.
      
      Based on inventory features provided from fusioninventoryplugin, and
      compatible with
      
      New uUpgraded equipement rules to handle several itemtypes, add reset capacity
      Handle Phones inventories
      Add entites rules
      
      Locks management for fields and its tests:
      - Fields that have been updated from GLPI must not be modified from
      inventory, and inventory does not lock anything.
      - An icon is displayed in main item form only, even if all item types
      can be locked. Displaying on all forms would require to change each
      form individually (very huge work to copy a few lines of code).
      - All item types can be locked
      
      Overridable USB and PCI vendors list
      
      Network inventory
      
      Support for network equipments, stacked, wireless, VLANS,
      LLDP/CDP and MAC connections, hubs
      
      Add some missing fields in network tables
      
      Use withHistory and fix usages
      Check request mime type lowerca...
      3a38ec5e
  30. 19 Jan, 2021 1 commit
    • Cédric Anne's avatar
      Use utf8mb4 MySQL character set · e4a7ed23
      Cédric Anne authored
       - Use utf8mb4 as default charset for fresh installation
       - utf8mb4 migration command
       - warn for collation mix on migration
       - Force ROW_FORMAT = Dynamic on fresh install
       - Add warning on central page if some tables are not migrated
      e4a7ed23
  31. 07 Jan, 2021 1 commit
  32. 18 Dec, 2020 1 commit