Skip to content
  1. Apr 04, 2022
  2. Mar 24, 2022
  3. Mar 17, 2022
    • Cédric Anne's avatar
      PHP 8.2 fixes (#10975) · e9e5826f
      Cédric Anne authored
      * Drop unused dynamic DBmysqlIterator::$parameters property
      
      * Make CommonDBTM $input, $updates and $oldvalues properties non dynamic
      
      * Replace deprecated usage of dynamic property in Item_Rack
      
      * Make CommonDBTM::$right property non dynamic
      
      * Replace deprecated usage of dynamic properties in KnowbaseItem
      
      * Fix usage of deprecated callable syntax
      
      * Make Blacklist $blacklists property non dynamic
      
      * Replace deprecated usage of dynamic properties in inventory process
      
      * Make Inventory\Asset\MainAsset $current_key property non dynamic
      
      * Make NotificationTarget::$recipient_data property non dynamic
      
      * Remove unused Inventory\Asse\Monitor::$linked_items dynamic property
      
      * Make Profile::$profileRight property non dynamic
      
      * Make MassiveAction properties non dynamic
      
      * Make NetworkPort and IPNetwork properties non dynamic
      
      * Fix deprecation warning due to mb_encoding_aliases usage
      
      * Prevent usage of dynamic property in inventory headers
      
      * Drop KnowbaseItem::$knowbase_items property that should have not been added
      
      * Use magic getters/setters to prevent BC breaks on IPNetwork
      
      * Use magic getters/setters to prevent BC breaks on MassiveAction
      
      * Use magic getters/setters to prevent BC breaks on NetworkPort
      
      * Use magic getters/setters to prevent BC breaks on Profile
      
      * Property should not be unset
      
      * Enhance deprecation messages
      
      * Replace isset/unset usage on declared properties
      e9e5826f
    • Cédric Anne's avatar
      Fix handling of printer and networkport metrics (#10987) · 1e6e27a2
      Cédric Anne authored
      * Fix handling of printer and networkport metrics
      
      * Fix tests
      1e6e27a2
  4. Mar 01, 2022
    • Cédric Anne's avatar
      Fix some issues revealed by PHPStan lvl 0 (#10801) · 393b6f8c
      Cédric Anne authored
      * Add CommonDBTM input/updates/oldvalues properties in class doc
      
      * Fix missing return value in User::pre_deleteItem()
      
      * Fix documented return value of User::getFromLDAPGroupVirtual()
      
      * Fix PHPStan error: 'Call to static method quoteName() on an unknown class DB.'
      
      * Fix Unmanaged convert massive action result
      
      * Fix documented return value of Glpi\Toolbox\MarkdownBuilder::addSummaryEntry()
      
      * Fix Transfer::showForm() return value
      
      * Fix Toolbox::filesizeDirectory() return value; deprecate it as it is not used
      
      * Make Toolbox::backtrace() always return generated message
      
      * Declare CommonDBRelation::$_force_log_option property
      
      * Fix 'Result of static method Ticket_Ticket::dropdownLinks() (void) is used.'
      
      * Fix Ticket_Contract::displayTabContentForItem() return value
      
      * Fix missing return type in TicketValidation::canCreateItem()
      
      * Remove useless setting of undefined Ticket::$userentities and Ticket::$countentitiesforuser prop...
      393b6f8c
  5. Feb 25, 2022
  6. Feb 22, 2022
  7. Jan 27, 2022
  8. Jan 20, 2022
  9. Dec 14, 2021
  10. Dec 13, 2021
  11. Dec 09, 2021
  12. Dec 08, 2021
    • cconard96's avatar
      Fix handling of rich text rendering · a5299a2a
      cconard96 authored
      - Re-add conversion of image links to galllery
      - Use RichText::getEnhancedHtml() for non editable content
      - Move gallery methods to RichText and make them private
      - Enable user mentions on itil item creation form
      a5299a2a
    • Cédric Anne's avatar
      Simplify/enhance handling of unstable versions in update process · df364cfb
      Cédric Anne authored
      - Permit upgrade from dev to dev version from UI
      - Display "unstable" agreement when installing alpha/beta/rc versions
      - Always add SQL init file hash in GLPI_SCHEMA_VERSION, as it will ensure update is always trigerred and it will permit corrupted files detection
      - Permit to install unstable plugins releases when using an unstable GLPI version
      df364cfb
  13. Dec 03, 2021
  14. Nov 30, 2021
  15. Nov 26, 2021
  16. Nov 23, 2021
  17. Nov 16, 2021
    • 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
  18. Oct 28, 2021
  19. Oct 27, 2021
    • 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
  20. Oct 19, 2021
  21. Oct 14, 2021
  22. Oct 12, 2021
  23. Oct 04, 2021
  24. Oct 01, 2021
  25. Sep 15, 2021
    • 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
  26. Aug 25, 2021
  27. Jul 23, 2021
  28. Jul 19, 2021
  29. Jun 30, 2021
    • 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
  30. Jun 10, 2021
  31. Jun 09, 2021