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
161041d379
XML: the images specified in the branding or in module_designs can be given as a fileref or a path relative to the env-production directory
...
SVN:trunk[3861]
2016-01-15 09:21:32 +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
706940769b
Compiler: Model alterations not flattened prior to compilation (when using the setup UI) -no need for doing the job twice (compiling from within the toolkit)
...
SVN:trunk[3858]
2016-01-12 10:32:46 +00:00
Romain Quetiez
3fe2aa3b1d
Portal: Use absolute URLs for js+css embedded into iTop (login prompt not working with the usage of symlinks or rewrite rules)
...
SVN:trunk[3857]
2016-01-12 09:15:37 +00:00
Guillaume Lajarige
1f4d7f2a32
Updated licenses with Silex
...
SVN:trunk[3856]
2016-01-11 15:34:33 +00:00
Guillaume Lajarige
57f0cce318
Added Silex framework
...
SVN:trunk[3855]
2016-01-11 15:32:14 +00:00
Romain Quetiez
e95d0a4722
Compiler: Model alterations not flattened prior to compilation (when using the setup UI)
...
SVN:trunk[3854]
2016-01-11 14:28:02 +00:00
Denis Flaven
f37030fe26
internal: new autoOpen flag.
...
SVN:trunk[3853]
2016-01-06 17:38:05 +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
Denis Flaven
65a7a8ee56
Properly read radio button values inside a form.
...
SVN:trunk[3849]
2015-12-14 13:02:08 +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
Denis Flaven
e92c6e5298
(internal) Remove _altered_in when exporting the delta.
...
SVN:trunk[3847]
2015-12-09 15:23:46 +00:00
Denis Flaven
76df404c8d
Keep track of which module altered which node in the XML.
...
SVN:trunk[3845]
2015-12-09 14:56:51 +00:00
Guillaume Lajarige
d3a2841fef
Error : Deleted files from a wrong commit.
...
SVN:trunk[3844]
2015-12-07 11:47:17 +00:00
Guillaume Lajarige
d60a4aa740
Portal : Sample to show how to alter a twig template in the portal. This sample replaces the main page layout by putting the navigation bar on the left side (except for mobile where it stays on the top).
...
SVN:trunk[3843]
2015-12-04 12:57:50 +00:00
Guillaume Lajarige
6538d7af1e
DOMFormatException : Overloaded the constructor to add an optionnal parameter $node (\DOMNode) that will append informations about the node and the exception line number to $message.
...
SVN:trunk[3842]
2015-12-02 10:46:00 +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
Denis Flaven
7511391aed
Added structured error reporting in case of missing dependencies for the modules to install.
...
SVN:trunk[3831]
2015-11-25 16:55:58 +00:00
Denis Flaven
d0a50adf32
Properly create DOMNodes with a text content (beware of XML entities inside the text)
...
SVN:trunk[3829]
2015-11-25 16:52:49 +00:00
Denis Flaven
c9576c696a
Support validation patterns contains a forward slash
...
SVN:trunk[3827]
2015-11-25 16:49:20 +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
Denis Flaven
9687e9985e
Support of derived classes in "add_remove" edition mode for AttributeLinkSet fields (the search form was not refreshing / loading properly when toggling the class to search for).
...
SVN:trunk[3822]
2015-11-20 14:16:07 +00:00
Romain Quetiez
07e4b18d06
#1173 Error during setup on a development system (XML containing unwanted text)
...
SVN:trunk[3821]
2015-11-16 15:16:28 +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
Denis Flaven
4be5334829
Make ReloadSearchForm work properly when the "submit" event handler is declared either with or without a "namespace" portion (e.g. 'submit.itop' vs 'submit')
...
SVN:trunk[3816]
2015-11-09 10:43:01 +00:00
Romain Quetiez
0f4301af01
Core API: added DBSearch:SetSelectedClasses
...
SVN:trunk[3815]
2015-11-09 10:35:51 +00:00
Romain Quetiez
b071c47674
PHP warning issued when the CSS is rebuilt (SASS lib)
...
SVN:trunk[3814]
2015-11-09 10:26:11 +00:00
Romain Quetiez
05e9f394f0
Improved the error reporting when assembling data model XML files (full path and line number of the faulty node)
...
SVN:trunk[3813]
2015-11-06 11:35:46 +00:00
Denis Flaven
2027becad2
#1164 : typo in German localization.
...
SVN:trunk[3811]
2015-10-26 10:57:40 +00:00
Denis Flaven
e7170755d8
Support the download of "bigger-than-memory" backup files.
...
SVN:trunk[3809]
2015-10-26 10:38:57 +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
2d34510f50
Better error reporting when the setup fails to create a directory.
...
SVN:trunk[3793]
2015-09-30 14:08:04 +00:00
Romain Quetiez
ef57f870ac
Internal - MFFactory: fixed GetDelta when there is no change at all
...
SVN:trunk[3792]
2015-09-28 12:49:54 +00:00
Denis Flaven
7105b7a5fa
Make sure that the images are reloaded when the application is upgraded.
...
SVN:trunk[3789]
2015-09-22 16:14:37 +00:00
Denis Flaven
1992adfac2
Make sure that the images are reloaded when the application is upgraded.
...
SVN:trunk[3788]
2015-09-22 15:55:22 +00:00
Denis Flaven
c2e8eca577
Datamodel version number bumped to 2.2.0
...
SVN:trunk[3787]
2015-09-22 15:30:01 +00:00
Denis Flaven
0cc466dd7e
Make sure that the images are reloaded when the application is upgraded.
...
SVN:trunk[3786]
2015-09-22 15:16:12 +00:00
Denis Flaven
3eec1d358c
Make sure that the images are reloaded when the application is upgraded.
...
SVN:trunk[3785]
2015-09-22 15:14:04 +00:00