Romain Quetiez
b978a5d219
Fixed regression introduced in [3852] : setup not working anymore ($_SESSION is unset and a notice is issued, which can prevent the install from completing, depending on your PHP error level).
...
SVN:trunk[3891]
2016-01-28 11:11:12 +00:00
Romain Quetiez
3cfcbeb654
Internal: fixed the verb DBObjectSearch::IsAny
...
SVN:trunk[3886]
2016-01-26 14:49:37 +00:00
Guillaume Lajarige
e1409ba39c
Fixed a regression due to the DesignDocument factorisation :
...
- DesignDocument class : Namespace issue with DOMFormatException
- Compiler class : Parameters 2 & 3 of the DOMFormatException constructor needed to have a default value
SVN:trunk[3885]
2016-01-26 14:34:53 +00:00
Denis Flaven
ef6299c6b4
#1183 : more refactoring and some robustness enhancements after tests on big datasets.
...
SVN:trunk[3881]
2016-01-26 13:22:47 +00:00
Denis Flaven
9da19de860
Suppress "Notice" messages when iconv detects invalid UTF-8 characters, since it breaks the JSON output if display_errors in On...
...
SVN:trunk[3878]
2016-01-25 17:10:39 +00:00
Denis Flaven
764c551f0f
#1183 : grouping threshold is now taken int account for "Depends on..." graphs (i.e. grouping backwards)
...
SVN:trunk[3875]
2016-01-25 14:33:00 +00:00
Denis Flaven
410c47178d
#1176 : empty placeholders are represented by an empty string as in previous version.
...
SVN:trunk[3873]
2016-01-25 12:46:56 +00:00
Denis Flaven
61e2f97d6c
#1150 : Spurious message "A restore is running..." - FIXED !
...
SVN:trunk[3864]
2016-01-20 15:56:09 +00:00
Guillaume Lajarige
879f5d89b9
Moved static method GetAllowedPortals() from LoginWebpage class to UserRights class.
...
SVN:trunk[3862]
2016-01-15 10:32:17 +00:00
Romain Quetiez
6d23d64e8f
Code refactoring: eliminated duplicate code between MFDocument and ModuleDesign
...
SVN:trunk[3860]
2016-01-14 14:11:25 +00:00
Romain Quetiez
8c4e84dfaf
New type of attribute: AttributeMetaEnum.
...
Designed to cope with the need to select tickets by operational status. The value of this attribute is computed by the framework. It depends on the actual ticket status (that attribute cannot be known by the root class because its definition varies from one type of ticket to another).
The data model has been enriched with the new attribute Ticket::operational_status. Its value is 'active' unless the ticket status is either 'rejected', 'resolved' or 'closed'. The existing dashboards have been left unchanged but should be revised to fully benefit from the new attribute (e.g. Open requests, Open problems, etc.)
Note: the alpha version of the compiler had already been committed by mistake a few days ago.
SVN:trunk[3859]
2016-01-13 14:35:21 +00:00
Romain Quetiez
3be0bc8ca8
Improved the User Rights management API:
...
- new verbs: HasProfile and ListProfiles
- doing less queries (no need for listing all the profiles, caching the user profiles into the SESSION cookie
- did some code cleanup (unused variables)
SVN:trunk[3852]
2015-12-15 20:30:30 +00:00
Romain Quetiez
ab38ce63a5
Portal: let the administrator specify an alternative URL for the portals (rewriting rules)
...
SVN:trunk[3848]
2015-12-10 13:06:42 +00:00
Guillaume Lajarige
c69279ee20
Fixed a typo in ModuleDesignElement->Dump() function. Was creating an object of iTopDesignDocument class instead of ModuleDesign class.
...
SVN:trunk[3839]
2015-12-02 10:38:24 +00:00
Denis Flaven
a16e746aa1
Fixed the computation of the lowest common ancestor.
...
SVN:trunk[3837]
2015-12-02 10:32:37 +00:00
Romain Quetiez
b1f62c8409
Internal: dehardcoded OqlUnionQuery::GetClass against the metamodel reflection API
...
SVN:trunk[3836]
2015-12-01 16:23:35 +00:00
Romain Quetiez
4a85f7f12b
Added AttributeDef::EnumTemplateVerbs, to generate the documentation about the available attribute formatting placeholders
...
SVN:trunk[3835]
2015-11-30 16:56:22 +00:00
Denis Flaven
818be68c2d
Make sure we don't redefine CoreException.
...
SVN:trunk[3833]
2015-11-30 14:07:18 +00:00
Guillaume Lajarige
908b442b26
Core : Added CloneWithAlias function to DBSearch class. It creates a new DBObjectSearch from a DBSearch with a new alias.
...
SVN:trunk[3826]
2015-11-25 11:16:30 +00:00
Romain Quetiez
93654dc656
Core: a module can have its own design defined in XML (/itop_design/modules_designs/module_design) and accessed at run time via the class ModuleDesign. Switching to XML version 1.3.
...
SVN:trunk[3820]
2015-11-10 12:39:45 +00:00
Romain Quetiez
0f4301af01
Core API: added DBSearch:SetSelectedClasses
...
SVN:trunk[3815]
2015-11-09 10:35:51 +00:00
Romain Quetiez
d0a0d3c93c
Fixed regressions due to the recent code refactoring [3803]
...
SVN:trunk[3807]
2015-10-12 15:35:05 +00:00
Denis Flaven
2db785477c
Do NOT localize finalclass values in REST/JSON.
...
SVN:trunk[3805]
2015-10-12 12:39:09 +00:00
Denis Flaven
31ec3152f9
Code refactoring to make the OQL parsing self contained in the "oql" subdirectory.
...
SVN:trunk[3803]
2015-10-12 10:01:59 +00:00
Denis Flaven
7b8b469f5a
Added a version number (arbitrary initialized to 2015-08-31 for iTop v2.2.0) to the OQL Lexer/parser.
...
SVN:trunk[3801]
2015-10-12 09:52:39 +00:00
Romain Quetiez
bc4737ac23
#1159 Cannot add edge (impact analysis not working)
...
SVN:trunk[3799]
2015-10-09 15:25:18 +00:00
Denis Flaven
6dc190d369
Do not rely on MetaModel::GetRootClass() to check the data model, use the abstraction of ModelReflection instead to keep the code portable.
...
SVN:trunk[3797]
2015-10-08 15:54:23 +00:00
Denis Flaven
9980d2e72a
#1156 : properly escape file paths containing spaces
...
SVN:trunk[3795]
2015-10-05 19:52:06 +00:00
Denis Flaven
5c9b221b4c
Properly cut long case log entries before encoding them in HTML.
...
SVN:trunk[3779]
2015-09-22 12:52:28 +00:00
Denis Flaven
554a462809
Preserve the initial sort order on lists by determining the default sort order of the tables based on the equivalence between the "friendlyname" and another actual field of the class.
...
SVN:trunk[3774]
2015-09-17 17:22:07 +00:00
Denis Flaven
1206cc42bc
#1151 Error (with no explanation) when deleting some 1-N links
...
SVN:trunk[3773]
2015-09-17 17:00:56 +00:00
Denis Flaven
48ab835646
Concurrent lock still has some minor issues, don't enable it by default.
...
SVN:trunk[3772]
2015-09-17 16:39:05 +00:00
Denis Flaven
bcd9141db6
#384 : (continued) ActionEmail should bre read-able by everyone...
...
SVN:trunk[3771]
2015-09-17 15:33:41 +00:00
Denis Flaven
2d95c131fc
#384 : Triggers should not be in the "bizmodel" category. User rights do not apply to such objects...
...
SVN:trunk[3765]
2015-09-16 15:45:10 +00:00
Denis Flaven
6fd2c81315
History display enhancement: whenever a new case log entry is added, display its content in the history. The display is truncated at a configurable max length. The user can expand/collapse the truncated text, entry per entry. The text is not truncated when printing.
...
SVN:trunk[3759]
2015-09-14 13:46:48 +00:00
Denis Flaven
489820cfe7
#1049 : CSV import (and edition) of n:n links. The Differences() function is NOT commutative: the original value (i.e. the one from the database) must the the first argument.
...
SVN:trunk[3752]
2015-09-12 09:29:32 +00:00
Romain Quetiez
49a189c920
Internal: allow to stop a stop watch at a specified time (case exchange) -requires testing
...
SVN:trunk[3749]
2015-09-11 15:21:35 +00:00
Romain Quetiez
f26bcd812c
Could not add more than one link between a given server and a given network device. This is a regression in 2.2.0 beta. This issue affect N-N links where duplicates are allowed. One single link is being affected in the standard datamodel.
...
SVN:trunk[3745]
2015-09-11 12:03:22 +00:00
Denis Flaven
38b6582080
Finishing touch to the "Printer friendly version" of the details page.
...
SVN:trunk[3743]
2015-09-09 14:48:14 +00:00
Romain Quetiez
8b45928d11
Instrumented the code to help in solving the "restore runing" issue. Completion of commits [3733] znd [3595] = issue an exception if something is going wrong within iTopMutex::TryLock (exceptions are correctly handled in the various places where TryLock is invoked)
...
SVN:trunk[3736]
2015-09-09 09:23:54 +00:00
Romain Quetiez
96a4b83e31
Internal: buggy Exception handlers for some query APIs in CMDBSource
...
SVN:trunk[3734]
2015-09-08 15:46:09 +00:00
Romain Quetiez
62959a89bc
#1091 CAS memberships broken (parameter "cas_memberof" NOT given as a regular expression, bugged since iTop 2.0 or earlier)
...
SVN:trunk[3731]
2015-09-08 12:39:02 +00:00
Denis Flaven
664cfbf014
Better protection of the impact analysis against invalid configuration of the "Context".
...
SVN:trunk[3729]
2015-09-07 15:16:30 +00:00
Romain Quetiez
5fa83c84d3
Exports: attribute "final class" is either translated or not, depending on the no_localize option (all formats concerned with this option: CSV and spreadsheet -That field is not present in the XML format output)
...
SVN:trunk[3727]
2015-09-07 14:30:07 +00:00
Romain Quetiez
1bb2d168fa
Spreadsheet export: fix = do take the no_localize option into account
...
SVN:trunk[3726]
2015-09-07 14:27:55 +00:00
Denis Flaven
81d19c8804
Export bug fixes:
...
- Properly handle on utf-8 CSV exports
- Allow non administrators to run the export in interactive mode (since it is used by the "Export..." actions)
SVN:trunk[3723]
2015-09-07 13:27:27 +00:00
Romain Quetiez
40990020b1
#1140 UNION queries not working -in fact, loss of the optimization on column load when filtering on org hierarchies (retrofit possible but the fix will be located in MetaModel)
...
SVN:trunk[3721]
2015-09-07 10:30:58 +00:00
Denis Flaven
c852cd8e09
Regression due to the fix of #1107 (revision 3647): the settings query_cache_enabled was always written as "false" in the default configuration. This is now fixed.
...
Warning: if you upgrade your iTop installation from the 2.2 beta, you MUST change this value back to true in the configuration file to avoid a severe slow down of the application.
SVN:trunk[3719]
2015-09-04 13:31:25 +00:00
Romain Quetiez
5f0938d01b
Fixed regression introduced in 2.2.0 beta. Warning issued when opening an organization for modification
...
SVN:trunk[3717]
2015-09-04 12:44:14 +00:00
Denis Flaven
7fa99cedee
Impact analysis cosmetics:
...
- remove empty groups, since it may happen
- properly scale the borders of groups and redundancy groups
- automatically rescale the graph when showing/hiding the "Filter" tab
SVN:trunk[3715]
2015-09-04 09:22:36 +00:00