Commit Graph

644 Commits

Author SHA1 Message Date
Romain Quetiez
46005c19ce Allow the deletion of a shortcut while preserving it from being edited through UI.php
SVN:trunk[2499]
2012-12-04 14:46:18 +00:00
Romain Quetiez
1e155ffc13 Fixed stopper issue (found with an audit) due to copies of DBObjectSearch not cloned (or not cloned well)
There is still one place where this should be fixed, but it reveals another bug so we've decided to leave it as is for the moment (see comment in DBObjectSearch::AddCondition_PointingTo)

SVN:trunk[2497]
2012-12-04 13:26:48 +00:00
Denis Flaven
a0d267ed2f Bug fix: "Configure this list" was not working on some ,lists (with a ID containing a colon (:) from a Menu)
SVN:trunk[2488]
2012-11-30 16:57:37 +00:00
Romain Quetiez
941d056db4 Improved the query logging + replay mechanism
SVN:trunk[2484]
2012-11-30 13:27:07 +00:00
Denis Flaven
d69163199b Fix for Trac #569: Mandatory date (and time) fields are prefilled with the current date (and time).
SVN:trunk[2483]
2012-11-30 10:51:15 +00:00
Denis Flaven
b87abb7603 Make sure that we don't call OnFormCancel during a true submit.
SVN:trunk[2480]
2012-11-28 17:51:46 +00:00
Denis Flaven
0313f54d3e Fix for "undefined property" as reported in Trac#629
SVN:trunk[2479]
2012-11-28 17:50:24 +00:00
Denis Flaven
b3b19bcaf6 Prevent a undefined varialbe when logging directly to a details page (bookmarked page)
SVN:trunk[2475]
2012-11-28 09:04:28 +00:00
Denis Flaven
e0800944a8 Make sure that CSV files end with a proper carriage return
SVN:trunk[2474]
2012-11-28 09:03:30 +00:00
Denis Flaven
35a3b145f8 Regression from previous fix...
SVN:trunk[2461]
2012-11-23 17:01:00 +00:00
Denis Flaven
ea48279a90 Bug fix:
- Correct intial sort order of a table if the default sort column is not an "alphabetical" column (i.e. IP Address)
- Properly sort on the first column (name) when the name is made of a column with a different sort algorithm (i.e. IP Address).

SVN:trunk[2459]
2012-11-23 15:25:55 +00:00
Denis Flaven
1f9950507c Allow to automatically hide/show the menu pane as a parameter to the page (useful for automating the documentation)
SVN:trunk[2443]
2012-11-21 11:08:36 +00:00
Romain Quetiez
f196d03f6f error.log moved into the log directory
SVN:trunk[2437]
2012-11-21 10:19:28 +00:00
Romain Quetiez
7792b54d26 New feature: shortcuts to a search result. The feature is not automatically available with upgrade of custom versions -requires a ShortcutContainerMenuNode.
SVN:trunk[2431]
2012-11-16 11:21:00 +00:00
Romain Quetiez
6987db54b5 #614 Fixed regression on multi column queries (could not display Null objects)
SVN:trunk[2421]
2012-11-12 14:32:29 +00:00
Romain Quetiez
59b7c0c025 Bug fix: display an empty string for the friendlyname of a NULL external key
SVN:trunk[2418]
2012-11-09 16:49:17 +00:00
Romain Quetiez
247b1b4d78 Record the list of attachments (in EventNotificationEmail) + prerequisite to email-reply
SVN:trunk[2413]
2012-11-08 12:41:51 +00:00
Denis Flaven
15edf33a56 Edit in-place for audit rules from their category.
SVN:trunk[2391]
2012-10-26 14:25:23 +00:00
Denis Flaven
c39f11193e Beware: the 'lifecycle' directories contain big images. Exclude them from the list of icons.
SVN:trunk[2367]
2012-10-25 14:57:01 +00:00
Denis Flaven
f14ebdb019 Allow non-integer ranks on dashlets/cells
SVN:trunk[2366]
2012-10-25 14:55:47 +00:00
Romain Quetiez
cae32294a1 Integrated the multiple select in the portal (search closed tickets)
SVN:trunk[2362]
2012-10-25 14:24:38 +00:00
Denis Flaven
bbd581e9c5 Do not perform time consuming computations for building the menus if there are too many objects in a list (limit is configurable).
SVN:trunk[2345]
2012-10-24 14:17:27 +00:00
Denis Flaven
80ec842042 Slight (incomptaible!) modification to the dashboards format to support incremental changes through the XML.
SVN:trunk[2336]
2012-10-24 08:04:17 +00:00
Romain Quetiez
721faa7e1e Updated copyright (2012) and license (LGPL changed to AGPL)
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Romain Quetiez
3889bdf293 Fixed regression in 2.0: plugins ONDBInsert and ONDBUpdate where not called anymore
SVN:trunk[2330]
2012-10-23 09:26:28 +00:00
Denis Flaven
4981344c24 "Refresh" button replaced by an small icon
SVN:trunk[2329]
2012-10-23 09:11:10 +00:00
Denis Flaven
2ca4b02548 Bug fix: cloning a DBObject has a special meaning !!
SVN:trunk[2328]
2012-10-23 09:09:55 +00:00
Denis Flaven
9f47c09cdf Bug of month: make sure that GetFilter returns a usable filter (i.e. with the parameters)
SVN:trunk[2326]
2012-10-22 13:12:00 +00:00
Denis Flaven
bc6d3df0c2 EMail, CSV export and Add To Dashbaord menu items are now in the "toolkit" menu.
SVN:trunk[2313]
2012-10-20 20:14:01 +00:00
Denis Flaven
4efa2cb3c0 Added a refresh button (and creation /modification messages) on the details of an object
SVN:trunk[2311]
2012-10-20 17:16:46 +00:00
Denis Flaven
08a320cf2b Ajax file upload is now part of the standard JS includes in the iTop pages.
SVN:trunk[2306]
2012-10-20 13:36:20 +00:00
Denis Flaven
c05c1062ce Implemented the "multiple choices" in search forms for Enums and External keys.
SVN:trunk[2305]
2012-10-20 13:32:59 +00:00
Romain Quetiez
27fec353dd #593 Losing attachments when performing massive change
SVN:trunk[2301]
2012-10-19 15:11:53 +00:00
Denis Flaven
ab6cfb56b4 Fixed a regression: don't put some JS script in every ajax_page (even though they claim to contain some HTML)
SVN:trunk[2300]
2012-10-19 14:11:57 +00:00
Denis Flaven
7a817ad1d8 Localization for in-place edition of 1:n linksets
SVN:trunk[2298]
2012-10-19 10:52:47 +00:00
Denis Flaven
53aefa895b Implemented a new (optional) UI for managing 1:n linksets.
SVN:trunk[2290]
2012-10-18 12:03:33 +00:00
Romain Quetiez
c9d5743c4a Config: use app_icon_url to change the hyperlink used when clicking on the main icon
SVN:trunk[2289]
2012-10-18 10:17:49 +00:00
Romain Quetiez
ce77c65e6e #565 Fixed security issues (XSS)
SVN:trunk[2282]
2012-10-17 15:38:09 +00:00
Romain Quetiez
c45dbb2e07 Portal: enable adding dependent attributes in the request creation form
SVN:trunk[2270]
2012-10-17 12:03:29 +00:00
Romain Quetiez
b36ebc6e0f Fixed issue in the portal: the list of opened requests and closed request where messed up when pagination was activated on both lists
SVN:trunk[2267]
2012-10-17 09:02:24 +00:00
Romain Quetiez
b304307ad7 Spurious chars corrupting CSV download:
- factorized in WebPage as TrashUnexpectedOutput()
- added early tracking and reporting into MetaModel::IncludeModule, use the new config flag 'debug_track_spurious_chars' to blame the harmful module/file.
- protected export.php
- removed a space at the beginning of page 'createfrommail.php'

