From abd1e4e3b35fd297a07b04d9cdc332573f820ffa Mon Sep 17 00:00:00 2001
From: Kevin Duret <duret.kevin@gmail.com>
Date: Wed, 18 Apr 2018 07:26:38 +0200
Subject: [PATCH] feat(upgrade): add upgrade to 2.8.23 (#6215)

* feat(upgrade): add upgrade to 2.8.23

* fix(doc): add release notes of 2.8.23 in index
---
 .../centreon-2.8/centreon-2.8.23.rst          | 32 +++++++++++++++++++
 doc/en/release_notes/centreon-2.8/index.rst   |  1 +
 .../centreon-2.8/centreon-2.8.23.rst          | 32 +++++++++++++++++++
 doc/fr/release_notes/centreon-2.8/index.rst   |  1 +
 .../centreon/Update-DB-2.8.21_to_2.8.22.sql   |  2 ++
 .../centreon/Update-DB-2.8.22_to_2.8.23.sql   |  2 ++
 ....9.0.sql => Update-DB-2.8.23_to_2.9.0.sql} |  2 +-
 7 files changed, 71 insertions(+), 1 deletion(-)
 create mode 100644 doc/en/release_notes/centreon-2.8/centreon-2.8.23.rst
 create mode 100644 doc/fr/release_notes/centreon-2.8/centreon-2.8.23.rst
 create mode 100644 www/install/sql/centreon/Update-DB-2.8.21_to_2.8.22.sql
 create mode 100644 www/install/sql/centreon/Update-DB-2.8.22_to_2.8.23.sql
 rename www/install/sql/centreon/{Update-DB-2.8.21_to_2.9.0.sql => Update-DB-2.8.23_to_2.9.0.sql} (77%)

diff --git a/doc/en/release_notes/centreon-2.8/centreon-2.8.23.rst b/doc/en/release_notes/centreon-2.8/centreon-2.8.23.rst
new file mode 100644
index 0000000000..603bb166a4
--- /dev/null
+++ b/doc/en/release_notes/centreon-2.8/centreon-2.8.23.rst
@@ -0,0 +1,32 @@
+###################
+Centreon Web 2.8.23
+###################
+
+Enhancements
+============
+
+* [API] Add default poller - PR #6098
+* [API] Link host with default poller if unknown poller - PR #6099
+* [ACL] Improve performance - #6056 PR #6107
+* [Documentation] Improve Centreon CLAPI usage - PR #6090 #6091
+* [Documentation] Improve documentation to add a new poller - #6075 PR  #6086
+* [Documentation] Add notice for 64 bits support only - PR #6101
+* [Monitoring] Display links in output and comments  - #5943 PR #6113
+
+Bug Fixes
+=========
+
+* [ACL] Allow nested groups filter in ldap configuration - #6127 PR #6128
+* [API] Export specific service, add host before service in CLAPI - PR #6100
+* [API] CLAPI add resource export filter - PR #6125
+* [API] CLAPI Export contact with contact group - PR #6131
+* [API] CLAPI Export service categories - PR #6134
+* [Configuration] SNMP trap poller generation uses ACL - #6043 PR #6069
+* [Custom Views] Fix share custom view - PR #6109
+* [Poller Stats] Poller Statistics Graphs are displayed in first column only - #6003 PR #6122
+
+Others
+======
+
+* Update copyright date on the login page - PR #6076
+* Remove multiple debug in Centreon - PR #6138
diff --git a/doc/en/release_notes/centreon-2.8/index.rst b/doc/en/release_notes/centreon-2.8/index.rst
index e078d055d6..1a40f83ac3 100644
--- a/doc/en/release_notes/centreon-2.8/index.rst
+++ b/doc/en/release_notes/centreon-2.8/index.rst
@@ -29,3 +29,4 @@ Please find here the release notes dedicated to the last 2.8.x version of Centre
     centreon-2.8.20
     centreon-2.8.21
     centreon-2.8.22
