Pierre Goiffon
0c7eee7f9c
💡 Add doc for why phpinfo ext is mandatory
2021-11-24 12:01:44 +01:00
Molkobain
1331bc2139
Add PHPDoc
2021-09-08 15:38:42 +02:00
Eric Espie
eef3e9b7ae
Merge branch 'develop' into SessionManagement
2021-09-07 16:33:10 +02:00
Eric Espie
1d0b96e10f
Merge branch 'develop' into feature/cli-backup-restore
2021-09-07 14:45:35 +02:00
Eric Espie
b239e822ef
N°4227 / N°4225 - Check cron context in WaitCronTermination
2021-09-07 10:54:27 +02:00
Eric Espie
615aa594f0
N°4227 / N°4225 - Fix cron backup
2021-09-07 10:47:26 +02:00
Eric Espie
8e0ae67803
N°4227 / N°4225 - Enhance SetupUtils interface
2021-09-06 17:53:46 +02:00
Eric
2c2155a8e0
N°3985 - Performance checks on the back end
2021-08-23 13:57:03 +02:00
Eric
befde44215
🐛 fix non-existing variable
2021-08-19 10:41:36 +02:00
Molkobain
1613c1bbdc
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/itopwebpage.class.inc.php
# core/config.class.inc.php
# setup/setuputils.class.inc.php
2021-08-18 18:55:56 +02:00
Stephen Abello
fabdef37d2
N°3913 UI improvements for setup, also remove A LOT of <table> 😬
2021-08-13 12:23:52 +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
Molkobain
4e1db7d7e2
Merge remote-tracking branch 'origin/support/2.7' into develop
2021-07-13 11:44:42 +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
bd67b71f3d
Merge remote-tracking branch 'origin/support/2.7' into develop
2021-07-06 11:36:34 +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
Molkobain
7ca689e190
Setup: Fix sizes being displayed as bits instead of bytes
2021-07-04 22:49:54 +02:00
Pierre Goiffon
4748717e50
N°4126 Improve max_allowed_packet checks messages
2021-07-02 10:10:35 +02:00
Eric
c7d87ad5b0
🎨 Display human readable sizes in bytes as int instead of float
2021-06-30 11:18:08 +02:00
Pierre Goiffon
0dc03de7b2
Log channels : switch 3.0.0 channels to constant also
...
Those channels constants were introduced in support/2.7 with 8259a79c
2021-06-29 11:59:34 +02:00
Pierre Goiffon
65e3ef32ed
N°3575 Change curl extension check error message
...
Thanks @Hipska !
2021-06-28 17:04:48 +02:00
Pierre Goiffon
85526b1983
N°3575 Add curl as optional PHP ext
2021-06-28 09:04:50 +02:00
Pierre Goiffon
d8e2a1cc7c
Merge branch 'support/2.7' into develop
...
# Conflicts:
# README.md
# composer.json
# composer.lock
# core/cmdbsource.class.inc.php
# core/dbobject.class.php
# datamodels/2.x/combodo-db-tools/db_analyzer.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# datamodels/2.x/combodo-db-tools/dictionaries/zh_cn.dict.combodo-db-tools.php
# datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php
# datamodels/2.x/itop-core-update/dictionaries/zh_cn.dict.itop-core-update.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
# lib/composer/InstalledVersions.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# lib/composer/platform_check.php
# pages/ajax.render.php
# pages/csvimport.php
# setup/ajax.dataloader.php
# setup/index.php
# setup/setuputils.class.inc.php
# test/application/UtilsTest.php
2021-06-14 16:19:56 +02:00
Eric
96126d235f
N°2214 Add PHP check in CLI scripts (fix some checks and title)
2021-05-27 16:31:15 +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
Pierre Goiffon
d0ea5e9e1c
N°2330 Change MySQL min version
...
Reasons :
* the min version was announced on a public wiki page (https://www.itophub.io/wiki/page?id=2_7_0%3Ainstall%3Ainstalling_itop#software_requirements )
* MySQL 5.6 end of life was reached in feb. 2021 (https://endoflife.software/applications/databases/mysql )
2021-03-30 10:28:59 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Molkobain
370c08cd68
N°3657 - Replace calls to deprecate jQuery methods (".click(callback)" to ".on('click', callback)")
2021-03-15 09:29:09 +01:00
bruno-ds
9cbaced1f3
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/config.class.inc.php
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
# setup/setuputils.class.inc.php
# test/setup/SetupUtilsTest.php
2021-03-02 14:34:19 +01:00
Molkobain
6f40bb4c35
Change check level to "warning" in order to keep consistency with the others
2021-02-24 09:29:42 +01:00
bruno-ds
c3cb4fbe75
Fix merge wrongfully performed
...
(thanks @molkobain & @piRGoif & @odain-cbd)
2021-02-23 10:24:49 +01:00
bruno-ds
26bbdc1a57
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# dictionaries/en.dictionary.itop.core.php
# dictionaries/fr.dictionary.itop.core.php
# setup/setuputils.class.inc.php
2021-02-23 08:58:29 +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
Stephen Abello
63929566d9
Remove debug line from setup
2021-02-02 15:30:33 +01:00
Pierre Goiffon
b85b4d0067
N°3663 Group exception classes in /application/exceptions
...
Original files kept for compatibility issues :
- core/coreexception.class.inc.php
There are remaining exceptions in /core/oql, but those files are generated
2021-01-26 15:50:26 +01:00
Pierre Goiffon
07cc8bf508
N°3436 fix Setup
...
Was blocked because using iTop 3.0.0 with datamodels/2.x dir : \SetupUtils::GetCompatibleDataModelDir wasn't ok with that :o)
This method is no more present, and we're calling \SetupUtils::GetLatestDataModelDir only
In other words, we're picking the latest datamodel/*.x dir (greatest number)
2020-11-16 17:51:52 +01:00
Pierre Goiffon
c2e31de263
🎨 SetupUtils fix methods modifiers + formatting
2020-11-16 17:39:32 +01:00
Molkobain
8e6351d346
Internal: Replace references to iTop 2.8.0 with iTop 3.0.0
2020-10-14 10:04:10 +02:00
Molkobain
f8129fab74
N°2899 - Setup: Fix "For CryptoEngine ..." mandatory PHP extension introduced in the previous commit
2020-09-30 16:22:35 +02:00
Molkobain
1b2dd04409
N°2899 - Setup: Remove mbstring from optional PHP extensions now that it is mandatory ( 7d1a61a2f) (Thanks @Hispka !)
2020-09-30 14:38:55 +02: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
Pierre Goiffon
ed1bb3e93a
N°2214 Add PHP check in CLI scripts : 2nd code review with Romain
...
- fix wrong test in \SetupUtils::CheckPhpAndExtensions
- fix \SetupUtils::CheckGraphviz consumers in WizardStep : do not assume that only one CheckResult is returned... doing a for each loop instead !
- json_encode prb on Windows : pull up default messages from consumers to \SetupUtils::CheckGraphviz (was introduced in 6e754d4fa5 )
2020-09-18 10:43:39 +02:00