Commit Graph

73 Commits

Author SHA1 Message Date
Romain Quetiez
4e2edaabfa Added constructor for DBObjectSet: FromArrayAssoc
SVN:trunk[331]
2010-04-14 08:14:08 +00:00
Romain Quetiez
b1754b1475 Finalized queries with multiple objects
SVN:trunk[329]
2010-04-13 12:46:07 +00:00
Romain Quetiez
5d46a94ddf Select multiple objects in OQL (beta, for integration within the UI)
SVN:trunk[327]
2010-04-13 09:42:22 +00:00
Denis Flaven
128f048800 Enhancement / bug fix: allow the overload of the GetName method for building the short name of an object. This is also used when the object appears in a drop-down list.
SVN:trunk[325]
2010-04-12 12:22:00 +00:00
Denis Flaven
37ccd94828 Enhancement : new configuration option (secure_conenction_required) to force the use of HTTPS to connect to iTop. The redirection http -> https is still buggy but the usage of https is enforced anyway.
SVN:trunk[324]
2010-04-12 12:19:12 +00:00
Romain Quetiez
f454ebf4b5 Fixed bugs on CSV import (was not working fine when exporting/importing incident tickets)
SVN:trunk[316]
2010-03-12 13:48:39 +00:00
Romain Quetiez
5b4057aebb Finalized the demo of impact computation (removed an ugly test message) and added few comments
SVN:trunk[315]
2010-03-11 08:15:19 +00:00
Romain Quetiez
e2524d28d7 Related objects:
- moved to OQL
- added capacity to set a default value based on the related objects (during the creation wizard)

SVN:trunk[314]
2010-03-09 14:09:51 +00:00
Romain Quetiez
5a09dc6e2b Trac #86 - CSV format aligned with standard specifications
Trac #93 - Fixed issue within the setup data load (related to memory_limit)
Fixed issues with the consultant toolkit: upgrade an existing DB (add new class/attribute)
Developed core services to allow for demonstrating impact computation capability
Deprecated option operation=direct on page UI.php

SVN:trunk[313]
2010-03-08 09:10:16 +00:00
Denis Flaven
10fa31807b - Fixed bug #87: Strings consisting only of digits are not managed as strings
SVN:trunk[312]
2010-02-26 15:29:30 +00:00
Romain Quetiez
46c4d2f419 Make sure that HTTP responses and the emails are considered as being utf-8... not sure of the real benefit, but we've seen a number of things about this so Denis and I decided to more forward and take the chance.
SVN:trunk[295]
2010-01-29 18:26:03 +00:00
Romain Quetiez
f8d6ef2407 Fixed #81, character set and collation set to utf-8 by default
SVN:trunk[293]
2010-01-29 18:18:18 +00:00
Romain Quetiez
f61ac3f4a0 Fixed two bugs:
- Trac#80 Misleading messages when using the back button during the setup (added back button in any error case)
 - Trac#72 Revised the setup to consider any installation scenario regarding Database and user privileges (user rights tracked into the log file)

SVN:trunk[291]
2010-01-28 17:10:39 +00:00
Romain Quetiez
73f0ac4e1c Trac#4 Improved the display of finalclass field (search results and graphs)
SVN:trunk[288]
2010-01-25 16:12:18 +00:00
Romain Quetiez
5f17dcf2db Forgot to commit a new include
SVN:trunk[276]
2010-01-18 17:43:37 +00:00
Romain Quetiez
aa6d6029d9 Finalized the email error management:
- errors in OQL
- no recipient
- smtp server response (windows only)
- test option (status)
- test page

SVN:trunk[270]
2010-01-18 16:42:00 +00:00
Romain Quetiez
920a98a902 Fixed bug in the data model: organization status was not an enum
SVN:trunk[268]
2010-01-18 15:50:18 +00:00
Denis Flaven
bda8f0b814 - Adapted the triggers hierarchy and the EventLog search capabilities to be able to display all the notifications sent for a given object (a ticket for instance)
SVN:trunk[266]
2010-01-18 15:22:48 +00:00
Romain Quetiez
2e26062560 Finalized the display of Enumeration attributes (the label may now be different than the value)
Finalized the verification of the DB structure, which could not detect wrong field types so far

