readme.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. iTop - version 2.2.0 Beta - 28-July-2015
  2. Readme file
  3. 1. ABOUT THIS RELEASE
  4. 2. INSTALLATION
  5. 2.1. Requirements
  6. 2.2. Install procedure
  7. 2.3. CRON
  8. 2.4. Upgrading from 2.0.x
  9. 2.5. Migration from 1.x versions
  10. 3. FEATURES
  11. 3.1. Changes since 2.1.0
  12. 3.2. Known limitations
  13. 3.3. Known issues
  14. 1. ABOUT THIS RELEASE
  15. ==================
  16. Thank you for downloading the 21st packaged release of iTop.
  17. This version is a major release, with quite a few bug fixes and significative enhancements.
  18. The documentation about iTop is available as a Wiki: https://wiki.openitop.org/
  19. iTop is released under the AGPL (v3) license. (Check license.txt in this directory).
  20. The source code of iTop can be found on SourceForge: https://sourceforge.net/p/itop/code/
  21. 1.1 What's new?
  22. ---------------------------
  23. This version brings a number of expected enhancements, namely:
  24. - An new engine to compute and display impact analysis (requires Graphviz on the server, but no longer depends on Flash)
  25. - A complete rework of the exports
  26. - A lock to prevent the concurrent modification of the same object by different agents
  27. - A few performance optimizations (APC/APCu required on the server to benefit from them)
  28. - Enhancements to customizations that can be performed in XML
  29. ... and about 25 bug fixes
  30. 1.2 Should I upgrade to 2.2.0 beta?
  31. -------------------------------
  32. This version is a beta quality version, and thus is NOT recommended for production.
  33. If you want to test drive the new features, we recommend that you install it in a "staging" environment.
  34. Anyhow, prior to taking that decision, we encourage you to have a look at the migration notes:
  35. https://wiki.openitop.org/doku.php?id=2_1_0:admin:210_to_220_migration_notes
  36. 1.3 Special Thanks To:
  37. -----------------
  38. Bruno Bonfils for his guidance about LDAP and authentication.
  39. Randall Badilla Castro and Miguel Turrubiates for the Spanish translation.
  40. Jonathan Lucas, Stephan Rosenke and David Gümbel from ITOMIG GmbH, for the German translation.
  41. Christian Lempereur and Olivier Fouquet for their feedbacks.
  42. Everaldo Coelho and the Oxygen Team for their wonderful icons.
  43. The JQuery team and all the jQuery plugins authors for developing such a powerful library.
  44. Phil Eddies for the numerous feedbacks provided, and the first implementation of CKEdit
  45. Marco Tulio and Bruno Cassaro for the Portuguese (Brazilian) translation
  46. Vladimir Kunin, Vladimir Shilov and Shamil Khamit for the Russian translation
  47. Izzet Sirin for the Turkish translation
  48. Deng Lixin for the Chinese translation
  49. Marialaura Colantoni for the Italian translation
  50. Schlobinux for the fix of the setup temporary file verification.
  51. Gabor Kiss for the Hungarian translation
  52. Tadashi Kaneda, Shoji Seki and Hirofumi Kosaka for the Japanese translation
  53. Antoine Coetsier for the CAS support and tests
  54. Vincenzo Todisco for his contribution to the enhancement of the webservices
  55. Stephan Rickauer, Tobias Glemser and Sabri Saleh for their consulting about iTop security
  56. Claudio Cesar Sanchez Tejeda for his contribution to bug fixes on the export and data synchronization
  57. Bruno Cornec for his support and contribution to the Linux packaging of iTop
  58. Jean-François Bilger for providing a fix for an unsuspected SQL bug
  59. Remie Malik from Linprofs for the Dutch translation
  60. Erik Bøg for the Danish translation
  61. 2. INSTALLATION
  62. ============
  63. 2.1. Requirements
  64. ------------
  65. Server configuration:
  66. iTop is based on the AMP (Apache / MySQL / PHP) platform and requires PHP 5.3 and
  67. MySQL 5. The installation of iTop does not require any command line access to the
  68. server. The only operations required to install iTop are: copying the files to the
  69. server and browsing web pages. iTop can be installed on any web server supporting
  70. PHP 5.3: Apache, IIS, nginx...
  71. End-user configuration:
  72. Although iTop should work with most modern web browsers, the application has been
  73. tested mostly with Firefox 36+, IE9+, Safari 5 and Chrome. iTop was designed for
  74. at least a 1024x768 screen resolution. For the graphical view of the impact analysis,
  75. Flash version 8 or higher is required for some charts.
  76. 2.2. Install procedure
  77. -----------------
  78. 1) Make sure that you have a properly configured instance of Apache/PHP/MySQL running
  79. 2) Unpack the files contained in the zipped package, and copy the content of the "web"
  80. directory in a directory served by your web server.
  81. 3) Check the access rights on the files/folders: the setup needs to have write access
  82. either to the directory where iTop is installed or to the following subdirectories
  83. (create them if needed)
  84. - conf
  85. - data
  86. - env-production
  87. - log
  88. 4) Point your web browser to the URL corresponding to the directory where the files
  89. have been unzipped and follow the indications on the screen.
  90. If you wish to re-launch the installation process (for example in order to install
  91. more modules), just make sure that the configuration file (located at <itop>/conf/production/config-itop.php)
  92. is writable by the web server (on Windows: remove the "read-only" flag, on Linux
  93. adjust the rights of the file) and point your browser to <itop>/setup/.
  94. 2.3. cron.php
  95. --------
  96. The following features will require the activation of CRON.PHP:
  97. - asynchronous emails. By default, this option is disabled. To enable it, set 'email_asynchronous' to 1 in the configuration file.
  98. - check ticket SLA. Tickets reaching the limits will be passed into Escalation TTO/TTR states.
  99. More information into the Wiki: https://wiki.openitop.org/doku.php?id=2_0_3:admin:cron
  100. You can get a status of the cron "tasks" with the command:
  101. php cron.php --auth_user=admin_login --auth_pwd=admin_pwd --status_only=1
  102. The output will look as shown below:
  103. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  104. | Task Class | Status | Last Run | Next Run | Nb Run | Avg. Dur. |
  105. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  106. | CheckStopWatchThresholds | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:37 | 51 | 0.317 s |
  107. | EmailBackgroundProcess | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:57 | 12 | 7.089 s |
  108. | ExecAsyncTask | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:29 | 51 | 0.032 s |
  109. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  110. 2.4. Upgrading from 2.x.x
  111. --------------------
  112. The version 2.2.0 if fully compatible with 2.0.0, 2.0.1, 2.0.2, 2.0.3 and 2.1.0. Due to few database changes,
  113. and new modules/files that have to be installed, you must run the setup when upgrading (whatever the original
  114. version).
  115. If the location of mysql binaries is in the "path", the setup proposes to perform a full backup
  116. of iTop (database + configuration file) using mysqldump.
  117. Here is how to upgrade, step by step, a 2.x.x instance of iTop:
  118. 1) Do NOT overwrite the files from the previous version. Expand the content of the "web" directory of
  119. the new package into a new directory on the web server.
  120. 2) Check the access rights on the files/folders: the setup needs to have write access either to the
  121. whole directory where iTop is installed or to the following subdirectories (create them if needed)
  122. - conf
  123. - data
  124. - env-production
  125. - log
  126. 3) Point your web browser to the URL corresponding to the new location. You should see the setup screen.
  127. 4) When prompted (At step 2 of the installation), choose "Upgrade an existing instance"
  128. 5) Either enter the path (on the disk) to the previous instance, or supply the needed credentials.
  129. 6) Run the setup to completion. Once this is done you can connect to your upgraded iTop.
  130. 7) To replace the old instance of iTop with the newly installed one:
  131. Rename the directories to switch the locations
  132. Edit the new configuration file (now located at <itop>/conf/production/config-itop.php) and change the
  133. value of the "application_url" parameter.
  134. 2.5. Migrating from 1.x versions
  135. ---------------------------
  136. The setup is designed to upgrade existing 1.x instances of iTop automatically. In case the instance was
  137. customized (for example by altering its data model), the installation process will detect the modifications
  138. (by scanning the source files and comparing them with the manifest) and will prompt either to keep the
  139. modifications or to discard them.
  140. If the location of mysql binaries is in the "path", the installation proposes to perform a full backup
  141. of iTop (database + configuration file) using mysqldump.
  142. Here is how to upgrade, step by step, a 1.x instance of iTop.
  143. 1) Do NOT overwrite the files from the previous version. Expand the content of the "web" directory of
  144. the new package into a new directory on the web server.
  145. 2) Check the access rights on the files/folders: the setup needs to have write access either to the
  146. directory where iTop is installed or to the following subdirectories (create them if needed)
  147. - conf
  148. - data
  149. - env-production
  150. - log
  151. 3) Point your web browser to the URL corresponding to the new location. You should see the setup screen.
  152. 4) When prompted (At step 2 of the installation), choose "Upgrade an existing instance"
  153. 5) Enter the needed credentials. It is not mandatory to supply the location (on the disk of the server)
  154. where the previous instance was installed but, by doing so, you let the installation find the credentials
  155. (by looking at the previous configuration file) and also perform additional checks, for instance, to
  156. detect any customization that you may have made to iTop.
  157. 6) Run the setup to completion. Once this is done you can connect to your upgraded iTop.
  158. 7) To replace the old instance of iTop with the newly installed one:
  159. Rename the directories to switch the locations
  160. Edit the new configuration file (now located at <itop>/conf/production/config-itop.php) and change the
  161. value of the "application_url" parameter.
  162. That's it.
  163. 3. FEATURES
  164. ========
  165. 3.1. Changes since 2.1.0
  166. -------------------
  167. Modernizations
  168. --------------------
  169. New look: a little bit "flatter" and more modern, but still quite similar to previous versions of iTop for a smooth migration
  170. The 'zip' extension is now mandatory to install iTop, since the code relies on the ZipArchive class for the Excel export and the scheduled backup.
  171. iTop now requires PH 5.3.0 or higher (instead of PHP 5.2).
  172. For the display of the impact analysis, Graphviz is required on the server.
  173. Impact analysis
  174. -----------------
  175. Takes the redundancy into account (On "Power Sources" and on "Farms")
  176. An new "Impact analysis" tab is now available on tickets, to show the exact impact of a given ticket (can be exported in PDF and attached to the ticket)
  177. The graphical view no longer depends on Flash, takes into account the active tickets and is exportable in PDF
  178. The display has been improved and better supports high volumes of data by automatically grouping similar objects
  179. The impact analysis can now be customized in XML, but remains backwards compatible with definitions made by the mean of PHP methods
  180. Exports
  181. -------------
  182. The bulk export has been completely redesigned:
  183. - interactive choice of the columns to export (and their order) as well as all the format specific options
  184. - support for high volumes of data for the interactive export
  185. - the same export engine" is used for interactive or scripted exports
  186. - new PDF format
  187. The following enhancements/bugs were addressed:
  188. #1071 Bulk Read access rights
  189. #1034 List of fields for Excel export
  190. #772 Some attributes not exportedvia export.php
  191. Locking
  192. -------------
  193. A new locking mechanism has been introduced to prevent the concurrent interactive modification of the same object (for example a User Request ticket)
  194. by two agents (or by the same agent in two different tabs of her/his browser). In case of troubles, an administrator can however bypass this lock.
  195. Note: The locking mechanism can be completely disabled to go back to the previous behavior. (via the configuration parameter: concurrent_lock_enabled)
  196. OQL syntax
  197. --------------------
  198. 1) The OQL language now supports UNION statements:
  199. SELECT Server WHERE cpu = '...' UNION SELECT PC
  200. Unions support polymorphism: you can use UNION on as many OQL queries as needed as long as the selected classes have a common ancestor.
  201. Unions can be used anywhere in the application where an OQL query is expected.
  202. 2) JOIN ... ON objkey = id
  203. Allow JOIN on a objclass/objkey pair of attributes
  204. Enables queries on the synchronized objects (SynchroReplica::dest_id was changed into an attribute of type AttributeObjectKey), or with change tracking logs.
  205. Scalability / Performance
  206. -------------------------
  207. Optimization: improvement to the OQL cache:
  208. - take benefit of the APC cache (if present)
  209. - memory indexation may have failed in case of long queries (query id based on a md5)
  210. - added a kpi measure on the OQL parsing
  211. Optimization: when displaying an object details, do not check data synchro for each and every attribute (the cache did exist but was inoperant)
  212. Performance optimization: cache the result of the disk scan looking for icons for dashboards (speeds up the welcome page !)
  213. Optimization of DisplayBlock::FromObjectSet, load only the needed column(s)!
  214. Miscellaneous fixes
  215. -------------------
  216. #714 Localization of the date picker calendar. Get rid of the old jquery.datepicker.js file since iTop now relies on the built-in jQuery UI date picker widget.
  217. #257 Dashlet label hardcoded to "Search for objects of type Server"
  218. #759 Ticket lists in CI: show only active tickets (exclude tickets in states rejected/resolved/closed) and display one list per leaf class so that the status column will be visible. It it not possible anymore to edit the ticket list from the CI.
  219. #1062 bumped the version number of the REST/JSON API to 1.3 to be aligned with the documentation !
  220. #963 For security reasons, "Portal users" are no longer allowed to use the REST/JSON API.
  221. #1078 Properly record the history of LinkedSet(Indirect)
  222. #1079 DBWriteLinks deleting related objects
  223. Bug fix: don't accept attachments (like images) via Chrome's copy/paste since it may duplicate the text content of a normal copy/paste and moreover causes troubles because there is no file name associated with the pasted content.
  224. #788 Whenever a timeout is detected by an ajax request, a popup dialog warns the user to log-in again.
  225. Small enhancement to the display of the meta model: in the list of transitions, display the code of the event as a tooltip.
  226. JSON/REST: When specifying a case log entry (or the whole), it was not possible to set the user name without knowing a valid user id
  227. Bug fix: prevent a crash of the web services when trying to log a non scalar paramater value...
  228. #1092 Caller not preset when creating a ticket from a contact
  229. #1082 Dashlet badge: do not display search results everytime.
  230. #1088 Support of HTMLEditor in the PortalWebPage, for example if the description of a ticket is in HTML.
  231. Bug fix: properly compute the URLs/URIs for the soap server (and its extensions)
  232. #1083 HTML export: show a scroll bar when needed.
  233. #1059 fix for the Spanish localization first_name and last_name were swaped.
  234. #1054 increase max_execution_time during the setup.
  235. #1052 Fix for the German localization.
  236. #1050 Properly support the 'list' display style for external keys - as stated in the documentation!
  237. #1047 Fix for the FindTab method.
  238. #1045 Fix in the German localization.
  239. #594 Properly display attachments inside "properties" by closing the span and the fieldset in non-edit mode.
  240. Extending the data model
  241. ------------------------
  242. 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.
  243. #1069 Fix to add a new hierarchical key when there are already some records in the DB
  244. Modules implementing a lifecycle written in PHP (and having actions executed on transitions) do not work until 2.1.0. The compatibility patch had been implemented but it was not working.
  245. XML Enhancement: support injection of new modules treated as data.
  246. XML 1.2: handle the XML transformation. Added APIs to report the functionality loss when downgrading (snippets, portal, module parameters, relations and object key)
  247. XML Enhancement: PHP snippets inside the XML.
  248. XML Enhancement: the default value for a module's parameter can now be specified (and altered) via the XML and will no longer reside in the configuration file.
  249. API Enhancement: allow the API to create Case Log entries with a specified user_login.
  250. Modularization of the portal. The entry points for portals is now defined in XML, and thus can be altered by an extension.
  251. #1053 XML comments breaking the setup with message "Notice: Undefined property: DOMComment::$wholeText in ...modelfactory.class.inc.php on line 1280". Now, the XML comments are allowed.
  252. Internals
  253. ----------------------
  254. Code cleanup: deprecated the unused (and empty) class CMDBSearchFilter, replaced by DBSearch or DBObjectSearch depending on the usage.
  255. Added an alternate implementation for storing "transaction" identifiers on disk instead of inside the $_SESSION variable.
  256. Mutex instrumentation for troubleshooting...
  257. Make sure that the SQL mutexes are specific to the current iTop instance, but still preserving the capability for the setup to detect an already running cron job with or without a valid config file.
  258. Integrated the lexer/parser build tools (Lexer=0.4.0, Parser=0.1.7)
  259. Implemented GetForJSON and FromJSONToValue for AttributeLinkedSet (though this is not used for the Rest/JSON services which are doing much more) -retrofit from branch 2.1.0
  260. Make it possible to overload RestUtils (static methods called with static:: instead of self::) - iTop NOW REQUIRES PHP 5.3: we have verified, there are very installations of iTop made on PHP 5.2. It is worth to note that PHP 5.3 is already end of life (5.4 will become end of life in 8 months)
  261. Improved the symptom when an error occurs in the "apply stimulus form". The symptom used to be: Object could not be written; unknown error. Now it will give the error message (e.g. Missing query arguments) so as to help in determining what's going on.
  262. ormStopWatch::GetElapsedTime not working in case of queries containing :this-> parameters (the prototype of GetElapsedTime has changed and is NOT compatible with the previous one)
  263. Fixed a typo on the default document mimetype: application/x-octet-stream
  264. Meta information on lifecycle actions arguments: added type restrictions, and added the method ResetStopWatch
  265. Additional markup for JQuery scripts...
  266. Forms Enhancement: do not retrieve disabled fields.
  267. Forms : Support several sets of forbidden values (with a specific "reason" message) per field.
  268. - Read-only "long text" fields no longer appear as editable
  269. - Combo and FormSelector fields are now sorted by default (but sorting can be disabled if needed)
  270. Protect against JS errors when the form is in read-only mode.
  271. Properly handle property_sheets with nested selector fields...
  272. #803 template placeholders are now built on demand.
  273. #1060 Internal: improved the symptoms when calling MetaModel::GetAttributeDef with an invalid attribute code (feedback on the class name and no more FATAL errors)
  274. Internal: fixed the caching of DBObject::ToArgs()
  275. 1) Wasn't reset when the object was written the DB (thus having its ID set)
  276. 2) Wasn't taking the argument name into account (the list of placeholders was defined by the first caller)
  277. Change of the QueryReflection API to support DesignTime.
  278. ModelFactory: Re-creating a class into another location in the class hierarchy it equivalent to moving that class => the delta must be a "redefine" for the class (improved the comment from the previous commit)
  279. ModelFactory: Re-creating a class into another location in the class hierarchy it equivalent to moving that class => the delta must be a "redefine" for the class
  280. 3.2. Known limitations (https://sourceforge.net/apps/trac/itop/report/3)
  281. -----------------
  282. #71 The same MySQL credentials are used during the setup and for running the application.
  283. Suhosin can interfere with iTop. More information can be found here: http://www.combodo.com/wiki/doku.php?id=admin:suhosin
  284. Internet Explorer 6 is not supported (neither IE7 nor IE8 in compatibility mode)
  285. Tested with IE8 and IE9, Firefox 3.6 up to Firefox 24 and Chrome. Be aware that there are certain limitations when using IE8 in "security mode" (when running IE on a Windows 2008 Server for example)
  286. 3.3. Known issues (https://sourceforge.net/apps/trac/itop/report/3)
  287. ------------
  288. #259 Not instantaneously logged off when the administrator deletes a user account
  289. #273 The administrator can delete his/her own user account
  290. #372 APC Cache not efficient (multi org usage, global search)
  291. #382 Search form / base class lost after a search
  292. #377 Case log: exclude the index from the views
  293. #388 IE9: edition fields not resizable
  294. #443 Objects remain in the database after de-installing some modules
  295. #442 Useless profiles installed (1.x legacy data model only)
  296. #438 The selection of Organizations using the hierarchy does not work on IE8 in security mode
  297. #436 Cannot type "All Organizations"
  298. #381 Deletion of dependencies could fail in a multi-org environment
  299. #241 "status" is a free-text field when configuring a Trigger
  300. #358 Multi-column queries sometimes returning an empty set
  301. #399 Copy/paste from iTop's CaseLog looses tabs
  302. #343 CKEditor (HTML Editor) not compatible with direct object creation on ExtKeys
  303. #350 Object edition form: validation does not tell which field has a problem
  304. #730 Leaving temporary files when performing a backup of the data during installation
  305. #1145 Two connections between a connectable CI and a network device must have different ports
  306. #1146 History not reflecting a modification of the connection between a connectable CI and a network device
  307. #1147 Identical links not always modified as expected