readme.txt 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. iTop - version 2.1.0 Beta - 12-Nov-2014
  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.0.3
  12. 3.2. Known limitations
  13. 3.3. Known issues
  14. 1. ABOUT THIS RELEASE
  15. ==================
  16. Thank you for downloading the 20th packaged release of iTop.
  17. This version is a maintenance release, with quite a few bug fixes and a few 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 bug fixes since 2.0.3 and a few enhancements, namely:
  24. - A rudimentary configuration file editor (for administrators)
  25. - Automated data backups, and manual backup/restore
  26. - Excel exports
  27. ... and about 60 bug fixes!
  28. 1.2 Should I upgrade to 2.1.0?
  29. -------------------------------
  30. Considering that iTop 2.1.0 is fully compatible with iTop 2.0.x and the number of bugs fixed, we recommend you to upgrade.
  31. Anyhow, prior to taking that decision, we encourage you to have a look at the migration notes:
  32. https://wiki.openitop.org/doku.php?id=2_1_0:admin:203_to_210_migration_notes
  33. 1.3 Special Thanks To:
  34. -----------------
  35. Bruno Bonfils for his guidance about LDAP and authentication.
  36. Randall Badilla Castro and Miguel Turrubiates for the Spanish translation.
  37. Jonathan Lucas, Stephan Rosenke and David Gümbel from ITOMIG GmbH, for the German translation.
  38. Christian Lempereur and Olivier Fouquet for their feedbacks.
  39. Everaldo Coelho and the Oxygen Team for their wonderful icons.
  40. The JQuery team and all the jQuery plugins authors for developing such a powerful library.
  41. Phil Eddies for the numerous feedbacks provided, and the first implementation of CKEdit
  42. Marco Tulio and Bruno Cassaro for the Portuguese (Brazilian) translation
  43. Vladimir Kunin, Vladimir Shilov and Shamil Khamit for the Russian translation
  44. Izzet Sirin for the Turkish translation
  45. Deng Lixin for the Chinese translation
  46. Marialaura Colantoni for the Italian translation
  47. Schlobinux for the fix of the setup temporary file verification.
  48. Gabor Kiss for the Hungarian translation
  49. Tadashi Kaneda, Shoji Seki and Hirofumi Kosaka for the Japanese translation
  50. Antoine Coetsier for the CAS support and tests
  51. Vincenzo Todisco for his contribution to the enhancement of the webservices
  52. Stephan Rickauer, Tobias Glemser and Sabri Saleh for their consulting about iTop security
  53. Claudio Cesar Sanchez Tejeda for his contribution to bug fixes on the export and data synchronization
  54. Bruno Cornec for his support and contribution to the Linux packaging of iTop
  55. Jean-François Bilger for providing a fix for an unsuspected SQL bug
  56. 2. INSTALLATION
  57. ============
  58. 2.1. Requirements
  59. ------------
  60. Server configuration:
  61. iTop is based on the AMP (Apache / MySQL / PHP) platform and requires PHP 5.2 and
  62. MySQL 5. The installation of iTop does not require any command line access to the
  63. server. The only operations required to install iTop are: copying the files to the
  64. server and browsing web pages. iTop can be installed on any web server supporting
  65. PHP 5.2: Apache, IIS, nginx...
  66. End-user configuration:
  67. Although iTop should work with most modern web browsers, the application has been
  68. tested mostly with Firefox 3+, IE8, IE9, Safari 5 and Chrome. iTop was designed for
  69. at least a 1024x768 screen resolution. For the graphical view of the impact analysis,
  70. Flash version 8 or higher is required.
  71. 2.2. Install procedure
  72. -----------------
  73. 1) Make sure that you have a properly configured instance of Apache/PHP/MySQL running
  74. 2) Unpack the files contained in the zipped package, and copy the content of the "web"
  75. directory in a directory served by your web server.
  76. 3) Check the access rights on the files/folders: the setup needs to have write access
  77. either to the directory where iTop is installed or to the following subdirectories
  78. (create them if needed)
  79. - conf
  80. - data
  81. - env-production
  82. - log
  83. 4) Point your web browser to the URL corresponding to the directory where the files
  84. have been unzipped and follow the indications on the screen.
  85. If you wish to re-launch the installation process (for example in order to install
  86. more modules), just make sure that the configuration file (located at <itop>/conf/production/config-itop.php)
  87. is writable by the web server (on Windows: remove the "read-only" flag, on Linux
  88. adjust the rights of the file) and point your browser to <itop>/setup/.
  89. 2.3. cron.php
  90. --------
  91. The following features will require the activation of CRON.PHP:
  92. - asynchronous emails. By default, this option is disabled. To enable it, set 'email_asynchronous' to 1 in the configuration file.
  93. - check ticket SLA. Tickets reaching the limits will be passed into Escalation TTO/TTR states.
  94. More information into the Wiki: https://wiki.openitop.org/doku.php?id=2_0_3:admin:cron
  95. You can get a status of the cron "tasks" with the command:
  96. php cron.php --auth_user=admin_login --auth_pwd=admin_pwd --status_only=1
  97. The output will look as shown below:
  98. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  99. | Task Class | Status | Last Run | Next Run | Nb Run | Avg. Dur. |
  100. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  101. | CheckStopWatchThresholds | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:37 | 51 | 0.317 s |
  102. | EmailBackgroundProcess | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:57 | 12 | 7.089 s |
  103. | ExecAsyncTask | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:29 | 51 | 0.032 s |
  104. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  105. 2.4. Upgrading from 2.0.x
  106. --------------------
  107. The version 2.1.0 if fully compatible with 2.0.0, 2.0.1, 2.0.2 and 2.0.3. Due to few database changes,
  108. and new modules that have to be installed, you must run the setup when upgrading (whatever the original
  109. version).
  110. If the location of mysql binaries is in the "path", the setup proposes to perform a full backup
  111. of iTop (database + configuration file) using mysqldump.
  112. Here is how to upgrade, step by step, a 2.0.x instance of iTop:
  113. 1) Do NOT overwrite the files from the previous version. Expand the content of the "web" directory of
  114. the new package into a new directory on the web server.
  115. 2) Check the access rights on the files/folders: the setup needs to have write access either to the
  116. whole directory where iTop is installed or to the following subdirectories (create them if needed)
  117. - conf
  118. - data
  119. - env-production
  120. - log
  121. 3) Point your web browser to the URL corresponding to the new location. You should see the setup screen.
  122. 4) When prompted (At step 2 of the installation), choose "Upgrade an existing instance"
  123. 5) Either enter the path (on the disk) to the previous instance, or supply the needed credentials.
  124. 6) Run the setup to completion. Once this is done you can connect to your upgraded iTop.
  125. 7) To replace the old instance of iTop with the newly installed one:
  126. Rename the directories to switch the locations
  127. Edit the new configuration file (now located at <itop>/conf/production/config-itop.php) and change the
  128. value of the "application_url" parameter.
  129. 2.5. Migrating from 1.x versions
  130. ---------------------------
  131. The setup is designed to upgrade existing 1.x instances of iTop automatically. In case the instance was
  132. customized (for example by altering its data model), the installation process will detect the modifications
  133. (by scanning the source files and comparing them with the manifest) and will prompt either to keep the
  134. modifications or to discard them.
  135. If the location of mysql binaries is in the "path", the installation proposes to perform a full backup
  136. of iTop (database + configuration file) using mysqldump.
  137. Here is how to upgrade, step by step, a 1.x instance of iTop.
  138. 1) Do NOT overwrite the files from the previous version. Expand the content of the "web" directory of
  139. the new package into a new directory on the web server.
  140. 2) Check the access rights on the files/folders: the setup needs to have write access either to the
  141. directory where iTop is installed or to the following subdirectories (create them if needed)
  142. - conf
  143. - data
  144. - env-production
  145. - log
  146. 3) Point your web browser to the URL corresponding to the new location. You should see the setup screen.
  147. 4) When prompted (At step 2 of the installation), choose "Upgrade an existing instance"
  148. 5) Enter the needed credentials. It is not mandatory to supply the location (on the disk of the server)
  149. where the previous instance was installed but, by doing so, you let the installation find the credentials
  150. (by looking at the previous configuration file) and also perform additional checks, for instance, to
  151. detect any customization that you may have made to iTop.
  152. 6) Run the setup to completion. Once this is done you can connect to your upgraded iTop.
  153. 7) To replace the old instance of iTop with the newly installed one:
  154. Rename the directories to switch the locations
  155. Edit the new configuration file (now located at <itop>/conf/production/config-itop.php) and change the
  156. value of the "application_url" parameter.
  157. That's it.
  158. 3. FEATURES
  159. ========
  160. 3.1. Changes since 2.0.3
  161. -------------------
  162. This version consists in three new features and bug fixes.
  163. Configuration editor
  164. --------------------
  165. This is a way for administrators to edit the configuration file from the iTop UI, with their iTop credentials.
  166. Automated backups
  167. -----------------
  168. Performs automated backups. The scheduling can be configured, and it handles a rotation.
  169. A dedicated page provide administrators with a status report and allows for performing manual backups
  170. and restores.
  171. Excel exports
  172. -------------
  173. In addition to the existing CSV export features, it is now possible to generate an Excel file directly,
  174. from any list of objects.
  175. Usability
  176. --------------------
  177. #1011 Proper resizing of the dialog box for managing 1:n links.
  178. #974 prevent multiple javascript refresh when reloading the "initial state" of a ticket.
  179. Scalability / Performance
  180. -------------------------
  181. #965 Since 2.0.3, for each synchronized object, around 100 queries are performed (2 are required), and this is multiplied by the number of duplicate replicas (then resulting in a significant slowdown).
  182. Notifications
  183. -------------
  184. #998 Accurately check the configured mail transport and report information accordingly in the email.test page.
  185. Add two "debug" transports for Swift mailer: Null and LogFile which are useful for staging environments where one does not want to send real emails.
  186. #978 Email test utility always reporting "default SMTP port"
  187. Miscellaneous fixes
  188. -------------------
  189. Portal: handle mandatory attributes in Reopen/Close dialogs
  190. #1000 Implemented the behavior for the flag OPT_ATT_MUSTCHANGE, and took the opportunity to add a feedback when a field is mandatory OR when the format is wrong
  191. #1012 Losing half of the connection when changing a port (connections between network devices). I took the opportunity to simplify the connection management as it was initiated in change [3388].
  192. #1008 Error when deleting a Network Device connected to another Network Device (does not happen if the other end is another type of "ConnectedDevice")
  193. #1007 Unexpected change of the case log when doing massive update of a User Request (+ hide the checkbox for the status because it makes no sense)
  194. #979 Data synchro: recover the DB triggers (backup/restore)
  195. Fixed regression introduced in iTop 2.0.3, in the data model view: could not see the OQL constraints on external keys
  196. #995 Make sure that tto/ttr passed gets set even if the CRON has not been run (and as soon as some overrun has been counted)
  197. #983 Sortering not possible on multi-column queries
  198. #969 XML: the menu option enable_admin_only hides the menu for everyone
  199. #970 and #650 Corrupted attachements. Reworked the cleanup of undesired output, to protect it against the case when the output buffer is unfortunately closed. On the other hand, I found out that several output buffer can be stacked. Thus the protection could be further improved (difficulty: that can be web server dependent).
  200. #993 The about box does not show up when the directory extensions is missing
  201. Fixed the support of a non-default port for MySQL, thanks to theBigOne!
  202. #968 Interactive CSV Export truncated or missing characters (since 2.0.3)
  203. #991 CSV export truncated (system dependent, since 2.0) due to a bug in iconv, the workaround is to do little by little
  204. Dehardcoded the size of the attachments preview
  205. #988 Could not change the case of a login
  206. #778 Issue on list sort order when editing an element (N-N link tabs)
  207. #986 Search form: handle indirect external keys
  208. #987 Usage login prevents from user deletion
  209. #932 Search form should be prefilled when running a search "shortcut" - very little progress: fixed the case when several criteria are given
  210. #985 Shortcut auto refresh degrading table cosmetics
  211. #984 Dashboard auto refresh degrading table functionalities like sorting
  212. #976: make sure that we do not bypass the method that computes the reference for newly created tickets.
  213. Protect dashboards against invalid queries in "grouped by" dashlets.
  214. Legacy user rights management: allow the deletion of a profile in one step (it was nearly impossible because of the numerous related records, mainly of type URP_ActionGrant, for which iTop was requesting a manual deletion)
  215. Extending the data model
  216. ------------------------
  217. #972 Incomprehensible error message during setup, with a sample extension provided by Combodo! (empty user rights tag)
  218. #971 XML: could not specify an icon as a path to a file
  219. User rights: deny on a parent class must give DENY even if the class is explicitely ALLOW on the same profile (that was already working if the rules are given on several profiles). Added a config flag to force the legacy algorithm (user_rights_legacy, defaulting to false)
  220. Improved the XML format, changing from 1.0 to 1.1
  221. - The change is ascendant compatible (automatically converted into 1.1 by ModelFactory) and thus sould be transparent: could may leave your extensions unchanged if you do not need to benefit from the new format
  222. - Added <inherit_flags_from> to inherit the flags from another state
  223. - Added an id on the user rights profile/actions to allow a finer granularity for the deltas.
  224. - New concept: HighlightScale to avoid overloading methods GetIcon and GetHilightClass...
  225. - Added an id on the transitions to allow a finer granularity for the deltas.
  226. Internals
  227. ----------------------
  228. Protected the property fields against the collision of ids within the same page (even if that is a bug, make it work not too bad!)
  229. Forms: drop-down box default value label could be changed (or this entry could be entirely removed)
  230. Form fields: added callbacks ('equals' and 'get_field_value') to allow the implementation of enhanced form fields
  231. Code cleanup: reworked the user rights data model, while strictly preserving the current functionality (checked using the tool dump_profiles.php, with simple to full ITIL configurations). Class groups have been renamed/merged/removed. This is documented in the migration notes (wiki).
  232. lnkVirtualDeviceToVolume and lnkTriggerAction are link classes and should be declared as such
  233. Transmission of user rights along N-N links: must work both with DEL_AUTO and DEL_SILENT external keys (found with a code review, DEL_SILENT is still rarely used)
  234. Rework of the ModelFactory API to make it simpler and safer.
  235. #989 Developper issue: query arguments having a null value are dismissed
  236. Bug fix: FetchAssoc was broken when dealing with in-memory sets.
  237. Improved the processing of background task to enable more advanced functionalities like queuing
  238. Support of more sophisticated forms layout...
  239. Declaration of generic methods which can be run on tickets.
  240. Packaging
  241. -----------------------
  242. #960 [RPM Packaging] Adjust line endings in READ and LICENSE files
  243. #962 [RPM Packaging] Added the use of logrotate for cron.log and error.log
  244. #959 Fixing licensing mismatches for compatibility with the Fedora licensing policy (the modification only affects comments) .
  245. 3.2. Known limitations (https://sourceforge.net/apps/trac/itop/report/3)
  246. -----------------
  247. #71 The same MySQL credentials are used during the setup and for running the application.
  248. Suhosin can interfere with iTop. More information can be found here: http://www.combodo.com/wiki/doku.php?id=admin:suhosin
  249. Internet Explorer 6 is not supported (neither IE7 nor IE8 in compatibility mode)
  250. 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)
  251. 3.3. Known issues (https://sourceforge.net/apps/trac/itop/report/3)
  252. ------------
  253. #259 Not instantaneously logged off when the administrator deletes a user account
  254. #273 The administrator can delete his/her own user account
  255. #372 APC Cache not efficient (multi org usage, global search)
  256. #382 Search form / base class lost after a search
  257. #377 Case log: exclude the index from the views
  258. #388 IE9: edition fields not resizable
  259. #443 Objects remain in the database after de-installing some modules
  260. #442 Useless profiles installed (1.x legacy data model only)
  261. #438 The selection of Organizations using the hierarchy does not work on IE8 in security mode
  262. #436 Cannot type "All Organizations"
  263. #381 Deletion of dependencies could fail in a multi-org environment
  264. #241 "status" is a free-text field when configuring a Trigger
  265. #358 Multi-column queries sometimes returning an empty set
  266. #399 Copy/paste from iTop's CaseLog looses tabs
  267. #343 CKEditor (HTML Editor) not compatible with direct object creation on ExtKeys
  268. #350 Object edition form: validation does not tell which field has a problem
  269. #730 Leaving temporary files when performing a backup of the data during installation