SVN:trunk[263]
2010-01-18 07:43:26 +00:00
Denis Flaven
cdb68e9159 Bug fix: initialize properly auto_reload timeouts
SVN:trunk[261]
2010-01-17 17:55:57 +00:00
Denis Flaven
c0545aa9cc - Log the 'From' field for email notifications
SVN:trunk[260]
2010-01-17 17:34:28 +00:00
Denis Flaven
500bd849af - new feature: auto_reload. A display block can automatically reload itself at a specified time interval
SVN:trunk[256]
2010-01-17 14:41:27 +00:00
Romain Quetiez
8964b13a2e - Fixed bug with change tracking of TEXT attributes
- Log any email notification (successful or not)
- Class selection always made through a Combo box
- Automatic creation of indexes for external keys
- New trigger: on object creation
- Application log: added a status string
- Added documentation to the WSDL (+ anyType replaced by string)
- SOAP: improved handling of enumeration attributes
- SOAP: returned logs to mention the name of the parameter as advertised in the WSDL file (different than the name of the attribute in Itop)
- Finalized SOAP tests
- Added a SOAP client example

SVN:trunk[246]
2010-01-13 13:30:08 +00:00
Romain Quetiez
0f71144a25 Trac#56 Improvements to the SOAP web services and to the first operation CreateIncidentTicket
SVN:trunk[230]
2010-01-08 15:24:57 +00:00
Romain Quetiez
9440b59921 Forgot to add 3 files in the previous commit
SVN:trunk[226]
2010-01-06 12:57:40 +00:00
Romain Quetiez
5a15dcb849 Trac #57 - Implemented beta version of email notifications (triggers and actions)
SVN:trunk[225]
2010-01-06 08:51:08 +00:00
Romain Quetiez
644d936c26 #47 Replaced every occurence of deprecated verb split() by explode()
SVN:trunk[224]
2010-01-05 09:05:12 +00:00
Denis Flaven
966d4820ca - First implementation of documents
- small cleanup to remove a global Config variable (and removed some deprecated utils:: functions)
- removed the 'DocumentVersion' object since previous versions are now tracked as normal change objects.

