readme.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. iTop - version 2.1.0 - 16-Dec-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. - Dutch translation contributed by Remie Malik from Linprofs (www.linprofs.com)
  28. ... and about 80 bug fixes!
  29. 1.2 Should I upgrade to 2.1.0?
  30. -------------------------------
  31. 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.
  32. Anyhow, prior to taking that decision, we encourage you to have a look at the migration notes:
  33. https://wiki.openitop.org/doku.php?id=2_1_0:admin:203_to_210_migration_notes
  34. 1.3 Special Thanks To:
  35. -----------------
  36. Bruno Bonfils for his guidance about LDAP and authentication.
  37. Randall Badilla Castro and Miguel Turrubiates for the Spanish translation.
  38. Jonathan Lucas, Stephan Rosenke and David Gümbel from ITOMIG GmbH, for the German translation.
  39. Christian Lempereur and Olivier Fouquet for their feedbacks.
  40. Everaldo Coelho and the Oxygen Team for their wonderful icons.
  41. The JQuery team and all the jQuery plugins authors for developing such a powerful library.
  42. Phil Eddies for the numerous feedbacks provided, and the first implementation of CKEdit
  43. Marco Tulio and Bruno Cassaro for the Portuguese (Brazilian) translation
  44. Vladimir Kunin, Vladimir Shilov and Shamil Khamit for the Russian translation
  45. Izzet Sirin for the Turkish translation
  46. Deng Lixin for the Chinese translation
  47. Marialaura Colantoni for the Italian translation
  48. Schlobinux for the fix of the setup temporary file verification.
  49. Gabor Kiss for the Hungarian translation
  50. Tadashi Kaneda, Shoji Seki and Hirofumi Kosaka for the Japanese translation
  51. Antoine Coetsier for the CAS support and tests
  52. Vincenzo Todisco for his contribution to the enhancement of the webservices
  53. Stephan Rickauer, Tobias Glemser and Sabri Saleh for their consulting about iTop security
  54. Claudio Cesar Sanchez Tejeda for his contribution to bug fixes on the export and data synchronization
  55. Bruno Cornec for his support and contribution to the Linux packaging of iTop
  56. Jean-François Bilger for providing a fix for an unsuspected SQL bug
  57. Remie Malik from Linprofs for the Dutch translation
  58. 2. INSTALLATION
  59. ============
  60. 2.1. Requirements
  61. ------------
  62. Server configuration:
  63. iTop is based on the AMP (Apache / MySQL / PHP) platform and requires PHP 5.2 and
  64. MySQL 5. The installation of iTop does not require any command line access to the
  65. server. The only operations required to install iTop are: copying the files to the
  66. server and browsing web pages. iTop can be installed on any web server supporting
  67. PHP 5.2: Apache, IIS, nginx...
  68. End-user configuration:
  69. Although iTop should work with most modern web browsers, the application has been
  70. tested mostly with Firefox 3+, IE8, IE9, Safari 5 and Chrome. iTop was designed for
  71. at least a 1024x768 screen resolution. For the graphical view of the impact analysis,
  72. Flash version 8 or higher is required.
  73. 2.2. Install procedure
  74. -----------------
  75. 1) Make sure that you have a properly configured instance of Apache/PHP/MySQL running
  76. 2) Unpack the files contained in the zipped package, and copy the content of the "web"
  77. directory in a directory served by your web server.
  78. 3) Check the access rights on the files/folders: the setup needs to have write access
  79. either to the directory where iTop is installed or to the following subdirectories
  80. (create them if needed)
  81. - conf
  82. - data
  83. - env-production
  84. - log
  85. 4) Point your web browser to the URL corresponding to the directory where the files
  86. have been unzipped and follow the indications on the screen.
  87. If you wish to re-launch the installation process (for example in order to install
  88. more modules), just make sure that the configuration file (located at <itop>/conf/production/config-itop.php)
  89. is writable by the web server (on Windows: remove the "read-only" flag, on Linux
  90. adjust the rights of the file) and point your browser to <itop>/setup/.
  91. 2.3. cron.php
  92. --------
  93. The following features will require the activation of CRON.PHP:
  94. - asynchronous emails. By default, this option is disabled. To enable it, set 'email_asynchronous' to 1 in the configuration file.
  95. - check ticket SLA. Tickets reaching the limits will be passed into Escalation TTO/TTR states.
  96. More information into the Wiki: https://wiki.openitop.org/doku.php?id=2_0_3:admin:cron
  97. You can get a status of the cron "tasks" with the command:
  98. php cron.php --auth_user=admin_login --auth_pwd=admin_pwd --status_only=1
  99. The output will look as shown below:
  100. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  101. | Task Class | Status | Last Run | Next Run | Nb Run | Avg. Dur. |
  102. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  103. | CheckStopWatchThresholds | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:37 | 51 | 0.317 s |
  104. | EmailBackgroundProcess | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:57 | 12 | 7.089 s |
  105. | ExecAsyncTask | active | 2013-03-28 10:32:27 | 2013-03-28 10:32:29 | 51 | 0.032 s |
  106. +---------------------------+---------+---------------------+---------------------+--------+-----------+
  107. 2.4. Upgrading from 2.0.x
  108. --------------------
  109. 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,
  110. and new modules that have to be installed, you must run the setup when upgrading (whatever the original
  111. version).
  112. If the location of mysql binaries is in the "path", the setup proposes to perform a full backup
  113. of iTop (database + configuration file) using mysqldump.
  114. Here is how to upgrade, step by step, a 2.0.x instance of iTop:
  115. 1) Do NOT overwrite the files from the previous version. Expand the content of the "web" directory of
  116. the new package into a new directory on the web server.
  117. 2) Check the access rights on the files/folders: the setup needs to have write access either to the
  118. whole directory where iTop is installed or to the following subdirectories (create them if needed)
  119. - conf
  120. - data
  121. - env-production
  122. - log
  123. 3) Point your web browser to the URL corresponding to the new location. You should see the setup screen.
  124. 4) When prompted (At step 2 of the installation), choose "Upgrade an existing instance"
  125. 5) Either enter the path (on the disk) to the previous instance, or supply the needed credentials.
  126. 6) Run the setup to completion. Once this is done you can connect to your upgraded iTop.
  127. 7) To replace the old instance of iTop with the newly installed one:
  128. Rename the directories to switch the locations
  129. Edit the new configuration file (now located at <itop>/conf/production/config-itop.php) and change the
  130. value of the "application_url" parameter.
  131. 2.5. Migrating from 1.x versions
  132. ---------------------------
  133. The setup is designed to upgrade existing 1.x instances of iTop automatically. In case the instance was
  134. customized (for example by altering its data model), the installation process will detect the modifications
  135. (by scanning the source files and comparing them with the manifest) and will prompt either to keep the
  136. modifications or to discard them.
  137. If the location of mysql binaries is in the "path", the installation proposes to perform a full backup
  138. of iTop (database + configuration file) using mysqldump.
  139. Here is how to upgrade, step by step, a 1.x instance of iTop.
  140. 1) Do NOT overwrite the files from the previous version. Expand the content of the "web" directory of
  141. the new package into a new directory on the web server.
  142. 2) Check the access rights on the files/folders: the setup needs to have write access either to the
  143. directory where iTop is installed or to the following subdirectories (create them if needed)
  144. - conf
  145. - data
  146. - env-production
  147. - log
  148. 3) Point your web browser to the URL corresponding to the new location. You should see the setup screen.
  149. 4) When prompted (At step 2 of the installation), choose "Upgrade an existing instance"
  150. 5) Enter the needed credentials. It is not mandatory to supply the location (on the disk of the server)
  151. where the previous instance was installed but, by doing so, you let the installation find the credentials
  152. (by looking at the previous configuration file) and also perform additional checks, for instance, to
  153. detect any customization that you may have made to iTop.
  154. 6) Run the setup to completion. Once this is done you can connect to your upgraded iTop.
  155. 7) To replace the old instance of iTop with the newly installed one:
  156. Rename the directories to switch the locations
  157. Edit the new configuration file (now located at <itop>/conf/production/config-itop.php) and change the
  158. value of the "application_url" parameter.
  159. That's it.
  160. 3. FEATURES
  161. ========
  162. 3.1. Changes since 2.0.3
  163. -------------------
  164. This version consists in three new features and bug fixes.
  165. Configuration editor
  166. --------------------
  167. This is a way for administrators to edit the configuration file from the iTop UI, with their iTop credentials.
  168. Automated backups
  169. -----------------
  170. Performs automated backups. The scheduling can be configured, and it handles a rotation.
  171. A dedicated page provide administrators with a status report and allows for performing manual backups
  172. and restores.
  173. Excel exports
  174. -------------
  175. In addition to the existing CSV export features, it is now possible to generate an Excel file directly,
  176. from any list of objects.
  177. Usability
  178. --------------------
  179. #1011 Proper resizing of the dialog box for managing 1:n links.
  180. #974 Prevent multiple javascript refresh when reloading the "initial state" of a ticket.
  181. #985 Preserve the displayed sort order when refreshing a table.
  182. #1016 Record the displayed value of the database_table_name field in the database. This happens:
  183. - when creating a new Synchro Data Source
  184. - when modifying an "old" Synchro Data Source for which the field was empty.
  185. Scalability / Performance
  186. -------------------------
  187. #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).
  188. #1020 Restrict dashboard/shortcut refresh interval (new parameter: min_reload_interval)
  189. #1028 Speed up the display of history and object creation (regression since 2.0.3). Beware, conversion time at setup can be long if the history table is big.
  190. Notifications
  191. -------------
  192. #998 Accurately check the configured mail transport and report information accordingly in the email.test page.
  193. 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.
  194. #978 Email test utility always reporting "default SMTP port"
  195. Miscellaneous fixes
  196. -------------------
  197. Portal: handle mandatory attributes in Reopen/Close dialogs
  198. #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
  199. #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].
  200. #1008 Error when deleting a Network Device connected to another Network Device (does not happen if the other end is another type of "ConnectedDevice")
  201. #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)
  202. #979 Data synchro: recover the DB triggers (backup/restore)
  203. Fixed regression introduced in iTop 2.0.3, in the data model view: could not see the OQL constraints on external keys
  204. #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)
  205. #983 Sortering not possible on multi-column queries
  206. #969 XML: the menu option enable_admin_only hides the menu for everyone
  207. #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).
  208. #993 The about box does not show up when the directory extensions is missing
  209. Fixed the support of a non-default port for MySQL, thanks to theBigOne!
  210. #968 Interactive CSV Export truncated or missing characters (since 2.0.3)
  211. #991 CSV export truncated (system dependent, since 2.0) due to a bug in iconv, the workaround is to do little by little
  212. Dehardcoded the size of the attachments preview
  213. #988 Could not change the case of a login
  214. #778 Issue on list sort order when editing an element (N-N link tabs)
  215. #986 Search form: handle indirect external keys
  216. #987 Usage login prevents from user deletion
  217. #932 Search form should be prefilled when running a search "shortcut" - very little progress: fixed the case when several criteria are given
  218. #985 Shortcut auto refresh degrading table cosmetics
  219. #984 Dashboard auto refresh degrading table functionalities like sorting
  220. #976: make sure that we do not bypass the method that computes the reference for newly created tickets.
  221. Protect dashboards against invalid queries in "grouped by" dashlets.
  222. 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)
  223. #1026 CSV import of tickets with impact = '', issuing a Notice
  224. #1021 Better alignment of multiple header dashlets in the same cell.
  225. #1027 CSV import failing abruptely in case of ambiguous reconciliation on an external key. Regression introduced in 2.0.3.
  226. #1030 Missing values in the history tab (TTO/TTR) (since 2.0.2) There is no data loss: changes were correctly made and all the changes already recorded will be correctly displayed with the current fix.
  227. #975 Modified the enumerated list for model type in order to manage Phone CIs
  228. Allow linkage of organization to a Delivery model, directly from the tab "Customers"
  229. More meta information about the interfaces.
  230. Replaced provider_name by provider_id in the search form of service-subcategories
  231. Reviewed the french translation
  232. Added a tab to link a problem to incidents
  233. Missing translation for the tab "related requests"
  234. #1022 Do cascade the resolution of an incident to its child requests
  235. Prevent the JS validation (on focus) to create multiple entries for the same field, since it breaks the validation.
  236. #1039 Prevent concurrent executions of either synchro_import.php or synchro_exec.php for a given data source, since it would lead to unpredictable results.
  237. #1037 Refresh "priority" when either "impact" or "urgency" changes.
  238. #1038 Duplicate column name (service name) when importing service subcategories
  239. #1040 The graphical display of "impact/depends on" is not consistent with the "list" tab
  240. Extending the data model
  241. ------------------------
  242. #972 Incomprehensible error message during setup, with a sample extension provided by Combodo! (empty user rights tag)
  243. #971 XML: could not specify an icon as a path to a file
  244. 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)
  245. #1029 Got rid of tags <format> that were not used at all and that were really misleading extension developers
  246. #1032 When adding a case log, existing objects could not be displayed anymore!
  247. Improved the XML format, changing from 1.0 to 1.1
  248. - 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
  249. - Added <inherit_flags_from> to inherit the flags from another state
  250. - Added an id on the user rights profile/actions to allow a finer granularity for the deltas.
  251. - New concept: HighlightScale to avoid overloading methods GetIcon and GetHilightClass...
  252. - Added an id on the transitions to allow a finer granularity for the deltas.
  253. - Rework of the lifecycle/actions to ease the extensibility (Generic handlers replacing the specific ones: Rest, Copy, SetCurrentDate, SetCurrentUser, SetElapsedTime)
  254. Internals
  255. ----------------------
  256. 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!)
  257. Forms: drop-down box default value label could be changed (or this entry could be entirely removed)
  258. Form fields: added callbacks ('equals' and 'get_field_value') to allow the implementation of enhanced form fields
  259. The FormSelectorField now has its own widget to properly cope with its "subfields" in "property sheet" mode.
  260. Support of more sophisticated forms layout...
  261. Proper handling of the validation of subforms...
  262. Read-only mode for icon selector widget: display at least the icon.
  263. lnkVirtualDeviceToVolume and lnkTriggerAction are link classes and should be declared as such
  264. 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)
  265. Rework of the ModelFactory API to make it simpler and safer.
  266. Instrumented Model Factory with means to keep track of touched nodes
  267. #989 Developper issue: query arguments having a null value are dismissed
  268. Bug fix: FetchAssoc was broken when dealing with in-memory sets.
  269. Improved the processing of background task to enable more advanced functionalities like queuing
  270. Declaration of generic methods which can be run on tickets.
  271. Enhanced reporting during the setup: all the queries (create table / alter table) are now logged into "setup.log" along with their execution time.
  272. Instrumented the code to ease the troubleshooting of the computing of working hours
  273. New function: ormStopWatch::GetElapsedTime to compute the cumulated elapsed time on a stop watch still running -not used yet (but tested!)
  274. Predefined objects are now handled by RuntimeEnvironment
  275. Support for some (optional) feedback during submit.
  276. Support for some (optional) feedback during uploads.
  277. Rework of 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).
  278. Rework of the dictionaries: moved menu related entries to the module itop-welcome-itil (which does create most of those menus), while preserving the original copy of the entries so as to be compatible with customizations made with a copy of an older version of itop-welcome-itil
  279. Cosmetics on the module names (consistency)
  280. Demo mode: prevent the deletion of Users...
  281. Packaging
  282. -----------------------
  283. #960 [RPM Packaging] Adjust line endings in READ and LICENSE files
  284. #962 [RPM Packaging] Added the use of logrotate for cron.log and error.log
  285. #959 Fixing licensing mismatches for compatibility with the Fedora licensing policy (the modification only affects comments) .
  286. 3.2. Known limitations (https://sourceforge.net/apps/trac/itop/report/3)
  287. -----------------
  288. #71 The same MySQL credentials are used during the setup and for running the application.
  289. Suhosin can interfere with iTop. More information can be found here: http://www.combodo.com/wiki/doku.php?id=admin:suhosin
  290. Internet Explorer 6 is not supported (neither IE7 nor IE8 in compatibility mode)
  291. 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)
  292. 3.3. Known issues (https://sourceforge.net/apps/trac/itop/report/3)
  293. ------------
  294. #259 Not instantaneously logged off when the administrator deletes a user account
  295. #273 The administrator can delete his/her own user account
  296. #372 APC Cache not efficient (multi org usage, global search)
  297. #382 Search form / base class lost after a search
  298. #377 Case log: exclude the index from the views
  299. #388 IE9: edition fields not resizable
  300. #443 Objects remain in the database after de-installing some modules
  301. #442 Useless profiles installed (1.x legacy data model only)
  302. #438 The selection of Organizations using the hierarchy does not work on IE8 in security mode
  303. #436 Cannot type "All Organizations"
  304. #381 Deletion of dependencies could fail in a multi-org environment
  305. #241 "status" is a free-text field when configuring a Trigger
  306. #358 Multi-column queries sometimes returning an empty set
  307. #399 Copy/paste from iTop's CaseLog looses tabs
  308. #343 CKEditor (HTML Editor) not compatible with direct object creation on ExtKeys
  309. #350 Object edition form: validation does not tell which field has a problem
  310. #730 Leaving temporary files when performing a backup of the data during installation
  311. #1034 Excel export on the command-line ignoring the list of fields