Romain Quetiez
d7ee97f5a4
(Retrofit from trunk) Prerequisite for #1334 . New API: DBObjectSet::SetOrderByClasses. Helper to sort on multicolumn queries (SELECT a, b FROM)
...
SVN:2.3[4414]
2016-09-23 15:31:18 +00:00
Romain Quetiez
bfcc6ea239
(Retrofit from trunk) #1178 Internals: Object Update/Reload should never fail: as soon as a given object has been read in the current execution context, updating/reloading it is not an issue.
...
SVN:2.3[4403]
2016-09-15 10:03:41 +00:00
Romain Quetiez
a574b1b4e8
(Retrofit from trunk) #1325 Could not declare an ext key to a subclass (view could not be created). This commit is minimalistic and aims at being retrofitted into the various branches of iTop. It will be followed by a second commit, which aims at completing the fix by aligning the internal data structures of iTop... and possibly fix an issue (?)
...
SVN:2.3[4400]
2016-09-14 15:54:33 +00:00
Romain Quetiez
49a1052333
(Retrofit from trunk) Fixes a regression introduced in [r4385] and causing a blank screen when editing an object
...
SVN:2.3[4391]
2016-09-06 13:51:15 +00:00
Romain Quetiez
a222f296ef
(Retrofit from trunk) Rich text editor: the Maximize button icon is missing if iTop is installed in a directory which name contains spaces
...
SVN:2.3[4385]
2016-09-06 09:36:57 +00:00
Guillaume Lajarige
096236cb3a
(Retrofit from trunk) Portal : External keys OQL now intersect with scopes in forms!
...
SVN:2.3[4381]
2016-09-06 07:06:13 +00:00
Romain Quetiez
600c447529
#1321 Losing table borders (and other options configurable in the rich text editor)
...
SVN:2.3[4377]
2016-09-05 13:06:51 +00:00
Guillaume Lajarige
4f1be53b68
(Retrofit from trunk on behalf of rquetiez) Improved the comments for access_mode in the config file
...
SVN:2.3[4375]
2016-09-02 14:14:56 +00:00
Romain Quetiez
dfdec57d3f
(Retrofit from trunk) CSV import failing with final class (localized value not taken into account)
...
SVN:2.3[4349]
2016-08-24 16:58:32 +00:00
Denis Flaven
43dd075c44
(retrofit from trunk) Regression introduced after 2.3.0-beta [r4217]: broken links to download / display blobs.
...
SVN:2.3[4320]
2016-08-10 15:55:31 +00:00
Denis Flaven
1632c51abd
(retrofit from trunk) Performance optimization: do not load all the columns when it is not needed.
...
SVN:2.3[4318]
2016-08-10 14:58:59 +00:00
Denis Flaven
45c0ad5597
(retrofit from trunk) Image upload inside CKEditor (via drag and drop) seems to be desactivated on IE9.
...
SVN:2.3[4316]
2016-08-05 10:19:30 +00:00
Denis Flaven
e553c0bbe1
Prevent timeouts during the (lengthy) PDF conversion...
...
SVN:trunk[4293]
2016-07-06 09:43:20 +00:00
Denis Flaven
18f15ba9cc
Fixed the case for the Emogrifier includes.
...
SVN:trunk[4292]
2016-07-06 09:22:43 +00:00
Denis Flaven
775ed7d437
Regresssion of iTop 2.3.0 beta: properly load the metamodel from the environment.
...
SVN:trunk[4287]
2016-07-05 13:37:40 +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
0d48e40c18
Regresssion: properly compute & record the history of StopWatch's sub-items.
...
SVN:trunk[4285]
2016-07-05 12:07:20 +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
Romain Quetiez
396c4564b4
HTML formatting: TWO fixes in one! Fixed a bug introduced in 2.3.0-beta: the stylesheet cannot be defined within the email templates (aka ActionEmail) anymore. Instead, a default (ready for use) stylesheet is provided into /css/email.css and it can be overriden by the configuration parameter email_css. The fix consists in transforming the stylesheet into inline style... which fixes a limitation of gmail and Outlook that support only the inline styles. The implementation relies on a new library: emogrifier. This library has been changed (home-made utility) to be compatible with PHP 5.3 (declaration of arrays).
...
SVN:trunk[4277]
2016-07-04 15:06:28 +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
Guillaume Lajarige
970f75d5e2
PDF export : Exporting objects with AttributeImage value to default was crashing due to a "division by zero". Fixed.
...
SVN:trunk[4267]
2016-06-29 14:05:24 +00:00
Denis Flaven
18de167d5e
Internal: context tags to (programmatically) identify the context of the execution.
...
SVN:trunk[4259]
2016-06-23 14:57:37 +00:00
Denis Flaven
1e6ab3bdf0
Support of Custom Fields in the Excel export... not really nice but should be usable.
...
SVN:trunk[4256]
2016-06-23 09:26:24 +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
3c9072bb65
OQL: fixed an old limitation, hierarchies can now be expressed both ways. Example of a query that now works fine: SELECT Organization AS root JOIN Organization AS child ON child.parent_id BELOW root.id WHERE child.name LIKE 'Combodo'. In the previous implementation, the operator was interpreted as '='.
...
SVN:trunk[4233]
2016-06-21 14:38:08 +00:00
Denis Flaven
fa2c234a43
"Search Drawer" is closed by default, unless the configuration parameter "legacy_search_drawer" is set to "true".
...
SVN:trunk[4232]
2016-06-21 10:20:20 +00:00
Denis Flaven
2773419faa
New field on the User class to enable/disable user accounts.
...
SVN:trunk[4230]
2016-06-21 09:22:14 +00:00
Romain Quetiez
b54f78ab1a
Internal: DBSearch::Intersect to throw an exception whenever any of the merged queries have a queried class that does not correspond to the first joined class. This is a limitation of the current implementation of Intersect. Allowing such use cases would require quite a rework of that API.
...
SVN:trunk[4227]
2016-06-20 14:05:11 +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
Denis Flaven
9b774d3f72
- Make sure that the CSV Parser has enough time to run on big amount of data.
...
- Speedup the display of the CSV Import interactive wizard by parsing only the needed lines of the CSV data (in the first steps of the wizard).
SVN:trunk[4223]
2016-06-17 08:41:20 +00:00
Romain Quetiez
52309bb1e5
Improved images caching: since 2.3.0-beta, iTop handles inline images (case logs, ticket description) and a picture for a person (AttributeImage). This code refactoring handles a case where the browser checks for the validity of the image and the 304 response code can then be returned without checking anything because we assume that the URL of the image contains a signature of it (or the data cannot change -attachement and inline images are in this case).
...
SVN:trunk[4217]
2016-06-16 08:23:15 +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
Denis Flaven
899ea36bcc
Typo !
...
SVN:trunk[4206]
2016-06-14 08:36:54 +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
Romain Quetiez
09fad78952
#1223 Custom lifecycle actions: improved the reporting when an action returns false (class/function/id logged into error.log)+ the framework now considers that no return value is equivalent to 'true'
...
SVN:trunk[4195]
2016-06-10 13:59:56 +00:00
Romain Quetiez
e8fb1cf236
#1207 Customization: allow the implementation of interfaces by the mean of abstract classes
...
SVN:trunk[4193]
2016-06-09 15:24:21 +00:00
Romain Quetiez
c92b0ea8f7
Internal: Email generation - No need to force "Content-Transfer-Encoding: 8bit". The default is "quoted-printable" and works fine if the content is made of plain text. Leaving the 8bit encoding could work but in such a case, the statement should be:
...
$oEncoder = new Swift_Mime_ContentEncoder_PlainContentEncoder('8bit', true /*canonicalize*/);... otherwise the lines get truncated at random places (CRLF is assumed while PHP EOL is made of CR only!) -This has an impact on plain text email only.
SVN:trunk[4186]
2016-06-08 10:01:17 +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
Romain Quetiez
1fb346da67
#1235 Internal: DBObject API - external fields not up to date after changing the external key (though they seem to be in sync when inspecting the internal values, Get() does not return the expected value).
...
SVN:trunk[4165]
2016-06-01 14:13:20 +00:00
Guillaume Lajarige
43106d3a77
#1251 Disabling log notification in config causes a fatal error
...
SVN:trunk[4163]
2016-06-01 09:15:24 +00:00
Denis Flaven
22f73506a2
Support for objects to go "out of the silo" during a transition by making sure that we can reload an object we've just saved.
...
SVN:trunk[4144]
2016-05-25 12:32:32 +00:00
Denis Flaven
201f5118b3
Fine tuning of the default value for display_max_width.
...
SVN:trunk[4139]
2016-05-25 09:29:43 +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
a91723befe
Missing dictionary entry for the PDf export options.
...
SVN:trunk[4127]
2016-05-24 13:43:09 +00:00
Denis Flaven
7761404755
Date and time format: exports finalization.
...
SVN:trunk[4117]
2016-05-23 14:39:21 +00:00
Denis Flaven
7a6e47f067
Properly display the date value (and not the current date) in the export preview.
...
SVN:trunk[4116]
2016-05-23 13:05:10 +00:00