Commit Graph

197 Commits

Author SHA1 Message Date
Denis Flaven
c1fce0d68a Implementing the use of GetDisplayValue for editing attributes
SVN:trunk[1692]
2011-11-23 15:51:59 +00:00
Denis Flaven
22f79b7d99 Properly handle restrictions (e.g. AllowedValues) on objects that are used as n:n relationships managed via LinksWidget.
SVN:trunk[1684]
2011-11-21 13:00:36 +00:00
Denis Flaven
7658f5dba5 Properly handle restrictions (e.g. AllowedValues) on objects that are used as n:n relationships managed via LinksWidget.
SVN:trunk[1682]
2011-11-21 10:40:00 +00:00
Denis Flaven
5041ec2e0c Regression on accentuated characters due to bad (forgotten) encoding on htmlentities (Trac #446)
SVN:trunk[1567]
2011-09-09 16:18:01 +00:00
Denis Flaven
c4db9cd84e More fixes for Trac#446: XSS vulnerabilities with vectors containing double quotes
SVN:trunk[1563]
2011-09-08 13:21:32 +00:00
Denis Flaven
69368a39cb Fix radio buttons for enum values.
SVN:trunk[1558]
2011-09-06 12:47:42 +00:00
Romain Quetiez
5fcea9bf69 #437 Regressions in the beta - wrong reporting of the bulk update
SVN:trunk[1542]
2011-08-30 15:09:54 +00:00
Denis Flaven
6df6e4a9cc - Allow creation of an ticket in a different initial state via the new 'initial_state_path' attribute.
- Support update of CaseLog fields in bulk_modify mode.

SVN:trunk[1517]
2011-08-25 16:04:58 +00:00
Denis Flaven
872a424a78 Bug fix: allow modifying an object as if in target state, before applying the stimulus (cf PortalWebpage).
SVN:trunk[1508]
2011-08-24 16:00:28 +00:00
Denis Flaven
c6865cf63d Default shortcut actions are now a parameter
SVN:trunk[1503]
2011-08-24 14:11:25 +00:00
Denis Flaven
264af56591 Pass the final class to GetShortcutActions
SVN:trunk[1498]
2011-08-23 13:56:09 +00:00
Denis Flaven
d05ea1863c Fixed a (post 1.2-beta) regression: bulk modify and bluk apply stimulus were broken.
SVN:trunk[1483]
2011-08-21 16:41:23 +00:00
Denis Flaven
e2aa3cc69f Enhancement: provide a warning (popup) message when navigating away from an edition form.
SVN:trunk[1479]
2011-08-19 15:50:17 +00:00
Denis Flaven
58e61c9d6b A mandatory case log field is now considered as 'filled' if it contains a previous entry
SVN:trunk[1467]
2011-08-18 10:44:37 +00:00
Denis Flaven
ddd98b9335 Different display for 'Date' fields: shorter field than DateTime since there is no "time" part.
SVN:trunk[1466]
2011-08-18 09:51:10 +00:00
Romain Quetiez
c7e8627679 Fixed regression on the paginated lists
SVN:trunk[1462]
2011-08-17 15:56:34 +00:00
Denis Flaven
1357e7e225 Bug fix: paginated display was always displaying 5 items by default...
SVN:trunk[1459]
2011-08-16 16:42:02 +00:00
Denis Flaven
cb55a75bcf Allow updating/recomputing of read-only attributes on the fly in the edit form.
Also fixed a regerssion due to #446

SVN:trunk[1457]
2011-08-16 15:58:09 +00:00
Denis Flaven
51bd6cdf97 #446 continuing: sanitizing parameters...
SVN:trunk[1451]
2011-08-15 13:55:59 +00:00
Denis Flaven
f481652666 Trac #445: output of export.php should not be "paginated" !
Bug fix: the number of items displayed in the "paginated" view should be "min_display_limit", as listed in the drop down-box and not always 10 !

SVN:trunk[1446]
2011-08-11 11:59:55 +00:00
Denis Flaven
6859326646 Fixed Trac#446: XSS vulnerabilities... to be tested !
Also fixed the display/download links on documents that were both doing exactly the same thing !

SVN:trunk[1443]
2011-08-11 10:17:03 +00:00
Denis Flaven
aa9d9ed578 New config parameter: buttons_position: top | bottom | both
SVN:trunk[1436]
2011-08-09 07:47:50 +00:00
Denis Flaven
f16997fb2d Productivity enhancement: apply directly the 'next_action' when creating or modifying an object with a life-cycle !
SVN:trunk[1434]
2011-08-08 15:40:51 +00:00
Denis Flaven
3393808c7a - Enhancement: can now specify 'order_by' in 'list' templates.
- New 'Shortcut Actions' displayed as buttons next to the 'Actions' popup menu.

SVN:trunk[1431]
2011-08-08 12:35:43 +00:00
Denis Flaven
435d943f47 Cleanup of the way objects are displayed/edited: DisplayBareProperties is now used for displaying (i.e. read-only) or modifying/creating an object. The means that:
1) the display/edition can be customized by overloading this method
2) the plug-ins's method OnDisplayProperties is now called in edition as well

A new class of template is introduced for building custom object displays: ObjectDetailsTemplate.

