1. 12 Apr, 2021 5 commits
  2. 09 Apr, 2021 10 commits
  3. 08 Apr, 2021 5 commits
  4. 07 Apr, 2021 11 commits
  5. 06 Apr, 2021 3 commits
  6. 05 Apr, 2021 1 commit
    • Tom Darneix's avatar
      enh(UI): Limit timeline requests on graph and align export button (#9626) · 6acb3459
      Tom Darneix authored
      
      
      * Replace time periods select by buttons group
      
      * Adapt tests
      
      * Rename function component
      
      * Add the UI to edit a custom timeframe
      
      * Adapt the useTimePeriod hook to manage both time period and timeframe
      
      * Make x tick more readable following the size of the graph
      
      * Use dialog variant instead of inline
      
      * Write tests about date time pickers
      
      * Add an error message when start date is same or after end date
      
      * Fit period buttons and date time pickers on one line
      
      * Update tranlation
      
      * Remove timeline request test
      
      * log mock axios calls about test that used to fail on I only
      
      * Temporarly disable eslint rule about console
      
      * Place console log correctly
      
      * Update test
      
      * Fix updated test
      
      * Mock ui-context
      
      * Use inline date time picker
      
      * Fix eslint error
      
      * extract ut-fe.xml as artifact to see what's going on
      
      * Move archiveArtifacts
      
      * Use custom date picker adapter
      
      * Fix tests
      
      * Do not update timframe when a tiimeframe bound is not changed
      
      * Display a box that show the zoom boundaries
      
      * Change state name
      
      * Use custom time period wording rather than timeframe
      
      * Fix eslint and Jenkins file
      
      * Use zoom pivot position as default position for boundaries
      
      * Hide add comment tooltip when mouse is down
      
      * Apply a zoomon graphs
      
      * Add a stroke on zoom preview
      
      * Display a circular progress when zooming in graph rather loading skeleton
      
      * Add translation on graph
      
      * Do not display translation arrows on listing graph
      
      * Use standard date time format
      
      * Fix tests name
      
      * Adapt test with ne new date time format
      
      * Add adaptive and commpact display following parent width
      
      * Add translations
      
      * Fix eslint errors
      
      * Fix loading indicator display
      
      * Increase top and bottom padding
      
      * Use the right date time format
      
      * Fix tests
      
      * Re-design the way that we display translation icons
      
      * Do not navigate in graph for column graph
      
      * move loading inside the graph
      
      * Remove console log
      
      * Rename date time picker adapter
      
      * Remove mock ui-context
      
      * Use mui breakpoints rather than custom ones
      
      * Use the right convention to name variables
      
      * Remove unused import
      
      * Center graph
      
      * Fix graph displaydue to translation zones
      
      * Fix eslint errors
      
      * Remove loading layout when updating graph while there are datas in graph
      
      * Fix timeline retrieve
      
      * Add test
      
      * Add translations
      
      * Fix eslint error
      
      * Fix translations files
      
      * Add memoization on translation zones
      
      * Fix eslint error
      
      * Fix bad display when there is two Y axis
      
      * Centerize translation icon
      
      * Remove irrevelant function call
      
      * Rename some functions and variables
      
      * Change time period error label content and add translations
      
      * Remove no more used import
      
      * Fix picker anchor element lost when clicking on Popover
      
      * Update lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
      Co-authored-by: default avatarBruno d'Auria <bdauria@centreon.com>
      
      * Extract get date translation to a function
      
      * Use Context and extract translation zones component
      
      * Extract getIconColor
      
      * Fix eslint error
      
      * Fix tests
      
      * Fix test
      
      * Add graph options to to toggle tooltip values
      
      * Reduce icon size
      
      * Keep gtraph options as tab parameters
      
      * Refactor metrics value display to use context
      
      * Display metrics value in legend
      
      * Reduce legend item size
      
      * Fix graph options
      
      * Fix eslint errors
      
      * Add variant on Legend Marker
      
      * Fix interface typo
      
      * Improve legend compactness
      
      * Fix test
      
      * Use "shift" wording rather than "translation"
      
      * Fix graph options synchronization on srvice graphs
      
      * fix eslint errors
      
      * Rename "navigateInGraph" to "adjustTimePeriod"
      
      * Rename function
      
      * Fix icon display
      
      * Add a bit more left margin
      
      * Fix time period storage
      
      * Display "mouse line" even when tooltip values is disable
      
      * Change curve algorithm to the linear one
      
      * Fix eslint error
      
      * Add translations
      
      * Fix performance graph on listing
      
      * Fix a bug that does not fetch performance pgraph + timeline events while refreshing listing
      
      * Fix graph refresh and graph loader display
      
      * Move "display events" switch to graph options popover
      
      * Fix performance and timeline requests
      
      * Fix grid row display and add Y line that follows mouse position
      
      * Fix messages.po typo
      
      * Rename tooltips graph option
      
      * Display lines of graphs services
      
      * Fix lines on services graph
      
      * add tooltip with complete time period label on buttons
      
      * Fix bad behavior displaying a zoom preview and the mouse is out of the graph svg
      
      * Replace last day time period label
      
      * Fix material UI on tests
      
      * Move graph options to the graph header
      
      * Fix build issues
      
      * Use @centrein/ui branch
      
      * Improve responsiveness on graph header
      
      * Adapt tests
      
      * Add translations
      
      * Fix eslint error
      
      * Set the anchor to the top of the button
      
      * Apply some renaming
      
      * Do not handle mouse events on Time shoft icons
      
      * Remove unused import
      
      * Fix eslint errors
      
      * Remove compact names from time periods
      
      * Remove compact names from models
      
      * Restore primary color
      
      * Adapt tests
      
      * Display ds_legend as legend name if defined
      
      * Fix tests
      
      * Fix GraphOptions interface
      
      * Rename graph options props interface
      
      * Rename 'dislayLoader'
      
      * Handle metrics tooltip in useMetricsValue hook
      
      * Remove unused import
      
      * Fix import
      
      * Update @centreon/ui branch
      
      * Avoid to retrieve events when options is disabled
      
      * Align export button and graph title on same row
      
      * Fix eslint errors
      
      * Fix date time pickers
      
      * Fix tests
      
      * Add tweak to fix pickers
      
      * Do not use week as start of month
      
      * Refactor graph update
      
      * Fix eslint error
      
      * Comment translations
      
      * Update lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
      
      * Remvoe graph options gear on graph box
      
      * Fix graph header grid template
      
      * Fix test
      
      * Fix some infinite state update
      
      * Fix callback naming
      
      * Fix calendar picker day selection
      
      * Display date time button every time
      Co-authored-by: default avatarThebarda <tdarneix@centreon.com>
      Co-authored-by: default avatarBruno d'Auria <bdauria@centreon.com>
      6acb3459
  7. 02 Apr, 2021 5 commits
    • Tom Darneix's avatar
      enh(UI): Display Min, Max and Avg in legend (#9617) · 5873fb29
      Tom Darneix authored
      
      
      * Replace time periods select by buttons group
      
      * Adapt tests
      
      * Rename function component
      
      * Add the UI to edit a custom timeframe
      
      * Adapt the useTimePeriod hook to manage both time period and timeframe
      
      * Make x tick more readable following the size of the graph
      
      * Use dialog variant instead of inline
      
      * Write tests about date time pickers
      
      * Add an error message when start date is same or after end date
      
      * Fit period buttons and date time pickers on one line
      
      * Update tranlation
      
      * Remove timeline request test
      
      * log mock axios calls about test that used to fail on I only
      
      * Temporarly disable eslint rule about console
      
      * Place console log correctly
      
      * Update test
      
      * Fix updated test
      
      * Mock ui-context
      
      * Use inline date time picker
      
      * Fix eslint error
      
      * extract ut-fe.xml as artifact to see what's going on
      
      * Move archiveArtifacts
      
      * Use custom date picker adapter
      
      * Fix tests
      
      * Do not update timframe when a tiimeframe bound is not changed
      
      * Display a box that show the zoom boundaries
      
      * Change state name
      
      * Use custom time period wording rather than timeframe
      
      * Fix eslint and Jenkins file
      
      * Use zoom pivot position as default position for boundaries
      
      * Hide add comment tooltip when mouse is down
      
      * Apply a zoomon graphs
      
      * Add a stroke on zoom preview
      
      * Display a circular progress when zooming in graph rather loading skeleton
      
      * Add translation on graph
      
      * Do not display translation arrows on listing graph
      
      * Use standard date time format
      
      * Fix tests name
      
      * Adapt test with ne new date time format
      
      * Add adaptive and commpact display following parent width
      
      * Add translations
      
      * Fix eslint errors
      
      * Fix loading indicator display
      
      * Increase top and bottom padding
      
      * Use the right date time format
      
      * Fix tests
      
      * Re-design the way that we display translation icons
      
      * Do not navigate in graph for column graph
      
      * move loading inside the graph
      
      * Remove console log
      
      * Rename date time picker adapter
      
      * Remove mock ui-context
      
      * Use mui breakpoints rather than custom ones
      
      * Use the right convention to name variables
      
      * Remove unused import
      
      * Center graph
      
      * Fix graph displaydue to translation zones
      
      * Fix eslint errors
      
      * Remove loading layout when updating graph while there are datas in graph
      
      * Fix timeline retrieve
      
      * Add test
      
      * Add translations
      
      * Fix eslint error
      
      * Fix translations files
      
      * Add memoization on translation zones
      
      * Fix eslint error
      
      * Fix bad display when there is two Y axis
      
      * Centerize translation icon
      
      * Remove irrevelant function call
      
      * Rename some functions and variables
      
      * Change time period error label content and add translations
      
      * Remove no more used import
      
      * Fix picker anchor element lost when clicking on Popover
      
      * Update lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
      Co-authored-by: default avatarBruno d'Auria <bdauria@centreon.com>
      
      * Extract get date translation to a function
      
      * Use Context and extract translation zones component
      
      * Extract getIconColor
      
      * Fix eslint error
      
      * Fix tests
      
      * Fix test
      
      * Add graph options to to toggle tooltip values
      
      * Reduce icon size
      
      * Keep gtraph options as tab parameters
      
      * Refactor metrics value display to use context
      
      * Display metrics value in legend
      
      * Reduce legend item size
      
      * Fix graph options
      
      * Fix eslint errors
      
      * Add variant on Legend Marker
      
      * Fix interface typo
      
      * Improve legend compactness
      
      * Fix test
      
      * Use "shift" wording rather than "translation"
      
      * Fix graph options synchronization on srvice graphs
      
      * fix eslint errors
      
      * Rename "navigateInGraph" to "adjustTimePeriod"
      
      * Rename function
      
      * Fix icon display
      
      * Add a bit more left margin
      
      * Fix time period storage
      
      * Display "mouse line" even when tooltip values is disable
      
      * Change curve algorithm to the linear one
      
      * Fix eslint error
      
      * Add translations
      
      * Fix performance graph on listing
      
      * Fix a bug that does not fetch performance pgraph + timeline events while refreshing listing
      
      * Fix graph refresh and graph loader display
      
      * Move "display events" switch to graph options popover
      
      * Fix performance and timeline requests
      
      * Fix grid row display and add Y line that follows mouse position
      
      * Fix messages.po typo
      
      * Rename tooltips graph option
      
      * Display lines of graphs services
      
      * Fix lines on services graph
      
      * add tooltip with complete time period label on buttons
      
      * Fix bad behavior displaying a zoom preview and the mouse is out of the graph svg
      
      * Replace last day time period label
      
      * Fix material UI on tests
      
      * Apply some renaming
      
      * Do not handle mouse events on Time shoft icons
      
      * Remove unused import
      
      * Fix eslint errors
      
      * Display ds_legend as legend name if defined
      
      * Display min max and avg values in legend
      
      * Fix tests
      
      * Add tests about min, max and average display
      
      * Add translations
      
      * Add translation function
      
      * Update lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Remove duplicated translations
      
      * Use class instead of style attribute
      
      * Fix GraphOptions interface
      
      * Rename graph options props interface
      
      * Rename 'dislayLoader'
      
      * Handle metrics tooltip in useMetricsValue hook
      
      * Remove unused import
      
      * Fix import
      
      * Fix date time pickers
      
      * Add tweak to fix pickers
      
      * Do not use week as start of month
      
      * Refactor graph update
      
      * Fix eslint error
      Co-authored-by: default avatarThebarda <tdarneix@centreon.com>
      Co-authored-by: default avatarBruno d'Auria <bdauria@centreon.com>
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      5873fb29
    • Tom Darneix's avatar
      enh(Graphs): Move graph options to Graph header (#9615) · bf6ca3ec
      Tom Darneix authored
      
      
      * Replace time periods select by buttons group
      
      * Adapt tests
      
      * Rename function component
      
      * Add the UI to edit a custom timeframe
      
      * Adapt the useTimePeriod hook to manage both time period and timeframe
      
      * Make x tick more readable following the size of the graph
      
      * Use dialog variant instead of inline
      
      * Write tests about date time pickers
      
      * Add an error message when start date is same or after end date
      
      * Fit period buttons and date time pickers on one line
      
      * Update tranlation
      
      * Remove timeline request test
      
      * log mock axios calls about test that used to fail on I only
      
      * Temporarly disable eslint rule about console
      
      * Place console log correctly
      
      * Update test
      
      * Fix updated test
      
      * Mock ui-context
      
      * Use inline date time picker
      
      * Fix eslint error
      
      * extract ut-fe.xml as artifact to see what's going on
      
      * Move archiveArtifacts
      
      * Use custom date picker adapter
      
      * Fix tests
      
      * Do not update timframe when a tiimeframe bound is not changed
      
      * Display a box that show the zoom boundaries
      
      * Change state name
      
      * Use custom time period wording rather than timeframe
      
      * Fix eslint and Jenkins file
      
      * Use zoom pivot position as default position for boundaries
      
      * Hide add comment tooltip when mouse is down
      
      * Apply a zoomon graphs
      
      * Add a stroke on zoom preview
      
      * Display a circular progress when zooming in graph rather loading skeleton
      
      * Add translation on graph
      
      * Do not display translation arrows on listing graph
      
      * Use standard date time format
      
      * Fix tests name
      
      * Adapt test with ne new date time format
      
      * Add adaptive and commpact display following parent width
      
      * Add translations
      
      * Fix eslint errors
      
      * Fix loading indicator display
      
      * Increase top and bottom padding
      
      * Use the right date time format
      
      * Fix tests
      
      * Re-design the way that we display translation icons
      
      * Do not navigate in graph for column graph
      
      * move loading inside the graph
      
      * Remove console log
      
      * Rename date time picker adapter
      
      * Remove mock ui-context
      
      * Use mui breakpoints rather than custom ones
      
      * Use the right convention to name variables
      
      * Remove unused import
      
      * Center graph
      
      * Fix graph displaydue to translation zones
      
      * Fix eslint errors
      
      * Remove loading layout when updating graph while there are datas in graph
      
      * Fix timeline retrieve
      
      * Add test
      
      * Add translations
      
      * Fix eslint error
      
      * Fix translations files
      
      * Add memoization on translation zones
      
      * Fix eslint error
      
      * Fix bad display when there is two Y axis
      
      * Centerize translation icon
      
      * Remove irrevelant function call
      
      * Rename some functions and variables
      
      * Change time period error label content and add translations
      
      * Remove no more used import
      
      * Fix picker anchor element lost when clicking on Popover
      
      * Update lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
      Co-authored-by: default avatarBruno d'Auria <bdauria@centreon.com>
      
      * Extract get date translation to a function
      
      * Use Context and extract translation zones component
      
      * Extract getIconColor
      
      * Fix eslint error
      
      * Fix tests
      
      * Fix test
      
      * Add graph options to to toggle tooltip values
      
      * Reduce icon size
      
      * Keep gtraph options as tab parameters
      
      * Refactor metrics value display to use context
      
      * Display metrics value in legend
      
      * Reduce legend item size
      
      * Fix graph options
      
      * Fix eslint errors
      
      * Add variant on Legend Marker
      
      * Fix interface typo
      
      * Improve legend compactness
      
      * Fix test
      
      * Use "shift" wording rather than "translation"
      
      * Fix graph options synchronization on srvice graphs
      
      * fix eslint errors
      
      * Rename "navigateInGraph" to "adjustTimePeriod"
      
      * Rename function
      
      * Fix icon display
      
      * Add a bit more left margin
      
      * Fix time period storage
      
      * Display "mouse line" even when tooltip values is disable
      
      * Change curve algorithm to the linear one
      
      * Fix eslint error
      
      * Add translations
      
      * Fix performance graph on listing
      
      * Fix a bug that does not fetch performance pgraph + timeline events while refreshing listing
      
      * Fix graph refresh and graph loader display
      
      * Move "display events" switch to graph options popover
      
      * Fix performance and timeline requests
      
      * Fix grid row display and add Y line that follows mouse position
      
      * Fix messages.po typo
      
      * Rename tooltips graph option
      
      * Display lines of graphs services
      
      * Fix lines on services graph
      
      * add tooltip with complete time period label on buttons
      
      * Fix bad behavior displaying a zoom preview and the mouse is out of the graph svg
      
      * Replace last day time period label
      
      * Fix material UI on tests
      
      * Move graph options to the graph header
      
      * Fix build issues
      
      * Use @centrein/ui branch
      
      * Improve responsiveness on graph header
      
      * Adapt tests
      
      * Add translations
      
      * Fix eslint error
      
      * Set the anchor to the top of the button
      
      * Apply some renaming
      
      * Do not handle mouse events on Time shoft icons
      
      * Remove unused import
      
      * Fix eslint errors
      
      * Remove compact names from time periods
      
      * Remove compact names from models
      
      * Restore primary color
      
      * Adapt tests
      
      * Display ds_legend as legend name if defined
      
      * Fix tests
      
      * Fix GraphOptions interface
      
      * Rename graph options props interface
      
      * Rename 'dislayLoader'
      
      * Handle metrics tooltip in useMetricsValue hook
      
      * Remove unused import
      
      * Fix import
      
      * Update @centreon/ui branch
      
      * Fix date time pickers
      
      * Add tweak to fix pickers
      
      * Do not use week as start of month
      
      * Refactor graph update
      
      * Fix eslint error
      
      * Comment translations
      
      * Update lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
      
      * Remvoe graph options gear on graph box
      
      * Fix some infinite state update
      
      * Fix callback naming
      
      * Fix calendar picker day selection
      
      * Display date time button every time
      Co-authored-by: default avatarThebarda <tdarneix@centreon.com>
      Co-authored-by: default avatarBruno d'Auria <bdauria@centreon.com>
      bf6ca3ec
    • jeremyjaouen's avatar
      fix(sec): sanitize string correctly in contact form (#9651) · 2724f6c8
      jeremyjaouen authored
      Refs: MON-6771
      2724f6c8
    • jeremyjaouen's avatar
      fix(SQL): update index_data.id column type to BIGINT (#9649) · 23c9db24
      jeremyjaouen authored
      Refs: MON-6906
      23c9db24
    • loiclau's avatar