Commit Graph

3782 Commits

Author SHA1 Message Date
Guillaume Lajarige
b6eeaae24a (Retrofit from trunk) Portal: Added itopversion to js/css file urls to prevent cache issues when upgrading.
SVN:2.3[4527]
2016-12-14 11:22:20 +00:00
Denis Flaven
f1966619b9 (Retrofit from trunk) Support of the "target" attribute for links.
SVN:2.3[4525]
2016-12-14 11:17:04 +00:00
Denis Flaven
01fa323b38 (Retrofit from trunk) Support of text-align in the styles.
SVN:2.3[4523]
2016-12-14 11:15:31 +00:00
Denis Flaven
6dca5afc83 (Retrofit from trunk) Upgrade of CKEditor from 4.5.8 to 4.6.0 and addition of the formatting buttons:
- Font family
- Font Size
+ reordering of the toolbar buttons to have two lines of equivalent width.

SVN:2.3[4522]
2016-12-14 11:10:33 +00:00
Denis Flaven
aacdb525cf (Retrofit from trunk) N. 481:
1) wiki text syntax was not displayed in the description or case logs of the tickets
2) when wiki text syntax was supported, the generated hyperlinks were pointing to the console (instead of the portal)

SVN:2.3[4520]
2016-12-13 16:19:25 +00:00
Romain Quetiez
864033f27c (Retrofit from trunk) N.557 Date/date+time pickers in the legacy portal, not aligned with the configured date formats. Took the opportunity to implement time picking (thus aligned with any form of iTop)
SVN:2.3[4518]
2016-12-13 14:26:29 +00:00
Denis Flaven
15f900e630 (retrofit from trunk) N. 533: when reloading the ticket form (due to an alternate initial state path)
1) the value of some controls (non-text inputs in n:n links) was not preserved,
2) popup dialogs and CKEditor instances were not properly destroyed and re-created.

