Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(mon): bugs in event/system logs #6383

Closed
wants to merge 61 commits into from
Closed

Conversation

vhr
Copy link
Contributor

@vhr vhr commented Jun 20, 2018

JS bugs
issue related with selector for limit of rows
improve code readability

Resolve CP7M-104
Ref #6367

vhr and others added 30 commits June 5, 2018 13:38
remove old smarty lib and add new one to composer requirements. Update smarty plugin folder
to be outside composer module.

Resolves #CP7M-9
replace deprecated Archive_Zip with ZipArchive class from PHP ZIP module and add composer dependency for Archive_Tar

Resolves #CP7M-13
replace pear package Archive_Tar with PharData class

Resolves #CP7M-13
fix non numeric additions

part of: cp7m10
Fixing various errors (not only smarty related) in validated views

Resolves CP7M-10
* 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
Update db call, fix post-merge missing db execution call on images

Resolves: CP7M10
Update free to closeCursor
* 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 incorrectly pushed variable name
* 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.
* 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
victorvassilev and others added 16 commits June 7, 2018 12:43
reset pagination page on new filter posted

Resolves: CP7M-59
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
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
Centreon Poller Display will not be compatible with PHP 7 and therefore
cannot be successfully build against Centreon Web 2.9.
* 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
* fix(install): module without cfg throw warnings
* chore(base): ignore content of www/img/media folder

Resolve CP7M-53
* 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
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
JS bugs
issue related with selector for limit of rows
improve code readability

Resolve CP7M-104
Ref #6367
@kduret kduret force-pushed the php7-migration branch 5 times, most recently from fdbb834 to a17394d Compare June 20, 2018 13:07
@ganoze ganoze closed this Jun 21, 2018
@adr-mo adr-mo deleted the CP7M104-bug-event-logs branch August 29, 2019 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants