Browse Source

Call this v1.3.0

Pentium44 4 years ago
parent
commit
3c35857aa0
2 changed files with 18 additions and 7 deletions
  1. 14 7
      README.md
  2. 4 0
      server.php

+ 14 - 7
README.md View File

3
 
3
 
4
 Requirements:
4
 Requirements:
5
         PHP 5.2+
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
 Installation:
8
 Installation:
10
         ~Download webirc-client
9
         ~Download webirc-client
11
         ~Extract it to desired web server / htdocs directory
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
         ~Use it!
12
         ~Use it!
14
 
13
 
15
 Changelog:
14
 Changelog:
15
+<<<<<<< HEAD
16
 	v1.3.0:
16
 	v1.3.0:
17
 		-Add /join commands as well as /msg
17
 		-Add /join commands as well as /msg
18
 		-Some security fixes
18
 		-Some security fixes
20
 		-Channel input boxes for login
20
 		-Channel input boxes for login
21
 		-IRC client bugfixes (irc.php)
21
 		-IRC client bugfixes (irc.php)
22
 	v1.0.1:
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
 		-Add message, and server activity timestamps to chat logs.
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
 Legal stuff:
37
 Legal stuff:
30
-        webirc-client is based from microchat and has been greatly modified for this project.
31
         License: GPLv2
38
         License: GPLv2

+ 4 - 0
server.php View File

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