Pierre Goiffon
588899db63
Convert all files from CrLf to Lf (preparing merge to develop)
2018-10-18 14:20:40 +02:00
Eric Espié
22df5d09fb
Retrofit from trunk
...
N°1595 - Setup : Blocking error on backup failure [from revision 6010]
SVN:2.5[6023]
2018-08-28 12:14:56 +00:00
Pierre Goiffon
e276587fdc
N°931 change iTop 2.6 MySQL requirements from 5.5.3 to 5.6 (to have fulltext on InnoDB)
...
SVN:2.5[5978]
2018-07-25 07:57:31 +00:00
Denis Flaven
8943a67f85
Officially support PHP 7.2.0.
...
SVN:trunk[5888]
2018-06-15 16:37:11 +00:00
Pierre Goiffon
3f612cfc90
some PHPDoc
...
SVN:trunk[5875]
2018-06-14 15:19:30 +00:00
Eric Espié
2706ebf638
Merged from 2.4
...
N°1488 - restore failed on production-modules [from revision 5827]
SVN:trunk[5828]
2018-06-05 14:14:37 +00:00
Bruno Da Silva
703a432f7b
N°1173: code refactoring of the previously coded bugfix.
...
SVN:trunk[5792]
2018-05-16 08:01:59 +00:00
Eric Espié
c6be331f14
Code cleanup
...
SVN:trunk[5779]
2018-05-14 07:41:51 +00: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
Stephen Abello
d441595ee6
N°1319 & N°1203: Added a conf params 'email_default_sender_address' and 'email_default_sender_label' that will be used if a mail has no sender set. (forgot password, test mail, test notification mail, data source fail notification)
...
SVN:trunk[5750]
2018-04-27 08:29:48 +00:00
Denis Flaven
7d45d5e0ce
Cosmetics on the TLS option in the setup (prevent flashing of the hidden content)
...
SVN:trunk[5736]
2018-04-24 12:35: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
Eric Espié
b529f3d4cc
Setup: Display the XML errors on the screen
...
SVN:trunk[5716]
2018-04-20 15:56:53 +00:00
Eric Espié
1c86eba9d9
N° 1001 - utf8-mb4 removed innodb_large_prefix requirement
...
SVN:trunk[5704]
2018-04-20 12:14:32 +00:00
Eric Espié
5b83f2a554
Fix setup (support for distrib > 9.x.x)
...
SVN:trunk[5700]
2018-04-20 09:40:27 +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
Denis Flaven
9c3b053727
(Enhancement for developers) Use a timestamp defined at compile time to workaround client-side caching problems during development.
...
SVN:trunk[5690]
2018-04-18 13:45:08 +00:00
Eric Espié
d32db977eb
Fix unnecessary warning about not empty directory
...
SVN:trunk[5689]
2018-04-18 13:44:45 +00:00
Denis Flaven
1eca74180c
Let us install using a non-secure connexion !
...
SVN:trunk[5688]
2018-04-18 13:01:19 +00:00
Pierre Goiffon
aa8072118d
N°1260 remove db_tls.verify_server_cert : the server cert verification is now based on the TLS CA parameter value
...
SVN:trunk[5683]
2018-04-18 07:26:11 +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
9d5ab75dbd
Backup/restore : apply COmbodo formatting
...
SVN:trunk[5667]
2018-04-13 14:49:27 +00:00
Pierre Goiffon
42606873af
Advanced search improvements (restore 2018-04-10 revisions : r5629..r5631)
...
* Add support for default search criteria
* replace friendlyname by the class name for consistency
* WIP Client
SVN:trunk[5629]
2018-04-12 08:52:33 +00:00
Bruno Da Silva
6ca9f8ad31
advanced search: removal of legacy_search_drawer_open
...
associated to this change, those wiki pages are altered :
- latest:admin:itop_configuration_file (`legacy_search_drawer_open` removal)
- latest:customization:xml_reference (`search_form_open` default value changed)
SVN:trunk[5626]
2018-04-06 12:06:20 +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
b219161011
N°1001 switch DB charset from utf8 to utf8mb4 to allow characters outside of the BMP
...
* use centralized constants instead of literal values in code
* remove config parameters 'db_character_set' and 'db_collation'
* always fix charset when creating/altering column
* backup : use utf8mb4 only for mysqldump >= 5.5.33 (was introduced in 5.5.3 but only available in 5.5.33 for programs)
SVN:trunk[5443]
2018-03-16 09:59:16 +00:00
Pierre Goiffon
fd7d30333f
N°1001 setup add check for new MySQL requirement innodb_large_prefix
...
if disabled indexes will be limited to 767 bytes, that means 191 car in the new iTop charset utf8mb4 although the varchar iTop use are 255 car long. So we NEED this parameter to be set to true (its default value is true only since MySQL 5.7.7, see https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_large_prefix )
SVN:trunk[5442]
2018-03-16 09:58:44 +00:00
Guillaume Lajarige
34dab0c498
Update licences copyright
...
SVN:trunk[5383]
2018-03-06 14:06:19 +00:00
Pierre Goiffon
d96015f2c1
N°1260 new db_tls.verify_server_cert option to force server certificates check
...
SVN:trunk[5381]
2018-03-05 15:50:18 +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
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