Commit Graph

663 Commits

Author SHA1 Message Date
Romain Quetiez
e2e0f3f020 Reintegrated from trunk: #752 (notifications sent several times) and #763 (configure this list broken when selecting a stop watch). At this stage ormstopwatch.class.inc.php are 100% aligned between trunk, 2.0.1 and 2.0
SVN:2.0[2870]
2013-10-01 11:47:31 +00:00
Denis Flaven
017b52d41f #734 Fixed a regression on reconciliation keys during CSV import.
SVN:2.0[2763]
2013-05-29 08:59:59 +00:00
Romain Quetiez
49a94dac1f #673 Could not create a physical interface with default value for the speed (+ definitive corruption of the DB for the device on which the interface is being created!) -reintegrated from trunk
SVN:2.0[2736]
2013-05-15 10:25:01 +00:00
Denis Flaven
58785083d5 Fix for reconciliation by "id" (advanced mode)
SVN:2.0[2714]
2013-05-06 16:06:37 +00:00
Romain Quetiez
473f7571d7 #702 The second implementation of this fix was still incomplete (not compatible with some constraint queries)
SVN:2.0[2695]
2013-04-17 16:12:54 +00:00
Romain Quetiez
b9fae09164 #702 The first implementation of this fiw was not incomplete (not compatible with some constraint queries)
SVN:2.0[2693]
2013-04-17 15:55:49 +00:00
Romain Quetiez
7e6982a9ad #703 HTML entities not escaped in history tab
SVN:2.0[2691]
2013-04-16 13:25:14 +00:00
Denis Flaven
a0b191f3a3 Fix for the "Notifications" tab: use the polymorphism to let each trigger determine which object is "In Scope" and thus can potentially have notifications related to it
SVN:2.0[2689]
2013-04-16 12:58:23 +00:00
Romain Quetiez
f062819425 #702 Ignoring the class when looking up for a polymorphic ext key
SVN:2.0[2682]
2013-04-16 11:26:40 +00:00
Denis Flaven
17c517f9ed Bug fix: properly serialize Emails with binary Attachments. Previously asynchronous emails with binary attachements were not working (they were queued but never sent).
SVN:2.0[2680]
2013-04-16 09:08:39 +00:00
Romain Quetiez
6c8a152a23 #472 REST API finalized (reintegrated from trunk)
SVN:2.0[2670]
2013-04-02 13:43:29 +00:00
Denis Flaven
e7f04ec05e Bug fix: removed a PHP Notice: Undefined variable: aList in /var/www/html/core/ormstopwatch.class.inc.php on line 456 (same fix as revision 2609 in the trunk)
SVN:2.0[2657]
2013-03-27 15:28:07 +00:00
Romain Quetiez
046deb125a #691 Notifications not sent if some recicipients have an empty address -reintegrated from trunk
SVN:2.0[2654]
2013-03-21 14:44:22 +00:00
Romain Quetiez
4a9a5c9f53 #688 When the autocomplete is activated, and the allowed values depend on another value, then it is possible to set a wrong value -reintegrated from trunk
SVN:2.0[2647]
2013-03-20 14:51:09 +00:00
Romain Quetiez
cc1d89bb4d #687 labels of attributes vs inheritance -reintegrated from trunk
SVN:2.0[2645]
2013-03-20 10:05:24 +00:00
Romain Quetiez
be4a2e52bc Reintegrated a number of fixes from trunk:
#672 and #673 Physical interfaces
#683 DB name can have numbers + hyphen
#664 Could not logon after an upgrade of 1.x
#686 Issue with default values on upgrade
#657 Quotes not allowed in synchro name/desc
#659 Error report not displayed during the setup
#660 Issue with ZendServer
#661 and #662 Issues with autocompletes
#666 Import: reconciliation of Software CIs
#668 Management IP not visible anywhere
#675 Drill-down on graph failing
#679 Setup: dependency between modules
#680 Setup: missing php-xml (module "dom")


SVN:2.0[2643]
2013-03-20 09:15:11 +00:00
Romain Quetiez
d2f9458516 Reintegrated changes from trunk:
- Issue with the change tracking of ext keys
- Fix on AttributeDecimal
- Handle various sources for object messages (session)

SVN:2.0[2642]
2013-03-20 08:42:26 +00:00
Romain Quetiez
b038ef5a73 Reintegrated last changes for the REST API into branch 2.0
SVN:2.0[2641]
2013-03-20 08:23:38 +00:00
Romain Quetiez
4ea82dbf49 Reintegrated several fixes into branch 2.0:
#682 Sort notifications
#684 Issue with import/localized enum/reconciliation
Reconciliation for SLT
Unnecessary Dependance on service_id (user request)

SVN:2.0[2640]
2013-03-19 16:02:59 +00:00
Denis Flaven
194a7a2256 Added 'core/apply_stimulus' as a possible operation for the REST web services.
SVN:2.0[2606]
2013-02-27 16:01:59 +00:00
Denis Flaven
8336991c7b Reintegrating the REST web services in the 2.0 branch
SVN:2.0[2602]
2013-02-27 13:48:31 +00:00
Denis Flaven
fb94cd13f5 Enable support of databases which name either is a reserved word or contains non-alphanumeric characters (i.e. itop-production).
SVN:2.0[2596]
2013-01-31 15:21:21 +00:00
Romain Quetiez
b22eae043c #653 Document notes and FAQ: when data is longer than 64Kb, then at each modification of the text, an error is displayed and the change is not visible in the history tab (but data correctly saved).
SVN:trunk[2574]
2012-12-13 15:37:19 +00:00
Denis Flaven
ddc73d13c2 Don't show the CSV import history (by default) for a faster display.
SVN:trunk[2572]
2012-12-13 14:55:11 +00:00
Erwan Taloc
646b46f2b6 Allow & inside email addresses
SVN:trunk[2567]
2012-12-13 14:23:28 +00:00
Romain Quetiez
62b3f80a4c #629 Nested object creation (button plus) does not work if:
- PHP 5.4
- notification sent on object creation
- PHP error level allows notices

