MOD séparation logique du profile des utilisateurs dans la BD
[euphorik.git] / doc / protocole3.txt
index c8642ab..2eb81a6 100644 (file)
@@ -58,7 +58,7 @@ c -> s
       "header" : {action : "register", version : 3},
       "login" : "paul",
       "password" : "IJKJDHHSAD9081238",
-      "profile_infos" : { .. } // voir <profile_infos>
+      "profile" : { .. } // voir <profile>
    }
 ou
    {
@@ -78,17 +78,9 @@ s -> c
       "status" : "auth_registered" | "auth_not_registered",
       "cookie" : "LKJDLAKSJBFLKASN",
       "id" : 193,
-      "nick" : "Paul",
       "login" : "paul49",
-      "email" : "paul@pierre.com",
-      "css" : "css/3/euphorik.css",
-      "chat_order" : "chrono" | "reverse",
-      "nick_format" : "nick" | "login" | "nick_login",
-      "view_times" : true | false,
-      "view_tooltips" : true | false,
-      "conversations" : [{"root" : 3, "minimized" : true},
       "ek_master" : true | false,
-      "ostentatious_master" : "invisible" | "light" | "heavy"
+      "profile" : <profile>
    }
  
  
@@ -101,7 +93,7 @@ c -> s
  
  
 === Profile ===
-<profile_infos>
+<profile>
    {
       "nick" : "Paul",
       "email" : "paul@pierre.com",
@@ -120,7 +112,7 @@ c -> s
       "cookie" : "LKJDLAKSJBFLKASN",
       "login" : "paul49",
       "password" : "IJKJDHHSAD9081238",
-      "profile_infos" : <profile_infos>
+      "profile" : <profile>
    }
       
 s -> c