Commit History

Autor SHA1 Mensaxe Data
  romainq 34ab6cd77b NEW! Archiving data. Archiving is a soft delete. It can be undone. Enter the archive mode to see all the data including archives (everything is read-only in that mode). Archiving must be enabled per class (data model). Archiving is achieved by the mean of the API DBObject::Archive (or Unarchive). %!s(int64=8) %!d(string=hai) anos
  glajarige da0260c569 N°653 Lifecycle flags can be defined on both states and transitions (Note: This is a beta version and need to be tested!) %!s(int64=8) %!d(string=hai) anos
  glajarige d338d8269b DBObject::ExecActions : add_to_list action now accepts the source object id as first parameter %!s(int64=8) %!d(string=hai) anos
  glajarige 80831c4230 N°602: InlineImage "randomly" not available for display. %!s(int64=8) %!d(string=hai) anos
  romainq c0139a35c0 #1178 Internals: Object Update/Reload should never fail: as soon as a given object has been read in the current execution context, updating/reloading it is not an issue. %!s(int64=8) %!d(string=hai) anos
  romainq 06ae19387b #1223 Custom lifecycle actions: improved the reporting when an action returns false (class/function/id logged into error.log)+ the framework now considers that no return value is equivalent to 'true' %!s(int64=9) %!d(string=hai) anos
  romainq daf4f2445f #1235 Internal: DBObject API - external fields not up to date after changing the external key (though they seem to be in sync when inspecting the internal values, Get() does not return the expected value). %!s(int64=9) %!d(string=hai) anos
  dflaven 570ec40c2b Support for objects to go "out of the silo" during a transition by making sure that we can reload an object we've just saved. %!s(int64=9) %!d(string=hai) anos
  romainq 65aaea630b XSS: Fixed a regression caused by the fix [3994]. Object hyperlinks were escaped twice causing accuented characters displayed as '´'. The API DBObject::MakeHyperLink has been clarified and the original fix moved elsewhere. The XSS injection that was not handled correctly prior to [3994] was in the display of an external key in the details of an object. To reproduce easily, inject some malicious characters in the name of the organization 'Demo' and view any object owned by Demo. %!s(int64=9) %!d(string=hai) anos
  dflaven 53e0da0c73 Support "recusrive placeholders" (i.e. $this->org_id->code$) inside notifications... when using the HTML notation (i.e. -> becomes ->) %!s(int64=9) %!d(string=hai) anos
  dflaven 6ae7b96076 Regression: properly initialize mandatory date (and time) attributes when using a custom date/time format. %!s(int64=9) %!d(string=hai) anos
  romainq 05edb4d1da Internal: added DBObject::RegisterURLMakerClass, to allow for overriding the standard behavior of template placeholders such as $this->org_id->hyperlink(portal)$ %!s(int64=9) %!d(string=hai) anos
  dflaven 08e01b9eb7 Enhancement: Date and time formats are now configurable in iTop !! (beta version, beware!) %!s(int64=9) %!d(string=hai) anos
  romainq 7a8b8a628b XSS: Correctly escape the name of an object when it is displayed within an hyperlink %!s(int64=9) %!d(string=hai) anos
  romainq 9d63033e48 Internal: Implemented DBObject::ExecActions, enables scripting object preset/modifications %!s(int64=9) %!d(string=hai) anos
  romainq 93b70a293b ResetStopWatch could not be used as a lifecycle action: the symptom is "The action has failed". %!s(int64=9) %!d(string=hai) anos
  romainq 8174660c0d Custom fields: track the changes and improve the robustness with regards to the Exception thrown by the handler. Also fixed an issue with DBObject, causing the custom fields to be written several times if invoking DBUpdate more than once. Theoretically, this issue affects any type of attribute. %!s(int64=9) %!d(string=hai) anos
  romainq 0489e8e5e8 Custom fields: alpha version. %!s(int64=9) %!d(string=hai) anos
  romainq 6b50994607 #1210 (reopened) ...fixed a regression on commit [r3936]: dependent fields could not be loaded when there are link set attribute in the current form %!s(int64=9) %!d(string=hai) anos
  dflaven ccf403a397 (HTML) Formatted Case Logs, Description and Notifications with inline images uploaded as Attachments. Beta Version !! %!s(int64=9) %!d(string=hai) anos
  dflaven dfb4164e0d #1176: empty placeholders are represented by an empty string as in previous version. %!s(int64=9) %!d(string=hai) anos
  romainq 7f46108d88 New type of attribute: AttributeMetaEnum. %!s(int64=9) %!d(string=hai) anos
  dflaven e10f75b167 #1049: CSV import (and edition) of n:n links. The Differences() function is NOT commutative: the original value (i.e. the one from the database) must the the first argument. %!s(int64=9) %!d(string=hai) anos
  romainq 8a28723b1e Could not add more than one link between a given server and a given network device. This is a regression in 2.2.0 beta. This issue affect N-N links where duplicates are allowed. One single link is being affected in the standard datamodel. %!s(int64=9) %!d(string=hai) anos
  romainq 2428e8c26a #1111 Could not attach a UserRequest to a Problem (1-N links). Could not detach either! This fix requires attention: it is assumed that an item of a link set, if it is "modified" then its key to the current object has already been set. %!s(int64=9) %!d(string=hai) anos
  romainq 895fcba8bc Log REST/JSON calls (config: 'log_rest_service' => true ; stored as EventRestService) %!s(int64=9) %!d(string=hai) anos
  romainq 9b3c28f6d1 Optimization: when displaying an object details, do not check data synchro for each and every attribute (the cache did exist but was inoperant) %!s(int64=10) %!d(string=hai) anos
  romainq 5ed735e8d0 #942 OQL now supporting unions. Unions support polymorphism and can be used anywhere in the application. %!s(int64=10) %!d(string=hai) anos
  dflaven af849fbd7f #1078: Properly record the history of LinkedSet(Indirect) %!s(int64=10) %!d(string=hai) anos
  romainq c09b913411 New lifecycle action SetCurrentPerson. Also improved the existing lifecycle action SetCurrentUser to prevent from calling it on an external key that is not pointing to users (!= contact), and if the target attribute is a string, then store the friendlyname there. %!s(int64=10) %!d(string=hai) anos