This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit 7f264a9598ffcf10704e7bdf93fb021594bae62d Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Jan 29 16:01:34 2015 +0100 suppression des controlleurs non utilisés --- res.xml | 6 ++-- static/js/controllers/app.js | 27 ---------------- static/js/controllers/script.js | 70 ----------------------------------------- 3 files changed, 3 insertions(+), 100 deletions(-) diff --git a/res.xml b/res.xml index 0337730..ded372a 100644 --- a/res.xml +++ b/res.xml @@ -1,10 +1,10 @@ <?xml version="1.0"?> <?xml-stylesheet href="file:///usr/bin/../share/nmap/nmap.xsl" type="text/xsl"?> -<!-- Nmap 6.40 scan initiated Thu Jan 29 15:52:38 2015 as: /usr/bin/nmap -A -oX res.xml 198.116.0.10 --> -<nmaprun scanner="nmap" args="/usr/bin/nmap -A -oX res.xml 198.116.0.10" start="1422543158" startstr="Thu Jan 29 15:52:38 2015" version="6.40" xmloutputversion="1.04"> +<!-- Nmap 6.40 scan initiated Thu Jan 29 16:01:03 2015 as: /usr/bin/nmap -A -oX res.xml 198.116.0.10 --> +<nmaprun scanner="nmap" args="/usr/bin/nmap -A -oX res.xml 198.116.0.10" start="1422543663" startstr="Thu Jan 29 16:01:03 2015" version="6.40" xmloutputversion="1.04"> <scaninfo type="connect" protocol="tcp" numservices="1000" services="1,3-4,6-7,9,13,17,19-26,30,32-33,37,42-43,49,53,70,79-85,88-90,99-100,106,109-111,113,119,125,135,139,143-144,146,161,163,179,199,211-212,222,254-256,259,264,280,301,306,311,340,366,389,406-407,416-417,425,427,443-445,458,464-465,481,497,500,512-515,524,541,543-545,548,554-555,563,587,593,616-617,625,631,636,646,648,666-668,683,687,691,700,705,711,714,720,722,726,749,765,777,783,787,800-801,808,843,873,880,888,898,900-9 [...] <verbose level="0"/> <debugging level="0"/> -<runstats><finished time="1422543161" timestr="Thu Jan 29 15:52:41 2015" elapsed="3.15" summary="Nmap done at Thu Jan 29 15:52:41 2015; 1 IP address (0 hosts up) scanned in 3.15 seconds" exit="success"/><hosts up="0" down="1" total="1"/> +<runstats><finished time="1422543666" timestr="Thu Jan 29 16:01:06 2015" elapsed="3.15" summary="Nmap done at Thu Jan 29 16:01:06 2015; 1 IP address (0 hosts up) scanned in 3.15 seconds" exit="success"/><hosts up="0" down="1" total="1"/> </runstats> </nmaprun> diff --git a/static/js/controllers/app.js b/static/js/controllers/app.js deleted file mode 100644 index 19e467e..0000000 --- a/static/js/controllers/app.js +++ /dev/null @@ -1,27 +0,0 @@ -angular.module('myAppName', []) - .controller('MainCtrl', function($scope,$http) { - $http.get("getval") - .success(function(response) {$scope.text = response;}); - /*$scope.title = "Boucle sur un objet javascript" - $scope.users = [ - {name:'Sébastien',age:21}, - {name:'Marion',age:24}, - {name:'Laura',age:25}, - {name:'Morgan',age:23} - ];*/ - }); - -//var MainCtrl = function ($scope) { - -//}; -//var SecondCtrl = function ($scope) { - -//}; -/*angular.module('myAppName', []) - .controller('SecondCtrl', function($scope) { - $scope.title = "Appel d'une fonction" - $scope.ohHey = function () { - alert("Oh hey"); - }; - }); -*/ diff --git a/static/js/controllers/script.js b/static/js/controllers/script.js deleted file mode 100644 index 41a8b90..0000000 --- a/static/js/controllers/script.js +++ /dev/null @@ -1,70 +0,0 @@ -var formExample = angular.module('formExample', []); - -formExample.controller('ExampleController', ['$scope', '$http', '$interval', function($scope, $http, $interval) { - $scope.master = {}; - $scope.ip_range = "198.116.0.1-10" // la plage d'ip entree dans le champ - $scope.state = ""; // l'etat general du scan en cours - $scope.validated = false; // pour afficher ou non certaines parties de la page - - //lace la detection apres remplissage du champ - $scope.post_val = function(){ - $http.post('/detect/' + $scope.ip_range). - success(function(data, status, headers, config) { - // this callback will be called asynchronously - // when the response is available - }). - error(function(data, status, headers, config) { - // called asynchronously if an error occurs - // or server returns response with an error status. - }); - } - - $scope.check_state = function(){ - $interval(function() { - $http.get('/getstate'). - success(function(data, status, headers, config) { - $scope.state = data - // when the response is available - }). - error(function(data, status, headers, config) { - alert("Impossible d'acceder à l'état") - // called asynchronously if an error occurs - // or server returns response with an error status. - }); - }, 1000); - } - - }]); - - -/*formExample.service("ipService", ["stateService", "$interval", - function(stateService, $timeout) { - //Variable privée - var current_ip = { - current_ip: "a", - }; - - //Getter pour la variable current_ip - this.get_current_ip = function() { - //Cette méthode fait appel à un autre service - $http.get('/getval'). - success(function(data, status, headers, config) { - current_ip = data - }). - error(function(data, status, headers, config) { - // called asynchronously if an error occurs - // or server returns response with an error status. - }); - return current_ip; - }; - - //5 secondes après le chargement de la page, la valeur d'une propriété change dans le service. - //La view est mise à jour automatiquement - $interval(function() { - formExample.service.get_current_ip() - }, 5000); - - - } -]); -*/ \ No newline at end of file -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.