WebDevCF2018 / tchat

Tchat Webdev CF2m 2018
MIT License
3 stars 8 forks source link
css html javascript mysql mysqli php php7 tchat

tchat

Tchat responsive en ajax Webdev CF2m 2018

config.php (local)

define("DB_HOST","localhost"); define("DB_PORT",3306); define("DB_NAME","chat18cf2m"); define("DB_LOGIN","root"); define("DB_PWD",""); define("DB_CHARSET","utf8");

27/05/2018

ALTER TABLE themessage CHANGE thecontent thecontent VARCHAR(1200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;

passage de 800 à 1200 caractères par message

23/05/2018

ALTER TABLE theuser CHANGE theimage theimage VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'profil.png';

18/05/2018

ALTER TABLE theuser ADD theimage VARCHAR(128) NOT NULL DEFAULT 'profil.png' AFTER thevalidate;

14/05/2018

CREATE TABLE theonline ( idonline bigint(20) UNSIGNED NOT NULL, idutil int(10) UNSIGNED NOT NULL, thetime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE theonline ADD PRIMARY KEY (idonline);

ALTER TABLE theonline MODIFY idonline bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

09/05/2018 b

ALTER TABLE theuser CHANGE thecolor thecolor VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;

09/05/2018

Sélectionnez la table 'theuser' et en mode SQL, updatez la avec cette ligne pour permettre le choix d'une couleur:

ALTER TABLE theuser ADD thecolor VARCHAR(10) NOT NULL AFTER thekey;

30/04/218

! modification de structure de la table theuser

DROP TABLE IF EXISTS theuser; CREATE TABLE IF NOT EXISTS theuser ( idutil int(10) UNSIGNED NOT NULL AUTO_INCREMENT, themail varchar(255) NOT NULL, thelogin varchar(50) NOT NULL, thepwd varchar(64) NOT NULL, thekey varchar(64) DEFAULT NULL, thevalidate tinyint(3) UNSIGNED DEFAULT '0', PRIMARY KEY (idutil), UNIQUE KEY thelogin_UNIQUE (thelogin) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; COMMIT;

Travail colaboratif de la classe web 2018 du CF2m

Nous noterons ici le cahier des charges et la répartition des tâches (voir dans Projects pour celle-ci et dans Issues pour la gestion des bugs)