Pierre Goiffon
af338de17f
🔨 Changelog generation script
2021-06-29 11:05:59 +02:00
Pierre Goiffon
a6aa183e26
🔖 Prepare 2.7.5
2021-06-28 15:03:17 +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
acognet
8b9589744b
N°4020 - timeout on updating the hierarchical key during setup - php 5.6 compatibility
2021-06-28 13:56:49 +02:00
Pierre Goiffon
8259a79cd2
🎨 Factorize LogAPI channels value in LogChannels class
2021-06-25 17:13:35 +02:00
acognet
a23ea9a01f
N°3678 - Portal : a modification of field cannot hide another one
2021-06-24 14:11:41 +02:00
Eric
949b213f9d
N°3513 - revert crud sequence
2021-06-24 13:32:43 +02:00
acognet
a940adc4ba
N°3678 - Portal : a modification of field cannot hide another one
2021-06-24 10:35:01 +02:00
Pierre Goiffon
5d994edd62
N°4012 Fix debug trace syntax
...
Thanks @Molkobain !
2021-06-23 17:26:34 +02:00
Eric
b1ca1f2630
N°3513 - ObjectFormManager : remove transaction
...
* Add automatic tests
* Fix object consistency
2021-06-22 16:09:41 +02:00
acognet
58e315d7f6
N°4020 - timeout on updating the hierarchical key during setup - fix git ignore
2021-06-21 17:16:08 +02:00
acognet
1059befa39
N°4020 - timeout on updating the hierarchical key during setup
2021-06-21 16:39:58 +02:00
Eric
0f5130611d
✅ Fix log API tests
2021-06-21 16:07:36 +02:00
Eric
a1271da74a
N°3513 - ObjectFormManager : remove transaction
2021-06-21 15:03:17 +02:00
Denis
0d40235791
🗃️ N°3968 Fix mutex being silently released after connection timeout ( #209 )
...
Mutex are using their own DB connection
Because the `wait_timeout` isn't specified when opening the connection, it could be closed before we released the lock : if so the lock is silently released !
We are now setting this variable directly when opening the connection to avoid such case (setting 86400s, so 1 day : this should be enough !)
2021-06-21 12:33:15 +02:00
Pierre Goiffon
dd63f2b817
N°4012 Debug trace for objects lists in portal : ManageBrick and BrowseBrick
...
'portal' channel, debug level
2021-06-18 10:58:04 +02:00
Pierre Goiffon
8f84c3b84b
🎨 LogAPI code formatting
2021-06-18 10:58:04 +02:00
Pierre Goiffon
00c58bb245
💡 updateLicenses.php : copy phpdoc from develop branch
2021-06-17 17:11:30 +02:00
Eric
3a876d5c75
Log complete error on Memory Limit or max execution time
2021-06-11 09:36:01 +02:00
Pierre Goiffon
147916062b
🎨 Fix local variable names
...
Was copy/paste and wasn't consistent with the functionnality :/
2021-06-10 16:28:17 +02:00
Pierre Goiffon
0de6f98add
🔊 When ordering objects search list, log problems due to low max_input_vars php.ini option ( #211 )
...
iTop is sending large volume of data to the server, and those data can be truncated due to this php.ini option.
Now we are checking for common issues : if the data is truncated a log is done (IssueLog, warning level, no channel) and the corresponding column is set as not selected.
User will still see an inconsistent result, but we won't have PHP notices generated anymore, and a log can tell what caused the issue.
2021-06-08 18:43:43 +02:00
Pierre Goiffon
a076792e77
⬆️ N°3973 Update update pear/archive_tar
2021-06-08 18:16:12 +02:00
acognet
2d2a6857de
N°3797 - [MariaDB] crash while converting utf8mb4 + add index
2021-06-04 09:10:28 +02:00
Pierre Goiffon
373641e01d
🎨 Code formatting
2021-06-03 17:31:34 +02:00
Eric
d11eceac62
✅ N°4052 - OQL parser limit for huge request - fix CI
2021-06-03 17:07:17 +02:00
Eric
3965806fa0
N°4052 - OQL parser limit for huge request - add better feedback
2021-06-03 16:49:21 +02:00
Pierre Goiffon
2625d2da80
💡 PHPDoc
2021-06-03 15:29:13 +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
Purple Grape
7168860a0b
🌐 Improved chinese for 2.7 ( #218 )
2021-06-02 08:06:16 +02:00
acognet
684c88e0b8
N°4038 - Pop up erreur portail utilisateur
2021-05-31 23:43:58 +02:00
Eric
84741c19f0
N°4002 - code hardening (merge from support/2.6)
2021-05-27 16:36:00 +02:00
Eric
86f649affc
N°4002 - code hardening
2021-05-27 16:13:27 +02:00
Eric
4f5c987d8b
N°4002 - code hardening
2021-05-27 15:57:04 +02:00
Eric
e7b5953feb
documentation
2021-05-27 11:52:38 +02:00
Eric
e441e5e78a
documentation
2021-05-27 11:49:32 +02:00
Eric
6be9a87c15
N°3952 - code hardening (merged from support/2.6)
2021-05-27 09:55:16 +02:00
Eric
43daa2ef08
N°3952 - code hardening
2021-05-27 09:29:50 +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
fc39d8aca9
💡 PHPDoc type hinting
2021-05-26 14:24:29 +02:00
Eric
cf12578289
N°3452 - DB tools : better formatting
2021-05-26 12:14:14 +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
81822efa0f
💡 PHPDoc for \DBObject::ApplyStimulus
2021-05-25 10:52:12 +02:00
Pierre Goiffon
923a025f1c
🌐 N°4017 Report pt_br translations for TTO/TTR made in combodo-dispatch-incident
...
Those dict keys were wrongly duplicated in this module, but they are core iTop !
Original commit 75f00d993c
Thanks to @rokam !
2021-05-20 15:51:21 +02:00
Pierre Goiffon
a4b6f4e37c
👥 Add @rokam to contributors list
...
Thanks to him for his PT-BR translations !
2021-05-20 15:44:24 +02:00
Pierre Goiffon
f0c73451a2
🌐 N°4017 Report pt_br translations for TTO/TTR made in combodo-dispatch-userrequest
...
Those dict keys were wrongly duplicated in this module, but they are core iTop !
Original commit 9725897623
Thanks to @rokam !
2021-05-20 15:30:00 +02:00
acognet
db6e813cba
N°3945 - Password database is visible in the setup process
2021-05-18 17:34:57 +02:00
Pierre Goiffon
d74e3e6b42
💡 ItopTestCase : some PHPDoc
2021-05-18 17:16:04 +02:00