Skip to content
  • Tom Darneix's avatar
    feat(Authentication): Login with local providers (#10601) · fba68d15
    Tom Darneix authored
    
    
    * doc(api): define contract to get centreon web versions
    
    * doc(api): fix provider configuration endpoint
    
    * fix(authentication): set php session id cookie on authentication
    
    * Remove authentication APIT test
    
    * enh(API): add default_page to current user parameters (#10516)
    
    * enh(API): Interfaces for find web versions use case (#10522)
    
    * enh(API): Interfaces for logout session use case (#10525)
    
    * fix(phpstan): phpstan issues in LogoutControllerTest
    
    * fix(test): fix unit tests of LogoutSessionControllerTest
    
    * enh(UI): Update React Router (#10470)
    
    * Update react router dependency
    
    * Remove connected router from redux
    
    * Migrate routing to react router v6 and refacto
    
    * Fix login redirection
    
    * Add poller wizard about redirections
    
    * Fix progress bar path
    
    * Fix redirection from top counter
    
    * Fix tests
    
    * Fix package import name
    
    * Remove ThemeProvider defined twice
    
    * Improve filter function on top counters
    
    * Remove comment
    
    * Fix package-lock
    
    * Fix navigation using the double click
    
    * Fix request
    
    * Remove irrevelant file
    
    * Support base tag
    
    * Fix redirectino to the poller list
    
    * Fix all pollers display
    
    * Fix resource actions skeleton
    
    * Remove irrevelant code
    
    * Fix breadcrumb redirection on legacy page
    
    * Remove the whole part
    
    * Manage tab switching on legacy pages
    
    * Handle external URL
    
    * Improve redirection for most cases on legacy pages
    
    * Support target to blank page
    
    * Remove unused variable
    
    Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
    
    * feat(auth): implement session logout (#10550)
    
    Refs: MON-6687
    
    * update doc for installation status endpoint
    
    * enh(phpstan) : fix phpstan errors in centreon/src (part 4) (#10530)
    
    * fix phpstan errors
    
    * fix phpstan errors
    
    * fix jenkins errors
    
    * fix jenkins errors
    
    * fix jenkin errors
    
    * fix centreon bot errors
    
    * revert self to static
    
    * fix typehinting errors
    
    * fix typehinting errors
    
    * fix errors
    
    * Update src/CentreonModule/Tests/Infrastructure/Source/ModuleSourceTest.php
    
    Co-authored-by: default avataralaunois <alaunois@centreon.com>
    
    Co-authored-by: default avataralaunois <alaunois@centreon.com>
    
    * chore(api): Implement AbstractPresenter (#10548)
    
    * add constructor to abstract class (#10549)
    
    * fix(phpstan): fix phpstan issue in LogoutSessionController
    
    * enh(UI): Reduce Redux usage and rework poller wizard (#10477)
    
    * Update react router dependency
    
    * Remove connected router from redux
    
    * Migrate routing to react router v6 and refacto
    
    * Fix login redirection
    
    * Add poller wizard about redirections
    
    * Fix progress bar path
    
    * Fix redirection from top counter
    
    * Fix tests
    
    * Fix package import name
    
    * Remove ThemeProvider defined twice
    
    * Improve filter function on top counters
    
    * Remove comment
    
    * Implement navigation and external compoennts on Jotai
    
    * Migrate breadcrumb to jotai
    
    * Remove redux from top counter components
    
    * Remove redux integration from component that use navigation and external components
    
    * Remove redirection with poller wizard
    
    * Refactor poller wizard according to the new routing
    
    * Fix eslint
    
    * Add test for external components
    
    * Add react hooks testing library
    
    * Remove unused import
    
    * Add tests for navigation data
    
    * Fix tests
    
    * Remove react-redux and redux-form from externals
    
    * Fix eslint errors
    
    * Rename components
    
    * Add missing space
    
    * Enable disabled eslint rules
    
    * Rename 'exists' function
    
    * Fix user menu
    
    * Fix typo
    
    * Fix package-lock
    
    * Fix breaking changes
    
    * Fix navigation using the double click
    
    * Fix request
    
    * Remove irrevelant file
    
    * Support base tag
    
    * Fix redirectino to the poller list
    
    * Fix all pollers display
    
    * Remove hard coded labels
    
    * Fix resource actions skeleton
    
    * Remove irrevelant code
    
    * Fix breadcrumb redirection on legacy page
    
    * Remove the whole part
    
    * Manage tab switching on legacy pages
    
    * Handle external URL
    
    * Improve redirection for most cases on legacy pages
    
    * Support target to blank page
    
    * Remove unused variable
    
    Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
    
    * enh(API): Implements classes for find installation status use case (#10555)
    
    * feat(UI): Implement new login page (#10507)
    
    * Update react router dependency
    
    * Remove connected router from redux
    
    * Migrate routing to react router v6 and refacto
    
    * Fix login redirection
    
    * Add poller wizard about redirections
    
    * Fix progress bar path
    
    * Fix redirection from top counter
    
    * Fix tests
    
    * Fix package import name
    
    * Remove ThemeProvider defined twice
    
    * Improve filter function on top counters
    
    * Remove comment
    
    * Implement navigation and external compoennts on Jotai
    
    * Migrate breadcrumb to jotai
    
    * Remove redux from top counter components
    
    * Remove redux integration from component that use navigation and external components
    
    * Remove redirection with poller wizard
    
    * Refactor poller wizard according to the new routing
    
    * Fix eslint
    
    * Add test for external components
    
    * Add react hooks testing library
    
    * Remove unused import
    
    * Add tests for navigation data
    
    * Fix tests
    
    * Remove react-redux and redux-form from externals
    
    * Fix eslint errors
    
    * Rename components
    
    * Add missing space
    
    * Enable disabled eslint rules
    
    * Rename 'exists' function
    
    * Fix user menu
    
    * Fix typo
    
    * Fix package-lock
    
    * Fix breaking changes
    
    * Fix navigation using the double click
    
    * Fix request
    
    * Remove irrevelant file
    
    * Support base tag
    
    * Add api stuff
    
    * Restructure component hierarchy
    
    * Fix redirections
    
    * Fetch translations only one time
    
    * Fix login route map
    
    * Improve error handling on permission denied
    
    * Add disconnection message
    
    * Implement a basic login page
    
    * Display copyright and web version
    
    * Implement base loader component
    
    * Add a temporary to disconnect
    
    * Fix main loader display
    
    * Remove Fade component
    
    * Implement base test
    
    * Finish up App tests
    
    * Fetch translations earlier
    
    * Add translations
    
    * Fix requests order and redirection when connected or not
    
    * Remove unused import and code
    
    * Adapt tests
    
    * Adapt tests
    
    * Add login page tests
    
    * Fix eslint
    
    * Change apache config preparation
    
    * Update puppeteer script
    
    * Fix hook and react router loading
    
    * Increase login form padding and width
    
    * Refactor main components
    
    * Add width and height on centreon logo
    
    * Fix eslint error
    
    * Rename function
    
    * Fix redirectino to the poller list
    
    * Fix all pollers display
    
    * Rework and fix the not allowed page
    
    * Add translations
    
    * Move the not allowed page component
    
    * Fix redirection on 404
    
    * Add a real 404 page
    
    * Add translations
    
    * Do not show component when hard redirection will occur
    
    * Import components lazily
    
    * Adapt apache config
    
    * Redirect on default pathname
    
    * Fix user language
    
    * Extract complex check
    
    * Refactor some conditions
    
    * Remove unused import
    
    * Remove hard coded labels
    
    * Remove unused fonts and css files
    
    * Rename AppPage
    
    * Refactor condition
    
    * Improve form validation
    
    * Update centreon-frontend to fix error on Http status
    
    * Fix Login tests
    
    * Remove unused translations
    
    * Fix Main tests
    
    * Fix Cypress tests
    
    * Manage default page to user context
    
    * remove base uri from redirection_uri
    
    * Fix redirect uri
    
    * Adapt code due to webVersions response body changes
    
    * Adapt tests
    
    * Fix up Main tests
    
    * Fix resource actions skeleton
    
    * Migrate login page to new MUI version
    
    * Remove irrevelant code
    
    * Fix breadcrumb redirection on legacy page
    
    * Remove the whole part
    
    * Manage tab switching on legacy pages
    
    * Handle external URL
    
    * Improve redirection for most cases on legacy pages
    
    * Support target to blank page
    
    * Remove unused variable
    
    * Fix eslint errors
    
    * Adapt Web versions
    
    * Implement logout
    
    * Improve login page overall display and add password accessibility
    
    * Fix decoder
    
    * Fix snackbar provider breaking changes
    
    * fix string format
    
    * Fix dates inputs that uses timezones and locales
    
    * Fix eslint errors
    
    * Adapt web versions endpoint body
    
    * Rename "web versions" related variables to "platform installation status"
    
    * Add snackbar message when logged out
    
    * Logout when keep alive is logged out
    
    * Refactor log in and log out process for existing tests
    
    Co-authored-by: default avatarBruno d'Auria <bdauria@users.noreply.github.com>
    
    * Remove unused import
    
    * Remove keep alive when logged out
    
    * Implement end to end tests for Login page
    
    * Catch request execption
    
    * Fix assertion
    
    * Fix centreon-frontend dependency
    
    * Adapt eslint config
    
    * Resolve Bruno's comments
    
    * Update centreon-frontend
    
    * Fix alias
    
    * Fix tests
    
    Co-authored-by: default avatarJérémy Jaouen <jjaouen@centreon.com>
    Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
    Co-authored-by: default avatarBruno d'Auria <bdauria@users.noreply.github.com>
    Co-authored-by: default avatarvagrant <vagrant@ip-10-0-2-15.eu-west-1.compute.internal>
    
    * Fix eslint errors
    
    * Fix webpack dev config
    
    * Invert env variable condition
    
    * Fix user data
    
    * Fix user password
    
    * update composer.lock to use last centreon-test-lib
    
    * Fix crash due to useTranslation is loaded while i18n is not
    
    * update centreon-test-lib
    
    * Invert check
    
    * Update centreno-test-lib
    
    * remove login at tests
    
    * update centreon-test-lib
    
    * Update centreon-test-lib
    
    * Attempt to fix uncaught exception
    
    This happens only in CI environment
    
    * update centreon-test-lib
    
    * enh(legacy): move login logic into index.php (#10676)
    
    * Attempt to remove translation hook mess up
    
    Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
    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 avatarAssanDiomande <adiomande-ext@centreon.com>
    Co-authored-by: default avataralaunois <alaunois@centreon.com>
    Co-authored-by: default avatarBruno d'Auria <bdauria@users.noreply.github.com>
    Co-authored-by: default avatarvagrant <vagrant@ip-10-0-2-15.eu-west-1.compute.internal>
    fba68d15