Molkobain
60aaa01e2e
N°4517 - PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility
2022-05-18 19:59:20 +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
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
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
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
2165bfe8c2
Fix "undefined offset" error during "Anonymize" action
2022-05-12 14:45:18 +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
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
acognet
f4e04477db
Fix "undefined offset" error during "Anonymize" action
2022-05-09 16:08:33 +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
Pierre Goiffon
bab14e1489
N°4224 remove workarounds for DEPRECATED notices generated by mock
...
We shouldn't have the problem anymore with PHPUnit 8.5 !
2022-05-05 15:43:59 +02:00
Anne-Catherine
65a0aa7abb
Update README.md
2022-05-04 10:48:33 +02:00
Anne-Catherine
261a44764d
Update README.md
...
Change logo
2022-05-04 10:40:37 +02:00
Pierre Goiffon
b3ef9333af
💡 Added since annotation to \LogAPI::IsLogLevelEnabled
2022-05-03 17:18:07 +02:00
Pierre Goiffon
1fb0911710
🔧 N°3091 postbuild PHPunit XML : change html_errors PHP setting
2022-05-03 10:53:32 +02:00
Pierre Goiffon
867cc6ce7e
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2022-05-03 10:52:01 +02:00
Pierre Goiffon
b348e0ff27
🔧 N°3091 PHPunit XML : change html_errors PHP setting
...
We are outputting to console, and will get results in Jenkins or terminal, so no HTML please :o)
2022-05-03 10:51:48 +02:00
Pierre Goiffon
4646a05c7a
N°4824 Update consumers after swiftmailer/swiftmailer
...
Multiple things to do as there were some changes in 6.0
Reference : https://github.com/swiftmailer/swiftmailer/blob/master/CHANGES#L107
* Fix "Call to undefined method Swift_Message::newInstance()" exception in notifications
* Fix removed Swift_MailTransport
2022-05-03 09:35:48 +02:00
Pierre Goiffon
84e35e27b8
✅ N°5143 Fix FunctionExpression for DATE_FORMAT and formats %j, %k and %l
2022-05-02 18:59:10 +02:00
Pierre Goiffon
c5527c106c
🔧 N°3091 PHPunit XML : set columns
2022-05-02 15:33:39 +02:00
Pierre Goiffon
5eac1b8730
🔧 N°3091 PHPunit XML : fix correct PHP INI settings
...
see https://phpunit.readthedocs.io/en/8.5/configuration.html#the-php-element
2022-05-02 15:25:59 +02:00
Pierre Goiffon
603934bac1
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.lock
# lib/composer/installed.php
2022-05-02 09:43:33 +02:00
Pierre Goiffon
0de15d040f
⬇️ N°4824 rollback scssphp/scssphp update (won't be done in this branch !)
2022-05-02 09:15:48 +02:00
Pierre Goiffon
41d032eee6
N°4284 Update BackOffice JQuery UI SCSS to remove SCSSPHP warnings
2022-05-02 08:48:28 +02:00
Pierre Goiffon
c4ae94fd4c
Update denied test dirs
2022-04-29 17:15:50 +02:00
Pierre Goiffon
afaf72573b
➖ N°4284 remove unused dependencies
2022-04-29 17:13:58 +02:00
Pierre Goiffon
ddd41d2ba7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# composer.lock
# core/email.class.inc.php
# css/ui-lightness/jqueryui.scss
# lib/bin/php-parse
# lib/bin/php-parse.bat
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.json
# lib/composer/installed.php
# lib/composer/platform_check.php
# lib/nikic/php-parser/grammar/php7.y
# lib/nikic/php-parser/lib/PhpParser/Builder/FunctionLike.php
# lib/nikic/php-parser/lib/PhpParser/Builder/Param.php
# lib/nikic/php-parser/lib/PhpParser/Builder/Property.php
# lib/nikic/php-parser/lib/PhpParser/BuilderFactory.php
# lib/nikic/php-parser/lib/PhpParser/BuilderHelpers.php
# lib/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php
# lib/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafeMethodCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php
# lib/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php
# lib/nikic/php-parser/lib/PhpParser/Node/Param.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassLike.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php
# lib/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php
# lib/nikic/php-parser/lib/PhpParser/Node/UnionType.php
# lib/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php
# lib/nikic/php-parser/lib/PhpParser/Parser/Php7.php
# lib/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
# lib/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php
# test/core/ConfigValidator/iTopConfigAstValidatorTest.php
2022-04-29 16:18:08 +02:00
Pierre Goiffon
1e8818984e
📄 N°4284 Update licenses
2022-04-29 15:53:03 +02:00
Pierre Goiffon
a023f73509
N°4284 Update jquery UI SCSS to remove SCSSPHP warnings
...
Replace "Alpha(..." with "alpha(..."
Example of warning at compilation with SCSSPHP :
DEPRECATION WARNING: Calling built-in functions with a non-standard name is deprecated since Scssphp 1.8.0 and will not work anymore in 2.0 (they will be treated as CSS function calls instead).
Use "alpha" instead of "Alpha".
on line 55 of /var/www/html/iTop/css/../css/ui-lightness/jqueryui.scss
2022-04-29 15:39:26 +02:00