odain
7a89bfc108
fix ci: force authent-local conf to be able to create admin in a test
2020-07-16 09:08:31 +02:00
odain
68c7b9a0e8
fix test that breaks config-itop.php
2020-07-15 19:56:25 +02:00
odain
9e3b1bfc78
use less tests + try sth
2020-07-15 19:47:35 +02:00
odain
01f9a6f758
fix test dependency: require admin user
2020-07-15 17:54:24 +02:00
odain
864572c02a
fix setup in freshinstall mode
2020-07-15 16:06:07 +02:00
odain
d353d56e7b
add exception in test failed
2020-07-15 11:13:48 +02:00
Pierre Goiffon
2705543efd
N°2997 new test for AbstractWeeklyScheduledProcess
...
Document the way GetNextOccurrence works O:)
2020-06-12 18:20:07 +02:00
Eric
8064a20718
N°2970 - Reset conditions of joined filter because they can be used later by the Filter() method
2020-06-03 11:47:12 +02:00
Pierre Goiffon
e6a8f492d5
N°3049 Fix notice when having an ENUM field with values containing parenthesis
2020-05-28 15:38:21 +02:00
bruno DA SILVA
79909fadc0
N°2556 - Repair CI
2020-05-14 10:49:31 +02:00
bruno DA SILVA
746b47bb0e
N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)
...
forbidden list: see $aTagsContentRemovableList
2020-05-14 10:33:30 +02:00
Thomas Casteleyn
23afee514d
🌐 Update nl.dictionary.itop.ui.php ( #125 )
2020-05-13 14:38:32 +02:00
Eric
bcd9679957
N°3006 - Fix filtering an UNION with parent class
2020-05-12 12:08:18 +02:00
Pierre Goiffon
23c15c1b6c
Revert "N°2902 - Intersect with union generates unwanted alias renaming"
...
This reverts commit 866e4ab995 .
Fix isn't yet commited, so we don't want to break the build.
The fix will be done in the hotfix/2902_intersect_alias branch
2020-04-27 09:36:38 +02:00
Eric
866e4ab995
N°2902 - Intersect with union generates unwanted alias renaming
2020-04-24 18:32:40 +02:00
acognet
0b95dbee7f
N°1588 - Count on Managed Brick sometimes wrong
2020-04-20 16:31:56 +02:00
odain
c06f8e9a98
N°2793 log rotation test : fix timezone issues
2020-03-04 12:05:42 +01:00
Pierre Goiffon
6675d7d42a
N°2793 Test log rotation
2020-03-04 09:21:05 +01:00
Pierre Goiffon
56ef6feadf
N°2820 Log rotation : new MonthlyRotatingLogFileNameBuilder class
2020-03-02 15:52:59 +01:00
Pierre Goiffon
2be16f9078
N°2793 Log rotation ( #117 )
...
Now log file name is unchanged : current log is still /log/error.log \o/
Rotation check (using file last modification time) is done :
* on each file write : we don't want to miss calls if session last from 23:59:59 to 00:01 for example ! Though the filemtime() call is done once per session to lower performance impacts
* using a new background process (LogFileRotationProcess)
File renaming on setup is therefore removed.
Also the interface is renamed (from ILogFileNameBuilder to iLogFileNameBuilder) to conform to iTop convention.
2020-03-02 15:01:12 +01:00
Pierre Goiffon
04fc58b55c
📝 Some @since annotations were missing complete version (ex 2.5 instead of 2.5.0)
2020-02-21 18:05:30 +01:00
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