odain
3abcd59b03
remove redundant test on log api
2019-12-12 14:41:26 +01:00
odain-cbd
48f4cd8943
Merge pull request #101 from Combodo/feature/faf_log_modularity
...
Feature/faf log modularity
2019-12-12 14:44:02 +01:00
odain
abd5e27c2e
fix and complete testcase
2019-12-12 14:22:49 +01:00
odain
6ec441e501
peer review: added tests but not passed yet
2019-12-12 08:43:01 +01:00
Eric
7c1a8c90da
N°2595 - Reorganize/rename admin. console menus
2019-12-11 13:59:31 +01:00
Pierre Goiffon
d36340a3cd
TagSet tests : use expectException method
2019-12-05 11:50:58 +01:00
Eric
b5b4d70c2d
N°1213 - Allow NOT IN SELECT in OQL syntax - Add unit tests
2019-12-05 09:02:11 +01:00
Eric
a74cff6902
N°1213 - Allow NOT IN SELECT in OQL syntax - Fix unit tests
2019-12-04 15:39:44 +01:00
Eric
58da108e85
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-04 14:27:02 +01:00
Eric
3ae4ca89f4
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION queries and "nested nested" queries
2019-12-03 17:14:53 +01:00
Eric
b415b1eeae
N°1213 - Allow NOT IN SELECT in OQL syntax - support of UNION requests
2019-12-03 12:11:00 +01:00
Eric
c0ae983faa
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
acognet
7845cbcc55
update tests
2019-12-03 12:11:00 +01:00
acognet
a33977251e
N°1213 - Allow NOT IN SELECT in OQL syntax
2019-12-03 12:11:00 +01:00
odain
b0d668b124
N°1213 - Allow NOT IN SELECT in OQL syntax - add unit tests
2019-12-03 12:11:00 +01:00
odain
b0856c1abf
fix HTMLDOMSanitizerTest due to merge
2019-12-03 12:10:26 +01:00
odain
72af2b7cd6
comment OQL section in phpunit.dist.xml
2019-12-03 11:41:57 +01:00
odain
15d11c6c86
reomve echo that prevented phpunit execution
2019-12-03 11:26:35 +01:00
odain
b298a1fa82
fix invalid merge
2019-12-03 11:23:25 +01:00
odain
007b8147c7
fix phpunit step
2019-12-03 11:17:01 +01:00
odain
4013b76c9e
Merge branch 'speedup_jenkins' into develop
2019-12-03 11:09:30 +01:00
odain
ed81391aff
!y# This is a combination of 4 commits.
...
run OQL tests depending on jenkins param
try sth
try sth
try sth
try sth
try sth
fix parameter to run OQL tests or not
run OQL tests depending on jenkins param
try sth
try sth
try sth
try sth
try sth
fix parameter to run OQL tests or not
2019-12-03 11:02:15 +01:00
Pierre Goiffon
28818010d6
N°2558 Test for the HTMLDOMSanitizer white list
2019-12-03 10:58:21 +01:00
Eric
928c19f923
✅ move OQL2SQL tests to another folder
2019-12-03 10:58:21 +01:00
Pierre Goiffon
9abcf40df7
N°2558 Test for the HTMLDOMSanitizer white list : remove new lines
...
the parser gives different results depending on the PHP version
Didn't manage to get it right :
- no php.ini difference
- playing with the parser preserveWhitespace/formatOutput parser options didn't help
So we're removing new lines on both sides :/
2019-12-03 09:47:45 +01:00
Pierre Goiffon
b67dc888fe
N°2558 Test for the HTMLDOMSanitizer white list
2019-12-03 08:42:25 +01:00
Eric
c7b101d169
✅ move OQL2SQL tests to another folder
2019-12-03 08:38:57 +01:00
Eric
9c8c306df3
🐛 Fix DBSearch::Intersect (de-duplicate aliases)
2019-11-27 15:39:33 +01:00
Pierre Goiffon
55a0d910fa
N°2490 MariaDB compat : changes after code review
...
* DEFAULT value unquoting is done with preg_replace now (clearer that we want to do a string replacement)
* DEFAULT value unquoting works even if DEFAULT is not the last keyword
* change test datasource for more readability (use double quotes when needed)
2019-11-27 11:51:47 +01:00
Eric
ae8071f707
add unit tests for intersect
2019-11-26 17:24:23 +01:00
Eric
c1cf084e43
fix unit tests - Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 16:32:19 +01:00
Eric
87c794b22e
fix unit tests - Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 15:44:17 +01:00
Eric
f90381d412
Support Microsoft encoding of non breaking line in UTF-8
2019-11-26 08:57:47 +01:00
bruno DA SILVA
d367d2e864
n°524 - password policy
...
💚 fix CI regression (data provider no longer include classes with side effect)
2019-11-25 18:02:25 +01:00
bruno DA SILVA
9d20eba2ad
2574 - enable Password expiry
...
- Extensibility: The UserLocal now provide the fields needed for an extension to be able to properly handle the expiration of the password
2019-11-25 17:37:34 +01:00
bruno DA SILVA
863746852f
n°524 - password policy
...
💚 fix CI : tests must be runned into a separate process in order to eliminate side effects of mocking the config
2019-11-25 16:53:04 +01:00
bruno DA SILVA
70dfbbc15e
n°524 - password policy
...
- The code now uses the standard extension method (using interfaces)
- the metamodel can now filter on iModuleExtension in order to leverage extensions modularity (see MetaModel::EnumPlugins second param)
- during the setup, there is no pawsord policy control
- there is now a default policy
- new (more precie) translation reflecting the default policy
- fix CI?
2019-11-25 16:25:38 +01:00
Pierre Goiffon
0ee77d8c88
N°2163 DB*Tracked methods : modifications after review with Romain
...
Previous commit : 24eb82d1
Use \CMDBObject::SetTrackInfo
Move \CMDBObject::SetCurrentChange calls at the top most level of the stacks
Restore old behaviors that were removed in previous commit
2019-11-25 14:58:59 +01:00
bruno DA SILVA
730a0d1c98
n°524 - password policy
...
💚 fix CI : tests must be runned into a separate process in order to eliminate side effects of mocking the config
2019-11-22 14:38:36 +01:00
bruno DA SILVA
b9cb692504
n°524 - password policy
...
bugfix: no rule does work properly
2019-11-22 12:31:14 +01:00
bruno DA SILVA
23fc4bb4f7
n°524 - password policy
2019-11-22 12:23:00 +01:00
Pierre Goiffon
06791b06c4
Fix utils::EndsWith when needle bigger that value
2019-11-21 11:57:24 +01:00
Pierre Goiffon
675221a15e
N°2490 Setup/toolkit : no longer generates useless ALTER TABLE queries on MariaDB >= 10.2
...
* case insensitive SQL data type comparison
* some options have also case differences (example 'int(11) unsigned')
* DEFAULT 'NULL' added by MariaDB on all nullable fields
* default values are always surrounded with single quotes on MariaDB
This is a Combodo implementation of PR #91
2019-11-21 11:24:14 +01:00
Pierre Goiffon
ef5b4e212c
N°2371 deprecate \MetaModel::EnumLinksClasses and \MetaModel::EnumLinkingClasses
2019-11-18 10:20:18 +01:00
Pierre Goiffon
24eb82d140
N°2361 Deprecate DB*Tracked methods
...
* update methods PHPDoc
* DBInsertTracked update callers
* DBInsertTrackedNoReload update callers
* DBUpdateTracked update callers
* DBDeleteTracked update callers
2019-11-15 17:56:04 +01:00
Pierre Goiffon
fd3b33b04b
N°2586 Test for iTopDesignFormat
2019-11-14 18:07:17 +01:00
bruno DA SILVA
08c1f4f072
autoload rework
...
- bootstrap.inc.php is now included by approot.inc.php
- remove all unescessaries includes of bootstrap.inc.php
- in bootstrap.inc.php autoload can be bypassed using a feature flag because "why not"
2019-11-08 16:51:57 +01:00
odain
92285b55b6
add few tests on OQL group by
2019-10-28 15:50:53 +01:00
Pierre Goiffon
5c483efd15
N°2555 action_rule performance
...
* do not execute scope_oql that have no conditions
* pick the first result only
2019-10-24 17:24:09 +02:00
Pierre Goiffon
9aeba1df9b
N°2555 New \DBSearch::GetFirstResult method
2019-10-24 17:24:09 +02:00