Pierre Goiffon
cfdbc8ae62
N°4215 When checking for TLS cnx, don't set anymore CMDBSource mysql attributes !
2021-09-23 11:59:44 +02:00
Pierre Goiffon
aaa8f6d311
N°4215 Fix call to a function on null error when setting TLS connection in the setup
...
Regression introduced by b1ca1f2630 / N°3513
2021-09-22 15:59:39 +02:00
Eric
949b213f9d
N°3513 - revert crud sequence
2021-06-24 13:32:43 +02:00
Eric
b1ca1f2630
N°3513 - ObjectFormManager : remove transaction
...
* Add automatic tests
* Fix object consistency
2021-06-22 16:09:41 +02:00
Eric
d11eceac62
✅ N°4052 - OQL parser limit for huge request - fix CI
2021-06-03 17:07:17 +02:00
Eric
02d32a556d
N°4052 - OQL parser limit for huge request
2021-06-02 15:15:00 +02:00
Eric
71fcc6f026
N°4031 - OQL Error when AttributeObjectKey is used in JOIN condition
2021-06-02 14:45:03 +02:00
odain
d4607ee815
N°3065 - Failed enum comparison when values contains parenthesis : add a warning
2021-03-02 07:33:36 +01:00
Pierre Goiffon
35155e4b7a
💡 N°3065 comments modifications
2021-02-26 10:06:29 +01:00
odain
74246a8278
N°3065 - Failed enum comparison when values contains parenthesis - enhance db model parsing used during setup comparison with expected one to generate SQL migration queries
2021-02-18 18:24:09 +01:00
Eric
dbb6e43751
N°3618 - Count on union with different conditions fails (Fix unit tests)
2021-02-05 11:28:40 +01:00
Eric
f07f0ba1c7
N°3618 - Count on union with different conditions fails (Fix multi-column attributes sql generation)
2021-02-05 10:15:14 +01:00
Pierre Goiffon
a5894c1a4c
Rename \Combodo\iTop\Test\UnitTest\ItopTestCase::InvokeInvisible* to InvokeNonPublic*
2021-02-04 09:41:56 +01:00
Eric
e06996a2e4
N°3660 - Fix JOIN without condition on child joined table is ignored (check done in optimizer)
2021-02-03 15:58:54 +01:00
Pierre Goiffon
765560d1f5
ItopTestCase : helpers to call invisble methods
2021-02-02 17:57:40 +01:00
Eric
bc024d9ed0
N°3660 - Fix JOIN without condition on child joined table is ignored
2021-02-02 17:30:03 +01:00
Pierre Goiffon
512b415bd6
N°3065 add test case in comment
2020-10-30 11:30:22 +01:00
acognet
96332b7885
N°3139 - import csv : hyperlink not clickable
2020-10-16 14:15:51 +02:00
Pierre Goiffon
06acac97ba
✅ Fix tests
...
* update datamodel XML version
* Remove \Combodo\iTop\Test\UnitTest\Core\OQLTest::testTypeErrorQueryParser
2020-10-07 16:21:36 +02:00
acognet
ed0e16494d
N°3335 - Fix test
2020-10-05 16:23:56 +02:00
Pierre Goiffon
b2474d3368
N°3324 Portal fix ignore_silo when using nested query in scopes
...
The AllowAllData attribute wasn't updated in the nested queries.
It is now set both when calling DBObjectSearch::AllowAllData and when creating a new nested query (\DBObjectSearch::AddConditionExpression)
2020-10-01 12:15:34 +02:00
odain
9520d2794f
💚 fix ci Serialization of 'ReflectionClass' is not allowed
2020-09-25 10:29:48 +02:00
odain
4e0eed6e13
N°3270 Notify on expiration not sending notification (trigger exception)
...
add boilerplate function and use it to intercept/enrich trigger exception loops
2020-09-25 07:18:14 +02:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Eric
ace676dc24
N°2585 - Fix alias problem in portal scopes
...
The re-aliasing map structure now allows multiple mapping for the same alias (used for the translations of UNIONS)
2020-07-23 16:41:57 +02:00
Eric
8122270476
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fix regression in Unit tests
2020-07-22 17:30:38 +02:00
Eric
1f66d53ab4
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fixed AddCondition_ReferencedBy() for unions (regression introduced by N°2970)
2020-07-22 16:09:08 +02:00
Eric
94f9b16c03
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
...
Add ListParameters to DBSearch for nested queries
2020-06-24 15:18:11 +02:00
bruno DA SILVA
be20705449
Add unit test.
...
unit test the behaviour of the removal of the blacklisted html tags
this is in fact an adaptation of the test added for the rolled-back feature of the n°2556.
This feature has been postponed to the 2.8 due to performance scaling issues.
2020-06-22 16:13:31 +02:00
Pierre Goiffon
8d73eb6dff
Revert "N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)"
...
This reverts commit 746b47bb0e .
Revert "N°2556 - Repair CI"
This reverts commit 79909fadc0 .
2020-06-22 11:36:46 +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