SVN:2.3[4516]
2016-12-13 10:56:03 +00:00
Guillaume Lajarige
c0ba515797 (Retrofit from trunk) N.474: Support for "file" attribute (AttributeBlob) in the portal. READONLY only for now.
SVN:2.3[4513]
2016-12-13 10:18:00 +00:00
Guillaume Lajarige
dd0eec3cc8 (Retrofit from trunk) N.551: Added spanish translations to the enhanced portal thanks to the community :)
SVN:2.3[4509]
2016-12-08 13:22:53 +00:00
Romain Quetiez
437ace992e (Retrofit from trunk) N.545 HTML images not displayed when no login is required for the page.
SVN:2.3[4507]
2016-12-08 12:47:44 +00:00
Guillaume Lajarige
60ae969c89 (Retrofit from trunk) N.481: Portal: Impossible to submit a form with a duration attribute. Also fixed the displayed value in tables (ManageBrick and BrowseBrick)
SVN:2.3[4505]
2016-12-08 11:38:09 +00:00
Romain Quetiez
bc0645d5cc (Retrofit from trunk) N.490 Losing carrier returns and rich text formatting when the latest comments are copied to child tickets
SVN:2.3[4503]
2016-12-08 10:27:00 +00:00
Guillaume Lajarige
760454608d (Retrofit from trunk) N.546: Portal: Edit value in case log was kept after UserRequest update.
SVN:2.3[4502]
2016-12-08 10:26:07 +00:00
Romain Quetiez
75fcd2a021 (Retrofit from trunk) N.500 Changed the query to fetch tickets related to a CI, so as to make it unambiguous whatever customization is made to the datamodel.
SVN:2.3[4499]
2016-12-08 08:23:55 +00:00
Romain Quetiez
ff1f3c185b (Retrofit from trunk) N.534 Cannot create a parent ticket from the ticket edition form. More generally, the object creation dialog box (opened by the mean of the PLUS button) fails as soon as any of the mandatory fields is an HTML field. Regression introduced in iTop 2.3.0, and due to HTML field edition widget (aka CKEditor) CI details)
SVN:2.3[4497]
2016-12-07 20:34:31 +00:00
Denis Flaven
a89252c6b3 (retrofit from trunk) N. 550 the OpCode cache may cause the upgrade of the datamodel to fail. Let's flush it after the compilation.
SVN:2.3[4495]
2016-12-07 17:37:22 +00:00
Romain Quetiez
d651196eae (Retrofit from trunk) N.539 Regression introduced in [r4451] on oct 7th. Some OQL were issuing a notice and some were generating a SQL query that would fail with error "Column 'functionalci_id' in where clause is ambiguous" (See CI details)
SVN:2.3[4493]
2016-12-05 12:54:32 +00:00
Romain Quetiez
73bedb1522 (Retrofit from trunk) Continuing [r4488] N.536 Regression introduced in [r4469] (N.505), itself fixing a regression introduced in [r4404]. REQUIRES TESTING
SVN:2.3[4491]
2016-12-05 10:00:27 +00:00
Romain Quetiez
b2f42ae3f4 (Retrofit from trunk) N.536 Regression introduced in [r4469] (N.505), itself fixing a regression introduced in [r4404]. REQUIRES TESTING
SVN:2.3[4489]
2016-12-02 20:43:17 +00:00
Romain Quetiez
44d3fb2738 (Retrofit from trunk) N.480 Page broken (missing menu + ...) when bulk modifying Document Notes (having various values)
SVN:2.3[4487]
2016-12-01 14:08:06 +00:00
Romain Quetiez
9a08895b2c (Retroffit from trunk) N.502 Too many backups on sundays
SVN:2.3[4484]
2016-12-01 09:53:15 +00:00
Romain Quetiez
3277be00c1 (Retrofit from trunk) N.527 Enable the template placeholders for AttributeCustomFields
SVN:2.3[4482]
2016-11-25 16:39:30 +00:00
Romain Quetiez
52e1a1d40a (Retrofit from trunk) N.520 Conflicts when upgrading modules in "extensions"
SVN:2.3[4480]
2016-11-22 09:00:22 +00:00
Romain Quetiez
89b4de01a9 (Retrofit from trunk) N.523 UserRights::ListProfiles must return an empty array if nobody is currently logged in (instead of a FATAL ERROR)
SVN:2.3[4479]
2016-11-18 15:49:03 +00:00
Denis Flaven
5d16ab9654 (retrofit from trunk): APCu comptability layer. Retrofit after validation.
SVN:2.3[4476]
2016-11-15 10:47:24 +00:00
Denis Flaven
61a006dfbe (retrofit from trunk) Support of non-case sensitive "forbidden values" in DesignerTextField
SVN:2.3[4474]
2016-11-04 16:19:15 +00:00
Romain Quetiez
e0f3cdac51 (Retroffit from trunk) N.505 Regression introduced in [r4404]. Security issue - Object visibility totally screwed the APC cache (user data) is enabled. This is a change in the way SQL queries are built and therefore requires testing.
SVN:2.3[4470]
2016-10-28 09:10:22 +00:00
Romain Quetiez
4a6e08e3e9 N.504 Could not jump into the designer (APC, random)
SVN:2.3[4468]
2016-10-27 15:00:14 +00:00
Denis Flaven
d13270acc7 (retrofit from trunk) Bug fix: creating a new DOM Node containing the string "0" resulted in an empty node (no DOMText).
SVN:2.3[4465]
2016-10-27 08:30:49 +00:00
Denis Flaven
e6aafc165b Bug fix: creating a new DOM Node containing the string "0" resulted in an empty node (no DOMText).
SVN:2.3[4464]
2016-10-27 08:29:48 +00:00
Guillaume Lajarige
49f72aee28 (Retrofit from trunk) #497 Portal : Could not update object due to "Warning: preg_match(): Unknown modifier '/'"
SVN:2.3[4462]
2016-10-21 08:46:38 +00:00
Guillaume Lajarige
45f4d8f625 (Retrofit from trunk) #475 Portal : Could not upload attachments on IE9.
SVN:2.3[4458]
2016-10-14 09:58:09 +00:00
Romain Quetiez
3992425a27 (Retrofit from trunk) N.466 HTML links with href="ftp://..." or "file://...". The filtering implemented by default (DOM Sanitization) now takes the configuration parameter url_validation_pattern into account. Thus aligning the behavior between HTML attributes and AttributeURL, and the automatic wiki formatting. By default, iTop allows the protocols http/https/ftp. To allow the 'file' protocol, edit the config file and change url_validation_pattern accordingly.
SVN:2.3[4456]
2016-10-10 16:03:32 +00:00
Guillaume Lajarige
64ef7fbc08 (Retrofit from trunk) Graph :
- Bar chart labels on x axis are now displayed vertically like in iTop 2.2. Also, when there are more than 24 labels, not all of them are displayed in order to keep the axis readable.
- Pie chart legend is now placed on the right side.

