1. 11 May, 2022 1 commit
  2. 28 Feb, 2022 1 commit
    • Tom Darneix's avatar
      enh(UI): Exclude accounts from password duration policy (#10733) · 889056f6
      Tom Darneix authored
      
      
      * enh(authentication): add default password security policy (#10033)
      
      * fix conflict
      
      * move create table script into 22.04 file
      
      * enh(Topology): Add authentication page to the topology (#10447)
      
      * doc(api): add openapi documentation for security policy
      
      * Add topology
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * [Administration] Define Security Policy for password (#10453)
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * enh(API): Interfaces for find security policy use case (#10519)
      
      * enh(API): Implements Infrastructure layer for find security policy use case. (#10527)
      
      * enh(API): Implements Application layer for find security policy use case. (#10537)
      
      * enh(clapi): use password policy to insert/update contact password (#10534)
      
      Refs: MON-11824
      
      * enh(API): Interfaces for update security policy use case (#10542)
      
      * enh(API): Implements update security policy use case. (#10547)
      
      * fix SecurityPolicyFactory
      
      * feat(UI): Add password policy form (#10462)
      
      * doc(api): add openapi documentation for security policy
      
      * Add topology
      
      * Add react route
      
      * Add password case policy
      
      * Refactor button content
      
      * Start to implement TimeInput
      
      * Fix tine input value
      
      * Add can reuse passwords switch
      
      * Add adapters
      
      * Support null value for password expiration
      
      * Rename validation schema file
      
      * Refactor time inputs to one component
      
      * Add time before set new password inputs
      
      * memoize timeInput change function
      
      * Update form container UI
      
      * Add password blocking field
      
      * Remove irrevelant sub-folders
      
      * Implement form sending
      
      * Add some memoization
      
      * Use even more Ramda functions
      
      * Add loading skeleton
      
      * Add password case policy tests
      
      * Add tests
      
      * Add duration plugin to tests setup
      
      * Add translations
      
      * Update dependencies
      
      * Add confirm dialog before reset the form
      
      * Fix base endpoint
      
      * Add more space between elements
      
      * attempt to fix conflict
      
      * Remove minutes and second about time before set new pwd
      
      * Remove second input for blocking time
      
      * Improve translations
      
      * Fix centreon-ui import
      
      * Fix getData signatures
      
      * Update @centreon/centreon-frontend to use a branch
      
      * Use the new LoadingSkeleton component
      
      * Fix eslint errors
      
      * Fix eslint error
      
      * fix package-lock
      
      * Use develop branch
      
      * Remove duplicated translations
      
      * Remove duplication
      
      * Migrate authentication page to new MUI version
      
      * Remove unused import
      
      * Fix skeleton
      
      * Fix skeleton
      
      * Fix version to 22.04
      
      * Fix paper container height
      
      * Use container from Mui
      
      * Do not reset on submit
      
      * Fix label
      
      * Invert strength bar progress for blocking attempt
      
      * Fix tests and bugs
      
      * Add max value on units and rename max and min value properties
      
      * Normalize duration according to a maximum value
      
      * Remove ser files
      
      * Fix eslint errors
      
      * Fix test
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * fix(myAccount): Fix password input type reset (#10564)
      
      * enh(autologin): verify that autologin is different than password (#10565)
      
      * fix validation autologin on my account
      
      * enh(db): update storage of password security policy (json column instead of table) (#10554)
      
      Co-authored-by: default avatarThebarda <tomdar87@outlook.com>
      Co-authored-by: default avatarJérémy Jaouen <jjaouen@centreon.com>
      
      * enh(deps): upgrade composer deps
      
      * Group tests
      
      * Fix test
      
      * enh(sec): get excluded users from password expiration policy (#10604)
      
      refs: MON-12040
      
      * feat(api): implement find users endpoint (#10652)
      
      Refs: MON-12228
      
      * enh(api): update PUT provider configuration to exclude user (#10660)
      
      Refs: 12298
      
      * fix(contact): fix password expiration message (#10679)
      
      Refs: MON-12231
      
      * enh(UI): Add multiselect for excluded users (#10669)
      
      * Add multiselect for excluded users
      
      * Add test
      
      * Remove mock base endpoint
      
      * Fix autocomplete width
      
      * Remove warning in the console
      
      * Remove ternary condition
      
      * Use filter from ramda and fix typing
      
      * fix presenter interface
      
      * fix preseneter
      
      * fix ecxpiration delay check
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      Co-authored-by: default avatarJérémy Jaouen <jjaouen@centreon.com>
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      889056f6
  3. 17 Feb, 2022 1 commit
  4. 04 Feb, 2022 1 commit
  5. 04 Jan, 2022 1 commit
    • AssanDiomande's avatar
      enh(phpcs) : upgrade phpcs version (#10531) · a28cd366
      AssanDiomande authored
      * upgrade phpcs version
      
      * fix phpcs errors on jenkins
      
      * fix phpcs errors on jenkins
      
      * fix phpcs errors on jenkins
      
      * fiw centreon bot errors
      
      * fiw centreon bot errors
      
      * updated typehinting
      
      * updated typehinting
      
      * remove last void in phpdoc
      a28cd366
  6. 23 Nov, 2021 1 commit
    • AssanDiomande's avatar
      fix(ldap) : fixed issue with LDAP configuration ID (#10379) · 8eeb3e43
      AssanDiomande authored
      * export ldap before contact
      
      * resolved dependance issue on ldap importation
      
      * cleaned files
      
      * fixed issues
      
      * add Apache2 licence
      
      * add visibility on order_name constant
      
      * add ar_id to exportExcludedParams
      
      * fixed jenkins issues
      
      * hope to fix jenkins tests errors...
      
      * hope to fix jenkins tests errors... again...
      
      * Update CentreonLDAPContactRelation.class.php
      
      * constant visibility fix
      
      * fixed return export type
      
      * fixed issues
      
      * cleaned files
      
      * cleaned files
      
      * cleaned files
      
      * jenkins tests errors
      
      * jenkins tests errors
      
      * jenkins tests errors
      
      * jenkins tests errors
      
      * add new line
      
      * jenkins tests errors
      
      * jenkins tests errors
      
      * jenkins tests errors
      
      * jenkins tests errors
      
      * jenkins issues
      
      * jenkins issues
      
      * fixe Jenkis errors
      
      * fixed Jenkis errors
      
      * fixed Jenkis errors
      
      * fixed Jenkis errors
      
      * fixed Jenkis errors
      
      * fixed Jenkis errors
      
      * fixed Jenkis errors
      
      * fixed jenkins
      
      * fixed jenkins
      
      * fixed minor issues
      
      * ldap export issues
      
      * restored file
      
      * restored file
      
      * fixed types issues
      8eeb3e43
  7. 08 Nov, 2021 1 commit
  8. 23 Sep, 2021 1 commit
  9. 22 Sep, 2021 1 commit
  10. 15 Jul, 2021 1 commit
  11. 22 Aug, 2019 1 commit
  12. 15 Apr, 2019 1 commit
  13. 22 Mar, 2019 1 commit
  14. 26 Feb, 2019 1 commit
  15. 16 Jan, 2019 1 commit
    • Dimitar Kalinov's avatar
      fix(CLAPI): check for "Reach API *" fields in user instead of "Reach … (#7117) · c989fbfa
      Dimitar Kalinov authored
      * fix(CLAPI): check for "Reach API *" fields in user instead of "Reach Centreon Front-end" when using CLAPI
      
      - remove check for "contact_oreon" field
      - remove check for "contact_admin" field
      - add check whether at least on of reach_api/reach_api_rt field is active
      - fix warning in user form
      
      * fix(typo): do not use fetchRow() twice
      
      * fix(clapi): change check for permissions from reach_api* fields to contact_admin
      
      * fix(enh): move closeCursor() outside of "if" condition
      c989fbfa
  16. 27 Sep, 2018 1 commit
    • victorvassilev's avatar
      Extend centreon clapi (#6667) · c29cf76f
      victorvassilev authored
      * add two missing npm modules
      
      * insert new auth check and command for worker
      
      * update default values
      
      * remove unused values
      
      * update typo in file
      
      * apply new changes to export function according feedback
      
      * update correct method
      
      * update send export file
      c29cf76f
  17. 05 Sep, 2018 1 commit
  18. 23 Aug, 2018 2 commits
  19. 02 Aug, 2018 2 commits
  20. 20 Jul, 2018 1 commit
  21. 02 Jul, 2018 1 commit
  22. 20 Jun, 2018 1 commit
    • Valentin Hristov's avatar
      feat(chore): add compatibility with php 7 · ea242612
      Valentin Hristov authored
      fix(auth): Declaration of method not compatible with parent
      
      fix(session): Call non-static method
      
      Add quickform package to composer
      
      fix docblocks
      
      fix namespace of Exception class
      
      fix call to undeclared function \Exception()
      
      refactor(base): move smarty to composer managed module
      remove old smarty lib and add new one to composer requirements. Update smarty plugin folder
      to be outside composer module.
      
      Resolves #CP7M-9
      
      refactor(base): add changed files not inserted in previous commit
      Adds to: 546b3160751411b0b40165aabc25b9e926d34a1e
      
      refactor(global): delete quickform library files
      
      refactor(global): remove local quickform loading
      
      refactor(global): fix quickform loading on Monitoring and Configuration
      
      refactor(global): fix quickform loading on Administration
      
      refactor(base): replace deprecated Archive_Zip class
      
      replace deprecated Archive_Zip with ZipArchive class from PHP ZIP module and add composer dependency for Archive_Tar
      
      Resolves #CP7M-13
      
      refactor(base): cleanup the code
      
      refactor(base): replace Archive_Tar with PharData
      
      replace pear package Archive_Tar with PharData class
      
      Resolves #CP7M-13
      
      refactor(global): return previous quickform class
      
      refactor(global): extend quickform from composer
      
      refactor(base): update php warnings
      
      fix non numeric additions
      
      part of: cp7m10
      
      refactor(global): cleanum cutom quickform class
      
      refactor(core): validate views post smarty update
      
      Fixing various errors (not only smarty related) in validated views
      
      Resolves CP7M-10
      
      Cp7 m15 fix php warnings (#6270)
      
      * fix(base): fix some warnings and deprecations notes
      
      fix double start a session some PHP files,
      fix using of undefinded variables,
      fix calling of non-static method as static,
      fix using of old PEAR DB const DB_FETCHMODE_ASSOC,
      remove manual loading of Smarty lib from custom views section
      fix advmultiselect warnings and deprecates notes because the library is officially deprecated
      fix admin ACL UI -> fix calling of undefined index and calling of non-static method as static
      
      Resolves CP7M-15
      
      refactor(base): Changes to PR 6271
      
      Update db call, fix post-merge missing db execution call on images
      
      Resolves: CP7M10
      
      refactor(base): More Changes to PR 6271
      
      Update free to closeCursor
      
      refactor(global): use custom quickform class (#6273)
      
      Cp7 m7 fix code errors and warnings (#6275)
      
      * fix(global): remove warnings and undefined variables
      
      * refactor(core): rework post-upgrade errors
      
      Refactor code not compliant with php7.2
      
      Regarding: CP7M-7
      
      * fix(global): remove small warnings and errors
      
      * refactor(core): call non-static method
      
      in widgets as host-monitoring calls methods CentreonUtils::conditionBuilder and CentreonUtils::operandToMysqlFormat as static but they are non-static
      
      Resolves CP7M-7
      
      * fix(global): remove small warnings and errors
      
      * refactor(core): fix warnings from tests
      
      fix issues as "Only variables should be assigned by reference", "Undefined index", "Methods with the same name as their class will not be constructors in a future version of PHP" and etc.
      
      Resolves CP7M-7
      
      fix(config): fix variable name (#6276)
      
      Fix incorrectly pushed variable name
      
      fix(global): load radio buttons default value (#6280)
      
      Cp7 m24 migrate the installer and update (#6281)
      
      * refactor(install): fix upgrade process
      
      change MySQL library of php requirements and add a check for release notes file
      
      Resolves CP7M-24
      
      * refactor(install): add missing folder and cfg mock
      
      add missing folder `www/install/tmp` and add mock of `www/install/install.conf.php`
      
      Resolves CP7M-24
      
      * refactor(install): Fix smarty and smarty-plugins loading
      
      Resolves problem for unknown smarty plugin. Loads composer-managed smarty.
      
      Cp7 m7 fix code errors and warnings (#6282)
      
      * fix(global): remove warnings and undefined variables
      
      * refactor(core): rework post-upgrade errors
      
      Refactor code not compliant with php7.2
      
      Regarding: CP7M-7
      
      * fix(global): remove small warnings and errors
      
      * refactor(core): call non-static method
      
      in widgets as host-monitoring calls methods CentreonUtils::conditionBuilder and CentreonUtils::operandToMysqlFormat as static but they are non-static
      
      Resolves CP7M-7
      
      * fix(global): remove small warnings and errors
      
      * refactor(core): fix warnings from tests
      
      fix issues as "Only variables should be assigned by reference", "Undefined index", "Methods with the same name as their class will not be constructors in a future version of PHP" and etc.
      
      Resolves CP7M-7
      
      * fix(global): use quickform and smarty from composer
      
      * fix(global): PHP warnings, notifications and mergeWithInitialValues to return correct result
      
      fix CentreonUtils::mergeWithInitialValues to return result from submitted data
      fix PHP warinings and notifications from Host template UI
      fix CentreonHosttemplates::getObjectForSelect2 attributes to be the same as the parent method
      
      Resolves CP7M-7
      
      * refactor(base) Fix errors found after running acceptance tests
      
      Fix various problems caused by Smarty and Quickform, detected by acceptance tests.
      
      Regarding CP7M7
      
      * fix(config): fix variable name (#6276)
      
      Fix incorrectly pushed variable name
      
      refactor(base): add dependency of pear-core and require newer version of PHP (#6284)
      
      add dependency of pear-core-minimal package and requrie at least version 7 of PHP
      
      Resolves CP7M-14
      
      Cp7 m27 widgets related fixes (#6293)
      
      * fix(global): add checks to db functions and counts
      
      * fix(global): fix PHP`s notifications and warnings
      
      * fix(services): add monitoring fixes for warnings
      
      * fix(global): Undefined variable: upgrade_infosTxt
      
      in upgrade form was missing variable
      
      Resolves CP7M-27
      
      * fix(quickform): fix select2 default data
      
      refactor(quickformCustom): Change error type of addRule (#6301)
      
      Change fatal error to notice to comply with previous version error type all over the code.
      
      refactor(quickFormCustom): change error type of applyfilter (#6302)
      
      Change fatal error to notice to comply with previous version error type all over the code.
      
      fix(global): deprecated function, PHP notices (#6312)
      
      replace using of deprecated each() function with foreach(),
      fix several PHP notices related with undefined index
      
      Resolves CP7M-51
      
      fix(quickform): add previously deleted elements (#6311)
      
      Cp7 m510 centreon awie (fixes) (#6313)
      
      * fix(global): PHP 7 compatability, deprecated function, PHP notices
      
      replace using of deprecated each() function with foreach(),
      fix several PHP notices related with undefined index
      fix PHP notices related to undefined index and fix CentreonObject::add compatibility with child objects
      set NULL in lower case
      
      Resolves CP7M-51
      
      fix(global): clean up several PHP warnings (#6314)
      
      * fix(global): clean up several PHP warnings
      
      fix missing variable in pagination view, upgradeForm and service host list
      fix requirement of password when auth with token
      set TRUE in lower case
      
      Resolves CP7M-54
      
      Change quickform custom addrule returns (#6332)
      
      * refactor(quickFormCustom): change error type of applyfilter
      Change fatal error to notice to comply with previous version error type all over the code.
      
      * refactor(quickform): update quickform custom
      stop execution if element not found
      
      fix(api): API and CLAPI testing (#6360)
      
      disable all PHP errors in CLAPI (bin/centreon, api/index.php, api/internal.php)
      add interface and trait instead checking for method
      add missing arguments in Factory constructor
      remove loading of centreon.conf.php when bootstrap.php is in use
      add moduleId in centreon_administration_module when use methods for upgrading and removing a module
      fix undefined variable in centreonDependency.class.php
      fix undefined offset in centreonHostGroup.class.php
      use sendResult instead sendJson in class CentreonWebService
      add default status if missing in traps list
      
      Resolves CP7M-64
      
      Php7 migration clapi (#6368)
      
      * fix(export): Filter type work with CG
      
      * fix(export): Select specific HC resource filters now
      
      * fix(clapi): apply filters on service category export
      
      * refacto(clapi): refacto export of centreon clapi
      
      * fix(clapi) dependency injector
      
      * fix(clapi) compatibility parent/child
      
      * fix(clapi) order export
      
      * fix(clapi) clean unused local variable
      
      enh(pdo): use fetch method instead of fetchrow
      
      Cp7 m53 ongoing fixes (#6365)
      
      * fix(widget): remove unused variable
      
      code cleaning
      
      Resolve CP7M-53
      
      * fix(engine): remove getting a reference from the function
      
      code cleaning
      
      Resolve CP7M-53
      
      * fix(ldap): Illegal string offset 'action'
      
      the issue happens when try to import LDAP users without a selected checkbox
      
      Resolve CP7M-53
      
      Cp7 m53 ongoing fixes (#6369)
      
      * fix(install): module without cfg throw warnings
      * chore(base): ignore content of www/img/media folder
      
      Resolve CP7M-53
      ea242612
  23. 23 Feb, 2018 1 commit
  24. 19 Feb, 2018 1 commit
  25. 26 Oct, 2017 1 commit
  26. 11 Oct, 2017 1 commit
  27. 04 Oct, 2017 1 commit
  28. 03 Oct, 2017 6 commits
  29. 20 Sep, 2017 5 commits