Molkobain
4eb43cd02d
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-18 19:29:57 +02:00
Molkobain
d3fb08ba81
PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility
2022-05-18 18:32:48 +02:00
Benjamin Dalsass
5574eabfed
N°4899 Adjust url sanitizer for 3.0 compliance
2022-05-18 10:49:23 +02:00
Molkobain
6a332ca60b
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-18 10:43:22 +02:00
Benjamin Dalsass
87f606f768
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/dashlet.class.inc.php
# pages/ajax.render.php
# pages/csvimport.php
# test/phpunit.xml.dist
2022-05-18 10:38:50 +02:00
Pierre Goiffon
534e7cf59d
✅ N°4655 New nightly PHPUnit file containing OQL tests
...
Those tests were removed in 72af2b7c as they took too much time to run.
We are re-enabling them but only for nightly builds !
2022-05-18 09:35:13 +02:00
Benjamin Dalsass
61a2d200b4
N°4900 - Stored XSS in dashlets failed OQL query
2022-05-18 08:10:01 +02:00
Benjamin Dalsass
3d6bbe4029
Revert "N°4900 - Stored XSS in dashlets failed OQL query"
...
This reverts commit 562dd8fc21 .
2022-05-18 08:05:19 +02:00
Thomas Casteleyn
3d04cf1cd6
🌐 Improve DBObject::CheckValue and CheckConsistency error messages ( #288 )
...
Now contains attribute code and value
2022-05-17 17:01:41 +02:00
Molkobain
eac6f07823
N°4985 - PHP 8.0: Fix optional parameter before mandatory parameter
...
* Method is always (once) called with the value defined in iTop
* No Combodo extension call the method
* No customization in the ITSM Designer (snippets / extensions) call the method
* Calling method with only the first parameter would crash anyway
2022-05-17 16:51:50 +02:00
Pierre Goiffon
424e2a5745
💡 Fix PHPDoc for \DBObject::CheckConsistency
2022-05-17 15:52:43 +02:00
Molkobain
46713236c4
PHPDoc - Add corresponding link thanks to @pirGoif
2022-05-17 15:34:58 +02:00
Molkobain
0ef4fee0b4
N°4985 - PHP 8.0: Fix usort callback return type
2022-05-17 15:28:04 +02:00
Pierre Goiffon
82f4736ad2
N°4921 Fix cannot find object when attvalue contains special cars
...
Sanitization filter wasn't set, so we were filtering a bit too much :/
2022-05-17 15:13:24 +02:00
Benjamin Dalsass
8e97279401
N°4899 - Reflected XSS on revert_dashboard operation
2022-05-17 09:27:06 +02:00
Benjamin Dalsass
59424c3126
N°4976 - CSRF in import page
2022-05-17 09:02:06 +02:00
Benjamin Dalsass
562dd8fc21
N°4900 - Stored XSS in dashlets failed OQL query
2022-05-17 08:20:26 +02:00
Vladimir Kunin
f3e601e340
🐛 N°4834 - Fix mentions working only with latin alphabet (no dash, no cyrillic, no asian, ...) ( #274 )
...
* 🐛 Add the 'pattern' parameter with the unicode Cyrillic block regex to the CKEditor mentions config.
* Revert "🐛 Add the 'pattern' parameter with the unicode Cyrillic block regex to the CKEditor mentions config."
This reverts commit 1f5ac000b6 .
* 🐛 Rewrite the CKEditor Mentions plugin regexp to make it suitable for all Unicode alphabets.
2022-05-16 20:06:30 +02:00
Molkobain
cf745554fb
N°4985 - PHP 8.0: Fix strlen() test condition that needs to be more strict
2022-05-16 18:04:29 +02:00
Molkobain
e909eac98e
N°4985 - PHP 8.0: Fix is_callable() first param syntax in ObjectFormManager
2022-05-16 17:44:34 +02:00
Molkobain
5e42efc3ec
N°4985 - PHP 8.0: Fix usort callback return type in portal's lists initialization
2022-05-16 17:44:33 +02:00
Molkobain
020937d4f6
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-16 16:22:53 +02:00
Molkobain
ff58fb8617
N°5172 - Add internal helpers to keep usage of null value in native PHP methods: strlen() => utils::StrLen()
2022-05-16 16:15:18 +02:00
Pierre Goiffon
98b24dff36
Merge remote-tracking branch 'origin/support/3.0.1' into support/3.0
2022-05-16 15:28:10 +02:00
Pierre Goiffon
ed9197e6ef
N°4224 Fix failed Jenkins build due to "Function ReflectionType::__toString() is deprecated"
...
E_DEPRECATED were previously hidden on the whole test infra.
But after PHPUnit update (N°3091) we restored them.
On legacy builds we are still using PHPUnit 6 and mocks which are generating such notices. So we are now hiding them only where necessary !
2022-05-16 15:16:03 +02:00
acognet
438b84d4ee
N°3141 - Deprecate legacy SQL build
2022-05-16 09:24:42 +02:00
Molkobain
afc8354523
Code cleanup
2022-05-14 20:42:48 +02:00
Molkobain
23fab1bab0
N°4287 - Portal: Factorize TWIG extensions between portal and backoffice
2022-05-14 20:42:48 +02:00
acognet
8b26b34f96
N°4690 - Deprecate "FilterCodes"
2022-05-13 10:28:53 +02:00
acognet
c20cedf266
Deprecate unused and broken method
2022-05-12 17:09:16 +02:00
acognet
2165bfe8c2
Fix "undefined offset" error during "Anonymize" action
2022-05-12 14:45:18 +02:00
Molkobain
cfd0b80225
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-11 18:14:00 +02:00
Molkobain
865aaf0191
Merge branch 'support/3.0' into develop
2022-05-11 18:12:46 +02:00
Molkobain
c1f335fedb
Merge remote-tracking branch 'origin/support/3.0.1' into support/3.0
2022-05-11 18:10:46 +02:00
Molkobain
22a4a2fc5e
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# setup/wizardsteps.class.inc.php
2022-05-11 17:50:00 +02:00
Molkobain
bb2c9dedeb
N°4628 - Upgrade bulma lib to v0.9.4 to avoid hack from N°4481
2022-05-11 16:55:25 +02:00
acognet
6946bb54ed
Revert "Fix "undefined offset" error during "Anonymize" action"
...
This reverts commit b4e623d1
2022-05-11 12:38:23 +02:00
acognet
b4e623d175
Fix "undefined offset" error during "Anonymize" action
2022-05-11 10:18:58 +02:00
Timmy38
891dd31290
N°5072 - Fix default priority to undefined (null) or default value if not nullable ( #279 )
...
* Fix default priority to undefined
* Default priority : if null value not allowed, use default value for priority
* Default priority : moving code from ComputeValues() to ComputePriority()
* Default priority : re-indenting code
2022-05-10 17:36:56 +02:00
acognet
6a4217e87b
N°3950 - Deprecate old unreferenced methods that are @deprecated - remove ajaxwebpage and iTopWebPage
2022-05-10 16:39:31 +02:00
Eric Espie
34cac2ac1b
No autoload for deprecated class
2022-05-10 14:57:04 +02:00
Molkobain
1dd25be6ef
N°4034 - Deprecate duplicated TWIG extensions class
2022-05-09 17:58:26 +02:00
acognet
f4e04477db
Fix "undefined offset" error during "Anonymize" action
2022-05-09 16:08:33 +02:00
Molkobain
7bfa7fa9f4
N°2883 - Improve XML compiler robustness on branding logos
2022-05-09 14:32:03 +02:00
Molkobain
c2607c4223
N°5035 - Setup: Remove tracking image at the end of the setup
2022-05-09 13:55:06 +02:00
Molkobain
66953be67d
N°5060 - Activity panel: Increase "max_history_length" conf. parameter from 50 to 200
2022-05-09 13:14:09 +02:00
Molkobain
ce355e311c
N°5060 - Activity panel: Show "load more entries" buttons no matter the filters
2022-05-09 13:14:08 +02:00
acognet
0a5411d411
N°2363 - API : deprecate old linkedset update pattern
2022-05-09 10:53:53 +02:00
acognet
7598b9e29a
N°3357 - Deprecate core/expression.class.inc.php
2022-05-06 17:26:29 +02:00
Pierre Goiffon
edd96d46f9
📝 CONTRIBUTING : fix version name
...
Rename was forgotten in b026e5ab
Thanks @hipska to have pointed this out !
2022-05-06 15:11:01 +02:00