提交历史

作者 SHA1 备注 提交日期
  eespie 220958672e N°454 - Check data validity during CSV import 7 年之前
  eespie df3fd969d6 N°454 - Check data validity during CSV import 7 年之前
  eespie ca6990dc9e N°454 - Check data validity during CSV import 7 年之前
  eespie 54dac76d5a N°454 - Check data validity during CSV import 7 年之前
  romainq 2ea4c21013 Fixed integration issue (possibly a regression): if an extension implements iApplicationExtension::OnDBInsert, and it calls DBWrite, then a fatal error occurs (call a member function on a null value). The error occurs for several types of attributes such as ormCustomField, ormCaseLog, ormLinkSet. The fix consists in aligning the internal values of a DBObject as soon as it has been written into the Database. 7 年之前
  glajarige 64dc0a14d5 N°1104 DBObject::__toString() was way too verbose and returned all objects from linksets as string as well, causing memory limits. 7 年之前
  romainq 0e1f3d02b9 Rework of the edition of 1-N and N-N links: managed as a delta from the GUI down to the the lowest APIs. 8 年之前
  romainq b246164f18 Obsolescence: finalizing the implementation of the flag (hide obsolete objects, show an icon on hyperlinks and a tag on the object details, user preference defaulting to the new setting 'show_obsolete_data') 8 年之前
  glajarige d980c06c98 Advanced customization: New overridable verb DBObject::GetDefaultValue($sAttCode) 8 年之前
  romainq 4b36e9e017 Obsolescence: introduction of this new concept (wording could change later). The obsolescence of an object is computed after other attributes, by the mean of an OQL expression. The code has been refactored (again) so as to factorize between the computation of friendly names and the computation of obsolescence flags. The refactoring involved a significant AND RISKY change: external key friendly names (magic attributes) have been changed from AttributeFriendlyName to AttributeExternalField, which simplifies the SQL query build logic. 8 年之前
  romainq 15b1f85700 Archives: regression. Forms not working with various symptom having the same root cause: DBObject::Set issuing an exception "Attempting to set the value on the read-only attribute operational_status" 8 年之前
  romainq 3109a0a7ca Internal: 8 年之前
  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). 8 年之前
  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!) 8 年之前
  glajarige d338d8269b DBObject::ExecActions : add_to_list action now accepts the source object id as first parameter 8 年之前
  glajarige 80831c4230 N°602: InlineImage "randomly" not available for display. 8 年之前
  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. 8 年之前
  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' 9 年之前
  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). 9 年之前
  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. 9 年之前
  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. 9 年之前
  dflaven 53e0da0c73 Support "recusrive placeholders" (i.e. $this->org_id->code$) inside notifications... when using the HTML notation (i.e. -> becomes ->) 9 年之前
  dflaven 6ae7b96076 Regression: properly initialize mandatory date (and time) attributes when using a custom date/time format. 9 年之前
  romainq 05edb4d1da Internal: added DBObject::RegisterURLMakerClass, to allow for overriding the standard behavior of template placeholders such as $this->org_id->hyperlink(portal)$ 9 年之前
  dflaven 08e01b9eb7 Enhancement: Date and time formats are now configurable in iTop !! (beta version, beware!) 9 年之前
  romainq 7a8b8a628b XSS: Correctly escape the name of an object when it is displayed within an hyperlink 9 年之前
  romainq 9d63033e48 Internal: Implemented DBObject::ExecActions, enables scripting object preset/modifications 9 年之前
  romainq 93b70a293b ResetStopWatch could not be used as a lifecycle action: the symptom is "The action has failed". 9 年之前
  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. 9 年之前
  romainq 0489e8e5e8 Custom fields: alpha version. 9 年之前