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
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
Eric
b7c3fbb176
💚 Refactor unit tests
2019-10-23 16:41:28 +02:00
Eric
5642552f9a
N°1888 - Filter search with another search
2019-10-23 12:56:02 +02:00
Eric
53e034ce4f
💚 Fix unit tests
2019-10-21 16:37:56 +02:00
Eric
cd4db1db06
💚 Fix unit tests
2019-10-21 16:32:43 +02:00
Eric
93618f974d
💚 Fix unit tests
2019-10-17 12:45:50 +02:00
Eric
5a1a6cf6f0
💚 Fix unit tests
2019-10-17 12:19:23 +02:00
Pierre Goiffon
0d0f8e9ffc
💚 N°2538 Fix test
...
Was broken since ce207e5c
2019-10-17 10:45:12 +02:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00
Pierre Goiffon
f65f22f333
N°2538 check path validity little improvements
...
* ajax-backup : change code to be more readable
* does a realpath() call on basepath to avoid troubles when havin '/' on Windows
2019-10-16 11:37:50 +02:00
Pierre Goiffon
607d355c61
N°2538 enforce generic method to check path validity
...
Now uses realpath() and StartsWith
2019-10-16 11:13:19 +02:00
Pierre Goiffon
29c30c1f89
🎨 Code format
2019-10-16 11:13:19 +02:00
Eric
75794fb4d9
Fix count with Archive mode
2019-10-15 09:50:33 +02:00
Eric
ff3ec219ef
N°2272 - OQL performance (empty class alias)
2019-09-25 17:43:20 +02:00
Eric
e0374dd186
N°2272 - OQL performance (unit tests)
2019-09-25 14:39:12 +02:00
Eric
51ee3b31cb
N°2272 - OQL performance (SQL Generation)
2019-09-25 10:57:35 +02:00
Eric
496ea830c5
N°2272 - OQL performance (unit tests)
2019-09-24 13:20:55 +02:00
Eric
4ccd842bdf
N°2272 - OQL performance (unit tests)
2019-09-13 10:35:41 +02:00
Eric
0f890ad228
N°2272 - OQL performance (Expression cache is configurable)
2019-09-06 14:30:42 +02:00
Eric
aac6ab0fc6
N°2272 - OQL performance (testability)
2019-09-06 14:30:42 +02:00
Molkobain
947e26d864
Internal: Change how the bootstrap.inc.php file is included in endpoints (This completes commit ec095896)
2019-08-13 17:38:51 +02:00
Molkobain
ec09589646
N°2439 Add real autoloader for framework files (not modules)
2019-08-13 13:46:19 +02:00
Molkobain
15f9f79a24
Fix unit test to be used in the ITSM Designer (Shame shame shame 🔔 🙈 )
2019-07-31 15:51:25 +02:00
Stephen Abello
6de6c38834
N°2268: Upgrade jQuery to v3.4.1 and jQuery migrate to v3.1.0. Remove version number from both libraries filename
2019-06-26 10:36:40 +02:00
Molkobain
dccdd84c25
♻️ Fix unit tests for compatibility with CI
2019-04-17 14:52:58 +02:00