SVN:2.3[4454]
2016-10-10 13:16:03 +00:00
Romain Quetiez
5807ae79d2 (Retrofit from trunk) N.434 Optimized the DB queries. As an example, the query that shows the service catalog in the enhanced customer portal is now made of 5 nodes (at the class level) whereas it used to be made of 11 nodes... for the exact same results. This optimization impacts almost each queries built by iTop. The expected benefit can insignificant or not, depending on the cardinality of the data, the datamodel and the original OQL queries. We found one case where the query execution would apparently never end and it takes now less than a second. The OQL parsing is impacted too. This retrofit include [r4448] and [r4451].
SVN:2.3[4452]
2016-10-10 09:03:45 +00:00
Guillaume Lajarige
41f77f63fd (Retrofit from trunk) Portal : Final touch to AllowedOrganizations by settings ignore_silos to true for ServiceFamily/Service/ServiceSubcategory on the default portal configuration
SVN:2.3[4450]
2016-10-07 09:40:39 +00:00
Guillaume Lajarige
67148bc80d (Retrofit from trunk) Allowed organizations Part II.
r4428
Portal : Allowed Organizations part for action rules.
---------------------
r4422
Removed debug traces for AllowAllData
---------------------



SVN:2.3[4447]
2016-10-06 07:14:59 +00:00
Guillaume Lajarige
28fa99d976 (Retrofit from trunk) #1334 Portal : Sorting objects on BrowseBrick regarding the all classes' default order and not the first class' order only. (For example the services catalog might appear as sorted on the first column but not the second one)
SVN:2.3[4446]
2016-10-06 07:13:33 +00:00
Guillaume Lajarige
e1c51d278e (Retrofit from trunk on bahalf of rquetiez) N°436 Core API: Correctly (mathematically!) handle the "allow all data" flag, with UNIONS and INTERSECTIONS. Requires testing
SVN:2.3[4445]
2016-10-06 07:12:02 +00:00
Guillaume Lajarige
85b38a07ee (Retrofit from trunk on bahalf of rquetiez) #1323 error.log polluted with the contents of each email sent (transport = PHPMail)
SVN:2.3[4444]
2016-10-06 07:10:51 +00:00
Guillaume Lajarige
c3c314097e (Retrofit from trunk) Allowed organizations Part I.
r4412
Portal : Missing AllDataAllowed
---------------------
r4411
Portal : Typo
---------------------
r4409
Portal : Allowed Organizations Part II. Made sur that the AllowAllData flag was passed everywhere it was necessary, only when it was necessary. This has been tested but needs MORE testing !
---------------------
r4406
Portal : Renamed <ignore_allowed_organizations> to <ignore_silos> for a more generic aproch
---------------------
r4405
Portal : Allowed Organizations can now be applied on the portal scopes. Just set the <ignore_allowed_organizations> to true under the concerned <scope> tag.
---------------------


SVN:2.3[4443]
2016-10-06 07:09:12 +00:00
Romain Quetiez
7d774c7c88 (Retrofit from trunk) N.444 ... fixing regression introduced in [r4438]
SVN:2.3[4442]
2016-10-04 13:17:32 +00:00
Romain Quetiez
bbcd1ef22c (Retrofit from trunk) N.444 Two date picker icons (lifecycle shortcut to resolved state, or a datetime attribute on a link). Solved by a factorization of the widgets initialization so that the initialization be the same (must be idempotent)
SVN:2.3[4439]
2016-10-03 11:50:55 +00:00
Guillaume Lajarige
fba368fb46 (Retrofit from trunk) Portal : Bug when adding item on the first LinkedSet of an edition form
SVN:2.3[4437]
2016-10-03 08:02:40 +00:00
Romain Quetiez
2a9a373c61 (Retrofit from trunk) N.445 Specifying a date format (other than the default one) and allowing to create a user request in the resolved status results in an error when selecting the resolved status.
SVN:2.3[4434]
2016-09-30 14:18:24 +00:00
Guillaume Lajarige
42a882ae62 (Retrofit from trunk) Portal : Deadline attributes not displayed properly in ManageBrick
SVN:2.3[4432]
2016-09-30 12:51:49 +00:00
Guillaume Lajarige
634d96e23f (Retrofit from trunk) Resize on AttributeImage crashes when gd extension is not installed. Implemented a fallback so images are stored as is (original size) when gd extension is not available. A warning message is displayed during the setup.
SVN:2.3[4430]
2016-09-30 11:34:30 +00:00
Guillaume Lajarige
cc461630ea (Retrofit from trunk) Portal : ManageBrick crashing when displaying an abstract class with child classes attributes
SVN:2.3[4427]
2016-09-30 07:15:17 +00:00
Guillaume Lajarige
b3ca6f776e (Retrofit from trunk) Portal : Autocomplete bug with IE9 in forms
SVN:2.3[4425]
2016-09-29 10:17:44 +00:00
Romain Quetiez
dee911c12b (Retrofit from trunk) N.441 Character "à" in a case log causing the REST/JSON API to fail if mbstring is not enabled
SVN:2.3[4419]
2016-09-27 08:58:18 +00:00