1. 06 Oct, 2020 2 commits
  2. 07 Jul, 2020 1 commit
  3. 03 Jun, 2020 2 commits
    • cconard96's avatar
      Add unsaved changes warning · 487471e1
      cconard96 authored
      Add ability to mark forms as trackable and then warn users if they try to leave a page that has unsaved changes
       - Forms can be marked as trackable with "data-track-changes='true'"
       - Individual form inputs can be ignored with "data-track-changes='false'"
      Track followups, tasks, and solutions. Fix EOF.
      Fix dropdown form options. Change beforeunload for modern browsers.
    • Curtis Conard's avatar
      Enhance Status Endpoint (#7256) · ff84c449
      Curtis Conard authored
      * Enhance status endpoint
      Add ability to change the status format using the Accept header.
       - Supports application/json and text/plain (default) formats
      Move logic of status checking to a class.
      Added ability to filter out potentially sensitive information from the status result.
       - The public status endpoint only returns public information.
       - Private information is only returned through the CLI command but could be done from an API endpoint later.
       - Sensitive information includes the names of plugins, versions, etc as they could make it easier for someone to breach a GLPI instance.
      Add tests for status checker.
      Add CLI command glpi:system:status to get the system status.
       - Accepts the --format parameter with the values json or plain (default) to change the output format.
       - Accepts --private parameter with a true or false (default) value to specify if private data should be returned.
      * fixes
      Co-authored-by: default avatarCédric Anne <cedric.anne@gmail.com>
  4. 02 Jun, 2020 1 commit
  5. 06 May, 2020 1 commit
    • Johan Cwiklinski's avatar
      Merge pull request from GHSA-7xwm-4vjr-jvqh · f1ae6c84
      Johan Cwiklinski authored
      * Deprecate GLPIKEY usage
      Deprecate GLPIKEY usage, and replace it with key file per instance.
      Add a command to generate new key, and update database.
      Add plugins hooks to rgister fields or configuration entries to be
      handled when updating db.
      * Rely on sodium compat for encryption/decryption
      New name for key file, handle migration
      Add not required sodium extension
      Deprecate, fill changelog, drop old keyfile
      Key must be generated from dedicated method
  6. 24 Mar, 2020 1 commit
  7. 27 Feb, 2020 1 commit
    • flonou's avatar
      Clone assets (#6684) · 1de713e6
      flonou authored
      * Add cloning capacities
      First implementation of the clone functionality
      Updating tests to take into account the new action
      removing missed debug log
      Fixing code quality issues
      Fixing test case, we now have one more action possible
      Simplifying the clone method
      Adding test for the clone method on various types of items
      error in test code
      same ; missing on another line
      fixing code   issues
      Adding a prepareInputForClone method that's useful for some types (user for example)
      Fixing the tests
      fixing some code quality issues and tests
      date to string comparison is not working
      getting a profile item was not correctly done (was trying to get a user instead)
      moving prepareInputForClone before the addslashes_deep method
      Trying to get the date fields comparisons right
      Still working on date comparison
      maybe dates can't be compared ?
      turns out date is not outputing a date but a string !
      Fixing the cloning issue
      Removing clone capability on profiles because rights are automatically unset after add and that might be a security issue
      updating test case
      adding more test cases and cloning capabilities
      working on tests
      trying to get more information on why a test fails
      updating cloning
      Fixing code identation
      empty line fixing
      Homogenization of cloning with the new method (removing calls to cloneItem methods for templates instanciation)
      Handling legacy cloning requests (calling add with id or _oldID set)
      Fixing code quality
      Adding @since and @deprecated markers in the phpdoc
      Updating the CHANGELOG.md file
      Fix cs
      fix defition on Dashboard::clone
      rename method
      Fixing dashboard test
  8. 11 Feb, 2020 2 commits
  9. 10 Feb, 2020 1 commit
    • Adrien Clairembault's avatar
      Add forcename option to API (#6858) · 0f5e5079
      Adrien Clairembault authored
      * Add forcename option to API
      * Add deprecated in changelog
      * Remove const
      * Do not add add hateoas for names
      * Change forcename to add_keys_names
      * Update doc and changelog
  10. 04 Feb, 2020 1 commit
  11. 09 Jan, 2020 1 commit
  12. 19 Dec, 2019 2 commits
  13. 05 Dec, 2019 1 commit
  14. 18 Nov, 2019 1 commit
  15. 05 Nov, 2019 1 commit
  16. 25 Oct, 2019 1 commit
  17. 09 Oct, 2019 2 commits
  18. 04 Oct, 2019 1 commit
  19. 03 Oct, 2019 1 commit
  20. 27 Sep, 2019 1 commit
  21. 26 Sep, 2019 2 commits
    • Johan Cwiklinski's avatar
      Remove deprecateds (#6358) · b924d1b2
      Johan Cwiklinski authored
    • Curtis Conard's avatar
      Multiple Ticket merge enhancements (#5755) · 6ed1052c
      Curtis Conard authored
      * Enhance ticket merge feature
      - Moved logic into a separate function
      - Added ability to merge tasks and actors
      - Added ability to change link type
      - Added ability to specify if the process stop after a single failure, or if it tries merging all tickets and rollback individual ones that fail. Not exposed in UI but usable through API or plugins.
      - Added tests for merging tickets
  22. 24 Sep, 2019 3 commits
  23. 19 Sep, 2019 1 commit
  24. 16 Sep, 2019 1 commit
  25. 05 Sep, 2019 1 commit
  26. 02 Sep, 2019 2 commits
  27. 15 Jul, 2019 1 commit
  28. 08 Jul, 2019 2 commits
  29. 17 Jun, 2019 1 commit
  30. 06 Jun, 2019 1 commit