Fields

glpi_computers

is_ocs_import ??? what we do with it ?? Reunion 08/09/2011 : change to import_from - varchar with Plugin Name
MoYo : drop : use existence of links instead...

Classes

class Log

  • case HISTORY_OCS_IMPORT
  • case HISTORY_OCS_DELETE
  • case HISTORY_OCS_LINK
  • case HISTORY_OCS_IDCHANGED

Tsmr : add Hook for plugins to use Log::getHistoryData ?

Class Transfer

TODO : moving ocsng insformations

Class Search

TODO : display 2 columns : displayConfigItem (center date display)

  • case "glpi_ocslinks.last_update"
  • case "glpi_ocslinks.last_ocs_update"

Hook created but not functional

Class Computer :

protected $forward_entity_to = array('ComputerDisk','ComputerVirtualMachine', 'Infocom',
'NetworkPort', 'Ocslink', 'ReservationItem');

For what OCSlink ??
MoYo : because entities_id is duplicates in glpi_ocs_links
Tsmr : How use it into plugin ?
MoYo : manage it on post_update hook. If entities_id changed, change it on ocslinks

Search options for registry and OCS mode : Fait OK

post_updateItem : Fait OK

cleanDBonPurge (add hook on plugin) Fait OK

display ocs information on form : Add hook in GLPI to permit another application to display these informations ?
MoYo : only display on OCS tab I think
Tsmr : See Task #2941

Class Computer_Item :

pre_add_Item : Fait OK

cleanDBonPurge (add hook on plugin)

class Dropdown :

function showForMassiveAction...
echo "<option value='force_ocsng_update'>".$LANG['ocsng'][24]."</option>";
and echo "<option value='unlock_ocsng_field'>".$LANG['buttons'][38]." ".$LANG['Menu'][33]." - ".$LANG['ocsng'][16]."</option>";

-> go on plugin !!

Fait OK : a voir si on le gère dans le plugin. Voir computer.form.php pour enlever les actions liées à ocsng

class RegistryKey

What doing with it ? go on plugin ? : Fait OK

Class Authldap

Warning $LANG['ocsng'][36] used by another process : OK

Class Auth

Warning $LANG['ocsng'][24]] used by another process : OK

class Plugin

Class OCSServer used into static function migrateItemType (32 => "OcsServer")....

Files

  • computer.form.php

action for $_POST["force_ocs_resynch"]

  • massiveaction.php : Fait OK

case "force_ocsng_update"

  • relation.constant.php : Fait OK

'glpi_ocslinks' => 'entities_id',
"glpi_ocsservers" => array('glpi_ocslinks' => 'ocsservers_id'),
'glpi_ocslinks' => 'computers_id',
'glpi_registrykeys' => 'computers_id'