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
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
Pierre Goiffon
8259a79cd2
🎨 Factorize LogAPI channels value in LogChannels class
2021-06-25 17:13:35 +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
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
8f84c3b84b
🎨 LogAPI code formatting
2021-06-18 10:58:04 +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
acognet
2d2a6857de
N°3797 - [MariaDB] crash while converting utf8mb4 + add index
2021-06-04 09:10:28 +02:00
Eric
3965806fa0
N°4052 - OQL parser limit for huge request - add better feedback
2021-06-03 16:49:21 +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
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
81822efa0f
💡 PHPDoc for \DBObject::ApplyStimulus
2021-05-25 10:52:12 +02:00
acognet
b740cb2afd
N°2540 - prevent the mysql password to appear on misconfigured servers
2021-05-12 08:17:35 +02:00
Pierre Goiffon
87ba67225a
💡 Add since phpdoc tags for \DeadLockLog::Log
2021-04-16 08:36:21 +02:00
Pierre Goiffon
2ad3b3c27e
🎨 Fix \DeadLockLog::Log parameter name + PHPDoc
...
Thanks @Hipska !
2021-04-15 15:03:13 +02:00
odain
386c90c601
N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy
2021-03-15 14:56:16 +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
odain
5c0e92d51a
N°3065 - Failed enum comparison when values contains parenthesis
2021-03-01 17:06:49 +01:00
bruno-ds
0030d5c2b8
N°3764 - add transactions_gc_threshold in order to tune CSRF token GC load
2021-03-01 15:30:40 +01:00
Pierre Goiffon
35155e4b7a
💡 N°3065 comments modifications
2021-02-26 10:06:29 +01:00
bruno-ds
db13c105ad
N°3473 - PHPdoc
...
as requested by @piRGoif
2021-02-24 17:38:54 +01:00
bruno-ds
9b7cd20d47
N°3473 - security hardening
2021-02-24 16:50:13 +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
6b76e5a853
N°3618 - Count on union with different conditions fails (php doc)
2021-02-08 09:39:24 +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
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
Eric
7115a6ae7d
N°3660 - Fix JOIN without condition on child joined table is ignored (remove unnecessary check)
2021-02-03 09:07:59 +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
ecebe4ecd5
N°3416 XFrame and cache headers optimizations
...
* Remove XFrame header set in \WebPage::no_cache : not this method responsability, was confusing :/
* Remove no_cache() calls when already set in page constructor (ajax_page mainly)
* Also calls everywhere the \WebPage::no_cache method instead of setting headers manually
2020-12-02 17:19:05 +01:00
Pierre Goiffon
8bfcb14d0c
N°3416 XFrame-Options header is now set using a config parameter, defaults to SAMEORIGIN
...
Also adds an indirection (\WebPage::add_xframe_options) to set header
2020-12-02 17:17:11 +01:00
acognet
eb537f45f4
N°3421 - Attributes of class Person are not accessible from :current_contact in portal anymore. Only attributes of class Contact are.
2020-11-30 09:24:35 +01:00
Eric
eebc29d2bb
N°3111 - Fix Portal export
...
(cherry picked from commit d3b57c3bda )
2020-10-30 14:16:57 +01:00
Pierre Goiffon
97d322a059
📝 N°3218 Add some PHPDoc on current change set/get
2020-10-27 15:17:17 +01:00
acognet
ada7f30793
N°3139 - import csv : hyperlink not clickable - replace htmlentities with utils::HtmlEntities() to ensure that the same options are used application wide.
2020-10-27 09:59:05 +01:00
Pierre Goiffon
adb4e77c8d
🎨 MetaModel : function modifiers order + little formatting
2020-10-19 15:36:56 +02:00
Pierre Goiffon
d3cf7176da
📝 MetaModel : add comment on @deprecated added in 9c75cb4537
2020-10-19 15:34:15 +02:00
Pierre Goiffon
1cfb52d220
🐛 Fix CoreException constructor generating a warning on PHP >= 7.2
...
In the CoreException constructor, we're using the $aContextData parameter to do a count(), a foreach(), and uses values as string.
Only a null check was done.
Now we are also checking that the value is_array().
As others checks (Countable, Iterable, __toString() impl) are quite difficult depending on the PHP version we're running, we didn't add any other checks.
The call in \MatchExpression::__construct (added in 05a0d612 ) was passing directly an Expression object. We could embed it in an array, but the object hierarchy isn't implementing __toString so we would have another bug.
In consequence we removed this parameter.
2020-10-19 11:57:53 +02:00
acognet
96332b7885
N°3139 - import csv : hyperlink not clickable
2020-10-16 14:15:51 +02:00