Commit Graph

156 Commits

Author SHA1 Message Date
Romain Quetiez
b3dadcba77 Reintegrated from branch 1.2: capability to develop a module to share objects between organizations (beta)
SVN:trunk[1859]
2012-02-17 15:11:00 +00:00
Denis Flaven
92c1a4af63 Delay the storage of the dictionary in the cache to allow for its alteration during the initialization of the classes
SVN:trunk[1857]
2012-02-17 12:50:22 +00:00
Romain Quetiez
d4816ddc51 Implemented the capability to modify queries by the mean of a plugin (reintegrated from branch 1.2, release candidate)
SVN:trunk[1849]
2012-02-08 15:16:16 +00:00
Romain Quetiez
e9f707e480 Improved the check on data model consistency: detection of SQL columns used by two attributes
SVN:trunk[1802]
2012-01-24 13:07:05 +00:00
Romain Quetiez
39de3e9af7 De-hardcoded against the subdirectory "modules" (excepted the data model sources files)
SVN:trunk[1779]
2012-01-17 15:31:51 +00:00
Romain Quetiez
a362494354 Fixed cosmetic bug (class icon - loss of styles)
SVN:trunk[1766]
2012-01-13 09:19:12 +00:00
Romain Quetiez
87bf09995d Updated session mechanisms: itop_env defaults to 'production', and adapted the setup to create the configuration
SVN:trunk[1762]
2012-01-12 14:46:49 +00:00
Romain Quetiez
6a9ea25b27 Setup based on either compiled modules or xml datamodel files (or both).
SetupWebPage is an alias for ModuleDiscovery and the module files should be updated progressively to invoke ModuleDiscovery::AddModule() instead.
The implementation of the module still assumes they are in the directory 'modules'... this has to be changed later to ensure the distinction between the source modules and the executed modules

SVN:trunk[1758]
2012-01-11 15:04:15 +00:00
Romain Quetiez
d8fc264adf Synchro: need to order the replicas by id for the split algorithm to work fine
SVN:trunk[1734]
2011-12-21 10:03:23 +00:00
Romain Quetiez
dfe7997f53 Added helpers to export the datamodel
SVN:trunk[1653]
2011-11-04 11:48:42 +00:00
Romain Quetiez
f8a582b375 New helper class: TemplateString - to allow extended syntaxes such as $this->location_id->org_id->parent_id->name$... to be progressively introduced and replace the heavy ToArgs()
SVN:trunk[1645]
2011-10-24 13:37:37 +00:00
Romain Quetiez
ff201e8b8a Improved the upgrade/toolkit: make sure that NULL is allowed for SQL columns found in the DB but not defined in the data model (attribute removed or renamed)
SVN:trunk[1637]
2011-10-20 11:45:52 +00:00
Romain Quetiez
f7be35848c Internal: detect unused columns while upgrading
SVN:trunk[1535]
2011-08-29 15:37:58 +00:00
Romain Quetiez
54f3dec7a9 Upgrade: fails to recreate a view when is has become invalid (missing attribute)
SVN:trunk[1530]
2011-08-29 13:18:30 +00:00
Romain Quetiez
2ee85dd407 Customization: added a check against reuse of an attribute code (collision can happen easily with inheritance)
SVN:trunk[1518]
2011-08-25 16:10:57 +00:00
Denis Flaven
6df6e4a9cc - Allow creation of an ticket in a different initial state via the new 'initial_state_path' attribute.
- Support update of CaseLog fields in bulk_modify mode.

SVN:trunk[1517]
2011-08-25 16:04:58 +00:00
Romain Quetiez
38591f444e Fixed regression on latest fix (Hkeys and inheritance)
SVN:trunk[1500]
2011-08-24 10:49:39 +00:00
Denis Flaven
9d9d53c967 Fix regression on hierarchical keys
SVN:trunk[1496]
2011-08-23 11:14:25 +00:00
Romain Quetiez
92ac1fe2ca #148 Allow overloading attribute/enum labels in the dictionary
SVN:trunk[1477]
2011-08-19 15:30:43 +00:00
Denis Flaven
7cf0e2f747 Bug fix: incorrect detection of the need to fix HK, leading to incorrect data in case of upgrade.
SVN:trunk[1463]
2011-08-18 07:01:08 +00:00
Denis Flaven
2ad9d69396 Implemented the OQL operator ABOVE (and its variants ABOVE STRICT, NOT ABOVE and NOT ABOVE STRICT) that returns the (indirect) parents of a given node in a hierarchy. It's the opposite to 'BELOW' that returns the (indirect) children.
SVN:trunk[1454]
2011-08-16 08:14:11 +00:00
Denis Flaven
2bd8700c90 Implementing Trac #419: provide means for the toolkit to fix synchro data sources
SVN:trunk[1452]
2011-08-15 14:01:51 +00:00
Denis Flaven
435d943f47 Cleanup of the way objects are displayed/edited: DisplayBareProperties is now used for displaying (i.e. read-only) or modifying/creating an object. The means that:
1) the display/edition can be customized by overloading this method
2) the plug-ins's method OnDisplayProperties is now called in edition as well

A new class of template is introduced for building custom object displays: ObjectDetailsTemplate.

SVN:trunk[1429]
2011-08-07 08:12:07 +00:00
Denis Flaven
bfddec242b - Fixed the combination of the "PointingTo" conditions, especially when combining several "BELOW" conditions for the same criteria (used for security and context purposes)
- Make sure that the "security" limitiation provided by GetSelectFilter is applied only once to a given filter to avoid the creation of unneeded complex queries