SVN:trunk[220]
2009-12-31 09:08:09 +00:00
Denis Flaven
7efeec5acd - Fixed bug Trac #65: incorrect display of non-ASCII characters. htmlentities must be aware of the charset used !
SVN:trunk[217]
2009-12-29 17:08:04 +00:00
Denis Flaven
adeb7b17b1 - Added 2 new parameters to the config file to manage the display_limit (Trac #61)
SVN:trunk[212]
2009-12-29 13:40:29 +00:00
Romain Quetiez
d8269cc11b Trac #56 - Implemented and usable but still not a complete and dynamically generated WSDL file. Unit tests are in place (through client/server SOAP protocol, or directly onto the internal API)
SVN:trunk[209]
2009-12-28 11:22:54 +00:00
Romain Quetiez
193aef8a63 Trac #51 - Implemented external key feed by the mean of reconciliation on external fields
SVN:trunk[206]
2009-12-26 13:30:16 +00:00
Romain Quetiez
ae1e7e224a Reviewed and changed a bug fix (No TRAC entry) on the display of external fields when the external key is null. The actual fix is to consider that null is a value. Isset() should be used with care because one could not differentiate a missing value (in an array or a value that is null)
SVN:trunk[205]
2009-12-26 13:18:56 +00:00
Romain Quetiez
37c5880ced #53 Global search always returning all organization, reviewed Denis's fix
SVN:trunk[204]
2009-12-26 13:06:28 +00:00
Denis Flaven
97761de870 - completed the implementaiton o the 'is dirty' flag to prevent reloading an object being modified.
- added a protection against reading an uninitialized field that triggered a PHP 'notice' error.

SVN:trunk[201]
2009-12-21 19:16:27 +00:00
Denis Flaven
89396151c5 Fixed bug (Trac #53), I don't know exactly what I did (!) but I've copied what's done in __DescribeHTML and this makes the full text search work for organizations !
Note that __DescribeHTML actually modifies the objects it is applied to  (via a referenced passed to the Describe method)

SVN:trunk[200]
2009-12-21 15:52:23 +00:00
Denis Flaven
abcb687ccc - Fixed the support of Internet Explorer (tested on IE7 and IE8)
- Cleanup of the generated HTML to have page that are XHTML compliant (not yet complete)

SVN:trunk[198]
2009-12-18 07:23:14 +00:00
Romain Quetiez
b2a9de9d59 New type of attribute: Blob, allowing documents in the application. Was fully developed in the core, but roughly integrated in the application... todo: file upload for edition, file download for viewing
SVN:trunk[196]
2009-10-22 09:12:07 +00:00
Romain Quetiez
58428aefe2 Fixed several issues in the setup (load of data) :
- stopper bug in case of reinstallation/upgrade: the file keyscache.tmp could be left in case of issue in the previous execution of the setup ; the file is now deleted prior to running a new session
- if a fatal error (e.g. call to undefined function) occured during the load of a file (ajax), then we had no clue that this happened ; a log has been added after the load so that we can get faster to the issue
- reordered data files (not the same order in MS-Explorer) to maximize ext key resolution on the first pass
- resolving external keys afterwards should work again (though the file order is avoiding this currently), as the objects are declared "dirty" and no automatic reload will be attempted during further manipulations
- added a log when an external key cannot be resolved during the final round

SVN:trunk[191]
2009-10-09 14:00:48 +00:00
Romain Quetiez
d71df57c66 Added investigation means: DB dump from the ITopConsultant page, this feature should not rely on mySQL statements that are not allowed in the OVH hosting setup. The feature is 100% new and does not interfere with any existing code. Therefore I would advise to upgrade the official build as quickly as possible.
SVN:trunk[190]
2009-10-02 15:07:28 +00:00
Romain Quetiez
a8520c37ee Fixed bug in CSV import: was not working when using private keys. Also fine tuned the field matching mechanism and now the CSV export/import are 100% symmetric
SVN:trunk[182]
2009-09-22 13:36:29 +00:00
Romain Quetiez
048406ab47 Deletion of objects:
- automatic delete of mandatory ext keys, and if the option is set in the data model (I've set the "manual" option by default, and the "auto" option for links)
- automatic reset of optional ext keys (several keys could be updated on one single object)
- takes into account the user rights
- security against the use of page arguments when the automatic deletion is not allowed
Known limitations:
- does not check that resetting an ext key could affect the lifecycle consistency (e.g. delete a workgroup referenced by a ticket)
- does not check recursively on the automatic deletion, which should not be a problem given the current data model (TBC)

SVN:trunk[181]
2009-09-18 16:12:38 +00:00
Romain Quetiez
0454e7fa78 Fixed bug on deletion: take the inheritance into account when checking for referencing objects (eg. a ticket linked to a PC was not seen)
SVN:trunk[180]
2009-09-18 09:35:21 +00:00
Romain Quetiez
9e702899f2 Fixed a security hole: any user was allowed to edit users and profiles, and therefore could give himself admin rights - now, only admins are allowed to do that
Also added a debugging capability: user rights shown for any object class, on demand in URP_Users::DisplayBareRelations()

SVN:trunk[178]
2009-09-17 15:50:28 +00:00
Romain Quetiez
a6c5218dc6 Fixed bug when creating a login (flush privileges = reset the data cache)
SVN:trunk[175]
2009-09-17 12:50:33 +00:00
Romain Quetiez
0232d2dadc User Management: removed limitation on the user rights that could not be established without a given object set, and added a feedback in the user details page (grant summary, based on the results returned by the std user management API, thus is reliable)
SVN:trunk[169]
2009-09-16 16:01:12 +00:00
Romain Quetiez
7b6295f0a0 Fixed regression: server status was reset
SVN:trunk[161]
2009-09-16 07:53:12 +00:00
Romain Quetiez
043552536d Cosmetics on the bulk load (followed new test plan)
SVN:trunk[159]
2009-09-14 16:06:04 +00:00
Romain Quetiez
85ad73419e Hyperlinks in the history logs presentation
SVN:trunk[155]
2009-09-14 08:38:52 +00:00
Romain Quetiez
9ca940a41e Revised the CSV import: fixed issues with the external keys, added hyperlinks to the found objects, obsoleted the word 'pkey', replaced by 'id'
SVN:trunk[154]
2009-09-14 08:37:10 +00:00