ajout credentials BDD + Création du premier repo

This commit is contained in:
xdrm-brackets 2016-04-10 12:18:52 +02:00
parent eccd61eafc
commit c81f131b56
13 changed files with 182 additions and 1181 deletions

View File

@ -1,720 +0,0 @@
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 14, 2016 at 03:20 PM
-- Server version: 5.5.47-0ubuntu0.14.04.1
-- PHP Version: 5.5.9-1ubuntu4.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `stefproject`
--
-- --------------------------------------------------------
--
-- Table structure for table `cluster`
--
CREATE TABLE IF NOT EXISTS `cluster` (
`id_cluster` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
PRIMARY KEY (`id_cluster`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=201 ;
--
-- Dumping data for table `cluster`
--
INSERT INTO `cluster` (`id_cluster`, `name`) VALUES
(1, 'Daniels'),
(2, 'Lucas'),
(3, 'Liz'),
(4, 'Jessie'),
(5, 'Elaine'),
(6, 'Tameka'),
(7, 'Katheryn'),
(8, 'Bowen'),
(9, 'Flores'),
(10, 'Dominique'),
(11, 'Deirdre'),
(12, 'Elvira'),
(13, 'Sonya'),
(14, 'Patrick'),
(15, 'Tamra'),
(16, 'Lawanda'),
(17, 'Susie'),
(18, 'Marlene'),
(19, 'Lara'),
(20, 'Callahan'),
(21, 'Ball'),
(22, 'Tiffany'),
(23, 'Alisha'),
(24, 'Kristen'),
(25, 'Hicks'),
(26, 'Miriam'),
(27, 'Vilma'),
(28, 'Woods'),
(29, 'Atkinson'),
(30, 'Rogers'),
(31, 'Kirsten'),
(32, 'Iva'),
(33, 'Morales'),
(34, 'Kellie'),
(35, 'Mullen'),
(36, 'Harper'),
(37, 'Pollard'),
(38, 'Howell'),
(39, 'Lina'),
(40, 'Glover'),
(41, 'Clarke'),
(42, 'Daphne'),
(43, 'Maddox'),
(44, 'Ernestine'),
(45, 'Bernice'),
(46, 'Rhodes'),
(47, 'Nancy'),
(48, 'Abigail'),
(49, 'Levy'),
(50, 'Juarez'),
(51, 'Pruitt'),
(52, 'Richard'),
(53, 'Lindsay'),
(54, 'Darla'),
(55, 'Nolan'),
(56, 'Zelma'),
(57, 'Avila'),
(58, 'Etta'),
(59, 'Ava'),
(60, 'Stein'),
(61, 'Tommie'),
(62, 'Holmes'),
(63, 'Todd'),
(64, 'Henry'),
(65, 'Liliana'),
(66, 'Angelita'),
(67, 'Mcintyre'),
(68, 'Baker'),
(69, 'Barbra'),
(70, 'Delacruz'),
(71, 'Wall'),
(72, 'Wilkinson'),
(73, 'Rosalie'),
(74, 'Mae'),
(75, 'Bernadine'),
(76, 'Norman'),
(77, 'Terra'),
(78, 'Ina'),
(79, 'Sabrina'),
(80, 'Karla'),
(81, 'Clements'),
(82, 'Mccullough'),
(83, 'Cheri'),
(84, 'Mcclain'),
(85, 'Leona'),
(86, 'Roslyn'),
(87, 'Castillo'),
(88, 'Helen'),
(89, 'Olson'),
(90, 'Ann'),
(91, 'Haynes'),
(92, 'Malinda'),
(93, 'Cochran'),
(94, 'Winters'),
(95, 'Richardson'),
(96, 'Walker'),
(97, 'Witt'),
(98, 'Valarie'),
(99, 'Jessica'),
(100, 'Velez'),
(101, 'WNTKO'),
(102, 'RMUAY'),
(103, 'ZSCMZ'),
(104, 'AWCUX'),
(105, 'HKSWO'),
(106, 'ASIFJ'),
(107, 'CCKEV'),
(108, 'KDVSJ'),
(109, 'VCEWY'),
(110, 'UKWVN'),
(111, 'FFJDJ'),
(112, 'NHCWO'),
(113, 'IBRFK'),
(114, 'FGLXK'),
(115, 'BUZRV'),
(116, 'WKNTM'),
(117, 'SPQOQ'),
(118, 'SSRWE'),
(119, 'TIBAH'),
(120, 'EKOFT'),
(121, 'GJTJW'),
(122, 'XIPNP'),
(123, 'FDFXQ'),
(124, 'HSCUZ'),
(125, 'BYKBF'),
(126, 'GNOKK'),
(127, 'WLSUB'),
(128, 'DMTTJ'),
(129, 'OCFWD'),
(130, 'CABWU'),
(131, 'BUWRJ'),
(132, 'OULIX'),
(133, 'XCDYM'),
(134, 'LREGF'),
(135, 'DDLSP'),
(136, 'DTGHG'),
(137, 'BZWUE'),
(138, 'LGDDS'),
(139, 'ERXMY'),
(140, 'VJGER'),
(141, 'LOXIE'),
(142, 'IHARA'),
(143, 'ZIQJQ'),
(144, 'ZKUEW'),
(145, 'BLDTO'),
(146, 'OZRQF'),
(147, 'NWPBM'),
(148, 'OZDYC'),
(149, 'ETUZU'),
(150, 'CNQAB'),
(151, 'OPIIW'),
(152, 'ACARQ'),
(153, 'NMHYG'),
(154, 'ASKZD'),
(155, 'QMIJT'),
(156, 'BBDZL'),
(157, 'WKKYH'),
(158, 'AFHJH'),
(159, 'CASXB'),
(160, 'LOXOZ'),
(161, 'ZTUNO'),
(162, 'QGQNK'),
(163, 'SVIBS'),
(164, 'RSVXL'),
(165, 'EMESC'),
(166, 'BBXON'),
(167, 'NGLBK'),
(168, 'MZHBC'),
(169, 'OYEPB'),
(170, 'RQFNK'),
(171, 'MRUUS'),
(172, 'DJDVW'),
(173, 'SOJEJ'),
(174, 'YYSRC'),
(175, 'AJNMI'),
(176, 'IVUSU'),
(177, 'VYPUB'),
(178, 'SJYUN'),
(179, 'QRGTG'),
(180, 'LXIFX'),
(181, 'YXWTP'),
(182, 'SMEFT'),
(183, 'HUTUW'),
(184, 'DYCLY'),
(185, 'VBJWP'),
(186, 'CZRPO'),
(187, 'JCNSP'),
(188, 'EOKCA'),
(189, 'PZEAK'),
(190, 'ERIMX'),
(191, 'NGVPC'),
(192, 'MVONW'),
(193, 'ZUHOD'),
(194, 'YIATG'),
(195, 'WFQGC'),
(196, 'NKZQL'),
(197, 'EMIWA'),
(198, 'WOYWY'),
(199, 'ZBLQG'),
(200, 'STQYS');
-- --------------------------------------------------------
--
-- Table structure for table `cluster_merge`
--
CREATE TABLE IF NOT EXISTS `cluster_merge` (
`id_cluster_merge` int(11) NOT NULL AUTO_INCREMENT,
`id_cluster` int(11) NOT NULL,
`id_entity` int(11) NOT NULL,
`class` int(11) NOT NULL,
PRIMARY KEY (`id_cluster_merge`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=203 ;
--
-- Dumping data for table `cluster_merge`
--
INSERT INTO `cluster_merge` (`id_cluster_merge`, `id_cluster`, `id_entity`, `class`) VALUES
(1, 1, 1, 0),
(2, 2, 2, 0),
(3, 3, 3, 0),
(4, 4, 4, 0),
(5, 5, 5, 0),
(6, 6, 6, 0),
(7, 7, 7, 0),
(8, 8, 8, 0),
(9, 9, 9, 0),
(10, 10, 10, 0),
(11, 11, 11, 0),
(12, 12, 12, 0),
(13, 13, 13, 0),
(14, 14, 14, 0),
(15, 15, 15, 0),
(16, 16, 16, 0),
(17, 17, 17, 0),
(18, 18, 18, 0),
(19, 19, 19, 0),
(20, 20, 20, 0),
(21, 21, 21, 0),
(22, 22, 22, 0),
(23, 23, 23, 0),
(24, 24, 24, 0),
(25, 25, 25, 0),
(26, 26, 26, 0),
(27, 27, 27, 0),
(28, 28, 28, 0),
(29, 29, 29, 0),
(30, 30, 30, 0),
(31, 31, 31, 0),
(32, 32, 32, 0),
(33, 33, 33, 0),
(34, 34, 34, 0),
(35, 35, 35, 0),
(36, 36, 36, 0),
(37, 37, 37, 0),
(38, 38, 38, 0),
(39, 39, 39, 0),
(40, 40, 40, 0),
(41, 41, 41, 0),
(42, 42, 42, 0),
(43, 43, 43, 0),
(44, 44, 44, 0),
(45, 45, 45, 0),
(46, 46, 46, 0),
(47, 47, 47, 0),
(48, 48, 48, 0),
(49, 49, 49, 0),
(50, 50, 50, 0),
(51, 51, 51, 0),
(52, 52, 52, 0),
(53, 53, 53, 0),
(54, 54, 54, 0),
(55, 55, 55, 0),
(56, 56, 56, 0),
(57, 57, 57, 0),
(58, 58, 58, 0),
(59, 59, 59, 0),
(60, 60, 60, 0),
(61, 61, 61, 0),
(62, 62, 62, 0),
(63, 63, 63, 0),
(64, 64, 64, 0),
(65, 65, 65, 0),
(66, 66, 66, 0),
(67, 67, 67, 0),
(68, 68, 68, 0),
(69, 69, 69, 0),
(70, 70, 70, 0),
(71, 71, 71, 0),
(72, 72, 72, 0),
(73, 73, 73, 0),
(74, 74, 74, 0),
(75, 75, 75, 0),
(76, 76, 76, 0),
(77, 77, 77, 0),
(78, 78, 78, 0),
(79, 79, 79, 0),
(80, 80, 80, 0),
(81, 81, 81, 0),
(82, 82, 82, 0),
(83, 83, 83, 0),
(84, 84, 84, 0),
(85, 85, 85, 0),
(86, 86, 86, 0),
(87, 87, 87, 0),
(88, 88, 88, 0),
(89, 89, 89, 0),
(90, 90, 90, 0),
(91, 91, 91, 0),
(92, 92, 92, 0),
(93, 93, 93, 0),
(94, 94, 94, 0),
(95, 95, 95, 0),
(96, 96, 96, 0),
(97, 97, 97, 0),
(98, 98, 98, 0),
(99, 99, 99, 0),
(100, 100, 100, 0),
(101, 101, 1, 1),
(102, 102, 2, 1),
(103, 103, 3, 1),
(104, 104, 4, 1),
(105, 105, 5, 1),
(106, 106, 6, 1),
(107, 107, 7, 1),
(108, 108, 8, 1),
(109, 109, 9, 1),
(110, 110, 10, 1),
(111, 111, 11, 1),
(112, 112, 12, 1),
(113, 113, 13, 1),
(114, 114, 14, 1),
(115, 115, 15, 1),
(116, 116, 16, 1),
(117, 117, 17, 1),
(118, 118, 18, 1),
(119, 119, 19, 1),
(120, 120, 20, 1),
(121, 121, 21, 1),
(122, 122, 22, 1),
(123, 123, 23, 1),
(124, 124, 24, 1),
(125, 125, 25, 1),
(126, 126, 26, 1),
(127, 127, 27, 1),
(128, 128, 28, 1),
(129, 129, 29, 1),
(130, 130, 30, 1),
(131, 131, 31, 1),
(132, 132, 32, 1),
(133, 133, 33, 1),
(134, 134, 34, 1),
(135, 135, 35, 1),
(136, 136, 36, 1),
(137, 137, 37, 1),
(138, 138, 38, 1),
(139, 139, 39, 1),
(140, 140, 40, 1),
(141, 141, 41, 1),
(142, 142, 42, 1),
(143, 143, 43, 1),
(144, 144, 44, 1),
(145, 145, 45, 1),
(146, 146, 46, 1),
(147, 147, 47, 1),
(148, 148, 48, 1),
(149, 149, 49, 1),
(150, 150, 50, 1),
(151, 151, 51, 1),
(152, 152, 52, 1),
(153, 153, 53, 1),
(154, 154, 54, 1),
(155, 155, 55, 1),
(156, 156, 56, 1),
(157, 157, 57, 1),
(158, 158, 58, 1),
(159, 159, 59, 1),
(160, 160, 60, 1),
(161, 161, 61, 1),
(162, 162, 62, 1),
(163, 163, 63, 1),
(164, 164, 64, 1),
(165, 165, 65, 1),
(166, 166, 66, 1),
(167, 167, 67, 1),
(168, 168, 68, 1),
(169, 169, 69, 1),
(170, 170, 70, 1),
(171, 171, 71, 1),
(172, 172, 72, 1),
(173, 173, 73, 1),
(174, 174, 74, 1),
(175, 175, 75, 1),
(176, 176, 76, 1),
(177, 177, 77, 1),
(178, 178, 78, 1),
(179, 179, 79, 1),
(180, 180, 80, 1),
(181, 181, 81, 1),
(182, 182, 82, 1),
(183, 183, 83, 1),
(184, 184, 84, 1),
(185, 185, 85, 1),
(186, 186, 86, 1),
(187, 187, 87, 1),
(188, 188, 88, 1),
(189, 189, 89, 1),
(190, 190, 90, 1),
(191, 191, 91, 1),
(192, 192, 92, 1),
(193, 193, 93, 1),
(194, 194, 94, 1),
(195, 195, 95, 1),
(196, 196, 96, 1),
(197, 197, 97, 1),
(198, 198, 98, 1),
(199, 199, 99, 1),
(200, 200, 100, 1);
-- --------------------------------------------------------
--
-- Table structure for table `history`
--
CREATE TABLE IF NOT EXISTS `history` (
`id_history` int(11) NOT NULL AUTO_INCREMENT,
`action` int(11) NOT NULL,
`id_acteur` int(11) NOT NULL,
`id_machine` int(11) NOT NULL,
PRIMARY KEY (`id_history`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `machine`
--
CREATE TABLE IF NOT EXISTS `machine` (
`id_machine` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(20) NOT NULL,
`name` varchar(30) NOT NULL,
PRIMARY KEY (`id_machine`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=101 ;
--
-- Dumping data for table `machine`
--
INSERT INTO `machine` (`id_machine`, `code`, `name`) VALUES
(1, 'CB-40-70-A0', 'WNTKO'),
(2, 'C9-42-46-45', 'RMUAY'),
(3, '30-DA-23-C0', 'ZSCMZ'),
(4, '6B-F0-82-05', 'AWCUX'),
(5, 'C8-67-58-0E', 'HKSWO'),
(6, 'CB-94-1E-F3', 'ASIFJ'),
(7, '3F-A6-B3-5E', 'CCKEV'),
(8, '8E-24-B5-24', 'KDVSJ'),
(9, '27-15-0B-9D', 'VCEWY'),
(10, 'FE-38-93-E9', 'UKWVN'),
(11, '07-6F-B6-B6', 'FFJDJ'),
(12, '3A-A8-8E-B1', 'NHCWO'),
(13, 'A3-15-41-38', 'IBRFK'),
(14, '99-30-04-B1', 'FGLXK'),
(15, '80-A8-91-C8', 'BUZRV'),
(16, '97-F3-00-93', 'WKNTM'),
(17, 'C6-F7-45-02', 'SPQOQ'),
(18, '25-11-D9-70', 'SSRWE'),
(19, '5B-EF-81-00', 'TIBAH'),
(20, '74-18-01-AE', 'EKOFT'),
(21, '07-27-C3-41', 'GJTJW'),
(22, '23-38-C6-B5', 'XIPNP'),
(23, '35-49-0B-88', 'FDFXQ'),
(24, '36-00-7F-1C', 'HSCUZ'),
(25, 'CB-60-BB-1A', 'BYKBF'),
(26, 'FE-5F-E7-FB', 'GNOKK'),
(27, '54-D1-4D-EC', 'WLSUB'),
(28, '9D-D8-C8-53', 'DMTTJ'),
(29, '32-A8-CB-08', 'OCFWD'),
(30, 'A4-B4-FC-74', 'CABWU'),
(31, '9E-E7-87-A0', 'BUWRJ'),
(32, '3F-90-8D-56', 'OULIX'),
(33, 'C7-95-56-96', 'XCDYM'),
(34, '98-5B-99-35', 'LREGF'),
(35, 'C0-1C-52-1E', 'DDLSP'),
(36, 'AE-01-18-81', 'DTGHG'),
(37, '85-46-39-94', 'BZWUE'),
(38, '9C-3C-45-AB', 'LGDDS'),
(39, '14-A5-92-CE', 'ERXMY'),
(40, 'A4-35-C5-76', 'VJGER'),
(41, '69-8E-6A-11', 'LOXIE'),
(42, '04-73-52-C8', 'IHARA'),
(43, '66-48-DF-7B', 'ZIQJQ'),
(44, '01-D9-22-86', 'ZKUEW'),
(45, 'B4-AC-F6-93', 'BLDTO'),
(46, 'E3-B8-CC-D4', 'OZRQF'),
(47, 'FF-18-3D-CB', 'NWPBM'),
(48, '68-2D-86-1D', 'OZDYC'),
(49, '65-AC-44-36', 'ETUZU'),
(50, '9D-3F-90-E9', 'CNQAB'),
(51, '8B-DE-55-B5', 'OPIIW'),
(52, '15-1B-34-D7', 'ACARQ'),
(53, '0D-E1-41-A8', 'NMHYG'),
(54, '19-FB-D2-82', 'ASKZD'),
(55, 'C6-55-0A-22', 'QMIJT'),
(56, '61-E4-51-C7', 'BBDZL'),
(57, '65-78-34-50', 'WKKYH'),
(58, '41-9A-BF-99', 'AFHJH'),
(59, '05-0D-82-31', 'CASXB'),
(60, '0D-21-6F-00', 'LOXOZ'),
(61, 'F7-84-53-CF', 'ZTUNO'),
(62, 'C2-9A-2D-9A', 'QGQNK'),
(63, 'BE-57-E3-29', 'SVIBS'),
(64, '13-39-5D-21', 'RSVXL'),
(65, 'A6-3D-D3-AC', 'EMESC'),
(66, 'F2-EF-83-5E', 'BBXON'),
(67, '52-F5-7D-2B', 'NGLBK'),
(68, 'BA-30-5C-C7', 'MZHBC'),
(69, 'B5-43-98-38', 'OYEPB'),
(70, '95-AC-FD-6F', 'RQFNK'),
(71, 'E0-12-F0-7D', 'MRUUS'),
(72, 'E2-5F-C1-1F', 'DJDVW'),
(73, '0B-0B-AF-49', 'SOJEJ'),
(74, 'C1-AF-BE-FD', 'YYSRC'),
(75, '6B-71-12-94', 'AJNMI'),
(76, 'E0-D3-67-BB', 'IVUSU'),
(77, 'D7-02-23-82', 'VYPUB'),
(78, '3F-AA-D7-E0', 'SJYUN'),
(79, 'CA-0E-31-E6', 'QRGTG'),
(80, 'D4-92-6B-03', 'LXIFX'),
(81, 'EE-0A-F5-D3', 'YXWTP'),
(82, '73-EB-04-C8', 'SMEFT'),
(83, '32-37-21-39', 'HUTUW'),
(84, '97-13-49-2E', 'DYCLY'),
(85, 'EE-63-92-60', 'VBJWP'),
(86, 'B3-88-BB-2B', 'CZRPO'),
(87, 'F5-7D-F5-7E', 'JCNSP'),
(88, 'AA-A9-B2-83', 'EOKCA'),
(89, 'EA-62-F6-F9', 'PZEAK'),
(90, '3D-3B-BE-D9', 'ERIMX'),
(91, '75-57-68-54', 'NGVPC'),
(92, '0E-F0-AD-27', 'MVONW'),
(93, '84-39-68-9B', 'ZUHOD'),
(94, '75-E4-50-0C', 'YIATG'),
(95, 'E8-F6-C1-CF', 'WFQGC'),
(96, '55-89-B7-34', 'NKZQL'),
(97, 'B2-67-DD-0C', 'EMIWA'),
(98, '11-7C-2E-A4', 'WOYWY'),
(99, 'CB-D8-B5-A2', 'ZBLQG'),
(100, 'CE-A1-20-27', 'STQYS');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`id_user` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(20) NOT NULL,
`username` varchar(30) NOT NULL,
`firstname` varchar(30) NOT NULL,
`lastname` varchar(30) NOT NULL,
`mail` varchar(50) NOT NULL,
`password` varchar(40) NOT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`id_user`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=101 ;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id_user`, `code`, `username`, `firstname`, `lastname`, `mail`, `password`, `status`) VALUES
(1, '92-55-B9-B3', 'Daniels', 'Juliana', 'French', 'julianafrench@corecom.com', '0c77186b0906214f00df4e1aa038b096d3e8e46c', 1),
(2, '10-FE-BD-61', 'Lucas', 'Curry', 'Church', 'currychurch@corecom.com', '42e9f77558d9a97c9eac737473c318cd2a9f801e', 0),
(3, 'E0-11-41-DB', 'Liz', 'Geneva', 'Diaz', 'genevadiaz@corecom.com', '946690ac829f6b6bdb43484a7fc70a7b7585e2cf', 1),
(4, '23-77-93-8C', 'Jessie', 'Joann', 'Melendez', 'joannmelendez@corecom.com', 'f137079aa3c8badc4527a61d87e78c6fe3724710', 1),
(5, 'E7-DA-79-9B', 'Elaine', 'Fox', 'Kerr', 'foxkerr@corecom.com', 'aee4d3605daeac7403b6f8b12b89104f6d9205b6', 1),
(6, '0F-9F-56-50', 'Tameka', 'Nieves', 'Velasquez', 'nievesvelasquez@corecom.com', 'd2b3958520536e3dafc51434b556bb6448f558f5', 0),
(7, 'DB-A3-8A-D7', 'Katheryn', 'Rodriquez', 'Gomez', 'rodriquezgomez@corecom.com', '654cf9797684c177d34e9485404f11d950789b0e', 1),
(8, 'AF-BB-68-6B', 'Bowen', 'Bender', 'Holder', 'benderholder@corecom.com', '2939dd7052c52439454bc0339ba0e9d8af228248', 1),
(9, '39-DF-20-69', 'Flores', 'Beck', 'Murray', 'beckmurray@corecom.com', '844856a258b01518156453ac4fa4dda6dd1aa275', 1),
(10, '88-FA-FC-C3', 'Dominique', 'Tracy', 'Morin', 'tracymorin@corecom.com', '19b804d53a04953c907182e44aceaceb7282414c', 1),
(11, '75-E1-A6-9E', 'Deirdre', 'Phoebe', 'Pearson', 'phoebepearson@corecom.com', 'fca00c9b40a0a2f68f337e571e1545b9d4f7cb3c', 0),
(12, 'CC-28-79-89', 'Elvira', 'Latasha', 'Myers', 'latashamyers@corecom.com', 'da6ceb69b3586575e0d325dea73aca9c3419e63d', 1),
(13, 'E1-C8-AB-8C', 'Sonya', 'Shepherd', 'Mcgowan', 'shepherdmcgowan@corecom.com', '17866bc3dc4a9b755b4a7ea9d2dc3c993ab80fa2', 0),
(14, '7C-94-C4-9A', 'Patrick', 'Sandoval', 'Wolfe', 'sandovalwolfe@corecom.com', '289108619de517fb3e197d4dea616ee95b545209', 1),
(15, '36-3C-BB-F4', 'Tamra', 'Julie', 'Alvarado', 'juliealvarado@corecom.com', 'b8cdf51a55fef9748d818fe6d8edb6604a875d2d', 0),
(16, 'E7-52-B2-35', 'Lawanda', 'Erin', 'Hayes', 'erinhayes@corecom.com', '052eafc7c22fb21a825764c92fe7858689eeb055', 0),
(17, '94-E7-44-49', 'Susie', 'Jannie', 'Thomas', 'janniethomas@corecom.com', 'afe9fe189e1fd5be046d96496a61ff85e3a29ea9', 1),
(18, '89-64-A2-C2', 'Marlene', 'Janine', 'Mcgee', 'janinemcgee@corecom.com', 'fd525062225deb92fb69885ae69f8aa4d9371ece', 1),
(19, 'AB-E2-19-73', 'Lara', 'Janell', 'Wilcox', 'janellwilcox@corecom.com', '8038a9af1995278ae8db31ff6742d905a4ff7fce', 0),
(20, '88-13-39-95', 'Callahan', 'Gutierrez', 'Hale', 'gutierrezhale@corecom.com', '2b533291cfec2e0fca6f47e86ef7a2bb917e5c8b', 0),
(21, '6A-8B-F5-05', 'Ball', 'Lowery', 'Clarke', 'loweryclarke@corecom.com', '2479548e7716cab434e49ed76b8f6addcfab8c4a', 1),
(22, 'F2-8B-B7-52', 'Tiffany', 'Noelle', 'Grant', 'noellegrant@corecom.com', '101f4125a93abc3f0bfd9dd89c052a48adb221f7', 0),
(23, 'C2-97-8A-D1', 'Alisha', 'Dorsey', 'Cohen', 'dorseycohen@corecom.com', 'b6b867104c4b8ed66531eab451f9a5288756ecc0', 1),
(24, 'D1-CD-18-D5', 'Kristen', 'Mosley', 'Allen', 'mosleyallen@corecom.com', 'cfb4e905b928df0cab2189efe52fc70346ae5195', 0),
(25, 'BF-18-2B-5A', 'Hicks', 'Georgia', 'Henry', 'georgiahenry@corecom.com', 'ff9a6bf10d7a158ad03e798ad4e955d31ce9a4d3', 1),
(26, '3A-B9-55-4C', 'Miriam', 'Rosetta', 'Daugherty', 'rosettadaugherty@corecom.com', 'fcb448f82ee02e64d7e0127c7f7fd382e022bc49', 0),
(27, '6C-90-5E-0A', 'Vilma', 'Adrian', 'Small', 'adriansmall@corecom.com', '7a99bc00ef3323224b136d5558957f878aab139e', 0),
(28, '3B-FE-71-B1', 'Woods', 'Benton', 'Long', 'bentonlong@corecom.com', 'f245b196981b294e877780612cd3da6d0f74f6dd', 0),
(29, '94-B6-5A-D4', 'Atkinson', 'Atkins', 'Riddle', 'atkinsriddle@corecom.com', '89cc132f6ebc532af34fbdfa2731fa0daf133616', 0),
(30, 'C3-61-78-F2', 'Rogers', 'Jolene', 'Young', 'joleneyoung@corecom.com', '601d9c709aa4d6efeb016ef277036276ea4b8555', 0),
(31, '7D-2B-DB-BD', 'Kirsten', 'Bush', 'Luna', 'bushluna@corecom.com', '69f09a6fc580e5763bbc6880cd70cfc4698717ed', 0),
(32, 'D8-A3-FB-FC', 'Iva', 'Fran', 'Odom', 'franodom@corecom.com', '70711fb36f6d3dbc1fd498748a626981af650a40', 1),
(33, 'D8-3D-79-D5', 'Morales', 'Stevens', 'Vaughan', 'stevensvaughan@corecom.com', '75d7516da7b52fa0519a5aec6bdd211c52edb194', 0),
(34, 'CE-08-DB-1D', 'Kellie', 'Kristi', 'Gilliam', 'kristigilliam@corecom.com', '542fc3247f42b5410efc8ff73d262ad8c171b105', 1),
(35, 'F1-3C-AA-0D', 'Mullen', 'Trudy', 'Wolf', 'trudywolf@corecom.com', 'd22e60e193e038749dd350047502b079bf4d2c50', 1),
(36, '86-EE-8D-B3', 'Harper', 'Penelope', 'Harrell', 'penelopeharrell@corecom.com', 'e6de981876c42ef67e497011d0dc5c9395034f52', 0),
(37, '34-1E-E7-CC', 'Pollard', 'Pena', 'Roberson', 'penaroberson@corecom.com', '2cbb0389770e400c104682438009bed0799ddb6f', 0),
(38, '36-E8-D6-7F', 'Howell', 'Maryann', 'Keith', 'maryannkeith@corecom.com', '804ea34707d2a1a2894e28ddc75aa8ba83fe7819', 1),
(39, '23-77-0B-03', 'Lina', 'Allie', 'Matthews', 'alliematthews@corecom.com', 'ccca3b876b3524e174d1c24c3b7224b3f41ec80d', 0),
(40, '83-1B-E8-D4', 'Glover', 'Giles', 'Carpenter', 'gilescarpenter@corecom.com', 'bf8f5e17de22bafb10ccc27afacba146cc262350', 1),
(41, '59-4F-13-7B', 'Clarke', 'Newman', 'Mays', 'newmanmays@corecom.com', '66caf3c7fc1bd55a9097c76d13659857df0ff1b7', 0),
(42, '03-58-61-02', 'Daphne', 'Josephine', 'Ferguson', 'josephineferguson@corecom.com', '3e903e048bbe86ee5ada35a572390c7e643df98e', 0),
(43, '5F-CA-AD-DC', 'Maddox', 'Larson', 'Guthrie', 'larsonguthrie@corecom.com', 'e1c11d1b3695fc675ddf3cac2dc913fc952737a0', 1),
(44, '29-12-1D-1B', 'Ernestine', 'Heidi', 'Harris', 'heidiharris@corecom.com', '1720b86274ead53863213d6cd320e5cc2609a5c5', 0),
(45, 'E9-61-60-8B', 'Bernice', 'Ella', 'Golden', 'ellagolden@corecom.com', 'c590b0e4516ba73f35f5421c02fce9047ae09108', 0),
(46, '3B-27-8E-1F', 'Rhodes', 'Cantrell', 'Castaneda', 'cantrellcastaneda@corecom.com', 'b0bd979539d3c9ba099c5b749f2c639fa80a914f', 1),
(47, '49-DF-A5-C2', 'Nancy', 'Audrey', 'Wallace', 'audreywallace@corecom.com', '6bff6d80d87eb006c39c44326fd4f2b7594c3380', 1),
(48, 'B1-87-EA-BF', 'Abigail', 'Mcmillan', 'Savage', 'mcmillansavage@corecom.com', 'd439c7b5b005505f8331a669bf2f04f12978386a', 0),
(49, '63-7F-09-29', 'Levy', 'Shawna', 'Hicks', 'shawnahicks@corecom.com', 'c0777b820de8114eb075290b2f35f4d3ec422177', 1),
(50, 'C9-48-F7-62', 'Juarez', 'Lynn', 'Roth', 'lynnroth@corecom.com', '6394e386186c49a3da990c45343bec478500289b', 0),
(51, 'DF-CD-42-C9', 'Pruitt', 'Minerva', 'Tran', 'minervatran@corecom.com', '7279362c06f5c27996ea0297175419aaecc55632', 1),
(52, '9F-E7-39-8A', 'Richard', 'Norris', 'West', 'norriswest@corecom.com', '1bbe7ad5c8d5c782b3fd1a9a722bbcbe6f3aff76', 0),
(53, 'F5-AA-76-14', 'Lindsay', 'Wright', 'Delgado', 'wrightdelgado@corecom.com', 'd0a0e16b1531c8d2293da363696ae78d1ed3820c', 0),
(54, 'A5-C8-50-F5', 'Darla', 'May', 'Mcconnell', 'maymcconnell@corecom.com', '513f18a2598d5572812017914a9ad93728947f58', 1),
(55, 'A0-0E-D0-AC', 'Nolan', 'Herrera', 'Randall', 'herrerarandall@corecom.com', '4ff09e0c08b128bfa168adc3363e2056f9329787', 0),
(56, 'FF-1F-FD-20', 'Zelma', 'Gwendolyn', 'Yates', 'gwendolynyates@corecom.com', 'e9cfd7299f85e5b27c397752065debe04ff83349', 1),
(57, '7D-0D-95-B1', 'Avila', 'Ramos', 'Benton', 'ramosbenton@corecom.com', 'd8c9499b74c890c880ec0fdef5bee7676d719701', 0),
(58, '9D-5A-95-A9', 'Etta', 'Graves', 'Horne', 'graveshorne@corecom.com', '9ba3f432d027249c532dd3f0ae87c35b6b7f7bc2', 0),
(59, 'B9-3C-5A-74', 'Ava', 'Maribel', 'Lawrence', 'maribellawrence@corecom.com', '3155d09a5314aebf3a65effcacc235b16ea9a8b6', 0),
(60, 'E0-B9-0F-F5', 'Stein', 'Peterson', 'Lindsey', 'petersonlindsey@corecom.com', '6754a730b74fa45f03ad67c574c87b9039e07d7f', 1),
(61, 'BD-A1-69-F0', 'Tommie', 'Lee', 'Chen', 'leechen@corecom.com', '28374a860c16c25aaa2089d6334e9d4d6b003dfb', 0),
(62, '81-8B-3B-DD', 'Holmes', 'Doreen', 'Ramos', 'doreenramos@corecom.com', 'c87af6c6edb145007b3ff203d3385f7421c32160', 1),
(63, '8D-C8-12-6C', 'Todd', 'Sherri', 'Knight', 'sherriknight@corecom.com', 'cba287d8f2e7259ab0f224684edfa62ab2662021', 1),
(64, '12-74-96-57', 'Henry', 'Kane', 'Martinez', 'kanemartinez@corecom.com', 'debec5f18c49d3c6123fdb74176aa439ac2ec3f2', 0),
(65, '5E-CA-06-D0', 'Liliana', 'Eleanor', 'Molina', 'eleanormolina@corecom.com', '85b651279360c82b0661264f92e3b33f82267b74', 0),
(66, '46-D5-1C-58', 'Angelita', 'Pennington', 'Simpson', 'penningtonsimpson@corecom.com', '2ee7dfa7b527da1af08ccea9a815fe516a986cb4', 0),
(67, '04-D8-00-77', 'Mcintyre', 'Tami', 'Clements', 'tamiclements@corecom.com', '4a454f5c4963285907e449c277b8c4be6cd44f6f', 0),
(68, '85-F4-B2-64', 'Baker', 'Noreen', 'Chang', 'noreenchang@corecom.com', 'ba082820d55b25751169c71ac06a137b08ef6866', 1),
(69, '99-82-48-DC', 'Barbra', 'Charlene', 'Meadows', 'charlenemeadows@corecom.com', 'e8b1250d2fba79847af5445d631d270221543e8a', 1),
(70, '51-FC-6F-FB', 'Delacruz', 'Lois', 'Ware', 'loisware@corecom.com', '656896e513e69d29d81479e8fe830cc8b85f48fb', 0),
(71, 'C5-20-CB-4B', 'Wall', 'Mcgee', 'Washington', 'mcgeewashington@corecom.com', 'f610e643113d78e7101063afbc6b77b05c4005e6', 1),
(72, 'BA-25-6F-EA', 'Wilkinson', 'Langley', 'Oneil', 'langleyoneil@corecom.com', 'f332c321ca4b5d9cd1a774679d7a30c3e8298bb9', 0),
(73, 'D6-9E-A2-80', 'Rosalie', 'Frost', 'Floyd', 'frostfloyd@corecom.com', '0bf8898efd21e0adbdafa513e4e4ea37ea925485', 0),
(74, '26-C4-EB-5D', 'Mae', 'Diaz', 'Pruitt', 'diazpruitt@corecom.com', '9dbc88fe1d357fd94ae4f0fa6b919ee73470e0f0', 1),
(75, '8A-BF-C9-3D', 'Bernadine', 'Bullock', 'Tucker', 'bullocktucker@corecom.com', '1aa94f1b8b41d736ccf9a037848450d5a1e974e8', 0),
(76, '17-4B-80-EC', 'Norman', 'Foster', 'Hyde', 'fosterhyde@corecom.com', '299f39186ea493d1400a326758281d0c84b7e5cb', 0),
(77, 'C8-5B-C6-4A', 'Terra', 'Hahn', 'Larsen', 'hahnlarsen@corecom.com', 'dd55505b18e64620aa99af77829fdc4692e0483a', 0),
(78, 'BD-6F-75-F0', 'Ina', 'Payne', 'Hawkins', 'paynehawkins@corecom.com', '278594b59cf1ca074c2c85c4fa8c4db7724b353d', 1),
(79, 'C4-DB-18-8B', 'Sabrina', 'Leach', 'Cantrell', 'leachcantrell@corecom.com', '903fef98051c203813685c59db1273e82d6fa8f1', 0),
(80, '23-4D-56-D9', 'Karla', 'Roxanne', 'Bullock', 'roxannebullock@corecom.com', '354d2ecc14a19d5c401ac3c6c970565e6cbd4590', 1),
(81, '04-08-EB-92', 'Clements', 'Munoz', 'Brooks', 'munozbrooks@corecom.com', '27c880549bb385604ba72f6b8b9afc088d29c277', 0),
(82, 'EB-DB-FD-87', 'Mccullough', 'Sofia', 'Farley', 'sofiafarley@corecom.com', '00fd33711271fe613b1c783d328ef12ddbb83fea', 1),
(83, '83-F4-17-0D', 'Cheri', 'Trina', 'Walls', 'trinawalls@corecom.com', '314eb5077e644e54f7908255ab69a8a182583ec7', 1),
(84, 'E7-7D-E0-52', 'Mcclain', 'Price', 'Gentry', 'pricegentry@corecom.com', 'edf9c6bb1bed27911dd4889710e98e166e446471', 1),
(85, '0F-6C-B6-F9', 'Leona', 'Adriana', 'Williamson', 'adrianawilliamson@corecom.com', '1a094070343af634058ca8c95b243d391419e12c', 1),
(86, '2D-C2-9C-32', 'Roslyn', 'Garner', 'Armstrong', 'garnerarmstrong@corecom.com', '1d2d3b593858da028c39945a76c828188a6ca0c6', 0),
(87, '1C-5E-93-06', 'Castillo', 'Rachael', 'Trevino', 'rachaeltrevino@corecom.com', '7fd283709ad4542bcc148916f5c5a7040ee6b563', 0),
(88, '6F-49-74-A5', 'Helen', 'Samantha', 'Gates', 'samanthagates@corecom.com', '1d6dfe0d2fccf591b71b9c087c00bdb7788b37ca', 1),
(89, '54-65-6C-9F', 'Olson', 'Sweet', 'Barry', 'sweetbarry@corecom.com', 'bf4c289377f60b992ac4c0cb6f7ddf7dc36d42b7', 1),
(90, 'BC-1E-40-1A', 'Ann', 'Evans', 'Howe', 'evanshowe@corecom.com', 'e9ac12df8e8630ea8b7f7e8aa5f2a84ae04d4e07', 1),
(91, 'F1-D0-5D-4E', 'Haynes', 'Russell', 'Shannon', 'russellshannon@corecom.com', '189f897b61dc6ac5ddde070c49c023f2ec0c3740', 1),
(92, 'D5-E3-43-71', 'Malinda', 'Alvarez', 'Singleton', 'alvarezsingleton@corecom.com', '8b251913ab48631ac945f0c008dd9ca1a6930372', 0),
(93, '23-41-81-AB', 'Cochran', 'Mcgowan', 'Mclaughlin', 'mcgowanmclaughlin@corecom.com', 'b7fd671317e8b8bb1dab53dbe97095fcb43e8d69', 0),
(94, '28-86-38-25', 'Winters', 'Eugenia', 'Anthony', 'eugeniaanthony@corecom.com', '59055f429896e2747f4684f81ccfc1f3c3959750', 1),
(95, 'C7-7C-E2-41', 'Richardson', 'King', 'Rodriguez', 'kingrodriguez@corecom.com', '1e7c28afccf9a495a3dca7373d5033ee1d104784', 1),
(96, '6B-1B-5E-A7', 'Walker', 'Montoya', 'Meyer', 'montoyameyer@corecom.com', 'f3e6cba691792c642574c4aa4ab75b751d701a95', 0),
(97, '48-03-38-1F', 'Witt', 'Larsen', 'Strong', 'larsenstrong@corecom.com', 'd6319a099f7a6577b548dba182f350562c0312c3', 0),
(98, 'E0-4B-04-F6', 'Valarie', 'Craft', 'Klein', 'craftklein@corecom.com', 'fb303aa403c8312e63b2b06c1d6d3dc734167497', 0),
(99, '2F-7D-0A-51', 'Jessica', 'Delgado', 'Campos', 'delgadocampos@corecom.com', '6db5f7b5415a933416a7114bccb6663bc9be59c8', 0),
(100, '91-D4-7E-65', 'Velez', 'Mcmahon', 'Lott', 'mcmahonlott@corecom.com', 'f01205307be8c618083e0e7bd34b4f9e42aa7b8a', 1);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

View File

@ -1,6 +1,6 @@
{ {
"host" : "localhost", "host" : "localhost",
"dbname" : "stefproject", "dbname" : "socioview",
"user" : "php", "user" : "php",
"password" : "Qt358nUdyeTxLDM8" "password" : "Qt358nUdyeTxLDM8"
} }

View File

@ -1,6 +1,6 @@
{ {
"host" : "xdrm.io", "host" : "xdrm.io",
"dbname" : "stefproject", "dbname" : "socioview",
"user" : "php", "user" : "php",
"password" : "QbzjZACndQM6NmuD" "password" : "QbzjZACndQM6NmuD"
} }

View File

@ -1,51 +1,6 @@
{ {
"user": [ "Personnes": [
"create", "getById"
"search",
"getAll",
"getById",
"getByCode",
"getByUsername",
"getClusters",
"edit",
"delete"
],
"machine": [
"create",
"search",
"getAll",
"getById",
"getByCode",
"getByName",
"getClusters",
"edit",
"delete"
],
"cluster": [
"create",
"link",
"unlink",
"getAll",
"getById",
"getByName",
"getMerge",
"getMembers",
"delete"
] ]
} }

View File

@ -1,2 +1,2 @@
#WRAPPER>#MENU-SIDE>span:not(.icon){display:block;position:relative;width:calc( 100% - 2*1em - 2*1.5em );padding:1.5em 1.5em;padding-left:calc( 1.5em + 2*1em );border-bottom:1px solid transparent;background:#32323a url("/f/svg/circle/st/menu-side/29282e") 1em center no-repeat;background-size:2em 2em;color:#ddd;text-shadow:1px 1px 0 #26262c;transition:color .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out, border .2s ease-in-out;cursor:pointer}#WRAPPER>#MENU-SIDE>span:not(.icon)>svg,#WRAPPER>#MENU-SIDE>span:not(.icon)>svg *{position:absolute;top:calc( 50% - 1em/2 );left:1.5em;width:1em;height:1em;fill:#ddd !important;transition:fill .2s ease-in-out}#WRAPPER>#MENU-SIDE>span:not(.icon):hover{border-bottom-color:#242329;box-shadow:inset 0 0 1em #27262b;background-color:#29282e;color:#fff;text-shadow:1px 1px 0 #1d1c20}#WRAPPER>#MENU-SIDE>span:not(.icon):hover>svg,#WRAPPER>#MENU-SIDE>span:not(.icon):hover>svg *{fill:#53d192 !important}#WRAPPER>#MENU-SIDE>span.icon{display:block;position:relative;width:calc( 100% - 3em - 2*1.5em );height:calc( 5em - 1px );padding:0 1.5em;padding-left:calc( 1.5em + 3em );border-bottom:1px solid transparent;background:#32323a;color:#fff;text-shadow:1px 1px 0 #26262c;font-weight:bold;line-height:5em}#WRAPPER>#MENU-SIDE>span.icon>svg,#WRAPPER>#MENU-SIDE>span.icon>svg *{position:absolute;top:calc( 50% - 5em/2 );left:1.5em;height:5em}#WRAPPER>#MENU-SIDE>span.icon:hover{border-bottom-color:#242329;box-shadow:inset 0 0 1em #27262b;background-color:#29282e;color:#fff;text-shadow:1px 1px 0 #1d1c20}#WRAPPER>#MENU-SIDE>span.sep{border-bottom:1px solid #4a4a55} #WRAPPER>#MENU-SIDE>span:not(.icon){display:block;position:relative;width:calc( 100% - 2*1em - 2*1.5em );padding:1.5em 1.5em;padding-left:calc( 1.5em + 2*1em );border-bottom:1px solid transparent;background:#32323a url("/f/svg/circle/st/menu-side/29282e") 1em center no-repeat;background-size:2em 2em;color:#ddd;text-shadow:1px 1px 0 #26262c;transition:color .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out, border .2s ease-in-out;cursor:pointer}#WRAPPER>#MENU-SIDE>span:not(.icon)>svg,#WRAPPER>#MENU-SIDE>span:not(.icon)>svg *{position:absolute;top:calc( 50% - 1em/2 );left:1.5em;width:1em;height:1em;fill:#ddd !important;transition:fill .2s ease-in-out}#WRAPPER>#MENU-SIDE>span:not(.icon):hover,#WRAPPER>#MENU-SIDE>span:not(.icon).active{border-bottom-color:#242329;box-shadow:inset 0 0 1em #27262b;background-color:#29282e;color:#fff;text-shadow:1px 1px 0 #1d1c20}#WRAPPER>#MENU-SIDE>span:not(.icon):hover>svg,#WRAPPER>#MENU-SIDE>span:not(.icon):hover>svg *,#WRAPPER>#MENU-SIDE>span:not(.icon).active>svg,#WRAPPER>#MENU-SIDE>span:not(.icon).active>svg *{fill:#53d192 !important}#WRAPPER>#MENU-SIDE>span.icon{display:block;position:relative;width:calc( 100% - 3em - 2*1.5em );height:calc( 5em - 1px );padding:0 1.5em;padding-left:calc( 1.5em + 3em );border-bottom:1px solid transparent;background:#32323a;color:#fff;text-shadow:1px 1px 0 #26262c;font-weight:bold;line-height:5em}#WRAPPER>#MENU-SIDE>span.icon>svg,#WRAPPER>#MENU-SIDE>span.icon>svg *{position:absolute;top:calc( 50% - 5em/2 );left:1.5em;height:5em}#WRAPPER>#MENU-SIDE>span.icon:hover{border-bottom-color:#242329;box-shadow:inset 0 0 1em #27262b;background-color:#29282e;color:#fff;text-shadow:1px 1px 0 #1d1c20}#WRAPPER>#MENU-SIDE>span.sep{border-bottom:1px solid #4a4a55}
/*# sourceMappingURL=menu-side.css.map */ /*# sourceMappingURL=menu-side.css.map */

View File

@ -1,6 +1,6 @@
{ {
"version": 3, "version": 3,
"mappings": "AAMC,mCAAmB,CAClB,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,QAAQ,CACjB,KAAK,CAAE,8BAA8B,CAEtC,OAAO,CAAE,WAAW,CACpB,YAAY,CAAE,qBAAqB,CAEnC,aAAa,CAAE,qBAAqB,CAEpC,UAAU,CAAE,qEAAsE,CAClF,eAAe,CAAE,OAAO,CACxB,KAAK,CCPW,IAAO,CDQvB,WAAW,CAAE,iBAA6B,CAE1C,UAAU,CAAE,qGAAqG,CAEjH,MAAM,CAAE,OAAO,CAGf,iFAAkB,CACjB,QAAQ,CAAE,QAAQ,CACjB,GAAG,CAAE,mBAAmB,CACxB,IAAI,CAAE,KAAK,CACX,KAAK,CAAE,GAAG,CACV,MAAM,CAAE,GAAG,CAEZ,IAAI,CAAE,eAAmB,CACzB,UAAU,CAAE,oBAAoB,CAKjC,yCAAO,CACN,mBAAmB,CAAE,OAA2B,CAChD,UAAU,CAAE,qBAAyC,CAErD,gBAAgB,CCjCD,OAAO,CDkCtB,KAAK,CChCU,IAAO,CDiCtB,WAAW,CAAE,iBAAqC,CAElD,6FAAkB,CACjB,IAAI,CAAE,kBAA4B,CASrC,6BAAa,CACZ,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,QAAQ,CACjB,KAAK,CAAE,4BAA4B,CACnC,MAAM,CAAE,iBAA+B,CAExC,OAAO,CAAE,OAAO,CAChB,YAAY,CAAE,mBAAmB,CAEjC,aAAa,CAAE,qBAAqB,CAEpC,UAAU,CC3DM,OAAO,CD6DvB,KAAK,CC1DW,IAAO,CD2DvB,WAAW,CAAE,iBAA6B,CAC1C,WAAW,CAAE,IAAI,CACjB,WAAW,CCtDK,GAAG,CDwDnB,qEAAkB,CACjB,QAAQ,CAAE,QAAQ,CACjB,GAAG,CAAE,mBAAmB,CACxB,IAAI,CAAE,KAAK,CACX,MAAM,CAAE,GAAG,CAIb,mCAAO,CACN,mBAAmB,CAAE,OAA2B,CAChD,UAAU,CAAE,qBAAyC,CAErD,gBAAgB,CC7ED,OAAO,CD8EtB,KAAK,CC5EU,IAAO,CD6EtB,WAAW,CAAE,iBAAqC,CASpD,4BAAY,CACX,aAAa,CAAE,iBAA+B", "mappings": "AAMC,mCAAmB,CAClB,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,QAAQ,CACjB,KAAK,CAAE,8BAA8B,CAEtC,OAAO,CAAE,WAAW,CACpB,YAAY,CAAE,qBAAqB,CAEnC,aAAa,CAAE,qBAAqB,CAEpC,UAAU,CAAE,qEAAsE,CAClF,eAAe,CAAE,OAAO,CACxB,KAAK,CCPW,IAAO,CDQvB,WAAW,CAAE,iBAA6B,CAE1C,UAAU,CAAE,qGAAqG,CAEjH,MAAM,CAAE,OAAO,CAGf,iFAAkB,CACjB,QAAQ,CAAE,QAAQ,CACjB,GAAG,CAAE,mBAAmB,CACxB,IAAI,CAAE,KAAK,CACX,KAAK,CAAE,GAAG,CACV,MAAM,CAAE,GAAG,CAEZ,IAAI,CAAE,eAAmB,CACzB,UAAU,CAAE,oBAAoB,CAKjC,oFACQ,CACP,mBAAmB,CAAE,OAA2B,CAChD,UAAU,CAAE,qBAAyC,CAErD,gBAAgB,CClCD,OAAO,CDmCtB,KAAK,CCjCU,IAAO,CDkCtB,WAAW,CAAE,iBAAqC,CAElD,6LAAkB,CACjB,IAAI,CAAE,kBAA4B,CASrC,6BAAa,CACZ,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,QAAQ,CACjB,KAAK,CAAE,4BAA4B,CACnC,MAAM,CAAE,iBAA+B,CAExC,OAAO,CAAE,OAAO,CAChB,YAAY,CAAE,mBAAmB,CAEjC,aAAa,CAAE,qBAAqB,CAEpC,UAAU,CC5DM,OAAO,CD8DvB,KAAK,CC3DW,IAAO,CD4DvB,WAAW,CAAE,iBAA6B,CAC1C,WAAW,CAAE,IAAI,CACjB,WAAW,CCvDK,GAAG,CDyDnB,qEAAkB,CACjB,QAAQ,CAAE,QAAQ,CACjB,GAAG,CAAE,mBAAmB,CACxB,IAAI,CAAE,KAAK,CACX,MAAM,CAAE,GAAG,CAIb,mCAAO,CACN,mBAAmB,CAAE,OAA2B,CAChD,UAAU,CAAE,qBAAyC,CAErD,gBAAgB,CC9ED,OAAO,CD+EtB,KAAK,CC7EU,IAAO,CD8EtB,WAAW,CAAE,iBAAqC,CASpD,4BAAY,CACX,aAAa,CAAE,iBAA+B",
"sources": ["menu-side.scss","constants.scss"], "sources": ["menu-side.scss","constants.scss"],
"names": [], "names": [],
"file": "menu-side.css" "file": "menu-side.css"

View File

@ -36,8 +36,9 @@
} }
/* (2) @hover -> survol souris */ /* (2) @hover ou .active -> survol souris ou active */
&:hover{ &:hover,
&.active{
border-bottom-color: darken($dark-bg-primary, 2); border-bottom-color: darken($dark-bg-primary, 2);
box-shadow: inset 0 0 1em darken($dark-bg-primary, 1); box-shadow: inset 0 0 1em darken($dark-bg-primary, 1);

81
doc/bdd.sql Normal file
View File

@ -0,0 +1,81 @@
CREATE TABLE Etudes
(
idEtude INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
intitule INT(11)
);
CREATE UNIQUE INDEX uindex_Etudes_idEtude ON Etudes (idEtude);
CREATE TABLE Questions
(
idQuestion INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
intitule TEXT NOT NULL,
qualification VARCHAR(255) NOT NULL,
ihmType INT(11) NOT NULL,
idEtude INT(11) NOT NULL,
CONSTRAINT uindex_Question_idEtude FOREIGN KEY (idEtude) REFERENCES Etudes (idEtude)
);
CREATE INDEX index_Question_idEtude ON Questions (idEtude);
CREATE UNIQUE INDEX uindex_Questions_idQuestion ON Questions (idQuestion);
CREATE TABLE Personnes
(
idPersonne INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
pseudo VARCHAR(255),
nom VARCHAR(255),
prenom VARCHAR(255)
);
CREATE UNIQUE INDEX uindex_Personnes_idPersonne ON Personnes (idPersonne);
CREATE TABLE ReponsesAttendues
(
idReponseAttendue INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
intitule VARCHAR(255) NOT NULL,
idQuestion INT(11) NOT NULL,
CONSTRAINT fk_ReponsesAttendues_idQuestion FOREIGN KEY (idQuestion) REFERENCES Questions (idQuestion)
);
CREATE INDEX index_ReponsesAttendues_idQuestion ON ReponsesAttendues (idQuestion);
CREATE UNIQUE INDEX uindex_ReponsesAttendues_idReponseAttendue ON ReponsesAttendues (idReponseAttendue);
CREATE TABLE ReponsesUtilisateurs
(
idReponseUtilisateur INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
intitule VARCHAR(255) NOT NULL,
idQuestion INT(11) NOT NULL,
idUtilisateur INT(11) NOT NULL,
CONSTRAINT fk_ReponsesUtilisateurs FOREIGN KEY (idQuestion) REFERENCES Questions (idQuestion),
CONSTRAINT fk_ReponsesUtilisateurs_idPersonne FOREIGN KEY (idUtilisateur) REFERENCES Personnes (idPersonne)
);
CREATE INDEX index_ReponsesUtilisateurs ON ReponsesUtilisateurs (idQuestion);
CREATE INDEX index_ReponsesUtilisateurs_idPersonne ON ReponsesUtilisateurs (idUtilisateur);
CREATE UNIQUE INDEX uindex_ReponsesUtilisateurs_idReponseUtilisateur ON ReponsesUtilisateurs (idReponseUtilisateur);
CREATE TABLE Categories
(
idCategorie INT(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
intitule INT(11) NOT NULL
);
CREATE UNIQUE INDEX uindex_Catégories_idCatégorie ON Categories (idCategorie);
CREATE TABLE Relations
(
idPersonneA INT(11) NOT NULL,
idPersonneB INT(11) NOT NULL,
idCategorie INT(11),
CONSTRAINT `PRIMARY` PRIMARY KEY (idPersonneA, idPersonneB),
CONSTRAINT fk_Relations_idCategorie FOREIGN KEY (idCategorie) REFERENCES Categories (idCategorie),
CONSTRAINT fk_Relations_idUtilsateurA FOREIGN KEY (idPersonneA) REFERENCES Personnes (idPersonne),
CONSTRAINT fk_Relations_idUtilsateurB FOREIGN KEY (idPersonneB) REFERENCES Personnes (idPersonne)
);
CREATE INDEX index_Relations_idCategorie ON Relations (idCategorie);
CREATE INDEX index_Relations_idUtilsateurB ON Relations (idPersonneB);
CREATE TABLE Etude_Personnes
(
idEtude INT(11) DEFAULT '0' NOT NULL,
idPersonne INT(11) DEFAULT '0' NOT NULL,
CONSTRAINT `PRIMARY` PRIMARY KEY (idEtude, idPersonne),
CONSTRAINT fk_EP_idEtude FOREIGN KEY (idEtude) REFERENCES Etudes (idEtude),
CONSTRAINT fk_EP_idPersonne FOREIGN KEY (idPersonne) REFERENCES Personnes (idPersonne)
);
CREATE INDEX index_EP_idPersonne ON Etude_Personnes (idPersonne);

View File

@ -48,7 +48,7 @@
if( self::$instance == null || self::$error != ManagerError::Success ){ // Si aucune instance existante OU erreur de connection if( self::$instance == null || self::$error != ManagerError::Success ){ // Si aucune instance existante OU erreur de connection
// chargement de la configuration du server SQL // chargement de la configuration du server SQL
if( !isset($_SERVER['HTTP_HOST']) || isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == 'stefproject' ) if( !isset($_SERVER['HTTP_HOST']) || isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == 'socioview' )
$conf = json_decode( ResourceDispatcher::getResource(self::$config_path['local']), true ); $conf = json_decode( ResourceDispatcher::getResource(self::$config_path['local']), true );
else else
$conf = json_decode( ResourceDispatcher::getResource(self::$config_path['remote']), true ); $conf = json_decode( ResourceDispatcher::getResource(self::$config_path['remote']), true );
@ -187,10 +187,14 @@
switch($type){ switch($type){
/* (1) Global */ /* (1) Global */
case 'auto_increment_id': case 'id':
return $checker && is_numeric($value) && $value <= 2147483647 && $value >= -2147483647; return $checker && is_numeric($value) && $value <= 2147483647 && $value >= -2147483647;
break; break;
case 'varchar(255)':
return $checker && is_string($value) && strlen($value) <= 255;
break;
/* (2) Utilisateur */ /* (2) Utilisateur */
case 'user.code': case 'user.code':
case 'machine.code': case 'machine.code':

69
manager/repo/Personnes.php Executable file
View File

@ -0,0 +1,69 @@
<?php
namespace manager\repo;
use \manager\Database;
class Personnes{
/* Gestion de la table Personne et des derivations
*
* 1. Gestion des access
* - getById(id)
*
* 2. Gestion des matchs
* - getMatch(id)
* - getMatch(pseudo, nom, prenom, facebook, telephone)
*
* 3. Gestion de la fusion de 2 Personnes (car sont en fait la meme -> portage des donnees)
* - merge(idA, idB)
*
* 4. Gestion de creation
* - create(pseudo, nom, prenom, facebook, telephone)
*
*
*/
/* RENVOIE LES DONNEES D'UN UTILISATEUR D'UID DONNE
*
* @id_personne<int> UID de la personne en question
*
* @return personne<Array> Tableau associatif contenant les informations utiles de la personne
* @return FALSE<boolean> Si une erreur occure ou qu'aucune personne n'est trouvee, retourne FALSE
*
*/
public static function getById($id_personne=null){
/* [0] Verification des INPUT
=========================================================*/
if( !Database::check('id', $id_personne) ) return false;
/* [1] On prepare et execute la requete
=========================================================*/
$request = Database::getPDO()->prepare("SELECT idPersonne as id, pseudo, nom, prenom, id_facebook, telephone
FROM Personnes
WHERE idPersonne = :uid");
$request->execute(array(
':uid' => $id_personne
));
/* [2] On recupere le resultat
=========================================================*/
// si aucun resultat, on retourne FALSE
if( ($personne=$request->fetch()) === false ) return false;
/* [3] On retourne les donnees
=========================================================*/
return Database::delNumeric( $personne, true );
}
}
?>

View File

@ -1,404 +0,0 @@
<?php
namespace manager\repo;
use \manager\Database;
use \manager\repo\machine as machineRepo;
use \manager\repo\user as userRepo;
class cluster{
const USER_CLASS = 0;
const MACHINE_CLASS = 1;
/* CREATION D'UN GROUPE
*
* @name<String> Nom du groupe
*
* @return id_user<int> Renvoie l'UID du groupe cree
* Renvoie FALSE si une erreur occure
*
*/
public static function create($name){
/* [1] Verification de l'unicite de name
=========================================================*/
$check_unique = ( self::getByName($name) === false );
// Si un groupe a deja ce nom, on renvoie une erreur
if( !$check_unique )
return false;
/* [2] Creation du groupe
=========================================================*/
$insert_user = Database::getPDO()->prepare("INSERT INTO cluster(id_cluster, name)
VALUES(DEFAULT, :name)");
$insert_user->execute(array(
':name' => $name
));
/* [3] On retourne l'id_group ou FALSE si erreur
=========================================================*/
$check_group = self::getByName($name);
// Si n'existe pas on retourne FALSE
if( $check_group === false )
return false;
// Sinon, on retourne son id
return $check_group['id_cluster'];
}
/* ASSOCIATION D'UN(E) UTILISATEUR/MACHINE A UN GROUPE
*
* @id_cluster<int> UID du groupe
* @id_entity<int> UID de la machine ou de l'utilisateur
* @class<int> Spefication du type d'entite (0=user;1=machine)
*
* @return association<int> Renvoie l'UID de l'association cree
* Renvoie FALSE si une erreur occure
*
*/
public static function link($id_cluster, $id_entity, $class){
/* [1] Verification de l'existence du groupe
=========================================================*/
$group_check = self::getById($id_cluster);
// Si le groupe n'existe pas, on retourne ue erreur
if( $group_check === false )
return false;
/* [2] Verification de l'existente de l'entite
=========================================================*/
$entity_exists = false;
/* (1) Utilisateur */
if( $class == 0 ){
// On verifie si c'est un utilisateur
$user_check = userRepo::getById($id_entity);
$entity_exists = ( $user_check !== FALSE );
/* (2) Machine */
}elseif( $class == 1 ){
// On verifie si c'est une machine
$machine_check = machineRepo::getById($id_entity);
$entity_exists = ( $machine_check !== FALSE );
}
// Si aucune entite existante, on retourne une erreur
if( !$entity_exists )
return false;
/* [3] Verification que l'existente n'existe pas deja
=========================================================*/
$already_cluster_merge = self::getMerge($id_cluster, $id_entity, $class);
// Si l'association existe deja, on ne la cree donc pas
if( $already_cluster_merge !== false )
return $already_cluster_merge['id_cluster_merge'];
/* [4] On cree l'association
=========================================================*/
$link_entity = Database::getPDO()->prepare("INSERT INTO cluster_merge(id_cluster_merge, id_cluster, id_entity, class)
VALUES(DEFAULT, :id_cluster, :id_entity, :class)");
$link_entity->execute(array(
':id_cluster' => $id_cluster,
':id_entity' => $id_entity,
':class' => $class
));
/* [5] On retourne l'id_cluster_merge ou FALSE si erreur
=========================================================*/
$check_cluster_merge = self::getMerge($id_cluster, $id_entity, $class);
// Si n'existe pas on retourne FALSE
if( $check_cluster_merge === false )
return false;
// Sinon, on retourne son id
return $check_cluster_merge['id_cluster_merge'];
}
/* SUPPRIME UNE ASSOCIATION D'UN(E) UTILISATEUR/MACHINE A UN GROUPE
*
* @id_cluster<int> UID du groupe
* @id_entity<int> UID de la machine ou de l'utilisateur
* @class<int> Spefication du type d'entite (0=user;1=machine)
*
* @return status<Boolean> Retourne si oui ou non l'association a bien ete supprimee
*
*/
public static function unlink($id_cluster, $id_entity, $class){
/* [1] On redige/execute la requete
=========================================================*/
$delete_cluster_merge = Database::getPDO()->prepare("DELETE FROM cluster_merge
WHERE id_cluster = :id_cluster
AND id_entity = :id_entity
AND class = :class");
$delete_cluster_merge->execute(array(
':id_cluster' => $id_cluster,
':id_entity' => $id_entity,
':class' => $class
));
/* [2] On verifie que l'association n'existe plus
=========================================================*/
return ( self::getMerge($id_cluster, $id_entity, $class) === false );
}
/* RENVOIE LA LISTE DE TOUS LES GROUPES
*
* @return groups<Array> Liste des groupes de la BDD
*
*/
public static function getAll(){
// On ecrit la requete
$request = Database::getPDO()->query("SELECT * FROM cluster ORDER BY name");
// On recupere le resultat
$answer = $request->fetchAll();
// On retourne en supprimant les indices numeriques
return Database::delNumeric( $answer );
}
/* RENVOIE LE GROUPE D'ID DONNE
*
* @id<int> UID du groupe en question
*
* @return group<Array> Renvoie le groupe d'id donne si existe
* @return error<Boolean> Retourne FALSE si aucun resultat
*
*/
public static function getById($id){
// On ecrit la requete
$request = Database::getPDO()->prepare("SELECT * FROM cluster
WHERE id_cluster = :id");
// On execute la requete
$request->execute(array(
':id' => $id
));
// On recupere 1 seul groupe
$answer = $request->fetch();
// Gestion d'erreur -> aucun resultat
if( $answer === false )
return false;
// On retourne en supprimant les indices numeriques
return Database::delNumeric( $answer, true );
}
/* RENVOIE LE GROUPE DE NOM DONNE
*
* @name<String> Nom du groupe en question
*
* @return groupe<Array> Renvoie le groupe de nom donne si existe
* @return error<Boolean> Retourne FALSE si aucun resultat
*
*/
public static function getByName($name){
// On ecrit la requete
$request = Database::getPDO()->prepare("SELECT * FROM cluster
WHERE name = :name");
// On execute la requete
$request->execute(array(
':name' => $name
));
// On recupere 1 seul groupe
$answer = $request->fetch();
// Gestion d'erreur -> aucun resultat
if( $answer === false )
return false;
// On retourne en supprimant les indices numeriques
return Database::delNumeric( $answer, true );
}
/* RENVOIE L'ID D'UNE ASSOCIATION D'UN(E) UTILISATEUR/MACHINE A UN GROUPE
*
* @id_cluster<int> UID du groupe
* @id_entity<int> UID de la machine ou de l'utilisateur
* @class<int> Spefication du type d'entite (0=user;1=machine)
*
* @return association<int> Renvoie l'UID de l'association cree
* Renvoie FALSE si une erreur occure
*
*/
public static function getMerge($id_cluster, $id_entity, $class){
// On ecrit la requete
$request = Database::getPDO()->prepare("SELECT * FROM cluster_merge
WHERE id_cluster = :id_cluster
AND id_entity = :id_entity
AND class = :class");
// On execute la requete
$request->execute(array(
':id_cluster' => $id_cluster,
':id_entity' => $id_entity,
':class' => $class
));
// On recupere 1 seule relation
$answer = $request->fetch();
// Gestion d'erreur -> aucun resultat
if( $answer === false )
return false;
// On retourne en supprimant les indices numeriques
return Database::delNumeric( $answer, true );
}
/* RENVOIE LES MEMBRES D'UN GROUPE DONNE
*
* @id_cluster<int> UID du groupe en question
*
* @return members<Array> Retourne la liste des membres du groupe
*
*/
public static function getMembers($id_cluster){
/* [1] On recupere la liste des associations
=========================================================*/
$get_members = Database::getPDO()->prepare("SELECT * FROM cluster_merge
WHERE id_cluster = :id_cluster
ORDER BY id_cluster_merge");
$get_members->execute(array(
':id_cluster' => $id_cluster
));
$members = Database::delNumeric( $get_members->fetchAll() );
/* [2] On formatte recupere les entites
=========================================================*/
foreach($members as $i=>$member){
/* (1) On recupere les informations utilisateur */
if( $member['class'] == self::USER_CLASS ){
$get_user = userRepo::getById( $member['id_entity'] );
// Si on a bien recu les informations, on les ajoute
if( $get_user !== false )
$members[$i] = array_merge($member, $get_user );
/* (2) On recupere les informations machine */
}elseif( $member['class'] == self::MACHINE_CLASS ){
$get_machine = machineRepo::getById( $member['id_entity'] );
// Si on a bien recu les informations, on les ajoute
if( $get_machine !== false )
$members[$i] = array_merge($member, $get_machine );
}
}
/* [2] On verifie que le groupe n'existe plus
=========================================================*/
return $members;
}
/* SUPPRIME UN GROUPE DONNE
*
* @id_cluster<int> UID du groupe en question
*
* @return status<Boolean> Retourne si oui ou non le groupe a bien ete supprime
*
*/
public static function delete($id_cluster){
/* [1] On redige/execute la requete
=========================================================*/
$delete_group = Database::getPDO()->prepare("DELETE FROM cluster WHERE id_cluster = :id_cluster");
$delete_group->execute(array(
':id_cluster' => $id_cluster
));
/* [2] On verifie que le groupe n'existe plus
=========================================================*/
return ( self::getById($id_group) === false );
}
}
?>

View File

@ -2,8 +2,24 @@
require_once __ROOT__.'/manager/autoloader.php'; require_once __ROOT__.'/manager/autoloader.php';
use \manager\ModuleRequest; use \manager\ModuleRequest;
use \manager\ManagerError; use \manager\ManagerError;
use \manager\Repo;
use \manager\ResourceDispatcher; use \manager\ResourceDispatcher;
/* [2] On recupere une personne
=========================================================*/debug();
$request = new Repo('Personnes/getById', array(1));
$pers = $request->answer();
?> ?>
Statistiques
<section>
<h6>RECHERCHE DE PERSONNE PAR ID</h6>
<?php var_dump($pers) ?>
</section>

View File

@ -36,7 +36,6 @@ if( $answer->error != ManagerError::Success )
$render = $answer->get('render'); $render = $answer->get('render');
?> ?>