Guillaume Lajarige
df4cad3ff1
N°844 Portal: ExternalField support in forms has been improved. For example, email and url links were not displayed as proper HTML.
...
SVN:trunk[4854]
2017-08-08 11:59:53 +00:00
Romain Quetiez
43b8522b85
Rework of the edition of 1-N and N-N links: managed as a delta from the GUI down to the the lowest APIs.
...
- Fixes the management of obsolete linked data.
- N.744 Fixes concurrent modifications (example: a user modifies a team, another user modifies a person related to that same team). Still NOT fixed with the customer portal.
- N.849 Fixes links edition in the case some data are not allowed to the current user (organization silos) -TO BE TESTED
- #1145 Fixes the creation of duplicate links in one step (Server to NW Device)
- #1147 Fixes the update of duplicate links
SVN:trunk[4766]
2017-06-21 15:47:28 +00:00
Romain Quetiez
248f8d6fd4
Obsolescence: finalizing the implementation of the flag (hide obsolete objects, show an icon on hyperlinks and a tag on the object details, user preference defaulting to the new setting 'show_obsolete_data')
...
SVN:trunk[4739]
2017-05-17 08:51:10 +00:00
Romain Quetiez
44b53e40a0
Obsolescence: introduction of this new concept (wording could change later). The obsolescence of an object is computed after other attributes, by the mean of an OQL expression. The code has been refactored (again) so as to factorize between the computation of friendly names and the computation of obsolescence flags. The refactoring involved a significant AND RISKY change: external key friendly names (magic attributes) have been changed from AttributeFriendlyName to AttributeExternalField, which simplifies the SQL query build logic.
...
SVN:trunk[4732]
2017-05-11 11:58:42 +00:00
Guillaume Lajarige
1de6ac1765
Portal: AttributeImage can now be displayed in forms
...
SVN:trunk[4722]
2017-05-09 12:27:25 +00:00
Romain Quetiez
a8ad3004ea
Internal:
...
- code refactoring to generalize attributes based on an OQL expression (friendly name, obsolescence flag, ....). The intermediate class AttributeComputedFieldVoid has been swept in favor of the use of a new method: IsBasedOnOQLExpresssion.
- added an introspection API (experimental), allowing an external application to request for information about the capabilities of the framework (first step: list attributes and their main characteristics)
SVN:trunk[4720]
2017-05-05 15:08:49 +00:00
Romain Quetiez
8e046cafda
Archives: default label for the magic attributes archive_flag and archive_date
...
SVN:trunk[4699]
2017-04-27 08:43:45 +00:00
Romain Quetiez
fa2fd6dcdf
NEW! Archiving data. Archiving is a soft delete. It can be undone. Enter the archive mode to see all the data including archives (everything is read-only in that mode). Archiving must be enabled per class (data model). Archiving is achieved by the mean of the API DBObject::Archive (or Unarchive).
...
SVN:trunk[4692]
2017-04-26 09:52:20 +00:00
Guillaume Lajarige
2e8c629195
N°829 Portal: AttributeUrl was not clickable in the new portal
...
SVN:trunk[4686]
2017-04-19 15:36:00 +00:00
Romain Quetiez
751b7c8560
N.755 Case log latest entry preset with a copy of a case log coming from another ticket. The log gets corrupted after adding a new entry.
...
SVN:trunk[4666]
2017-04-04 12:58:02 +00:00
Guillaume Lajarige
ab6cd49fcb
Portal: Fixed friendlyname fields rendered as mandatory when they should have been readonly.
...
SVN:trunk[4658]
2017-04-04 08:01:47 +00:00
Romain Quetiez
772954711a
N.799 Setup failing (during database creation) with MetaEnum attribute having no mapping for the class they are declared in.
...
SVN:trunk[4636]
2017-03-30 19:23:43 +00:00
Romain Quetiez
435a177283
Suppressed warnings due to the error reporting. When one of the arguments in the call stack is an array, a warning (Conversion of an array into a string) is issued at the time the EventIssue is being recorded. When a posted parameter is an array, the same warning is issued at the time and EventIssue is being displayed.
...
SVN:trunk[4608]
2017-03-22 12:43:12 +00:00
Romain Quetiez
e41a8833e2
N.701 Data Synchro: dates can be reset by the mean of an empty string (still, integers and enums cannot be reset)
...
SVN:trunk[4596]
2017-03-17 09:14:11 +00:00
Guillaume Lajarige
68c180f7eb
N.474: Support for "file" attribute (AttributeBlob) in the portal. READONLY only for now.
...
SVN:trunk[4512]
2016-12-13 10:15:43 +00:00
Guillaume Lajarige
ffbd666aca
N.481: Portal: Impossible to submit a form with a duration attribute. Also fixed the displayed value in tables (ManageBrick and BrowseBrick)
...
SVN:trunk[4504]
2016-12-08 11:36:54 +00:00
Romain Quetiez
5336d9e965
Internal: improved the API robustness by throwing an exception as soon as DBObject::Set is called with a date badly formatted. This is in line with the assumption that internal DBObject values are always safe.
...
SVN:trunk[4435]
2016-09-30 14:22:13 +00:00
Guillaume Lajarige
a025c95054
Portal : External keys OQL now intersect with scopes in forms!
...
SVN:trunk[4380]
2016-09-06 07:04:24 +00:00
Romain Quetiez
3d57c720e0
Could not bulk import with the "final class" (interactive import).
...
SVN:trunk[4348]
2016-08-24 16:50:02 +00:00
Romain Quetiez
dee3d55af2
Code cleanup: removed unused parameter (not used, thus confusing)
...
SVN:trunk[4286]
2016-07-05 12:08:00 +00:00
Denis Flaven
a0965c2a52
Use the configurable date & time format for displaying the history of StopWatches.
...
SVN:trunk[4284]
2016-07-05 11:57:16 +00:00
Romain Quetiez
07db5855a2
Fixed regression in 2.3.0-beta: placeholder $public_log$ was generating a mix of plain text and HTML markup whereas only plain text is expected
...
SVN:trunk[4280]
2016-07-05 09:50:10 +00:00
Guillaume Lajarige
21e5ca484c
Export : Formatting dates from subitems in CSV, Excel, PDF exports
...
SVN:trunk[4271]
2016-07-01 09:45:58 +00:00
Romain Quetiez
33b46483a9
Placeholders in notification: fixed the error message when the given placeholder is invalid
...
SVN:trunk[4268]
2016-06-29 15:03:56 +00:00
Romain Quetiez
31a375f640
Custom fields: solidified the internal APIs against creative usages (null =>default value)
...
SVN:trunk[4248]
2016-06-22 14:12:53 +00:00
Romain Quetiez
963a09ba6f
Internal: fixed regression introduced in iTop 2.3.0 beta: no error though a mandatory attribute of type HTML has been left empty
...
SVN:trunk[4226]
2016-06-20 10:15:12 +00:00
Romain Quetiez
2e71aee720
Notice in schema.php (Admin tools / data model) when viewing the class UserRequest
...
SVN:trunk[4216]
2016-06-15 13:15:43 +00:00
Guillaume Lajarige
dfa855b4f7
Customer portal : ExternalField form field was crashing due to a typo.
...
SVN:trunk[4202]
2016-06-13 12:52:35 +00:00
Romain Quetiez
e48a1b1645
#1249 Fixed regression introduced in [r3916] (iTop 2.3.0 beta): AttributeHTML not working if the sql column name differs from the attribute code
...
SVN:trunk[4196]
2016-06-10 14:23:31 +00:00
Guillaume Lajarige
0050de641a
Customer portal : Added support for some AttributeType in forms (AttributeExternalField, AttributeHierarchicalkey, AttributeSubItem, AttributeDuration)
...
SVN:trunk[4169]
2016-06-02 07:47:28 +00:00
Denis Flaven
b97b9bf1d5
$this->head_html(log)$ and $this->head(log)$ now support both text and HTML case logs.
...
SVN:trunk[4136]
2016-05-25 08:59:26 +00:00
Romain Quetiez
1e719b97d8
New attribute: ImageAttribute
...
SVN:trunk[4129]
2016-05-24 15:29:44 +00:00
Denis Flaven
c914344a32
Security: do not show actual encrypted values, display '*****' instead.
...
SVN:trunk[4101]
2016-05-18 08:15:14 +00:00
Denis Flaven
72b4c549c7
Fix a regression (crash) when displaying deadline attributes.
...
SVN:trunk[4091]
2016-05-14 17:42:02 +00:00
Denis Flaven
ccddf1d4f0
Fix for editing HTML content containing html entities: & must be encoded as & as well !!
...
SVN:trunk[4049]
2016-05-10 19:26:02 +00:00
Guillaume Lajarige
aa788a7aad
Portal : Finished integration of Date & DateTime attributes in forms
...
SVN:trunk[4031]
2016-05-04 10:04:06 +00:00
Denis Flaven
3c4845cf99
#1215 : URL fields can now store up to 2048 characters
...
SVN:trunk[4030]
2016-05-04 09:55:24 +00:00
Guillaume Lajarige
2b12a86fa8
Portal : Finished integration of Date & DateTime attributes in forms
...
SVN:trunk[4029]
2016-05-04 09:42:14 +00:00
Denis Flaven
dc5040c1d2
Wiki syntax is supported in formatted (HTML) text fields as well as plain text areas.
...
SVN:trunk[4028]
2016-05-04 08:53:47 +00:00
Denis Flaven
3579f557d1
Support of date and time custom formats... for custom fields !!
...
SVN:trunk[4023]
2016-05-03 15:17:46 +00:00
Guillaume Lajarige
dd41dc05f5
Refactoring for AttributeDateTime in the portal
...
SVN:trunk[4021]
2016-05-03 14:44:12 +00:00
Guillaume Lajarige
f247b89342
Refactoring for AttributeDateTime in the portal
...
SVN:trunk[4020]
2016-05-03 14:40:56 +00:00
Denis Flaven
5386662146
Support of date and time custom formats... continuing towards the beta !
...
SVN:trunk[4019]
2016-05-03 09:56:02 +00:00
Romain Quetiez
5d5b61d956
Wiki syntax: allow white spaces in the specification of a link to an object (form: [[<class>:<friendlyname>]])
...
SVN:trunk[4016]
2016-04-28 11:48:03 +00:00
Denis Flaven
8eba9ae714
Enhancement: Date and time formats are now configurable in iTop !! (beta version, beware!)
...
SVN:trunk[4011]
2016-04-22 09:26:27 +00:00
Guillaume Lajarige
8834e1b49c
- Added support for ExternalKey, LinkedSet, linkedSetIndirect, CaseLog to the new portal
...
- Fixed some bugs on the customfields integration with he portal
SVN:trunk[4003]
2016-04-18 15:07:58 +00:00
Romain Quetiez
21564ff340
CustomFields: overload AttributeDefinition::Fingerprint
...
SVN:trunk[3997]
2016-04-15 09:05:39 +00:00
Guillaume Lajarige
2a5ca467fd
Alpha 2.3.0 fixes :
...
- Multiple request templates on portal
- SelectField interface stabilization
- UI fixes on portal
- Forms updates on lifecycle
SVN:trunk[3970]
2016-03-29 12:33:08 +00:00
Romain Quetiez
847c1d2736
Custom fields: track the changes and improve the robustness with regards to the Exception thrown by the handler. Also fixed an issue with DBObject, causing the custom fields to be written several times if invoking DBUpdate more than once. Theoretically, this issue affects any type of attribute.
...
SVN:trunk[3966]
2016-03-24 10:49:04 +00:00
Romain Quetiez
ea31d71d16
Custom fields: check data against the form prior to recording (do not rely solely on the HTML form)
...
SVN:trunk[3963]
2016-03-22 09:02:03 +00:00