Changeset 360
- Timestamp:
- 07/11/07 16:47:41 (1 year ago)
- Files:
-
- trunk/webmin/lsc/debian/changelog (modified) (1 diff)
- trunk/webmin/lsc/include/command_launcher.inc.php (modified) (1 diff)
- trunk/webmin/lsc/include/exec.inc.php (modified) (1 diff)
- trunk/webmin/lsc/module.info (modified) (1 diff)
- trunk/webmin/lsc/repository.cgi (modified) (3 diffs)
- trunk/webmin/lsc/scripts/run-inventory-secure.bat (added)
- trunk/webmin/lsc/tmpl/en/widget_repository_actions.tpl (modified) (1 diff)
- trunk/webmin/lsc/tmpl/fr/widget_repository_actions.tpl (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/webmin/lsc/debian/changelog
r238 r360 1 webmin-lsc (1.0. 5) stable; urgency=low1 webmin-lsc (1.0.6) stable; urgency=low 2 2 3 3 * See SVN history trunk/webmin/lsc/include/command_launcher.inc.php
r255 r360 698 698 } 699 699 /* to re-schedule: next_date = start_date + interval */ 700 $coh->update_next_launch_date("start_date + interval 30 minute");700 $coh->update_next_launch_date("start_date + interval ".$this->command->repeat." hour"); 701 701 $coh->start_date = $coh->next_launch_date; 702 702 $coh->number_attempt_connection_remains = $this->command->max_connection_attempt; trunk/webmin/lsc/include/exec.inc.php
r250 r360 51 51 /* -tt forces tty allocation so that signals like SIGINT 52 52 will be properly sent to the remote host */ 53 $ssh_command ="$keychain ssh -tt - o StrictHostKeyChecking=no -o Batchmode=yes -o PasswordAuthentication=no ".$user."@".$ip." \"".$command."\" 2>&1";53 $ssh_command ="$keychain ssh -tt -R30080:127.0.0.1:80 -o StrictHostKeyChecking=no -o Batchmode=yes -o PasswordAuthentication=no ".$user."@".$ip." \"".$command."\" 2>&1"; 54 54 55 55 $handle = popen($ssh_command, "r"); trunk/webmin/lsc/module.info
r238 r360 3 3 desc_fr=LRS : Prise de Contrôle à Distance Sécurisé 4 4 depends=1.030 lbs_common 5 version=1.0. 55 version=1.0.6 trunk/webmin/lsc/repository.cgi
r258 r360 263 263 $delete_file_after_execute_successful_enable = $_POST['repository_delete_file_after_execute_successful']; 264 264 if ( 265 ($repository_start_date!="d ?s que possible" && $repository_start_date!="ASAP" )265 ($repository_start_date!="dès que possible" && $repository_start_date!="ASAP" ) 266 266 ) { 267 267 list($date, $time) = split(" [^ ]* ", $repository_start_date); … … 312 312 } else { 313 313 $start_inventory_enable = false; 314 } 315 if (!$_POST["repeat"]) { 316 $repeat = 0; 317 } else { 318 $repeat = intval($_POST["repeat"]); 319 if ($start_date == "0000-00-00 00:00:00") $start_date = date("Y-m-d G:i:00"); 314 320 } 315 321 … … 334 340 $next_connection_delay, 335 341 $max_connection_attempt, 336 $start_inventory_enable 342 $start_inventory_enable, 343 $repeat 337 344 ); 338 345 /* trunk/webmin/lsc/tmpl/en/widget_repository_actions.tpl
r227 r360 83 83 /> 84 84 or <a href="javascript:;" onclick="javascript:document.getElementById('repository_end_date').value='none';">none</a> 85 </td> 86 </tr> 87 <tr> 88 <td style="width:5px;white-space:nowrap;">Repeat :</td><td> 89 <select name="repeat"> 90 <option value="0">None</option> 91 <option value="1">Hourly</option> 92 <option value="24">Daily</option> 93 <option value="168">Weekly</option> 94 </select> 85 95 </td> 86 96 </tr> trunk/webmin/lsc/tmpl/fr/widget_repository_actions.tpl
r227 r360 50 50 <table style="width:100%"> 51 51 <tr> 52 <td style="width:5px;"><div style="white-space:nowrap;">Date de d émarrage de la commande :</div></td><td>52 <td style="width:5px;"><div style="white-space:nowrap;">Date de démarrage de la commande :</div></td><td> 53 53 <input 54 54 type="text" … … 56 56 id="repository_start_date" 57 57 size="20" 58 value="d ès que possible"58 value="dès que possible" 59 59 readonly="readonly" 60 60 /> … … 64 64 id="repository_start_date_button" 65 65 /></td><td> 66 ou <a href="javascript:;" onclick="javascript:document.getElementById('repository_start_date').value='d ès que possible';">dès que possible</a>66 ou <a href="javascript:;" onclick="javascript:document.getElementById('repository_start_date').value='d?s que possible';">dès que possible</a> 67 67 </td> 68 68 </tr> 69 69 <tr> 70 <td style="width:5px;"><div style="white-space:nowrap;">Date limite d'ex écution de la commande :</div></td><td>70 <td style="width:5px;"><div style="white-space:nowrap;">Date limite d'exécution de la commande :</div></td><td> 71 71 <input 72 72 type="text" … … 85 85 </td> 86 86 </tr> 87 <tr> 88 <td style="width:5px;white-space:nowrap;">Répétition :</td><td> 89 <select name="repeat"> 90 <option value="0">Aucune</option> 91 <option value="1">Chaque heure</option> 92 <option value="24">Chaque jour</option> 93 <option value="168">Chaque semaine</option> 94 </select> 95 </td> 96 </tr> 97 87 98 </table> 88 99 </td></tr> … … 90 101 <table style="width:100%"> 91 102 <tr> 92 <td style="width:5px;"><div style="white-space:nowrap;">Passer les param ètres suivants au fichier à exécuter :</div></td><td>103 <td style="width:5px;"><div style="white-space:nowrap;">Passer les paramêtres suivants au fichier à exécuter :</div></td><td> 93 104 <input 94 105 type="text" … … 110 121 style="border:none;" 111 122 /> 112 Supprimer les fichiers apr ès exécution avec succès123 Supprimer les fichiers après exécution avec succès 113 124 </td> 114 125 </tr> … … 122 133 style="border:none;" 123 134 /> 124 Exécuter l'agent d'inventaire après l'exécution de la commande135 Lancer l'agent d'inventaire après l'exécution de la commande 125 136 </td> 126 137 </tr> … … 134 145 style="border:none;" 135 146 /> 136 Si un poste client n'est pas accessible émettre une requète "Wake On Lan"147 Si un poste client n'est pas accessible émettre une requête "Wake On Lan" 137 148 </td> 138 149 </tr> … … 146 157 size="3" 147 158 />. 148 D élai entre deux tentatives de connexion :159 Délai entre deux tentatives de connexion : 149 160 <input 150 161 type="text"
