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

Add operand filter compare #6390

Closed
wants to merge 5,925 commits into from
Closed

Conversation

jben94
Copy link

@jben94 jben94 commented Jun 21, 2018

No description provided.

Guillaume28 and others added 30 commits October 24, 2017 10:33
…base config.

Namely /store_in_data_bin/ and /insert_in_index_data/ were not properly
linked to their config groups.
Slight changes of expressions, missing words and typos

Ref: centreon#5825
Typo fixes, expression changes, missing words

Ref: centreon#5828
getMyGTMFromUser method did not return the user GMT, return added

Refs: none
-change host/service separator of | to ,
-add to add/show multi object downtime with | separator
-update doc and acceptance
-change order/declaration of service inheritance on add method
loiclau and others added 29 commits June 1, 2018 14:14
…entreon#6265)

* enh(pdo): do not manage pdo exception on lowest level of application

* fix(pdo): fix exception thrown in centreon DB class
fix(auth): Declaration of method not compatible with parent

fix(session): Call non-static method

Add quickform package to composer

fix docblocks

fix namespace of Exception class

fix call to undeclared function \Exception()

refactor(base): move smarty to composer managed module
remove old smarty lib and add new one to composer requirements. Update smarty plugin folder
to be outside composer module.

Resolves #CP7M-9

refactor(base): add changed files not inserted in previous commit
Adds to: 546b316

refactor(global): delete quickform library files

refactor(global): remove local quickform loading

refactor(global): fix quickform loading on Monitoring and Configuration

refactor(global): fix quickform loading on Administration

refactor(base): replace deprecated Archive_Zip class

replace deprecated Archive_Zip with ZipArchive class from PHP ZIP module and add composer dependency for Archive_Tar

Resolves #CP7M-13

refactor(base): cleanup the code

refactor(base): replace Archive_Tar with PharData

replace pear package Archive_Tar with PharData class

Resolves #CP7M-13

refactor(global): return previous quickform class

refactor(global): extend quickform from composer

refactor(base): update php warnings

fix non numeric additions

part of: cp7m10

refactor(global): cleanum cutom quickform class

refactor(core): validate views post smarty update

Fixing various errors (not only smarty related) in validated views

Resolves CP7M-10