SVN:trunk[2260]
2012-10-16 13:06:50 +00:00
Romain Quetiez
6039ea47fc Bug: download CSV result with search criteria
SVN:trunk[2259]
2012-10-15 16:00:25 +00:00
Romain Quetiez
e33523ddc8 CSV import/export reworked:
Trac #174 and #283: import.php localized by default, option no_localize to disable
Trac #554: export.php localized by default, option no_localize to disable
Trac #555: friendlyname abusively used as a reconciliation key
+ Default charset is ISO-8859-1 to be compatible with Excel (See config parameter csv_file_default_charset)
+ CSV export in UTF-8 with BOM to help Excel in getting it right (not all versions)
+ Fixed reporting issues (wrong class, exceptions, changed external key)
+ Fixed settings lost when navigating in the import wizard
+ Fixed issues when some html entities were found in the data (reporting + export)
+ Added a link to download the CSV export.php


SVN:trunk[2253]
2012-10-12 15:48:54 +00:00
Romain Quetiez
7dbbb1c299 #439 Record and display changes in the link sets (ex: Members of a team)
#439 Make sure that changes made by a plugin get recorded
+ simplified the change tracking for the plugins. Simply call DBObject::DBInsert (resp. Update and Delete) and the change will be recorded for the current page. This is compatible with the old (not mandatory anymore) way that was requiring DBInsertTracked APIs (resp. Update, Delete).

SVN:trunk[2236]
2012-10-08 12:17:56 +00:00
Romain Quetiez
60cf926fdb Toolkit: deharcoded source directory
SVN:trunk[2234]
2012-10-05 12:02:05 +00:00
Romain Quetiez
6c1866ce89 Fixed cosmetic regression (seen on first login if the welcome popup is shown)
SVN:trunk[2232]
2012-10-05 08:19:37 +00:00
Denis Flaven
ef59badf5b Implementation of a new extension "iPopupMenuExtension" to allow a module to add menu items almost anywhere inside iTop.
SVN:trunk[2220]
2012-09-29 16:03:16 +00:00
Erwan Taloc
5ed95f3a1c Mahe sure a unique ID is define for DIV
SVN:trunk[2216]
2012-09-26 08:08:44 +00:00
Romain Quetiez
50f0358556 Fixed issues with accentuated characters in the graphs (bars or pie) - added a comment
SVN:trunk[2212]
2012-09-25 14:35:31 +00:00
Romain Quetiez
0e4c79b2e7 Fixed issues with accentuated characters in the graphs (bars or pie)
SVN:trunk[2211]
2012-09-25 14:30:52 +00:00