acognet
c1c2d027c3
N°4402 - DbObject::ListPreviousValuesForUpdatedAttributes() returns new values for _list-attributes (at least in DbObject::AfterUpdate()) Fix test
2021-11-30 12:11:04 +01:00
acognet
5269096ecd
Merge branch 'support/2.7' of github.com:Combodo/iTop into support/2.7
2021-11-29 15:07:14 +01:00
Molkobain
7f2eef4a24
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-26 13:59:29 +01:00
Molkobain
8a65a592f3
N°4360 - Rename class to match other classes convention
2021-11-26 13:47:05 +01:00
acognet
903de43589
N°4402 - DbObject::ListPreviousValuesForUpdatedAttributes() returns new values for _list-attributes (at least in DbObject::AfterUpdate()) Add tests
2021-11-24 12:10:30 +01:00
Pierre Goiffon
65f9f86bcc
N°3635 DictionariesConsistencyTest : now we can have multiple possible localized language desc
...
The 'Español, Castellaño' to 'Español, Castellano' was causing problem on builds with other modules that we don't want to update !
2021-11-23 18:59:10 +01:00
Pierre Goiffon
efaf53e568
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# core/htmlsanitizer.class.inc.php
2021-11-23 18:07:02 +01:00
Pierre Goiffon
81a2a9278c
✅ N°4360 Fix SvgDOMSanitizer expected data
2021-11-23 17:38:30 +01:00
Pierre Goiffon
e15d4bfab6
N°4360 Security hardening
2021-11-23 17:25:50 +01:00
Pierre Goiffon
77880c3675
🌐 N°3635 ES dict : change 'Español, Castellaño' to 'Español, Castellano'
2021-11-22 08:55:08 +01:00
Pierre Goiffon
8c7f7abaab
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# test/application/privUITransactionFileTest.php
2021-11-03 11:10:43 +01:00
Pierre Goiffon
e8d314e1f6
✅ N°4367 Fix \privUITransactionFileTest::testIsTransactionValid
...
* change user name for when password policy is active
* admin user doesn't exist on Jenkins : create a second user
* test UserRights::Login return value
* document that we depend on the sample data
2021-11-03 10:50:25 +01:00
Pierre Goiffon
908a48e0a1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/transaction.class.inc.php
# test/application/privUITransactionFileTest.php
2021-10-21 15:09:50 +02:00
Pierre Goiffon
9b854dbcc7
N°4289 skip test (not working on Jenkins)
2021-10-21 14:52:59 +02:00
Pierre Goiffon
7757f1f2d2
N°4289 Security hardening
2021-10-21 12:43:03 +02:00
Pierre Goiffon
8ea5be4ead
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/transaction.class.inc.php
2021-10-18 14:32:27 +02:00
Pierre Goiffon
b3f827ed5e
N°4367 Security hardening
2021-10-18 14:27:58 +02:00
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
Pierre Goiffon
e32e275f40
🎨 Align dataprovider elements
2021-06-29 16:45:34 +02:00
Pierre Goiffon
b5074c4cee
N°3806 Fix saying memory_limit isn't enough in CLI scripts and setup
...
This was caused by the strict comparison in \utils::IsMemoryLimitOk for the special "-1" value of memory_limit, which was added in c2f5cafa .
Fix was to change \utils::ConvertToBytes : it was returning original value when input was numeric (so if input is '-1' output was '-1') now it always returns an int (input '-1' output -1)
2021-06-28 14:53: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
Pierre Goiffon
caa2a05bf4
🔧 restore .editorconfig
...
Was moved to /test by mistake
And also editorconfig syntax was removed :(
Those mistakes were done in 7f15eed9
Thanks Molkobain, good catch !
2021-05-26 15:19:40 +02:00
Pierre Goiffon
44952d1ea0
✅ Fix \UtilsTest::testIsMemoryLimit
2021-05-25 17:04:32 +02:00
Pierre Goiffon
7f15eed9a8
🔧 Update .editorconfig
...
* Preserve XML line breaks
* Add markdown
* Add editorconfig
2021-05-25 15:50:23 +02:00
BGdu38
c2f5cafaf3
Avoid setting memory_limit to lower value than the one already configured ( #215 )
...
Some scripts are setting the memory_limit PHP option : setup, csvimport and XLSX export. This was done to avoid crashing when dealing with such large amount of data.
But sometimes we were setting the value without any prior check, so we could actually lower the memory_limit value :/
Now this memory_limit change is done using \utils::SetMinMemoryLimit, which will call ini_set if and only if the current value is lower than the one to be set.
Setup calls (setup/ajax.dataloader.php and webservices/backoffice.dataloader.php) were left as is as they weren't subject to this bug, and also they are more complex (logging done on each case).
2021-05-25 12:03:19 +02:00
Pierre Goiffon
d74e3e6b42
💡 ItopTestCase : some PHPDoc
2021-05-18 17:16:04 +02:00
bruno-ds
91fc2d2e2b
N°3671 - reformat tests
2021-03-17 08:46:41 +01:00
odain
b5adb2e82b
N°3671: fix and make test more lisible
2021-03-15 19:01:09 +01:00
odain
386c90c601
N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy
2021-03-15 14:56:16 +01:00
odain
3bcae734e5
N°3671 : persist absolute URL when setup context (force trustproxy enabled)
2021-03-15 12:27:05 +01:00
bruno-ds
ae6a264d6d
N°3671 - fix typo in HTTP header name
2021-03-05 16:57:03 +01:00
bruno-ds
7b093a6bba
N°3671 - app_root_url: handle reverse proxies during the setup and preserve existing configuration during an upgrade.
2021-03-03 11:55:18 +01:00
odain
d4607ee815
N°3065 - Failed enum comparison when values contains parenthesis : add a warning
2021-03-02 07:33:36 +01:00
bruno-ds
cd4b3fdaab
N°3764 - fix CI
2021-03-01 16:27:40 +01:00
bruno-ds
95a0efedcf
N°3728 - security hardening
2021-03-01 15:28:34 +01:00
Pierre Goiffon
35155e4b7a
💡 N°3065 comments modifications
2021-02-26 10:06:29 +01:00
Molkobain
5836be7131
Fix unit test
2021-02-24 09:49:16 +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
odain
46f9fe743c
fix ci: adapt test to make sure config date_and_time is set properly before
2021-02-18 16:27:38 +01:00
odain
c31df5fff3
fix ci: adapt test to make sure config date_and_time is set properly before
2021-02-18 16:07:37 +01:00
Molkobain
9d2fc883b8
Fix test name
2021-02-17 10:31:59 +01:00
odain
913ea0cef2
N°3412 - Command Injection vulnerability in the Setup Wizard - renaming
2021-02-17 10:22:21 +01:00
odain
bb877a244b
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:09:39 +01:00
odain
a12959d60e
N°3412 - Command Injection vulnerability in the Setup Wizard - handle empty path
2021-02-17 07:50:18 +01:00
odain
571520815a
N°3412 - Command Injection vulnerability in the Setup Wizard - include test to CI
2021-02-16 17:25:45 +01:00