SVN:trunk[1393]
2011-07-31 09:01:45 +00:00
Denis Flaven
c85feb7cea - Use the new HierarchicalKeys for Organization and Locations and use the hierarchy of organization for the profiles/user rights.
SVN:trunk[1382]
2011-07-28 15:14:49 +00:00
Denis Flaven
751ab5a4b4 Implemented enhancement #130: keywords to narrow the scope of the global search
SVN:trunk[1369]
2011-07-26 14:18:33 +00:00
Denis Flaven
46781c349f - Setup tested under IE8
- Added migration code, during the setup, for the hierarchical keys

SVN:trunk[1358]
2011-07-25 14:14:05 +00:00
Denis Flaven
7e60a9fce7 Implementation of a new type of ExternalKey attribute: HierarchicalKey. This attribute implements the "nested set" model and is used to define a hierarchy of an arbitrary depth of objects of the same class. With this new feature it is possible to retrieve in one OQL query (and in one sql query as well) all the children of a given organization.
I'm still keeping (commented out) some of the traces helpful for debugging the construction of the OQL queries.

SVN:trunk[1349]
2011-07-22 12:07:09 +00:00
Romain Quetiez
4681b03646 #122 Optimized the load of data set (do not load unused columns, was provoking the swapping of MySQL tmp memory tables)
SVN:trunk[1281]
2011-06-15 11:59:25 +00:00
Romain Quetiez
a0900cd732 Optimization: do not load the full set of items when it comes to displaying an autocomplete!
SVN:trunk[1275]
2011-06-08 13:30:56 +00:00
Romain Quetiez
64b4922499 Fixed issue in the data model consistency check
SVN:trunk[1274]
2011-05-24 10:26:16 +00:00
Romain Quetiez
58844b04ef #403 Partial installation not working (error on ticket form)
SVN:trunk[1268]
2011-05-13 15:09:55 +00:00
Romain Quetiez
ab3fd7f1b4 Internal: keep track of class declaration source files
SVN:trunk[1217]
2011-04-19 12:22:32 +00:00
Romain Quetiez
25c529a797 #359 Dehardcoded the timezone (while preserving 'Europe/Paris' as the default)
SVN:trunk[1177]
2011-04-05 12:22:38 +00:00
Romain Quetiez
d33217285a New option: apc_cache.query_ttl (defaults to 3600s)
SVN:trunk[1174]
2011-04-04 16:20:18 +00:00
Romain Quetiez
36dd9fc05e New option: apc_cache.enabled = true by default (beta)
SVN:trunk[1171]
2011-04-04 14:04:30 +00:00
Romain Quetiez
44f661cea4 APC cache: fixed an issue with cache reset
SVN:trunk[1167]
2011-04-04 08:58:59 +00:00
Romain Quetiez
d4321ec1ce #366 Global search case sensitive or not working at all (issue with COLLATION)
SVN:trunk[1158]
2011-03-31 08:29:02 +00:00
Denis Flaven
e3ac7067f7 New implementation of the setup:
- All actions are performed asynchronously at the end of the setup
- Supports upgrading and reinstalling (to add modules)

SVN:trunk[1157]
2011-03-30 17:28:01 +00:00
Romain Quetiez
b423e98295 Optimizations:
- Setup: grouped CREATE TABLE / ALTER TABLE statements in one single CREATE table
- Every page: cache the prepared queries and data model into APC
Cleanup: removed unused verb RegisterPlugin
Fix: GetObject could fail (could not find the reference from within the forum)

SVN:trunk[1154]
2011-03-30 08:30:42 +00:00
Romain Quetiez
7ae02a7c5b Enablers for the current setup improvements
SVN:trunk[1150]
2011-03-28 14:03:34 +00:00
Denis Flaven
bec8b57fe1 Implementation of bulk modify and bulk apply stimulus... to be tested !
SVN:trunk[1145]
2011-03-23 16:22:35 +00:00
Romain Quetiez
52a47b193d #360 Wrong COUNT when using JOINS (+ other conditions)
SVN:trunk[1128]
2011-03-11 17:47:03 +00:00
Romain Quetiez
0b32f511b8 Plugin API - alpha version
SVN:trunk[1124]
2011-03-11 11:04:50 +00:00
Denis Flaven
49e05acd4b Fixed Trac #156: make sure the hierarchical ZLists are supported everywhere (final cleanup).
SVN:trunk[1118]
2011-03-08 11:19:38 +00:00
Romain Quetiez
019888caff #305 Specified the charset in any call to htmlentities()
SVN:trunk[1110]
2011-03-07 16:43:20 +00:00
Romain Quetiez
cf8174d54e Data Exchange - Improved to allow the import of complex attributes like passwords and documents + few fixes
SVN:trunk[1106]
2011-03-02 14:38:12 +00:00
Romain Quetiez
67f8ddf5a8 Data Exchange - Implemented reconciliation on external keys
SVN:trunk[1101]
2011-03-01 13:47:09 +00:00
Romain Quetiez
a9a530a2cb Core: Join any table to an OQL query (prerequisite to Data Exchange)
SVN:trunk[1061]
2011-02-01 16:54:10 +00:00
Romain Quetiez
ba822a655e Wiki: add links to objects in text attributes
SVN:trunk[1060]
2011-02-01 13:40:51 +00:00