174 Commits

Author SHA1 Message Date
Denis Flaven
63cb32b7a7 Fix for Trac #497: allow bulk modification of "duration" fields.
- Proper display of the modifications on the SynchroAttributes in the History of a SynchroDataSource
- Better display of the history of Boolean atrtibutes (false is no longer displayed as an empty string)

SVN:trunk[2478]
2012-11-28 17:45:00 +00:00
Romain Quetiez
721faa7e1e Updated copyright (2012) and license (LGPL changed to AGPL)
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Romain Quetiez
e33523ddc8 CSV import/export reworked:
Trac #174 and #283: import.php localized by default, option no_localize to disable
Trac #554: export.php localized by default, option no_localize to disable
Trac #555: friendlyname abusively used as a reconciliation key
+ Default charset is ISO-8859-1 to be compatible with Excel (See config parameter csv_file_default_charset)
+ CSV export in UTF-8 with BOM to help Excel in getting it right (not all versions)
+ Fixed reporting issues (wrong class, exceptions, changed external key)
+ Fixed settings lost when navigating in the import wizard
+ Fixed issues when some html entities were found in the data (reporting + export)
+ Added a link to download the CSV export.php


SVN:trunk[2253]
2012-10-12 15:48:54 +00:00
Denis Flaven
308f40c11b Enhancement: added a new (hidden) configuration setting 'synchro_prevent_delete_all' (default to true) to deactivate the "safety belt" and allow the deletion of all replicas of a synchro task in one go.
SVN:trunk[2186]
2012-09-17 17:12:43 +00:00
Denis Flaven
55e0898587 Implemented Track #582: "stable name" for synchro_data_xxx tables.
SVN:trunk[2132]
2012-07-25 14:06:54 +00:00
Romain Quetiez
a2affcc224 #540 Data synchro: the option "write if empty" was not implemented
SVN:trunk[1934]
2012-03-29 13:34:46 +00:00
Denis Flaven
144b5ae39f Bug fix: to do not try to access a DataSource while it's being deleted
SVN:trunk[1928]
2012-03-27 11:22:50 +00:00
Denis Flaven
794c111ee1 Added detecting of missing columns in the synchro_data_xxx tables (in case of duplicate SQL column names in the orignal data model). See Trac #503.
SVN:trunk[1893]
2012-03-14 16:41:32 +00:00
Denis Flaven
22acd83abb Make sure that the creation of the data_synchro_xxx tables uses the utf8 charset and collation and the same DB Engine as the rest of the database.
SVN:trunk[1867]
2012-02-23 13:59:45 +00:00
Romain Quetiez
32dd31b69d #509 Error in the display of a replica not yet synchronized
SVN:trunk[1739]
2011-12-21 13:34:42 +00:00
Denis Flaven
263594bc4a Protects against a JS error while the synchro is running in chunk mode
SVN:trunk[1738]
2011-12-21 13:12:54 +00:00
Romain Quetiez
ea2843f04e Synchro: fixed issue in the counter (deletion of replicas) and improved the behavior in case of an error happening in the underlying process
SVN:trunk[1736]
2011-12-21 12:11:56 +00:00
Romain Quetiez
d8fc264adf Synchro: need to order the replicas by id for the split algorithm to work fine
SVN:trunk[1734]
2011-12-21 10:03:23 +00:00
Romain Quetiez
72ac150faa Synchro: keep track of the memory usage peak (SynchroLog), should the synchro be executed at once or in several steps
SVN:trunk[1733]
2011-12-21 08:52:14 +00:00
Romain Quetiez
9ac4f84e22 #489 Run the synchro with parameter max_chunk_size to split the execution into several processes, each loading at most the given count of replica (note: the master process will continue to run while child processes are being forked one by one)
SVN:trunk[1732]
2011-12-20 15:55:07 +00:00
Romain Quetiez
ea10d202a6 #485 Improved the end-user experience with Excel and the web queries (added a phrasebook) + link to test the OQL attributes (query phrasebook or email actions, etc.) including the handlink of query arguments) + fixed wrong prototypes for a few implementations of GetBareProperties()
SVN:trunk[1716]
2011-12-14 17:23:01 +00:00
Denis Flaven
e30bfb53c6 - Don't create warnings for empty ext keys (i.e. empty string)
- Properly record multiple warnings
- Don't record warnings in case of creation error (error has precedence)

SVN:trunk[1688]
2011-11-23 09:51:57 +00:00
Denis Flaven
18c9852db3 Enhancement: when an (optional) external key cannot be reconciled, log a warning on the replica. the replicas containing a warning are then processed everytime in case the ext key changes
Also improved the search/display of replicas

SVN:trunk[1675]
2011-11-18 11:29:04 +00:00
Romain Quetiez
169bf4948b Data sync: fixed issue when a replica left in state 'new' becomes obsolete
SVN:trunk[1668]
2011-11-15 09:29:07 +00:00
Denis Flaven
ee4f7e5b6a Don't forget to track the count of updated objects...
SVN:trunk[1566]
2011-09-09 16:11:51 +00:00
Denis Flaven
04f20860dc Add the name of the synchro data source as an external field in case we need to make a CSV export
SVN:trunk[1550]
2011-09-01 10:50:57 +00:00
Romain Quetiez
37ec8b12f3 Upgrade/toolkit: improved the data sources update procedure (no need to create "direct" linkset attributes, remove old attributes, more verbose)
SVN:trunk[1532]
2011-08-29 13:23:57 +00:00
Denis Flaven
612c355e03 Bug fix: allow modifying an object as if in target state, before applying the stimulus (cf PortalWebpage).
SVN:trunk[1507]
2011-08-24 15:58:56 +00:00
Denis Flaven
d05ea1863c Fixed a (post 1.2-beta) regression: bulk modify and bluk apply stimulus were broken.
SVN:trunk[1483]
2011-08-21 16:41:23 +00:00
Denis Flaven
2bd8700c90 Implementing Trac #419: provide means for the toolkit to fix synchro data sources
SVN:trunk[1452]
2011-08-15 14:01:51 +00:00
Denis Flaven
5f2a5d9cfa - Fixed Trac #433: triggers creation was incorrect when iTop was installed with a 'prefix' for the DB tables.
- Fixed a bug due to the previous renaming of UpdateObject...

