bruno DA SILVA
6e927114e0
N°2154 - 💚 fix tests
...
- the correct file is now versioned
2020-02-03 12:04:51 +01:00
bruno DA SILVA
15c9cf926e
2154 - preserve "var" in conf
...
- add possibility to inject var using string patterns (ie: `'%env(DB_HOST)?:localhost%`)
- on WriteToFile, preserve the non interpreted value when the interpreted value is kept the same
- added unit tests for both behaviours
- minor bugfix (default value in comment was wrong) and code readability improvements
2020-01-31 17:29:37 +01:00
Eric
900e8ac6d7
N°985 - Add applicable contexts on Trigger
2020-01-20 15:50:08 +01:00
odain
1fc290587c
N°2154: Fix security breach (scratch install usecase)
2020-01-08 10:10:49 +01:00
bruno DA SILVA
c115f64cb5
N°2154 - Security breach
2020-01-06 15:31:31 +01:00
odain
3abcd59b03
remove redundant test on log api
2019-12-12 14:41:26 +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
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
b298a1fa82
fix invalid merge
2019-12-03 11:23:25 +01:00
odain
4013b76c9e
Merge branch 'speedup_jenkins' into develop
2019-12-03 11:09:30 +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
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
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
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +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