Pierre Goiffon
aa53de467d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-02-14 11:39:42 +01:00
Pierre Goiffon
5d6c4939f6
N°7245 Bettor logs on RunTimeEnvironment::CallInstallerHandlers exceptions ( #606 )
2024-02-14 11:01:12 +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
Pierre Goiffon
2a1e0b7429
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/dbobject.class.php
# core/log.class.inc.php
# setup/compiler.class.inc.php
2021-06-28 08:58:34 +02:00
acognet
1059befa39
N°4020 - timeout on updating the hierarchical key during setup
2021-06-21 16:39:58 +02: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
Pierre Goiffon
09b12bd06e
🎨 Add check to prevent setup crash when creating config
...
In a4782942 a !empty() test was added but this was useless
The problem that was causing the issue was an undefined index when doing $aAvailableModules[$sModuleId]
2021-05-03 16:56:33 +02:00
odain
a478294211
cannot write itop conf error durring setup wizard: add preventive check when empty dependencies
2021-04-22 14:57:06 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +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
8a1a78444d
N°2249 - Supportability - Updater module (unified version name)
2020-01-16 18:13:58 +01:00
Eric
4552bc0778
N°2249 - Supportability - Updater module (changed version name in the priv_module_install table)
2020-01-16 17:42:02 +01:00
Eric
d03b924240
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 16:58:36 +01:00
Eric
97a047e38f
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 16:42:47 +01:00
Eric
5be800cfce
N°2249 - Supportability - Updater module (split ajax calls)
2020-01-15 15:48:54 +01:00
Eric
864ded2102
Refactor Core Update (+8 squashed commit)
...
Squashed commit:
[b907bb759] Refactor Core Update
[5da2473aa] Refactor Core Update
[3fce45615] Refactor Core Update
[5f050a828] Refactor Core Update
[4b9b85174] Refactor Core Update
[f637ed358] Refactor Core Update
[56543edce] Refactor Core Update
[7f06900ef] Refactor Core Update
2020-01-07 10:00:14 +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
Eric
30430bb7dc
N°2135 - Setup callbacks for MTP
2019-11-13 17:33:56 +01:00
Eric
b67639f9ec
N°2249 - Supportability - Updater module
2019-11-13 11:08:08 +01:00
Eric
da1684a8b9
N°2249 - Supportability - Updater module
2019-11-07 13:14:20 +01:00
Eric
64434f8065
🎨 remove warnings
2019-09-27 17:14:04 +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
Stephen Abello
179c774ba8
N°2207: Copy the content from the right source file into production.delta.prev.xml
2019-06-03 12:36:05 +02:00
Pierre Goiffon
a4055c4a74
Change comments to use same tickets ref syntax
2018-11-06 17:36:14 +01:00
Pierre Goiffon
40a4e6d7b0
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
...
Warn your git config (core.autocrlf = input or true)
2018-09-04 17:59:51 +02: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
Bruno Da Silva
381a988f43
bugfix: iTop Hub compatibility repaired
...
the new abstract classes used by admin menu management broke iTop hub installer
SVN:trunk[5694]
2018-04-18 15:27:22 +00:00
Pierre Goiffon
c66884be0a
N°1001 setup : log all modifications done on the DB in a SQL file (/log/setup-queries-YYYY-MM-DD_HH-mm.sql)
...
SVN:trunk[5445]
2018-03-16 10:00:04 +00:00
Pierre Goiffon
d2f0deec9c
N°1260 Config : migrate DB* variables to the Get() model, create CMDBSource::InitFromConfig
...
SVN:trunk[5308]
2018-02-08 14:21:25 +00:00
Pierre Goiffon
08d9d58894
N°1260 MySQL TLS connection : apply Hardis patch (many thanks !)
...
SVN:trunk[5306]
2018-02-08 14:20:58 +00:00
Denis Flaven
63ba267da0
Bug fixes:
...
- properly detect missing dependencies when deploying extensions from the Hub (and not only when deploying a 2nd time an extension, cf bug n°1284).
- setup hangs when upgrading to 2.4.1 with some "old" extensions in the "extensions" folder.
SVN:trunk[5290]
2018-01-23 10:37:50 +00:00
Denis Flaven
bb052f30d6
Preparing for the Hub: better decouple the RunTimeEnvironment from the list of directories to scan/install in order to support installation from the Hub.
...
SVN:trunk[5264]
2018-01-16 16:24:38 +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
Eric Espié
2f48b2e302
N°1134 - Bad version number when MTP
...
* The order of the installed versions is changed when doing MTP.
SVN:trunk[5073]
2017-10-24 08:03:26 +00:00
Guillaume Lajarige
426a0933b1
N°1092.1 Setup / MTP improvements regarding the environments folders:
...
- /env-production-build rights check before running setup
- /env-xxx-build is no longer deleted after MTT / MTP from the ITSM Designer. This prevents permissions issue when webserver user doesn't have suffisant rights on the root folder.
SVN:trunk[5023]
2017-10-13 13:25:20 +00:00
Romain Quetiez
048c1ecf72
Code robustness: Though the commit [4922] solves the issue N.1052, it is safer to reset the cache as part of the "Commit" performed during the installation process.
...
SVN:trunk[4923]
2017-09-20 14:45:45 +00:00
Romain Quetiez
7cace73844
N.1014 Fixed regressions introduced in the rework of MTP/MTT : test database named after test-build, and losing the data/delta.<nev>.xml file, and cleanup badly implemented
...
SVN:trunk[4889]
2017-09-01 14:44:28 +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
Romain Quetiez
b1494d0dd9
N890.3 Archive mode toggle menu not visible after setup/MTP: the information is cached into the session and needs to be reset
...
SVN:trunk[4870]
2017-08-21 15:28:07 +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
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
Romain Quetiez
0b2ce4289d
738 Setup not working if access_mode=2 and a synchro data source has a new attribute to create
...
SVN:trunk[4594]
2017-03-16 15:22:19 +00:00
Denis Flaven
775ed7d437
Regresssion of iTop 2.3.0 beta: properly load the metamodel from the environment.
...
SVN:trunk[4287]
2016-07-05 13:37:40 +00:00
Romain Quetiez
beb53fd9dc
When iTop is in restricted access mode (access_mode=2), the upgrade is not completely performed (profiles not updated correctly)
...
SVN:trunk[4273]
2016-07-01 10:36:26 +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
ed035b3699
YOU MUST RUN THE SETUP AFTER PERFORMING THIS UPDATE !!
...
- Better handling of 'auto_select' modules
- New way of implementing the "includes" of modules, now completely out of the configuration file !
SVN:trunk[3989]
2016-04-07 16:00:01 +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
Romain Quetiez
706940769b
Compiler: Model alterations not flattened prior to compilation (when using the setup UI) -no need for doing the job twice (compiling from within the toolkit)
...
SVN:trunk[3858]
2016-01-12 10:32:46 +00:00