Commit Graph

210 Commits

Author SHA1 Message Date
Denis Flaven
463bc0873b Allow n:n links to link several times to the same remote object (if "duplicates)=> true in the linkedset definition)
SVN:trunk[917]
2010-10-22 10:45:12 +00:00
Denis Flaven
006453678b Fixed Trac#300: each iTop instance now uses its own name for the cookie storing the session ID. Therefore several instances can coexist independently on the same server.
SVN:trunk[913]
2010-10-22 06:09:51 +00:00
Denis Flaven
adaf3a376c Fixed Trac #258: cleanup of application context parameters.
SVN:trunk[908]
2010-10-20 15:55:30 +00:00
Denis Flaven
f145b872de - Implemented some hints to help users find out what are the mandatory fields for a CSV import (Trac #276). Though not 100% bullet-proof.
- Continue to implement support of hierarchical ZLists in modification forms.

SVN:trunk[904]
2010-10-19 15:03:24 +00:00
Denis Flaven
b66e489ec8 - Fixed Trac #298: use the proper content-type for CSV files to prevent the let the browser pick the most appropriate application to open such files.
SVN:trunk[903]
2010-10-19 14:15:25 +00:00
Denis Flaven
63da528882 Fixed Trac #245: Search form now retains the base class that was used when displaying the form. After searching a Person it is possible to select "Contact" and perform another search on Contacts.
SVN:trunk[902]
2010-10-19 14:07:14 +00:00
Denis Flaven
ff80b06ea2 - Fixed Trac #284: do not "consume" a transaction until it really worked.
SVN:trunk[901]
2010-10-19 13:42:54 +00:00
Denis Flaven
7153162696 Fixed Trac #286: incorrect detection of HTTPS on IIS/ISAPI. Thanks to cprobst for reporting it.
SVN:trunk[896]
2010-10-19 12:34:33 +00:00
Denis Flaven
7494ed5ea0 Better handling of unexpected/invalid characters in an UTF-8 file.
SVN:trunk[880]
2010-09-16 09:21:20 +00:00
Denis Flaven
d504fa4e1c - Sort the class hierarchy for easier reference
SVN:trunk[855]
2010-09-13 19:14:49 +00:00
Romain Quetiez
15293fd250 Redirect from /pages/index.php to /index.php (to prevent users from listing the directory)
SVN:trunk[846]
2010-09-13 12:36:58 +00:00
Romain Quetiez
b537a3e810 Removed automatic test tools (separate module)
SVN:trunk[838]
2010-09-13 11:45:57 +00:00
Denis Flaven
eb81fcf9c7 - Fixed Trac #254: external fields specified as reconciliation keys were not automatically checked in the interactive mapping process.
SVN:trunk[835]
2010-09-13 10:09:34 +00:00
Romain Quetiez
6d0bc6d2c7 Implemented security in import.php
SVN:trunk[834]
2010-09-13 09:30:56 +00:00
Romain Quetiez
e3edf855eb Automatic test to create 1000 PCs
SVN:trunk[827]
2010-09-12 14:02:17 +00:00
Romain Quetiez
fe8ebc6c31 Added an automatic test: stressing import.php
SVN:trunk[823]
2010-09-12 08:42:49 +00:00
Denis Flaven
e43ba5f2db - Bug fix: use serialize instead of ToOQL to pass a search to the ajax page, since the OQL string does not contain the query parameters. This caused the chart to fail to load.
SVN:trunk[822]
2010-09-12 07:57:44 +00:00
Denis Flaven
cfa54ccb43 Enhancement: provide a "list" view of the "impacts" and "depends on" results on top of the graphical view.
SVN:trunk[820]
2010-09-11 20:31:31 +00:00
Denis Flaven
d65d4a42bb Enhancement: provide a "list" view of the "impacts" and "depends on" results on top of the graphical view.
SVN:trunk[819]
2010-09-11 20:30:18 +00:00
Romain Quetiez
2ad6c0594d #162 Implemented the non interactive bulk load (REST, CLI not implemented)
SVN:trunk[818]
2010-09-11 13:36:16 +00:00
Romain Quetiez
dfb1ae83c7 Fixed issue on deletion: was not recursive, leading to data integrity issues
SVN:trunk[815]
2010-09-10 18:49:48 +00:00
Denis Flaven
f120e21e00 Code cleanup: proper usage of the ReadParam function.
SVN:trunk[814]
2010-09-10 14:11:30 +00:00
Denis Flaven
3cc9d99aca - Fixed Trac #254: use external fields as reconciliation keys.
SVN:trunk[813]
2010-09-10 13:28:04 +00:00
Romain Quetiez
efc6246346 Removed unused code (clone - security breach)
SVN:trunk[812]
2010-09-10 13:05:43 +00:00
Romain Quetiez
2a4e649fd8 #90 Added a comment to differentiate changes made by the CSV import tool
SVN:trunk[811]
2010-09-10 13:02:43 +00:00
Romain Quetiez
0c4a030e2a Improved security
SVN:trunk[809]
2010-09-10 11:59:04 +00:00
Denis Flaven
463e7b5413 - Enhancement (Trac#189) first version of a (simple) End-Users portal.
- Fix for the appUserPreferences class

SVN:trunk[806]
2010-09-10 10:10:57 +00:00
Romain Quetiez
ad6669135c Fixed cosmetic issues is data model walker utility
SVN:trunk[803]
2010-09-09 14:57:38 +00:00
Romain Quetiez
5070dd2abe #260 Restrict some pages to administrators
SVN:trunk[800]
2010-09-09 05:44:18 +00:00
Denis Flaven
c91b99c6a3 - New Welcome popup message, displayed once per session at maximum.
SVN:trunk[797]
2010-09-08 08:23:52 +00:00
Romain Quetiez
32b337b9a8 #140 Check that user logins are unique
SVN:trunk[796]
2010-09-08 08:11:46 +00:00
Denis Flaven
39e943c20a - Fixing Trac #173. The unused states are now excluded from the graph.
- The path to graphviz installation (dot executable) is now configurable via the 'graphviz_path' config variable (defaults to /usr/bin/dot).
- If graphviz is present, the graph is generated on the fly, and using the current user's localization/translation for the state & transition names.

SVN:trunk[795]
2010-09-07 20:04:21 +00:00
Denis Flaven
306168c761 - FIxed Trac#21: comsetic enhancement to the final step of the CSV import wizard.
SVN:trunk[794]
2010-09-07 19:22:33 +00:00
Denis Flaven
82bcf663c4 Fixed Trac #252: pb when doing a CSV load with no header line.
SVN:trunk[787]
2010-09-07 08:10:49 +00:00
Romain Quetiez
5c4614a3af Dehardcoded against the DB engine (now defaults to myisam)
SVN:trunk[776]
2010-09-06 09:15:26 +00:00
Denis Flaven
7d327b1395 - Fixed Trac #158: removed (Debug) message about "applying a stimulus" to an object. The page just says "Object updated" as for any other kind of update.
SVN:trunk[770]
2010-09-05 16:23:44 +00:00
Denis Flaven
775524824e - Added a try/catch to nicely handle exceptions in these pages.
- Fixed Trac #240: Validation of the fields when pressing the "Back" button
- Fixed Trac #238: JS Error when pressin the "Next" button

SVN:trunk[763]
2010-09-05 09:43:26 +00:00
Romain Quetiez
8926e64bc2 #223 Trim spaces on CSV import was not handling well the last line
SVN:trunk[760]
2010-09-05 07:02:13 +00:00
Romain Quetiez
81cd840604 #234 Removed the error_reporting directive and implemented a workaround to reduce the potential warnings issued by PHP
SVN:trunk[759]
2010-09-03 22:20:16 +00:00
Denis Flaven
b1f877f845 Fixed bug #231: distinguish between external key (id) and external key (name) for loading fields that are external keys pointing to externla keys! Example: Connected To->Device is to be mapped to the Connected Interface's device NAME whereas Connected To->Device->id is to be mapped to the connected interface's device id
SVN:trunk[747]
2010-09-02 15:57:08 +00:00
Romain Quetiez
d813a7b10d Usability: reviewed navigation into the data model
SVN:trunk[743]
2010-09-02 06:26:11 +00:00
Romain Quetiez
3695475e9f Fixed bug: CSV import (interactive or web service) reporting change "on behalf of"
SVN:trunk[742]
2010-09-02 05:56:14 +00:00
Denis Flaven
b0d89dece3 - Sepcial corner case when loading objects with external keys and these externla keys themsleves have reconciliation keys that are also externla keys.
Example: On a person the field location_id
Can be specified by Location->Name and Location->Owner Organization (The 2 reconciliation keys for the class Location). The latter is also an external key, and therefore only an Id can be supplied for this field. Note that Location->Owner Organization->Name is not yet supported.

SVN:trunk[738]
2010-09-01 17:27:18 +00:00
Romain Quetiez
77159e8766 Notification were not working well with class hierarchy (not in Trac at that time)
SVN:trunk[734]
2010-08-31 21:11:11 +00:00
Denis Flaven
b9d168bb04 - Display the actual code of each state next to its label. This is useful for writing OQL queries and also triggers.
SVN:trunk[732]
2010-08-31 16:42:22 +00:00
Romain Quetiez
ac0b302e75 #213 Reset external keys upon object deletion
SVN:trunk[727]
2010-08-31 08:19:26 +00:00
Denis Flaven
ce02a39157 - Fixed Trac #215: support several characters encoding for the interactive CSV import.
SVN:trunk[726]
2010-08-31 08:15:35 +00:00
Romain Quetiez
b7131ba4db Improved the internal KPI reporting tools
SVN:trunk[722]
2010-08-30 22:14:04 +00:00
Romain Quetiez
ab808ebf93 #223 Trim spaces in CSV parsing
SVN:trunk[719]
2010-08-30 15:18:14 +00:00
Romain Quetiez
75bbad57fa Optimized roughly the load of user management data, and added a mean for quick profiling (to enable, add the setting log_duration)
SVN:trunk[711]
2010-08-29 19:49:17 +00:00