+    centreon-2.8.23
diff --git a/doc/fr/release_notes/centreon-2.8/centreon-2.8.23.rst b/doc/fr/release_notes/centreon-2.8/centreon-2.8.23.rst
new file mode 100644
index 0000000000..603bb166a4
--- /dev/null
+++ b/doc/fr/release_notes/centreon-2.8/centreon-2.8.23.rst
@@ -0,0 +1,32 @@
+###################
+Centreon Web 2.8.23
+###################
+
+Enhancements
+============
+
+* [API] Add default poller - PR #6098
+* [API] Link host with default poller if unknown poller - PR #6099
+* [ACL] Improve performance - #6056 PR #6107
+* [Documentation] Improve Centreon CLAPI usage - PR #6090 #6091
+* [Documentation] Improve documentation to add a new poller - #6075 PR  #6086
+* [Documentation] Add notice for 64 bits support only - PR #6101
+* [Monitoring] Display links in output and comments  - #5943 PR #6113
+
+Bug Fixes
+=========
+
+* [ACL] Allow nested groups filter in ldap configuration - #6127 PR #6128
+* [API] Export specific service, add host before service in CLAPI - PR #6100
+* [API] CLAPI add resource export filter - PR #6125
+* [API] CLAPI Export contact with contact group - PR #6131
+* [API] CLAPI Export service categories - PR #6134
+* [Configuration] SNMP trap poller generation uses ACL - #6043 PR #6069
+* [Custom Views] Fix share custom view - PR #6109
+* [Poller Stats] Poller Statistics Graphs are displayed in first column only - #6003 PR #6122
+
+Others
+======
+
+* Update copyright date on the login page - PR #6076
+* Remove multiple debug in Centreon - PR #6138
diff --git a/doc/fr/release_notes/centreon-2.8/index.rst b/doc/fr/release_notes/centreon-2.8/index.rst
index e078d055d6..1a40f83ac3 100644
--- a/doc/fr/release_notes/centreon-2.8/index.rst
+++ b/doc/fr/release_notes/centreon-2.8/index.rst
@@ -29,3 +29,4 @@ Please find here the release notes dedicated to the last 2.8.x version of Centre
     centreon-2.8.20
     centreon-2.8.21
     centreon-2.8.22
+    centreon-2.8.23
diff --git a/www/install/sql/centreon/Update-DB-2.8.21_to_2.8.22.sql b/www/install/sql/centreon/Update-DB-2.8.21_to_2.8.22.sql
new file mode 100644
index 0000000000..98ca1b3d98
--- /dev/null
+++ b/www/install/sql/centreon/Update-DB-2.8.21_to_2.8.22.sql
@@ -0,0 +1,2 @@
+-- Change version of Centreon
+UPDATE `informations` SET `value` = '2.8.22' WHERE CONVERT( `informations`.`key` USING utf8 ) = 'version' AND CONVERT ( `informations`.`value` USING utf8 ) = '2.8.21' LIMIT 1;
diff --git a/www/install/sql/centreon/Update-DB-2.8.22_to_2.8.23.sql b/www/install/sql/centreon/Update-DB-2.8.22_to_2.8.23.sql
new file mode 100644
index 0000000000..488524c726
--- /dev/null
+++ b/www/install/sql/centreon/Update-DB-2.8.22_to_2.8.23.sql
@@ -0,0 +1,2 @@
+-- Change version of Centreon
+UPDATE `informations` SET `value` = '2.8.23' WHERE CONVERT( `informations`.`key` USING utf8 ) = 'version' AND CONVERT ( `informations`.`value` USING utf8 ) = '2.8.22' LIMIT 1;
diff --git a/www/install/sql/centreon/Update-DB-2.8.21_to_2.9.0.sql b/www/install/sql/centreon/Update-DB-2.8.23_to_2.9.0.sql
similarity index 77%
rename from www/install/sql/centreon/Update-DB-2.8.21_to_2.9.0.sql
rename to www/install/sql/centreon/Update-DB-2.8.23_to_2.9.0.sql
index c40874bed4..ae5d3b687b 100644
--- a/www/install/sql/centreon/Update-DB-2.8.21_to_2.9.0.sql
+++ b/www/install/sql/centreon/Update-DB-2.8.23_to_2.9.0.sql
@@ -1,2 +1,2 @@
 -- Change version of Centreon
-UPDATE `informations` SET `value` = '2.9.0' WHERE CONVERT( `informations`.`key` USING utf8 ) = 'version' AND CONVERT ( `informations`.`value` USING utf8 ) = '2.8.21' LIMIT 1;
+UPDATE `informations` SET `value` = '2.9.0' WHERE CONVERT( `informations`.`key` USING utf8 ) = 'version' AND CONVERT ( `informations`.`value` USING utf8 ) = '2.8.23' LIMIT 1;
-- 
GitLab