Pierre Goiffon
c0256428f9
setup : keep code compatibility with old PHP version
...
Whatever are the iTop requirements, we will be able to show warnings/errors on the setup first screen
SVN:trunk[5368]
2018-02-26 14:27:47 +00:00
Eric Espié
d65bd97956
N°478 - Customizable access to the 'Admin Tools'
...
SVN:trunk[5364]
2018-02-23 11:13:07 +00:00
Pierre Goiffon
b952f9da4a
N°942 allow to have no new PHP/MySQL requirements for next release
...
SVN:trunk[5363]
2018-02-22 14:28:52 +00:00
Pierre Goiffon
5d808992e6
N°942 use expression in SetupUtils constant as this is allowed since PHP 5.6.0 and it is the new required version for iTop 2.5 (see http://php.net/manual/en/language.oop5.constants.php )
...
SVN:trunk[5351]
2018-02-21 16:35:19 +00:00
Eric Espié
7ea9b5b2f3
Unit tests with debug()
...
SVN:trunk[5349]
2018-02-16 08:16:36 +00:00
Eric Espié
894f1c4f28
Magic trick for windows. Sometimes the folder is empty but rmdir fails
...
SVN:trunk[5344]
2018-02-13 10:59:56 +00:00
Eric Espié
19665d4ad9
Computations are not allowed in defining constants
...
SVN:trunk[5343]
2018-02-12 16:15:46 +00:00
Denis Flaven
81c8eb2830
N°1323: Bug fix for a crash with the error message: class 'cmdbAbstractObject' not found, in the last screen of the setup under very specific circumstances.
...
SVN:trunk[5336]
2018-02-09 14:04:52 +00:00
Denis Flaven
507a073203
N°1323: Bug fix for a crash with the error message: class 'cmdbAbstractObject' not found, in the last screen of the setup under very specific circumstances.
...
SVN:trunk[5333]
2018-02-09 13:44:48 +00:00
Pierre Goiffon
c715b9488a
N°1260 MySQL connection : allow to use p: host prefix (persistent connection, see http://php.net/manual/en/mysqli.persistconns.php )
...
SVN:trunk[5316]
2018-02-08 14:22:27 +00:00
Pierre Goiffon
5107ef5119
N°1260 MySQL TLS connection : finalize setup warning message
...
SVN:trunk[5315]
2018-02-08 14:22:20 +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
f51eb96c69
N°1260 MySQL TLS connection : do not use persistent connection in Mutex
...
SVN:trunk[5313]
2018-02-08 14:22:05 +00:00
Pierre Goiffon
b032299b05
N°1260 MySQL TLS connection : exception if the opened connection is not in TLS whereas TLS parameters were used to open it
...
SVN:trunk[5312]
2018-02-08 14:21:58 +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
Pierre Goiffon
3375629d06
N°1260 MySQL TLS connection : add capath config for mysqli::ssl_set argument
...
SVN:trunk[5310]
2018-02-08 14:21:40 +00:00
Pierre Goiffon
37232bc222
N°1260 every classes creating a mysqli instance now use a dedicated method in CMDBSource
...
SVN:trunk[5309]
2018-02-08 14:21:33 +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
5a25e44177
N°1260 MySQL TLS patch improvements :
...
* mysql connexion opening : simplify code
* rename DB_SSL_* variables to DB_SSL.*
* fix warnings when new param are not set
* persistent connection (host "p:" prefix) is used for every TLS connection
* add some missing @var
SVN:trunk[5307]
2018-02-08 14:21:06 +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
Pierre Goiffon
9d817f0c77
N°942 new requirements for iTop 2.5
...
SVN:trunk[5301]
2018-01-31 10:44:17 +00:00
Eric Espié
94d45fc77f
N°1248 - User Management Portal
...
* Added a new grant_by_profile category that allows to manage certain classes in addition to bizmodel with user profiles.
* The following classes have the new grant_by_profile category:
User, UserInternal, UserLocal, UserLDAP, UserExternal, URP_UserProfile, URP_UserOrg
* For these classes, it is possible to manage access rights with user profiles for non-administrators.
* For these classes, the default behavior of SELECT requests changes from allowed to forbidden.
* For user profiles, the default behavior '*' is limited to the bizmodel category to keep the previous behavior of profiles, i. e. for classes in the grant_by_profile category, rights (including READ) must be given explicitly.
* New constraints have been added, so only an administrator can manage (attach or detach) the 'Administrator' profile.
SVN:trunk[5298]
2018-01-30 15:17:51 +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
Pierre Goiffon
93526c8a44
N°942 PHP version not yet validated was incorrectly set to 7.1.9, fix it back to 7.2.0
...
SVN:trunk[5288]
2018-01-18 11:11:53 +00:00
Denis Flaven
dc0e739667
Fix for a problem breaking the mysqldump detection (when it fails on windows). Root cause: do not return/display the output of the shell command used to test mysqldump since (on windows) it may contain non-UTF-8 characters of an unknown character set and this breaks "UTF-8 picky" functions like json_encode.
...
SVN:trunk[5284]
2018-01-17 16:29:44 +00:00
Denis Flaven
474fdc0473
Setup: special mapping for 2 extensions which code has changed...
...
SVN:trunk[5277]
2018-01-17 12:36:25 +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
Eric Espié
bfd092b499
N°1224 - The 2.4.x setup keep the selected choices from a 1.3.x version.
...
* The selection is kept even if the extension has a one more module than the 1.3.x
SVN:trunk[5252]
2018-01-16 10:38:17 +00:00
Pierre Goiffon
c862179465
N°942 set nex itop release MySQL requirement to 5.5.3 for utf8mb4
...
Update also the comments I forgot on the previous change (woooops), and the warning messages beginning with "error" (hahem)
SVN:trunk[5245]
2018-01-12 16:07:31 +00:00
Pierre Goiffon
7a371f8b26
N°942 next itop release PHP & MySQL requirements : use *.0 versions instead of the latests
...
SVN:trunk[5243]
2018-01-12 15:35:25 +00:00
Pierre Goiffon
ae946f6821
N°942 change next itop release MySQL version requirement from 5.6 to 5.5, plus add some comments
...
SVN:trunk[5238]
2018-01-12 11:26:12 +00:00
Denis Flaven
6128625706
Fixed regression introduced by [r5235]: some directories (like data/production-modules) may not always exist... this should not stop the setup.
...
SVN:trunk[5237]
2018-01-11 17:23:01 +00:00
Denis Flaven
ea2a3c1980
Handle extensions with missing dependencies.
...
SVN:trunk[5235]
2018-01-11 10:49:18 +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
Romain Quetiez
d9fd3b47e1
Copyright updated to 2018
...
SVN:trunk[5220]
2018-01-09 16:41:30 +00:00
Pierre Goiffon
8d9d4e67ca
N°942 setup : max version for PHP
...
SVN:trunk[5213]
2018-01-08 15:34:00 +00:00
Pierre Goiffon
1f8bd69aef
N°942 setup : add checks for next iTop release requirements on PHP and MySQL versions
...
* new constants in SetupUtils
* renamed existing methods
* warning if PHP and MySQL versions are lower than expected
SVN:trunk[5190]
2018-01-02 16:04:26 +00:00
Pierre Goiffon
a9fc1083c7
PHPDoc for AddModule()
...
SVN:trunk[5160]
2017-12-20 16:34:55 +00:00
Denis Flaven
5b1e1d0d6a
Enhancement: automatically recognize some well-know mutli-module extensions deployed using the old format (i.e. shipped without an extension.xml file) and emulate the new format for them in order to display a meaningful label and version in the setup and in the about box.
...
SVN:trunk[5152]
2017-12-14 12:11:51 +00:00
Romain Quetiez
a818a09469
N°1188 & N°1189 Too much disk space / memory used for backup / restore - completing the commit [r5144], because the PHP extension phar is no more required
...
SVN:trunk[5151]
2017-12-11 16:19:16 +00:00
Eric Espié
00e3d5c0d2
License reformat.
...
SVN:trunk[5146]
2017-11-30 09:23:26 +00:00
Eric Espié
6477e2e1bb
N°1188 - Backup needs too much disk space
...
SVN:trunk[5144]
2017-11-30 08:52:44 +00:00
Eric Espié
85b31701f4
N°1156 - Manual backup can be very long
...
* The database is saved in last position to avoid overhead when generating the archive file
SVN:trunk[5130]
2017-11-16 14:00:41 +00:00
Pierre Goiffon
011e6d895b
N.1151 compiler : throw an exception if a module contains an unknown menuId reference
...
SVN:trunk[5128]
2017-11-10 13:42:55 +00:00
Eric Espié
f09347841c
Fix utils::GetCurrentModuleUrl() introduced in revision 4920
...
SVN:trunk[5085]
2017-10-25 15:22:40 +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
Eric Espié
d4dd300e28
N°1131 - Setup: Can't add options to ITIL Ticketing in update mode
...
* Fix the alternative selection when updating the setup
* Uncheck options when the alternatives are deselected
SVN:trunk[5067]
2017-10-23 11:37:13 +00:00
Pierre Goiffon
99fd6b97db
JQuery hotkeys plugin license
...
SVN:trunk[5066]
2017-10-23 09:09:56 +00:00
Eric Espié
b7c4e084f3
N°1131 - Setup: Can't add options to ITIL Ticketing in update mode
...
* Fix the disable attribute of the options
SVN:trunk[5057]
2017-10-20 11:54:05 +00:00
Guillaume Lajarige
868c1cface
N°1123.3 Internal: Removed deprecated comment.
...
SVN:trunk[5040]
2017-10-18 14:50:39 +00:00