Molkobain
c2607c4223
N°5035 - Setup: Remove tracking image at the end of the setup
2022-05-09 13:55:06 +02:00
Pierre Goiffon
1e8818984e
📄 N°4284 Update licenses
2022-04-29 15:53:03 +02:00
Pierre Goiffon
b9ddadeb44
N°5109 update PHP requirements from 5.6 to 7.0
...
No embedded libs supports all versions from PHP 5.6 to 8.0 included :/
7.0.8 is required for our Symfony version (updated with N°4770)
2022-04-20 17:29:20 +02:00
Pierre Goiffon
e02d9f3f0e
💡 N°5090 Improve phpdoc using list array shape
2022-04-15 17:43:20 +02:00
Pierre Goiffon
e831d66b76
N°5090 Setup : improve missing dependencies message ( #280 )
...
The setup now relies on the new method MissingDependencyException::getHtmlDesc to get the message to display
MissingDependencyException is also now a CoreException child.
Note that previous behavior (MissingDependencyException instantiator setting message) is kept, as some consumer still do $e->getMessage() (like unattended install)
2022-04-15 17:30:05 +02:00
Pierre Goiffon
92997e3e57
💡 N°2498 add @since
2022-04-08 08:54:07 +02:00
Pierre Goiffon
0080a2e733
💡 N°3129 Fix phpdoc
...
Method was renamed in 45b5c39a but I forgot to update the PHPDoc
2022-03-17 15:36:39 +01:00
Pierre Goiffon
968a0e5f3a
Add check to prevent setup crash when creating config
...
Cherry-pick of 09b12bd0
This will prevent also a warning when running on PHP 8.0 (N°3129)
2022-02-24 15:39:20 +01:00
Molkobain
4a67819f87
N°4714 - Revert rename of utils::GetItopVersionWikiSyntax as it is used in cached packages in the ITSM Designer
2022-02-11 20:00:39 +01:00
Pierre Goiffon
4caf52f1ae
🔥 N°4781 Remove SetupUtils::Log
2022-02-11 16:48:24 +01:00
Pierre Goiffon
0c5b845c8a
📄 N°4770 Update license file
2022-02-11 16:23:54 +01:00
Pierre Goiffon
25c3704990
N°4761 Fix license.xml content not displayed in setup with multi modules extensions ( #261 )
...
For example :
module "mymodule" is in extension "myextension"
On the file system the `license.xml` file will be in `/extensions/myextension/mymodule/license.mymodule.xml`
This form wasn't working in the setup but well displayed in the about box.
When \SetupUtils::GetLicenses was called in the setup it was searching with a GLOB pattern only in one level subfolders. Now we are searching 2 levels.
When called from the console, it is only searching in env-*, where everything is on one level.
2022-02-08 17:28:47 +01:00
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
45b5c39af7
N°3129 PHP 8.0 compat : code review modifications
...
Many thanks @Molkobain & @Hipska !
2022-01-31 16:41:35 +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
606bdc1909
N°3129 PHP 8.0 compat: Fix "Access level to MFElement::ReplaceWith() must be public (as in class DOMElement)"
2022-01-28 17:01:07 +01:00
Pierre Goiffon
64e8aa5fee
N°4714 New ITOP_CORE_VERSION constant
...
See following constants PHPDoc for information :
* core/config.class.inc.php ITOP_VERSION
* core/config.class.inc.php ITOP_CORE_VERSION
* setup/itopdesignformat.class.inc.php ITOP_DESIGN_LATEST_VERSION
2022-01-26 15:19:29 +01:00
Stephen Abello
4180a41f27
N°4652 Better error message when XML node define fails from delta ( #256 )
...
N°4652 Add more details when trying to define an already existing XML node
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
2022-01-14 10:20:46 +01:00
Pierre Goiffon
426f275c03
💡 Add additional phpdoc to \DBBackup::GetMysqlCliTlsOptions
2022-01-12 11:21:21 +01:00
Pierre Goiffon
0ee6c60e94
✅ Fix DBBackupTest (again :/)
...
Was working on Windows but not on Linux...
2022-01-12 09:12:04 +01:00
Pierre Goiffon
a663e9fded
✅ Fix DBBackupTest
...
DB connection dependency was added in a222ead4 (N°2336) in \DBBackup::GetMysqlCliTlsOptions but test wasn't updated accordingly :/^
The test wasn't ran on Jenkins until b11bf308 , so we saw the regression only yesterday :(
This is now fixed ! 🥳
2022-01-12 09:00:26 +01:00
Pierre Goiffon
b3bf516b20
💡 Fix PHPDoc for \DBBackup::GetMysqlCliTlsOptions
2022-01-12 08:24:28 +01:00
Pierre Goiffon
b073e4385c
💡 Document versions constants ( #255 )
...
Clarify ITOP_VERSION and ITOP_DESIGN_LATEST_VERSION uses
2022-01-06 14:49:34 +01:00
Pierre Goiffon
500bd15843
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-18 08:54:32 +01:00
Pierre Goiffon
3e8dd2f4a5
N°4286 Setup : fix loop in first steps
...
Setup token wasn't removed at the right place :/
2021-11-18 08:54:10 +01:00
Pierre Goiffon
d0fade9ce1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# pages/ajax.render.php
# setup/wizardsteps.class.inc.php
2021-11-17 17:39:36 +01:00
Pierre Goiffon
066b71686d
N°4286 Setup : restore backup download on WizStepDone
...
Setup token was put with N°2016 (6b5cc7c )
But later on we refactored the token handling in SetupUtils methods, and we had token removal in WizStepDone (43daa2ef ) : so the backup download cannot be done :/
2021-11-17 14:39:44 +01:00
Eric
2bc61caab1
N°4207 N°4298 Fix data/.maintenance flag not removed by setup anymore
...
Was already fixed in the develop branch
(cherry picked from commit d0986c048a )
(cherry picked from commit 9126635cf2 )
2021-10-12 12:23:49 +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
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
Pierre Goiffon
d90b1a3d82
🐛 N°4020 Fix syntax error for PHP < 7.1
...
`syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /var/www/itop274/setup/compiler.class.inc.php on line 61`
Was added in 1059befa
2021-07-02 09:26:03 +02:00
acognet
8b9589744b
N°4020 - timeout on updating the hierarchical key during setup - php 5.6 compatibility
2021-06-28 13:56:49 +02:00
acognet
1059befa39
N°4020 - timeout on updating the hierarchical key during setup
2021-06-21 16:39:58 +02:00
Eric
e7b5953feb
documentation
2021-05-27 11:52:38 +02:00
Eric
e441e5e78a
documentation
2021-05-27 11:49:32 +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
acognet
db6e813cba
N°3945 - Password database is visible in the setup process
2021-05-18 17:34:57 +02:00
Pierre Goiffon
bac92716f3
📄 Update Font Awesome license
...
Was duplicated...
And also not the correct license !
Source for new license text : https://github.com/FortAwesome/Font-Awesome/blob/master/LICENSE.txt
(modification already committed to develop : f8f9c2d7 )
2021-05-04 08:58:34 +02:00
bruno-ds
07257cc2d2
N°3671 - fix a code comment too evasive
...
thanks @Hipska
2021-04-21 09:25:10 +02:00
odain
386c90c601
N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy
2021-03-15 14:56:16 +01:00
odain
5d0c61178b
N°3671 : persist absolute URL when setup context (force trustproxy enabled)
2021-03-15 14:34:56 +01:00
odain
842e8f9e01
php doc
2021-03-10 15:32:44 +01:00
odain
83f99642e0
N°3793 - Cleanup of orphan CMDBChange can hang the setup
2021-03-08 11:38:20 +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
Molkobain
6f40bb4c35
Change check level to "warning" in order to keep consistency with the others
2021-02-24 09:29:42 +01:00