Pierre Goiffon
fb6806a1c1
🎨 DataSynchro : some phpdoc and formatting
2019-06-05 17:26:00 +02:00
Pierre Goiffon
d24870e0ae
Merge remote-tracking branch 'origin/master' into develop
2019-06-04 16:23:58 +02:00
Pierre Goiffon
ba7e00e130
N°2211 DataSynchro : rollback oChange remove in DBUpdate() + added log
...
Be conservative : this is a fix only release... oChange will be done in the future, it's a work that should be done everywhere in iTop and not only DataSynchro
2019-05-28 17:16:02 +02:00
Eric
bada955725
N°2211 - DataSynchro : fix delete rules
...
- code review bug fixes and comments
2019-05-28 10:40:00 +02:00
Pierre Goiffon
17d4b570e8
N°2211 DataSynchro fix regression in DoJob2 method (create new iTop objects)
...
The \SynchroExecution::$m_oLastFullLoadStartDate is also used in DoJob2... So move back its instantiation in \SynchroExecution::PrepareProcessing, but with more variables and comment : the attribute is null until PrepareProcessing()
2019-05-23 18:15:50 +02:00
Pierre Goiffon
2dfad12553
Revert " 🎨 DataSynchro : remove some warnings, code formating"
...
This reverts commit 26dcaa0ded .
Such modifications does not belong to a fix only branch !!
2019-05-23 11:58:10 +02:00
Pierre Goiffon
b7dc55604e
🎨 DataSynchro : rename DoJob1/2/3 methods
2019-05-23 11:19:18 +02:00
Pierre Goiffon
26dcaa0ded
🎨 DataSynchro : remove some warnings, code formating
2019-05-23 10:48:54 +02:00
Pierre Goiffon
b5d3ddb7e3
N°2211 DataSynchro : fix deletion rules regression when using synchro_exec.php
...
* fix regression : no update if exec phase only and full load interval <= 0
* fix regression : update if exec phase only and full load interval > 0
* some PHPDoc
* move back \SynchroExecution::$m_oLastFullLoadStartDate init to constructor
* add a boolean member to indicate if LastFullLoadStartDate was passed by caller
* factorize database current datetime retrieval
2019-05-23 10:48:54 +02:00
Eric
75737b4ffe
N° 1837 - Fix Synchro Obsolescence
2019-03-13 11:01:13 +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
Vincent Dumas
dda8651ba2
Add default search criterion on SynchroDataSource
...
SVN:trunk[5910]
2018-06-25 15:57:06 +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
Vincent Dumas
09c54d4fed
Fix DataSynchro Group to allow management of DataSynchros through WebServices for non admin users
...
SVN:trunk[5714]
2018-04-20 15:10:33 +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
Denis Flaven
cdb75729cb
Enhancement: make the deletion of a Synchro Data Source a bit more resistant, in case of a missing or already deleted data table.
...
SVN:trunk[5437]
2018-03-15 16:49:58 +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
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
Stephen Abello
dcff39da25
N°1147 Enable data synchronization for applications classes (Localized Data).
...
SVN:trunk[5230]
2018-01-10 14:10:29 +00:00
Pierre Goiffon
d80b890cd0
Fix warnings and errors in SynchroReplica
...
SVN:trunk[5142]
2017-11-29 14:30:10 +00:00
Guillaume Lajarige
8ca6610e75
N°858.2 Fixed regression introduced in r4716 making DataSynchro menu hidden from the Admin menu
...
SVN:trunk[4879]
2017-08-25 13:10:31 +00:00
Guillaume Lajarige
b02d347541
N°977 DataSynchro: Creation and edition was broken due to the new object set API from ormLinkSet.
...
Backward compatible method have been introduce to ensure plugins and modules compatibility. That being said they are already flagged as deprecated and should not be used.
New: Using those deprecated methods will raise a PHP deprecated error.
SVN:trunk[4878]
2017-08-25 13:06:21 +00:00
Guillaume Lajarige
71ec3da4ac
N°653 Portal: Lifecycle: Flags on transitions part 2
...
SVN:trunk[4767]
2017-06-22 13:38:45 +00:00
Romain Quetiez
294964b227
N.858 (partial) Allow administrators to access the Admin tools menu even in Read-only modes (access_mode or Archive mode). Still, the Data administration menu gets hidden in Read-only modes.
...
SVN:trunk[4716]
2017-04-28 14:11:00 +00:00
Romain Quetiez
399662ef99
N.701 (continuation of [r4596] which introduced regressions on the handling of date fields)
...
SVN:trunk[4626]
2017-03-28 14:56:52 +00:00
Romain Quetiez
e41a8833e2
N.701 Data Synchro: dates can be reset by the mean of an empty string (still, integers and enums cannot be reset)
...
SVN:trunk[4596]
2017-03-17 09:14:11 +00:00
Denis Flaven
90cab29a3c
Enhancement:
...
- Add more debug traces (if 'synchro_trace' == 'save')
- Show debug traces (if any) at the bottom of the status page
- Protect against time differences between the MySQL server and the PHP server, when running 'synchro_import.php'
SVN:trunk[4394]
2016-09-12 12:47:40 +00:00
Guillaume Lajarige
fc7a10ff03
Synchro : Change description attribute from AttributeString to AttributeText
...
SVN:trunk[4275]
2016-07-01 13:47:59 +00:00
Denis Flaven
18de167d5e
Internal: context tags to (programmatically) identify the context of the execution.
...
SVN:trunk[4259]
2016-06-23 14:57:37 +00:00
Denis Flaven
dc2ee3472b
Enhanced display/edition of the "Reconciliation Key" column when defining the reconciliation using the attributes.
...
SVN:trunk[4219]
2016-06-16 09:10:21 +00:00
Denis Flaven
d88249eabc
Trying to protect the Synchro for timeouts, since the synchro may be launched from the web (as a "web service", especially by the "collectors"). To be validated further with large amounts of data.
...
SVN:trunk[4210]
2016-06-14 16:11:28 +00:00
Denis Flaven
2299d23099
Adding an extra index to speed-up data synchronization for large volumes of data.
...
SVN:trunk[4128]
2016-05-24 13:49:34 +00:00
Denis Flaven
5540fdb7db
Display the dates of the synchronization according to the date/time format defined for this language.
...
SVN:trunk[4087]
2016-05-14 17:06:47 +00:00
Denis Flaven
8eba9ae714
Enhancement: Date and time formats are now configurable in iTop !! (beta version, beware!)
...
SVN:trunk[4011]
2016-04-22 09:26:27 +00:00
Denis Flaven
628b7644b7
Pan and zoom in the impact analysis view.
...
SVN:trunk[3677]
2015-08-14 12:38:50 +00:00
Denis Flaven
1aa489890c
Make sure that the SQL mutexes are specific to the current iTop instance, but still preserving the capability for the setup to detect an already running cron job with or without a valid config file.
...
SVN:trunk[3591]
2015-06-12 17:00:41 +00:00
Romain Quetiez
7077879194
Enable queries on the synchronized objects (SynchroReplica::dest_id changed into an attribute of type AttributeObjectKey).
...
SVN:trunk[3573]
2015-05-04 09:36:22 +00:00
Denis Flaven
828e4d6297
Oops, wrong commit, reverting these two files to their previous version.
...
SVN:trunk[3526]
2015-04-01 16:04:20 +00:00
Denis Flaven
030b4fa380
Enhancement: support injection of new modules treated as data.
...
SVN:trunk[3525]
2015-04-01 15:53:05 +00:00
Romain Quetiez
a7f7424e54
#1039 Continuation of the fix implemented in [3465] that introduced a stopper regression (Fatal Error)
...
SVN:trunk[3472]
2014-12-16 13:54:40 +00:00
Denis Flaven
3c9ace5b53
#1039 : prevent concurrent executions of either synchro_import.php or synchro_exec.php for a given data source, since it would lead to unpredictable results.
...
SVN:trunk[3465]
2014-12-15 15:04:43 +00:00
Denis Flaven
d714235d67
#1016 : record the displayed value of the database_table_name field in the database.
...
This happens:
- when creating a new Synchro Data Source
- when modifying an "old" Synchro Data Source for which the field was empty.
SVN:trunk[3439]
2014-12-01 17:33:38 +00:00
Romain Quetiez
04f46f4798
#979 Data synchro: recover the DB triggers (backup/restore). I've tested various combinations of the previous check (new columns to synchronize) and the new one (missing triggers).
...
SVN:trunk[3386]
2014-10-29 13:15:36 +00:00
Romain Quetiez
5f5125a131
#854...ROLLBACK, undoing the commit [3185]. The implementation has been postponed to the next major relase.
...
SVN:trunk[3255]
2014-07-09 09:49:02 +00:00
Denis Flaven
008cac25b4
#944 Speed-up the display of CSV import history. IF the feature is enabled, the CSV import history is:
...
1) Displayed asynchronously
2) Based on a specific 'origin' enum fields instead of parsing the userinfo comment
SVN:trunk[3234]
2014-07-01 14:09:18 +00:00
Romain Quetiez
2d0ca37f27
#854 Flag Is null allowed not working on attributes Date and DateTime + the default value is now operant
...
SVN:trunk[3185]
2014-06-02 14:35:28 +00:00
Denis Flaven
ec77e58276
Limit the display of the status to the latest 100 runs of the synchro data source.
...
SVN:trunk[3157]
2014-05-16 05:02:38 +00:00
Romain Quetiez
e3832a13a6
#784 Data sync: display the attribute code (as well as its label in the user language)
...
SVN:trunk[2876]
2013-10-03 15:50:56 +00:00
Romain Quetiez
a728dfcf48
All the overloads of DisplayBareProperties must return an array (otherwise a warning is issued and field validation will not work as expected)
...
SVN:trunk[2752]
2013-05-21 10:44:13 +00:00
Romain Quetiez
d433a45200
#692 Compensate the effect of this fix committed as 2705
...
SVN:trunk[2706]
2013-04-26 10:32:11 +00:00