1. 10 Jun, 2021 1 commit
  2. 02 Jun, 2021 1 commit
  3. 31 May, 2021 1 commit
  4. 27 May, 2021 1 commit
  5. 12 May, 2021 1 commit
    • Adrien Clairembault's avatar
      Anonymized helpdesk: add nicknames (#9060) · 01f78d39
      Adrien Clairembault authored
      * Anonymized helpdesk: add nicknames
      
      * Lint
      
      * Move code to avoid useless queries
      
      * Fix typo
      
      * Use is_private to check if we need to anonymize in notification body
      
      * Improve code readability
      
      * Check central profiles instead of is_private
      01f78d39
  6. 27 Apr, 2021 2 commits
    • Stanislas's avatar
      feat(auth): add option to define timeout (#8997) · 75b65e0d
      Stanislas authored
      * feat(auth): add option to define timeout
      
      * refactor(code): fix CS
      
      * refactor(code): increase default value to 3
      
      * refactor(code): fix html
      
      * fix(code): fix SO datatype
      
      * refactor(code): increase default value to 10
      
      * fix(code): fix SO datatype
      
      * refactor(code): fix CS
      
      * refactor(code): refactor code
      
      * fix(tu): fix TU
      
      * refactor(code): move new option to 'Advanced info'
      
      * fix(code): fix CS
      
      * refactor(code): remove useless default value
      75b65e0d
    • Stanislas's avatar
      Add default central page option (#8987) · c14b3e34
      Stanislas authored
      * feat(core): add default tab option for central page
      
      * fix(code): fix CS
      
      * fix(code): fix tinyint width
      c14b3e34
  7. 01 Apr, 2021 1 commit
  8. 31 Mar, 2021 1 commit
  9. 24 Mar, 2021 1 commit
  10. 19 Mar, 2021 1 commit
  11. 24 Feb, 2021 1 commit
  12. 19 Feb, 2021 1 commit
  13. 15 Feb, 2021 1 commit
    • Cédric Anne's avatar
      Check for missing / misnamed / useless database keys · d5efef09
      Cédric Anne authored
       - Detect missing keys corresponding to foreign keys
       - Detect missing keys on is_* fields
       - Detect missing keys on date fields
       - Detect misnamed keys (optionnal)
       - Detect useless keys that are included in a larger key (optionnal)
       - Add missing keys
       - Drop useless keys
      d5efef09
  14. 09 Feb, 2021 3 commits
  15. 03 Feb, 2021 2 commits
    • Johan Cwiklinski's avatar
      Add remote management · 6f14f8de
      Johan Cwiklinski authored
      Remove no longer relevant Plugin::haveImport checks
      Inventory remote management
      Use trait to call inventory info on inventoriable assets
      ComonDBChild method to display plugin inventory info hook
      6f14f8de
    • Cédric Anne's avatar
      Normalize glpi-empty.sql to match "SHOW CREATE TABLE" output from MySQL · 9b5ddeb0
      Cédric Anne authored
      - Reorder table properties;
      - No space between table properties and their value;
      - No space after coma located between key fields;
      - Move UNIQUE KEY after PRIMARY KEY;
      - Surround numeric default values by quotes;
      - Uppercase AUTO_INCREMENT;
      - Remove DEFAULT NULL on text fields;
      - Add KEY automatically added by CONTRAINT declaration.
      9b5ddeb0
  16. 02 Feb, 2021 1 commit
    • Charles-Antoine Degennes's avatar
      Improve db:check command results · 6d894289
      Charles-Antoine Degennes authored
       - db:check: add success output on clean DB
       - glpi-empty.sql: remove extra space
       - glpi-empty.sql: lowercase all types
       - glpi-empty.sql: add default values for 'timestamp not null' fields
       - glpi-empty.sql: add missing default values for tinyint
       - glpi-empty.sql: add named constraint on foreign key
       - glpi-empty.sql: remove explicit NULL on nullable columns
       - validate db:check on installation test suite
      6d894289
  17. 25 Jan, 2021 1 commit
  18. 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
  19. 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
  20. 11 Jan, 2021 1 commit
  21. 07 Jan, 2021 1 commit
  22. 05 Jan, 2021 1 commit
  23. 04 Jan, 2021 1 commit
  24. 18 Dec, 2020 3 commits
  25. 16 Dec, 2020 1 commit
    • Cédric Anne's avatar
      Fix some errors triggering MySQL Warnings (#8415) · 71c4643a
      Cédric Anne authored
      * Fix some errors triggering MySQL Warnings
      * Permit usage of entity id when calling DbTestCase::setEntity()
      * Handle booleans values in DB request
      
      Fix "BLOB, TEXT, GEOMETRY or JSON column 'positions' can't have a default value"
      Fix "Incorrect integer value: '_test_root_entity' for column `glpi_profiles_users`.`entities_id` at row 1"
      Fix "Truncated incorrect DOUBLE value: ''" when tinyint is set to `false` instead of `0`
      Fix "Incorrect integer value: '' for column `xxx`.`users_id` at row 1" due to logout state in tests
      Fix "Incorrect integer value: '' for column `glpi_knowbaseitems_revisions`.`id` at row 1" during new KB revision creation
      Fix invalid entity selection in `tests\units\Appliance_Item_Relation::testCountForApplianceItem()`
      Fix "Incorrect integer value: 'N/A' for column `glpi`.`glpi_items_deviceprocessors`.`states_id` at row 1" in `tests\units\Computer::testUpdate()`
      Fix "Incorrect integer value: '' for column `glpi`.`glpi_logs`.`items_id` at row 1" in `tests\units\Computer::testClone()`
      Fix "Incorrect integer value: '' for column `glpi`.`glpi_groups_users`.`users_id` at row 1" in `tests\units\Group_User::testIsUserInGroup()`
      Fix "Column 'softwareversions_id_use' cannot be null"
      Fix "Data truncated for column 'entities_id' at row 1" in Log tests
      Fix "Field 'from', 'to', 'date' and 'messageid' doesn't have a default value"
      71c4643a
  26. 02 Nov, 2020 1 commit
  27. 14 Oct, 2020 1 commit
  28. 05 Oct, 2020 1 commit
    • Johan Cwiklinski's avatar
      Rework appliances from scratch · f6c2cbde
      Johan Cwiklinski authored
      Add basic appliance and item_appliance classes (from cluster and item_cluster)
      Add new objects from clustertypes
      Fixes, use modern methods for count, fix update
      Add missing tab (present in define.php), fix tests
      Work on form and search options
      Missed front files, add front form items
      Add notepad, add is_helpdesk_visible field
      Clonable
      Test clone
      Copy search options from old code (they should not change at all)
      Fix, add some missing fronts
      Add massive action to link/unlink items
      Fix display on item side; add MA on item side
      Fix helpdesk visible for appliances
      Apply 1 suggestion(s) to 1 file(s)
      Apply 1 suggestion(s) to 1 file(s)
      MR fixes
      Soem more MR fixes
      Apply 1 suggestion(s) to 1 file(s)
      Add is_visible_appliance in state table
      Disable MA
      Missing conf
      Fix associated items tab, add itemtype on associated items list
      Simplier header
      Fix redirection
      Fix texts
      Missing SO
      Another missing SO
      Fix rights; drop no longer used form
      Quick and dirty fix for tests
      Fix duplicate SO
      Fix missing forbidden MA
      Fix MA
      Apply same take_entity configuration as in certificates
      Missing comment field
      Add relations to appliances
      UI for relations
      Migrate and drop old relationtype field
      Use configuration, plugins can add their types if needed
      Not removed from install file
      Fix getetxt singular/plural
      f6c2cbde
  29. 10 Sep, 2020 1 commit
  30. 01 Sep, 2020 1 commit
  31. 06 Aug, 2020 1 commit
  32. 05 Aug, 2020 1 commit
  33. 30 Jun, 2020 1 commit
  34. 23 Jun, 2020 1 commit