SVN:trunk[1372]
2011-07-26 16:45:02 +00:00
Denis Flaven
a2b8813628 - Renamed the method 'UpdateObject' into 'UpdateObjectFromPostedForm' to avoid misunderstandings.
- Fixed (again !) Trac #427: unable to empty a linkset when editing an object.

SVN:trunk[1370]
2011-07-26 16:18:19 +00:00
Denis Flaven
b6bcade4c0 Better (?) handling of deletion issues during the synchro...
SVN:trunk[1368]
2011-07-26 13:27:03 +00:00
Denis Flaven
5ff5ea71de Fixed Trac#424: error when updating the Data Synchro statistics
SVN:trunk[1323]
2011-07-04 08:29:16 +00:00
Denis Flaven
6297526da6 Fixed Trac #427: unable to remove all items from a linkset when editing an object.
SVN:trunk[1322]
2011-07-04 08:21:19 +00:00
Romain Quetiez
c4b7497770 #423 Fixed issues with application root URL = f(mode CLI, modules, web server techno, etc.)
SVN:trunk[1304]
2011-06-28 10:30:03 +00:00
Romain Quetiez
2c8963784c #420 - Data synchro logs: increased the size of the attribute last_error
SVN:trunk[1290]
2011-06-21 15:01:56 +00:00
Romain Quetiez
9704dd8e35 Improved import.php and synchro_import.php: added 'date_format' (example: %d/%m/%Y %H:%i:%s)
SVN:trunk[1272]
2011-05-23 13:42:33 +00:00
Romain Quetiez
1e6887062f Data synchro: added the support of link sets (to import user accounts)
SVN:trunk[1238]
2011-04-26 15:29:16 +00:00
Romain Quetiez
fb87911677 #378 Data Synchro - leave the replica in state 'synchronized' if failing to update (update then delete)
SVN:trunk[1227]
2011-04-22 14:52:33 +00:00
Romain Quetiez
60b2162d84 Data synchro: added notifications in case of error + fixed a bug in the error reporting (reconciliation on null values, last error was not recorded)
SVN:trunk[1226]
2011-04-22 13:54:16 +00:00
Romain Quetiez
f92a7df522 Data synchro: added "contact to notify in case of error"
SVN:trunk[1224]
2011-04-21 09:30:30 +00:00
Romain Quetiez
b7bd1a5943 Data synchro: if the object is deleted from within iTop, do cleanup sync table and replica as well
SVN:trunk[1223]
2011-04-21 09:04:34 +00:00
Denis Flaven
35f09c3091 Don't use removed a field !
SVN:trunk[1201]
2011-04-11 10:27:12 +00:00
Denis Flaven
a9c6d81130 - Dictionary entries (partial) for the SynchroDataSource objects
SVN:trunk[1195]
2011-04-08 12:26:05 +00:00
Romain Quetiez
8ff40fb4b8 Deletion: entirely reviewed to take into account the objects being synchronized by an external data source, or the plugins constraints.
SVN:trunk[1194]
2011-04-08 11:29:25 +00:00
Denis Flaven
4b1726c1ca Proper display of the menu !
SVN:trunk[1192]
2011-04-08 10:09:52 +00:00
Denis Flaven
8f2089e1f6 - Fixed an error appearing only for non admins.
- Admin menu should never appear for non-admins, even empty
- Synchro Data Source objects are for admins only

SVN:trunk[1180]
2011-04-06 15:18:59 +00:00
Denis Flaven
4febe204e1 - Finishing touch to the DataExchange: various cosmetic fixes
SVN:trunk[1170]
2011-04-04 13:03:11 +00:00
Denis Flaven
49e05acd4b Fixed Trac #156: make sure the hierarchical ZLists are supported everywhere (final cleanup).
SVN:trunk[1118]
2011-03-08 11:19:38 +00:00
Romain Quetiez
8b6672c0dd Data Exchange - Fixed issue in DBObjectSet, doubling the count of SynchroAttribute initially created
SVN:trunk[1108]
2011-03-03 08:34:24 +00:00
Denis Flaven
3d4e76d8b0 Synchro Data Sources Implementation on going...
SVN:trunk[1107]
2011-03-02 17:06:56 +00:00
Romain Quetiez
cf8174d54e Data Exchange - Improved to allow the import of complex attributes like passwords and documents + few fixes
SVN:trunk[1106]
2011-03-02 14:38:12 +00:00
Denis Flaven
33f1ec8bf3 Data Exchange implementation in progress...
SVN:trunk[1105]
2011-03-02 10:49:12 +00:00
Denis Flaven
be1d8674f3 Data Exchange implementation in progress...
SVN:trunk[1104]
2011-03-02 09:12:15 +00:00