Cp7 m15 fix php warnings (centreon#6270)

* 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

refactor(base): Changes to PR 6271

Update db call, fix post-merge missing db execution call on images

Resolves: CP7M10

refactor(base): More Changes to PR 6271

Update free to closeCursor

refactor(global): use custom quickform class (centreon#6273)

Cp7 m7 fix code errors and warnings (centreon#6275)

* 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(config): fix variable name (centreon#6276)

Fix incorrectly pushed variable name

fix(global): load radio buttons default value (centreon#6280)

Cp7 m24 migrate the installer and update (centreon#6281)

* 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.

Cp7 m7 fix code errors and warnings (centreon#6282)

* 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 (centreon#6276)

Fix incorrectly pushed variable name

refactor(base): add dependency of pear-core and require newer version of PHP (centreon#6284)

add dependency of pear-core-minimal package and requrie at least version 7 of PHP

Resolves CP7M-14

Cp7 m27 widgets related fixes (centreon#6293)

* fix(global): add checks to db functions and counts

* fix(global): fix PHP`s notifications and warnings

* fix(services): add monitoring fixes for warnings

* fix(global): Undefined variable: upgrade_infosTxt

in upgrade form was missing variable

Resolves CP7M-27

* fix(quickform): fix select2 default data

refactor(quickformCustom): Change error type of addRule (centreon#6301)

Change fatal error to notice to comply with previous version error type all over the code.

refactor(quickFormCustom): change error type of applyfilter (centreon#6302)

Change fatal error to notice to comply with previous version error type all over the code.

fix(global): deprecated function, PHP notices (centreon#6312)

replace using of deprecated each() function with foreach(),
fix several PHP notices related with undefined index

Resolves CP7M-51

fix(quickform): add previously deleted elements (centreon#6311)

Cp7 m510 centreon awie (fixes) (centreon#6313)

* fix(global): PHP 7 compatability, deprecated function, PHP notices

replace using of deprecated each() function with foreach(),
fix several PHP notices related with undefined index
fix PHP notices related to undefined index and fix CentreonObject::add compatibility with child objects
set NULL in lower case

Resolves CP7M-51

fix(global): clean up several PHP warnings (centreon#6314)

* fix(global): clean up several PHP warnings

fix missing variable in pagination view, upgradeForm and service host list
fix requirement of password when auth with token
set TRUE in lower case

Resolves CP7M-54

Change quickform custom addrule returns (centreon#6332)

* refactor(quickFormCustom): change error type of applyfilter
Change fatal error to notice to comply with previous version error type all over the code.

* refactor(quickform): update quickform custom
stop execution if element not found

fix(api): API and CLAPI testing (centreon#6360)

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

Php7 migration clapi (centreon#6368)

* 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

enh(pdo): use fetch method instead of fetchrow

Cp7 m53 ongoing fixes (centreon#6365)

* 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

Cp7 m53 ongoing fixes (centreon#6369)

* fix(install): module without cfg throw warnings
* chore(base): ignore content of www/img/media folder

Resolve CP7M-53
* fix(global): remove resetting of search num

* fix(global): add conditions to pagination resetting
* chore(build): use public repository to test

* fix(db): Some PHP warnings in strict mode

* fix(auth): Declaration of method not compatible with parent

* fix(session): Call non-static method

* Add quickform package to composer

* fix docblocks

* fix namespace of Exception class

* fix call to undeclared function \Exception()

* refactor(base): move smarty to composer managed module
remove old smarty lib and add new one to composer requirements. Update smarty plugin folder
to be outside composer module.

Resolves #CP7M-9

* refactor(base): add changed files not inserted in previous commit
Adds to: 546b316

* refactor(global): delete quickform library files

* refactor(global): remove local quickform loading

* refactor(global): fix quickform loading on Monitoring and Configuration

* refactor(global): fix quickform loading on Administration

* refactor(base): replace deprecated Archive_Zip class

replace deprecated Archive_Zip with ZipArchive class from PHP ZIP module and add composer dependency for Archive_Tar

Resolves #CP7M-13

* refactor(base): cleanup the code

* refactor(base): replace Archive_Tar with PharData

replace pear package Archive_Tar with PharData class

Resolves #CP7M-13

* refactor(global): return previous quickform class

* refactor(global): extend quickform from composer

* refactor(base): update php warnings

fix non numeric additions

part of: cp7m10

* refactor(global): cleanum cutom quickform class

* refactor(core): validate views post smarty update

Fixing various errors (not only smarty related) in validated views

Resolves CP7M-10

* Cp7 m15 fix php warnings (centreon#6270)

* 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

* refactor(base): Changes to PR 6271

Update db call, fix post-merge missing db execution call on images

Resolves: CP7M10

* refactor(base): More Changes to PR 6271

Update free to closeCursor

* refactor(global): use custom quickform class (centreon#6273)

* Cp7 m7 fix code errors and warnings (centreon#6275)

* 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(config): fix variable name (centreon#6276)

Fix incorrectly pushed variable name

* fix(global): load radio buttons default value (centreon#6280)

* Cp7 m24 migrate the installer and update (centreon#6281)

* 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.

* Cp7 m7 fix code errors and warnings (centreon#6282)

* 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 (centreon#6276)

Fix incorrectly pushed variable name

* refactor(base): add dependency of pear-core and require newer version of PHP (centreon#6284)

add dependency of pear-core-minimal package and requrie at least version 7 of PHP

Resolves CP7M-14

* Cp7 m27 widgets related fixes (centreon#6293)

* fix(global): add checks to db functions and counts

* fix(global): fix PHP`s notifications and warnings

* fix(services): add monitoring fixes for warnings

* fix(global): Undefined variable: upgrade_infosTxt

in upgrade form was missing variable

Resolves CP7M-27

* fix(quickform): fix select2 default data

* refactor(quickformCustom): Change error type of addRule (centreon#6301)

Change fatal error to notice to comply with previous version error type all over the code.

* refactor(quickFormCustom): change error type of applyfilter (centreon#6302)

Change fatal error to notice to comply with previous version error type all over the code.

* fix(global): deprecated function, PHP notices (centreon#6312)

replace using of deprecated each() function with foreach(),
fix several PHP notices related with undefined index

Resolves CP7M-51

* fix(quickform): add previously deleted elements (centreon#6311)

* Cp7 m510 centreon awie (fixes) (centreon#6313)

* fix(global): PHP 7 compatability, deprecated function, PHP notices

replace using of deprecated each() function with foreach(),
fix several PHP notices related with undefined index
fix PHP notices related to undefined index and fix CentreonObject::add compatibility with child objects
set NULL in lower case

Resolves CP7M-51

* fix(global): clean up several PHP warnings (centreon#6314)

* fix(global): clean up several PHP warnings

fix missing variable in pagination view, upgradeForm and service host list
fix requirement of password when auth with token
set TRUE in lower case

Resolves CP7M-54

* Change quickform custom addrule returns (centreon#6332)

* refactor(quickFormCustom): change error type of applyfilter
Change fatal error to notice to comply with previous version error type all over the code.

* refactor(quickform): update quickform custom
stop execution if element not found

* chore(build): update Jenkinsfile.

* fix(build): use /usr/bin/env in shebang instead of direct php path.

* fix(pagination,search): CP7M61 performance data

Fix pagination / search parameters get/post on administration performance data

* fix(pagination,search): CP7M61 performance data

Fix pagination / search parameters get/post on administration performance data

* remove required that got carried over from the merge
reset pagination page on new filter posted

Resolves: CP7M-59
* 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(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
…fig file (centreon#6387)

* refactor(install): Exclude centreon config file from git

Move centreon.config.php to centreon.config.php.example and exclude from git.

Closes: CP7M18
BREAKING CHANGE:

Requires RPM-build logic rework, do not merge before it is applied!

* chore(packaging): rename config file template
@jben94 jben94 closed this Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.