Pierre Goiffon
b4fc647845
N°4714 Rename \utils::GetItopVersionWikiSyntax to GetCoreVersionWikiSyntax
...
Will avoid confusion between core or product version !
2022-02-01 15:40:43 +01:00
Pierre Goiffon
ebc9fa684a
N°3129 PHP 8.0 compat: Fix "Private methods cannot be final as they are never overridden by other classes"
...
Was breaking setup ajax compilation
Fixed in:
* \SetupUtils::Log
* \MetaModel::SetUniquenessRuleRootClass
2022-01-28 17:01:07 +01: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
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
Eric
e7b5953feb
documentation
2021-05-27 11:52:38 +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
Molkobain
6f40bb4c35
Change check level to "warning" in order to keep consistency with the others
2021-02-24 09:29:42 +01:00
odain
82ba7f25b0
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:18:28 +01:00
odain
bb877a244b
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:09:39 +01:00
odain
a12959d60e
N°3412 - Command Injection vulnerability in the Setup Wizard - handle empty path
2021-02-17 07:50:18 +01:00
odain
e9cff0920b
N°3412 - Command Injection vulnerability in the Setup Wizard - fix test and code
2021-02-16 17:12:41 +01:00
odain
905ee19519
N°3412 - Command Injection vulnerability in the Setup Wizard
2021-02-16 15:57:12 +01:00
odain
20ce42b24b
Reintegrate validation tests to ease iTop release management from develop
...
- N°3053 - Check XML conversion methods
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- N°3061 - Automatically check the installation.xml consistency
- N°3268 Add test to check dictionary files: make sure that the Dict::Add declarations match the file name
2020-09-29 14:43:51 +02:00
odain
a35b2d83b7
Cancel functionnal changes to make sure they are ok in next release (develop/2.8) first
2020-08-07 15:17:24 +02:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Pierre Goiffon
8912618732
Revert "N°2214 Add PHP check in CLI scripts"
...
This reverts commit c768e18e2b .
No risk taken for the 2.7.1 : this will be included but for 2.8 !
2020-06-15 15:18:26 +02:00
Pierre Goiffon
1e6b885301
SetupUtils : add missing public access keyword for methods
2020-06-12 16:50:04 +02:00
Pierre Goiffon
c768e18e2b
N°2214 Add PHP check in CLI scripts
...
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements !
This adds in the following scripts the same control that is done on the setup wizard first step :
* cron.php
* backup, check-backup
* export, exportv2
* bulk import
* synchro-exec, synchro-import
If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)
2020-06-12 16:46:37 +02:00
acognet
6354c62c2b
N°3012 - Fix blocking MTT/MTP when /extensions
2020-06-11 14:13:27 +02:00
acognet
0e5a501b2a
N°3012 - Fix blocking MTT/MTP when /extensions
2020-05-27 10:13:44 +02:00
Pierre Goiffon
011d742ae3
N°2891 📌 add mbstring as optional extension
2020-03-27 14:41:59 +01:00
Eric
cc3e6d64e1
N°2249 - Supportability - Updater module (Allow to run setup in case of failure)
2020-01-16 10:49:49 +01:00
Pierre Goiffon
5f52c273d9
N°2329 PHP 7.4 compat : update setup requirements
...
This PHP version should be ok : we will give it a try during the beta program
2020-01-09 09:05:24 +01:00
Pierre Goiffon
9bee1905c8
N°2329 PHP 7.4 compat : remove get_magic_quotes_gpc/get_magic_quotes_runtime calls
...
Methods are now deprecated and since PHP 5.4 were always returning false
2019-12-24 17:30:12 +01:00
Pierre Goiffon
b53c91f7f3
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# Jenkinsfile
# setup/setuputils.class.inc.php
2019-12-23 11:34:55 +01:00
Pierre Goiffon
5fce2a2c1c
Setup : fix MySQL TLS wiki URL
2019-12-23 11:27:56 +01:00
Pierre Goiffon
8fed7c7005
💄 Setup : TLS message style was hardcoded, get back to standard CSS classes to be aligned with the rest
2019-12-17 09:16:10 +01:00
Stephen Abello
87497eb491
N°2314 Regression: extracted setup's stylesheet in its own file and pimped it up
2019-12-16 17:05:36 +01:00
Pierre Goiffon
7e6de5d8dd
🐛 \SetupUtils::builddir : avoid infinite loops
2019-12-05 10:27:22 +01:00
Pierre Goiffon
2bffa3cf17
N°2615 PHP versions setup requirements/warnings
2019-12-03 11:54:13 +01:00
Pierre Goiffon
32c5cd245b
N°2533 Check modules manual install dir on Setup for iTop products
2019-11-20 12:04:54 +01:00
Pierre Goiffon
a8f616bba7
N°2577 Setup : remove prefix for table prefix collapsible section
2019-11-14 14:46:58 +01:00
Pierre Goiffon
6c7d094921
N°2577 Setup : table prefix option is hidden also on iTop first install
...
Previous commit 3e785687 was hidding it only on iTop update
2019-11-12 08:54:29 +01:00
Pierre Goiffon
3e78568755
N°2577 Setup : table prefix option is now hidden by default
...
Should be used only by a few portion of users
2019-11-07 16:34:25 +01:00
Eric
5e7ae930c5
N°2240 - Supportability - Maintenance mode
2019-11-07 12:36:35 +01:00
Eric
d035130d00
N°2240 - Supportability - Maintenance mode
2019-11-07 09:16:06 +01:00
Eric
f51cd65b1f
N°2249 - Supportability - Updater module
2019-10-07 17:44:17 +02:00
Eric
b7c795c313
N°2240 - Supportability - Maintenance mode
2019-10-02 10:18:07 +02:00
Eric
46c553fbad
N°2249 - Supportability - Updater module
2019-10-02 08:39:32 +02:00
Eric
afe760a8bc
N°2240 - Supportability - Maintenance mode
2019-10-01 13:53:34 +02:00
Eric
044623309c
N°2240 - Supportability - Maintenance mode
2019-09-27 17:13:25 +02:00
Eric
b2ab07aa69
N°2311 - Login Page extensibility
2019-08-30 15:07:51 +02:00
Pierre Goiffon
a7b5077e0c
N°2010 \SetupUtils::MYSQL_NOT_VALIDATED_VERSION is now empty
2019-07-25 17:33:41 +02:00
Pierre Goiffon
28d00cc7c9
N°2366 Remove zip from mandatory PHP ext
2019-07-22 09:02:44 +02:00
Eric
e68340273b
Merge branch 'master' into develop
...
# Conflicts:
# core/config.class.inc.php
# core/htmlsanitizer.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/version.xml
# dictionaries/zh_cn.dictionary.itop.ui.php
# synchro/synchrodatasource.class.inc.php
2019-06-20 16:11:38 +02:00