SVN:trunk[1429]
2011-08-07 08:12:07 +00:00
Denis Flaven
23b1d15b64 New attribute 'display_style' for Strings, Enums and ExternalKeys: when the list is short, display it as a set of radio buttons instead of a drop-down list. Possible values: 'radio', 'radio_vertical' and 'radio_horizontal'. ('radio' == 'radio_vertical').
SVN:trunk[1426]
2011-08-06 09:51:06 +00:00
Denis Flaven
5d8acbb41a New type of trigger: TriggerOnPortalUpdate, called when the end-user updates a ticket from the portal.
SVN:trunk[1420]
2011-08-03 10:36:34 +00:00
Denis Flaven
9bcf78bfd6 Enhancement: the number of items is displayed (statically) in the header of the each "details" tab.
SVN:trunk[1398]
2011-07-31 10:45:03 +00:00
Denis Flaven
3c76b90a48 Added an option to the paginated display: display all elements on one page.
SVN:trunk[1374]
2011-07-27 10:24:06 +00:00
Denis Flaven
a2b8813628 - Renamed the method 'UpdateObject' into 'UpdateObjectFromPostedForm' to avoid misunderstandings.
- Fixed (again !) Trac #427: unable to empty a linkset when editing an object.

SVN:trunk[1370]
2011-07-26 16:18:19 +00:00
Denis Flaven
ecca1aa070 Use absolute URLs as much as possible to be independent from the page being executed...
SVN:trunk[1365]
2011-07-26 13:22:45 +00:00
Denis Flaven
0c539aada9 Always display the number of elements (and the number of elements selected) when displaying a list.
SVN:trunk[1354]
2011-07-25 12:22:49 +00:00
Romain Quetiez
a991a84a8e New feature: online help on search inputs (date format and operators)
SVN:trunk[1341]
2011-07-08 11:40:57 +00:00
Romain Quetiez
532912984d Preset the object creation form with values (scalars or lists) by the mean of GET arguments. E.g. .../UI.php&operation=new&class=Team&default[org_id]=161&default[member_list][-1234][id]=&default[member_list][-1234][role]=manager
SVN:trunk[1340]
2011-07-07 15:45:35 +00:00
Denis Flaven
52fb63c0ee Handle the OnBeforeUnload events to call OnFormCancel handlers when needed so that the plug-ins have a chance to perform some cleanup.
SVN:trunk[1328]
2011-07-05 08:46:31 +00:00
Denis Flaven
8a547bf104 Internal regressions fixes !!!
SVN:trunk[1327]
2011-07-04 16:36:07 +00:00
Romain Quetiez
c7fbe56423 PPortal web page improvements: protected update feature (class/attcodes explicitely restricted)
SVN:trunk[1324]
2011-07-04 09:54:58 +00:00
Denis Flaven
6297526da6 Fixed Trac #427: unable to remove all items from a linkset when editing an object.
SVN:trunk[1322]
2011-07-04 08:21:19 +00:00
Denis Flaven
9e01277e49 New implementation for displaying long lists: pagination
SVN:trunk[1308]
2011-06-29 08:56:27 +00:00
Romain Quetiez
1964658584 Fixed an issue in the internal error reporting (user rights not sufficient to update an object)
SVN:trunk[1303]
2011-06-28 10:23:41 +00:00
Romain Quetiez
54d5497f0a Fixed issues with pagination + core limitations in the use of Object Sets (wrong filter when adding objects to a set)
SVN:trunk[1300]
2011-06-24 09:53:45 +00:00
Denis Flaven
43315f50ea New implementation for displaying long lists: pagination
SVN:trunk[1297]
2011-06-23 11:01:03 +00:00
Denis Flaven
02cafd0e0b - New implementation of the UIExtKeyWidget that is no longer limited to editing an attribute of an object
- When needed the drop-down list of organizations is replaced by an autocomplete

SVN:trunk[1283]
2011-06-15 17:05:58 +00:00
Romain Quetiez
4681b03646 #122 Optimized the load of data set (do not load unused columns, was provoking the swapping of MySQL tmp memory tables)
SVN:trunk[1281]
2011-06-15 11:59:25 +00:00
Romain Quetiez
a0900cd732 Optimization: do not load the full set of items when it comes to displaying an autocomplete!
SVN:trunk[1275]
2011-06-08 13:30:56 +00:00
Romain Quetiez
5c7c7b98ee Dehardcoded against 'ticket_log', allowing for several case log attributes
SVN:trunk[1270]
2011-05-19 14:38:46 +00:00
Denis Flaven
b68ac3916f Aligned the display of the case log (and properties) of a ticket in the User Portal to what is done in the normal UI: better look (multi-column, fieldsets, wider case log at the bottom).
SVN:trunk[1240]
2011-04-26 16:49:28 +00:00
Romain Quetiez
e5c46340d1 Plugin API: added OnIsModified()
SVN:trunk[1239]
2011-04-26 16:03:01 +00:00
Romain Quetiez
b7bd1a5943 Data synchro: if the object is deleted from within iTop, do cleanup sync table and replica as well
SVN:trunk[1223]
2011-04-21 09:04:34 +00:00
Romain Quetiez
8ff40fb4b8 Deletion: entirely reviewed to take into account the objects being synchronized by an external data source, or the plugins constraints.
SVN:trunk[1194]
2011-04-08 11:29:25 +00:00