-
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: Kevin Duret <kduret@centreon.com> * [Administration] Define Security Policy for password (#10453) Co-authored-by: Kevin 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: Kevin 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: Thebarda <tomdar87@outlook.com> Co-authored-by: Jé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: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> Co-authored-by: Jérémy Jaouen <jjaouen@centreon.com> Co-authored-by: Kevin Duret <kduret@centreon.com>
889056f6