Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Pierre Goiffon
43dd0b7df8
N°2013 Fix regression when installing from scratch
...
Error was "Call to a member function UpdateFromParams() on null"
Regression introduced by 15d3201a
2023-01-10 10:56:21 +01:00
Pierre Goiffon
43d86ad8e2
N°2013 Setup : fix crash on setting readonly mode if initial DB info were wrong
...
Same as 15d3201a , but this error happened before compilation, when setting read only mode.
As before this is another fix for #351 .
This fix introduces the new method \WizardController::GetParamForConfigArray
I replaced existing duplicate code with a call to this new generic method.
2023-01-10 10:56:21 +01:00
Pierre Goiffon
15d3201a40
N°2013 Setup : fix crash on compilation if initial DB info were wrong
...
Use case :
- having in the iTop config file wrong DB parameters (unreachable server for example)
- launch the setup in update mode
- fix the DB config in the wizard
The PR #351 solved the errors that were happening in the following steps.
But we still had an error during compilation, caused by the maintenance mode activation.
2023-01-09 16:11:27 +01:00
Pierre Goiffon
c417a454d6
New symlink flag set by the compiler, new compile with symlinks checkbox in the setup ( #190 )
...
The flag consists of the new `data/.compilation-symlinks` file, which is included in the code base (but not available in the Combodo packages).
It will be used and generated if and only if :
* we are on a dev env (`\utils::IsDevelopmentEnvironment`)
* the `symlink` PHP function exists
The flag is generated low level in the compiler (\MFCompiler::DoCompile)
In the setup, if the flag is present and all conditions are met then a new option will be displayed in the "Miscellaneous Parameters" wizard step. When unchecking/checking the flag will be updated accordingly by an ajax query.
All other compiler consumers (Designer / Hub connectors, Core Update, scripts using `RunTimeEnvironment` class) will :
* if they provide a value for the symlink option, it will be used
* otherwise the flag will be used instead, if conditions are met
2021-06-14 16:44:34 +02:00
odain
eacdfa4088
Merge branch 'support/2.7' into develop
2021-03-15 16:06:20 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
odain
842e8f9e01
php doc
2021-03-10 15:32:44 +01:00
odain
577ae34b50
Merge branch 'support/2.7' into develop
2021-03-09 15:40:30 +01:00
odain
83f99642e0
N°3793 - Cleanup of orphan CMDBChange can hang the setup
2021-03-08 11:38:20 +01:00
acognet
c4b7be5b6f
N°2522 - API : Deprecate SetupPage:log*
2020-08-27 11:17:42 +02:00
Pierre Goiffon
04fc58b55c
📝 Some @since annotations were missing complete version (ex 2.5 instead of 2.5.0)
2020-02-21 18:05:30 +01:00
Eric
900e8ac6d7
N°985 - Add applicable contexts on Trigger
2020-01-20 15:50:08 +01:00
bruno DA SILVA
70dfbbc15e
n°524 - password policy
...
- The code now uses the standard extension method (using interfaces)
- the metamodel can now filter on iModuleExtension in order to leverage extensions modularity (see MetaModel::EnumPlugins second param)
- during the setup, there is no pawsord policy control
- there is now a default policy
- new (more precie) translation reflecting the default policy
- fix CI?
2019-11-25 16:25:38 +01:00
Eric
9c808bf2ed
N°2240 - Supportability - Maintenance mode
2019-11-13 13:50:48 +01:00
Eric
f63fb16233
N°2135 - Setup callbacks for MTP
2019-11-08 14:05:24 +01:00
Eric
a4143df36a
N°2240 - Supportability - Maintenance mode
2019-11-07 16:45:52 +01:00
Eric
da1684a8b9
N°2249 - Supportability - Updater module
2019-11-07 13:14:20 +01:00
Eric
d035130d00
N°2240 - Supportability - Maintenance mode
2019-11-07 09:16:06 +01:00
Eric
35bb2da6bd
N°1114 - config-itop.php access rights enforcement
2019-10-21 18:14:44 +02:00
Eric
f51cd65b1f
N°2249 - Supportability - Updater module
2019-10-07 17:44:17 +02:00
Eric
aaf6289953
N°2249 - Supportability - Updater module
2019-10-04 18:26:21 +02:00
Eric
b0d0223821
N°2249 - Supportability - Updater module
2019-10-04 18:03:27 +02:00
Eric
044623309c
N°2240 - Supportability - Maintenance mode
2019-09-27 17:13:25 +02:00
Pierre Goiffon
24a0cc2f64
N°2478 Fix install not working anymore when having no env-*
2019-09-12 09:29:24 +02:00
Pierre Goiffon
7f156e961d
N°2478 Fix unattended install
...
* remove require() calls (now we have an autoloader \o/)
* change cache policy in utils::GetConfig
* set config in utils class from ApplicationInstaller
2019-09-11 16:41:50 +02:00
Eric
b2ab07aa69
N°2311 - Login Page extensibility
2019-08-30 15:07:51 +02:00
Pierre Goiffon
073b1cd303
N°2018 Backup : fix version check for MySQL8
...
Now uses \CMDBSource::GetDBVersion instead of mysqldump -V
2019-07-16 18:05:31 +02:00
Eric
a0cd70ae71
N°2240 - Supportability - Maintenance mode (setup)
2019-07-12 16:13:13 +02:00
Eric
f0e5128fb5
N°1740 - Class Query invalid Datamodel - Attention: Setup mandatory when applying this (core datamodel migration)
2018-11-13 11:18:10 +01:00
Eric
705ce02580
Setup steps duration
2018-10-19 17:18:39 +02:00
Stephen Abello
cb2c172483
N°1173 : mysqldump now correctly use 'mysql_bindir' parameter on setup & move to prod's backups
...
SVN:trunk[5767]
2018-05-03 15:00:13 +00:00
Eric Espié
d120109a78
Setup: Display the XML errors on the screen (cleanup deprecated functions)
...
SVN:trunk[5717]
2018-04-20 16:02:41 +00:00
Pierre Goiffon
f07bbfa174
N°1260 MySQL TLS connection : change parameters to only enable checkbox + CA (remove client key, client cert, cappath, cipher)
...
SVN:trunk[5682]
2018-04-18 06:57:38 +00:00
Pierre Goiffon
519093dceb
N°1260 fix backup classes to correctly uses DB parameters including TLS
...
* backup : add missing PHPDoc
* backup : use a config object instead of each parameter attribute
* CMDBSource::InitServerAndPort : remove static attribute dependency, change visibility
* setup : generate a config instance to use in backup
* backup : add TLS params if needed to the mysqldump call
SVN:trunk[5375]
2018-02-28 15:12:57 +00:00
Pierre Goiffon
ca28eeb596
N°1260 rename db_ssl* vars to db_tls (cause SSL is an old protocol and MySQL uses TLS)
...
Keep options label with SSL, to keep them aligned with the labels used in MySQL products and documentation
SVN:trunk[5314]
2018-02-08 14:22:14 +00:00
Pierre Goiffon
5a2576bc29
N°1260 MySQL TLS connection : add options in setup
...
SVN:trunk[5311]
2018-02-08 14:21:51 +00:00
Denis Flaven
6544659251
Small setup refactoring for getting ready for the Hub.
...
SVN:trunk[5232]
2018-01-10 15:47:15 +00:00
Guillaume Lajarige
59ddab9f94
N°781 Setup: New hook available after data load (ModuleInstaller::AfterDataLoad())
...
SVN:trunk[4891]
2017-09-04 10:46:33 +00:00
Romain Quetiez
3d72060bf5
N.890.1 and N.890.2: build a new run time environment into a separate "build" directory, then commit it by the mean of quick and bullet proof file copies/moves. Not yet used in the setup.
...
SVN:trunk[4881]
2017-08-29 08:08:24 +00:00
Guillaume Lajarige
2557d6e7d5
N°706 DBCollation config parameter is no longer forced during setup. It was for migrating iTop 2.0 but is now obsolete.
...
SVN:trunk[4839]
2017-07-18 13:41:51 +00:00
Denis Flaven
6bc24b6064
File names are now purely reltive to the module's root directory.
...
SVN:trunk[4821]
2017-07-10 09:49:50 +00:00
Denis Flaven
d0d9b1ce50
Improved way to track the choices made during the installation in order to:
...
1) Be able to proerly report this information
2) Make sure that the same (proper) choices are proposed upon update
SVN:trunk[4815]
2017-07-07 16:00:30 +00:00
Romain Quetiez
e31fa066fc
N.612 Backup files could not exceed 4Gb (technology limitation). The fix consists in archiving the backup as a tar.gz instead of a zip. As a consequence, installing iTop now requires TWO additional PHP modules: phar/zlib. The zip module remains mandatory because it is used in other places. The restore utility accepts both legacy zip files and brand new tar.gz files. DBBackup::CreateZip is deprecated in favor of DBBackup::CreateCompressedBackup. DBRestore::RestoreFromZip is deprecated in favor of DBRestore::RestoreFromCompressedFile (which autodetects the format for backward compatibility).
...
SVN:trunk[4803]
2017-07-06 15:26:03 +00:00
Denis Flaven
14dfe04714
Instrumentation of the setup/compiler: dump the complete XML data model at the end of the installation.
...
SVN:trunk[4759]
2017-06-08 13:56:14 +00:00
Denis Flaven
68ff589f9c
(refactoring) Generate database and "instance" UUIDs upon installation/upgrade.
...
SVN:trunk[4757]
2017-06-06 14:00:10 +00:00
Romain Quetiez
ebd0ae85a4
Code refactoring : fix of #876 implemented in 2.0.3 as [r3161], moved to a place where it will fix other implementations of the setup
...
SVN:trunk[4252]
2016-06-23 08:14:43 +00:00
Denis Flaven
f3773f6047
Cleanup and optimization of the handling/loading of the dictionary files.
...
SVN:trunk[3978]
2016-04-04 13:44:15 +00:00
Romain Quetiez
b8af72b402
Modules: added a mean to cache data that will be reset upon compilation. To be used in conjunction with ModuleDesign.
...
SVN:trunk[3877]
2016-01-25 16:47:05 +00:00
Denis Flaven
606e462b53
The path to Graphviz' dot program is now prompted interactively during the setup, since Graphviz is now mandatory for displaying the impact analysis.
...
SVN:trunk[3643]
2015-07-15 15:14:38 +00:00