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
eaf8a187aa
N°3332 report function rename
...
The method was renamed in 18d52319 but only on support/2.7 and above
2021-10-18 11:36:17 +02:00
Pierre Goiffon
34f64c61f6
privUITransaction fix inspections errors + formatting
2021-10-18 11:32:38 +02:00
Pierre Goiffon
8154e718a1
N°4356 modifications after code review
...
Thanks @Molkobain !
2021-10-13 17:23:29 +02:00
Pierre Goiffon
b5369a0c03
N°4356 Fix portal attachment download
...
Was opening the attachment directly in the browser (HTTP header Content-Disposition set to 'inline' instead of 'download')
2021-10-13 12:10:22 +02:00
Eric
2bc61caab1
N°4207 N°4298 Fix data/.maintenance flag not removed by setup anymore
...
Was already fixed in the develop branch
(cherry picked from commit d0986c048a )
(cherry picked from commit 9126635cf2 )
2021-10-12 12:23:49 +02:00
Pierre Goiffon
8f0a5fcaf9
N°4231 Security hardening
2021-10-12 11:11:11 +02:00
Pierre Goiffon
fe3512cb5f
N°4335 Fix export with PHP < 7.0+
2021-10-11 17:05:30 +02:00
Pierre Goiffon
fdc987f367
Merge remote-tracking branch 'origin/support/2.7.5' into support/2.7
2021-09-29 17:51:17 +02:00
Pierre Goiffon
ec1dcc8df6
💡 N°3513 PHPDoc
2.7.5-2
2021-09-23 14:42:16 +02:00
Pierre Goiffon
47ed863da9
N°4215 N°3513 Fix DB errors fetch from the wrong object n°2
2021-09-23 14:32:43 +02:00
Pierre Goiffon
88290f9e91
N°4215 N°3513 Fix DB errors fetch from the wrong object
2021-09-23 13:55:23 +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
Molkobain
1c983e8093
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# core/config.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/objectcontroller.class.inc.php
# pages/ajax.render.php
2021-08-18 16:12:22 +02:00
Molkobain
92a9a8c65f
N°4129 - Security hardening
2021-08-18 15:57:18 +02:00
Molkobain
27217815d1
N°2510 - Fix expand/collapse buttons of log entries in a list
2021-08-16 09:37:36 +02:00
Pierre Goiffon
2b71ea108a
Setup memory_limit check : clearer message
...
Now the current value is displayed as entered in the PHP conf
And the recommended value is displayed in a friendly format (32M instead of raw bytes value)
2021-07-27 11:37:05 +02:00
Pierre Goiffon
1aa5185c93
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# README.md
2021-07-21 12:19:52 +02:00
Pierre Goiffon
834ac00d37
📝 README : update latest releases
...
Was made in #143 but on develop only, but we are still maintaining older branches !
2021-07-21 12:15:22 +02:00
Molkobain
8e6379a112
Merge branch 'support/2.7.5' into support/2.7
2021-07-13 11:42:30 +02:00
Molkobain
da217a1cb3
N°4161 - Fix ManageBrick crash when no item listed
2.7.5-1
2021-07-12 18:10:22 +02:00
Pierre Goiffon
a683634a05
N°4126 Fix HTML escaped in \SetupUtils::CheckDbServer messages
...
As content is sent to JS returned to the AJAX request, we need to escape JS string delimiter (single quote)
We had previously a \utils::HtmlEntities call, but this isn't necessary as all content is generated internally, without calling any dict or extensibility interface.
2021-07-12 14:41:26 +02:00
Pierre Goiffon
69ad10785b
🔧 .editorConfig : disable PHP variables alignement
...
Still enabled for key/value pairs though ! Example in \UtilsTest::ConvertToBytesProvider
2021-07-05 12:34:20 +02:00
Pierre Goiffon
9aead898e2
Fix Wiki URL to use iTop Hub instead of wiki.openitop
...
Thanks @Molkobain and @Hipska !
2021-07-05 12:29:07 +02:00
Pierre Goiffon
a48ebfefba
N°4126 Change max_allowed_packet error message
...
Thanks @Molkobain !
2021-07-05 09:54:47 +02:00
Pierre Goiffon
4748717e50
N°4126 Improve max_allowed_packet checks messages
2021-07-02 10:10:35 +02:00
Pierre Goiffon
d90b1a3d82
🐛 N°4020 Fix syntax error for PHP < 7.1
...
`syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /var/www/itop274/setup/compiler.class.inc.php on line 61`
Was added in 1059befa
2.7.5
2021-07-02 09:26:03 +02:00
Pierre Goiffon
3694108f42
N°3870 updateLicenses : fix generating wrong product names on Windows
...
Was including paths fragments.
Example :
<product scope="datamodels">C:\Dev\wamp64\www\itop-dev\.make\license/../..//datamodels/2.x/authent-cas/vendor/apereo/phpcas</product>
Instead of :
<product scope="datamodels">apereo/phpcas</product>
2021-07-01 17:20:55 +02:00
Pierre Goiffon
8cf75f826f
🔨 updateLicenses : add logs and replace rm -f by unlink()
2021-07-01 15:30:33 +02:00
Pierre Goiffon
ad9726b64c
🔧 .editorConfig : restore old ij_visual_guides value
...
Was overwritten by mistake in 19505649
2021-06-30 10:24:19 +02:00
Pierre Goiffon
e32e275f40
🎨 Align dataprovider elements
2021-06-29 16:45:34 +02:00
Pierre Goiffon
195056492e
🔧 .editorConfig : enable var alignement
2021-06-29 16:45:18 +02:00
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