SVN:trunk[2553]
2012-12-07 13:38:14 +00:00
Denis Flaven
aa6cfc205e - Show only the "vsisible" parameters in the config file, or the ones already present in case of upgrade. Hide others for readability.
SVN:trunk[2543]
2012-12-06 17:33:57 +00:00
Romain Quetiez
7f45a40e5d #643 Output corrupted by characters after the PHP closing bracket (attachements get corrupted)
SVN:trunk[2526]
2012-12-06 08:56:50 +00:00
Denis Flaven
17d98c9236 Safer regexpr for DateTimes (don't let 2012-12-05 1900:00 pass through since it turns into 0000-00-00 00:00:00 in MySQL) but allow to omit the seconds (i.e. 2012-12-05 18:45 will become 2012-12-05 18:45:00 in MySQL)
SVN:trunk[2525]
2012-12-05 18:02:45 +00:00
Romain Quetiez
7561f8f8da Fixed regression due to the recent optimization of SQL queries
SVN:trunk[2510]
2012-12-05 12:43:35 +00:00
Romain Quetiez
64c9c1fead Added a comment to explain why the APIs AddCondition_PointingTo and AddCondition_ReferencedBy must be left unprotected (do not clone the passed filter). See trac #639
SVN:trunk[2509]
2012-12-05 10:32:13 +00:00
Denis Flaven
ed6bbe6d07 New extension API: iPageUIExtension to alter the display of *each* iTopWebPage.
SVN:trunk[2507]
2012-12-05 09:49:24 +00:00
Denis Flaven
0a0e7c01fd Perf enhancements: don't build trace information if trace is not required.
SVN:trunk[2506]
2012-12-05 09:45:53 +00:00
Denis Flaven
5808c0a8a7 Fix for a SQL error (regression) in the Portal
SVN:trunk[2503]
2012-12-04 17:25:02 +00:00
Romain Quetiez
24435401a5 Fixed issue in CSV export: null enums rendered as 'undefined' whereas '' is the value expected in the import (See an export of Organization/status)
SVN:trunk[2501]
2012-12-04 15:17:22 +00:00
Denis Flaven
07d88199b4 New parameter to tweak the display of Impact anaysis: which tab to display first? list or graphics?
SVN:trunk[2500]
2012-12-04 14:50:59 +00:00
Denis Flaven
442c0d6956 Prevent a server crash when using together APC cache and Mcrypt
SVN:trunk[2498]
2012-12-04 14:01:51 +00:00
Romain Quetiez
1e155ffc13 Fixed stopper issue (found with an audit) due to copies of DBObjectSearch not cloned (or not cloned well)
There is still one place where this should be fixed, but it reveals another bug so we've decided to leave it as is for the moment (see comment in DBObjectSearch::AddCondition_PointingTo)

SVN:trunk[2497]
2012-12-04 13:26:48 +00:00
Romain Quetiez
90bc24d5c0 Optimization of SQL queries: fixed two issues (SELECT to track object linked to... and SELECT ExternalUser)
SVN:trunk[2496]
2012-12-03 17:00:38 +00:00
Denis Flaven
84e498e744 Protect against empty email addresses
SVN:trunk[2494]
2012-12-03 09:13:39 +00:00
Denis Flaven
09209533d0 Support multiple recipients in To: Cc: and Bcc:
SVN:trunk[2487]
2012-11-30 16:46:50 +00:00
Romain Quetiez
3784a41d9e Optimization of SQL queries: fixed!
SVN:trunk[2486]
2012-11-30 16:26:53 +00:00
Romain Quetiez
78cb9f793a Optimization of SQL queries: reduce the number of JOINS, assuming that data are consistent. Can be disabled with config setting query_optimization_enabled => 0.
Also fixed caching issue (reproduced when replaying a query log)

SVN:trunk[2485]
2012-11-30 13:34:46 +00:00
Denis Flaven
d69163199b Fix for Trac #569: Mandatory date (and time) fields are prefilled with the current date (and time).
SVN:trunk[2483]
2012-11-30 10:51:15 +00:00
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
85974da27b New developer tool: cosmetics
SVN:trunk[2472]
2012-11-27 17:24:35 +00:00
Romain Quetiez
9b982df4f0 New developer tool: set log_queries=1 to enable query logging into data/
The accumulative log data/queries.log can be replayed with test/replay_query_log.php which produces a result file (to check the stability of the results) and a benchmark file (to see the efficiency in CSV)

SVN:trunk[2469]
2012-11-27 16:53:24 +00:00
Denis Flaven
51af2e9662 Fix for Trac #625: CSV export of boolean attributes was broken (false => "")
SVN:trunk[2468]
2012-11-27 16:30:41 +00:00
Denis Flaven
b10b894b24 Protects the display of the history against renmaed/removed attributes.
SVN:trunk[2462]
2012-11-27 13:44:47 +00:00
Denis Flaven
52c1830d42 GetTargetAttDef is made public (it's used for auto documenting)
SVN:trunk[2441]
2012-11-21 11:04:08 +00:00