Bläddra i källkod

Call this v1.3.0

Pentium44 4 år sedan
förälder
incheckning
3c35857aa0
2 ändrade filer med 18 tillägg och 7 borttagningar
  1. 14 7
      README.md
  2. 4 0
      server.php

+ 14 - 7
README.md Visa fil

@@ -3,16 +3,16 @@ This is a simple ajax chat system with a very small footprint on web servers. we
3 3
 
4 4
 Requirements:
5 5
         PHP 5.2+
6
-        telnet (IRC backend)
7
-        Read-Write access for .webirc.log and .webirc.input (server side stuffs)
6
+        Read-Write access for working directory
8 7
 
9 8
 Installation:
10 9
         ~Download webirc-client
11 10
         ~Extract it to desired web server / htdocs directory
12
-        ~Customize config.php / webirc.conf to your likings
11
+        ~Customize config.php to your liking
13 12
         ~Use it!
14 13
 
15 14
 Changelog:
15
+<<<<<<< HEAD
16 16
 	v1.3.0:
17 17
 		-Add /join commands as well as /msg
18 18
 		-Some security fixes
@@ -20,12 +20,19 @@ Changelog:
20 20
 		-Channel input boxes for login
21 21
 		-IRC client bugfixes (irc.php)
22 22
 	v1.0.1:
23
+=======
24
+    v1.2.0:
25
+        -Server backend rewrite, all now using PHP and socket_connect / socket_recv / socket_write
26
+        -Server.php cleanup. 
27
+        -Simple ping / pong between irc.php and the ajax web client (disconnect user if user not active after 10s)
28
+
29
+    v1.0.1:
30
+>>>>>>> a4294cfa574a866d5725c999aff08bf371c51a46
23 31
 		-Add message, and server activity timestamps to chat logs.
24 32
 
25
-        v1.0.0:
26
-                -Probably going to do something with it!
27
-                -Functioning as a bash / php based IRC web client!
33
+    v1.0.0:
34
+        -Probably going to do something with it!
35
+        -Functioning as a bash / php based IRC web client!
28 36
 
29 37
 Legal stuff:
30
-        webirc-client is based from microchat and has been greatly modified for this project.
31 38
         License: GPLv2

+ 4 - 0
server.php Visa fil

@@ -15,6 +15,10 @@ include_once("config.php");
15 15
 
16 16
 session_start();
17 17
 
18
+if(isset($_GET['msg'])) {
19
+	doLog("Msg information: " . $_GET['msg']);
20
+}
21
+
18 22
 $channel = $_SESSION['cwchat-channel'];
19 23
 
20 24
 // If we have a message; grab user and content and push to IRC client