KiwiIRC.git
11 years agoOnly require socks.js if running node 0.10 or above
Jack Allnutt [Wed, 3 Apr 2013 19:04:21 +0000 (20:04 +0100)]
Only require socks.js if running node 0.10 or above

11 years agoActually remove node version restriction
Jack Allnutt [Mon, 1 Apr 2013 20:42:50 +0000 (20:42 +0000)]
Actually remove node version restriction

11 years agoRemove npm version restriction & add warning to config file
Jack Allnutt [Mon, 1 Apr 2013 20:38:30 +0000 (20:38 +0000)]
Remove npm version restriction & add warning to config file

11 years agoFix minor omissions
Jack Allnutt [Mon, 1 Apr 2013 05:42:03 +0000 (05:42 +0000)]
Fix minor omissions

11 years agoRefactor to use the new streams API
Jack Allnutt [Mon, 1 Apr 2013 05:24:12 +0000 (05:24 +0000)]
Refactor to use the new streams API

SocksConnection will no longer emit the socket along with the 'connect' event.

SocksConnection is now a DuplexStream and can be read/written from/to.

SSL handling no longer manually creates a SecurePair; Uses native starttls support in tls.connect.

As it now depends on the new streams API, add the node engine restriction in package.json

11 years agoSOCKS proxy conf and integration
Jack Allnutt [Sat, 23 Mar 2013 12:30:22 +0000 (12:30 +0000)]
SOCKS proxy conf and integration

* Configuration details in conf.example.js
  - Can be configured to use SOCKS for all outgoing connections or
    just for specific hosts

* Integrated in to IrcConnection object

* Minor tweak to IrcConnection: use call instead of apply to avoid
  accessing the arguments object, which isn't used by
  socketConnectHandler

11 years agoPlumb socks.js into connection.js
Jack Allnutt [Thu, 21 Mar 2013 07:16:03 +0000 (07:16 +0000)]
Plumb socks.js into connection.js

Currently hard-coded not to use a SOCKS connection.

11 years agoTweaking SocksConnection internals/API
Jack Allnutt [Thu, 21 Mar 2013 06:29:40 +0000 (06:29 +0000)]
Tweaking SocksConnection internals/API

SocksConnection's signature is now:
    SocksConnection({host, port, ssl}, {host, port, user, pass}).

SocksConnection now emits 'connect' rather than 'socksConnect'.

SocksConnection.destination replaced with SocksConnection.remoteAddress and .remotePort.

SocksConnection.socks removed, data is now passed by fn.bind() internally.

socksSocket errors are now emitted by SocksConnection rather than logged to the console.

The socksSocket error handler is removed once a successful connection has been established through the
SOCKS proxy.

SocksConnection is now exported.

11 years agoSupport for SSL connections through SOCKS proxy
Jack Allnutt [Thu, 14 Mar 2013 00:55:54 +0000 (00:55 +0000)]
Support for SSL connections through SOCKS proxy

11 years agoMostly working SOCKS client
Jack Allnutt [Wed, 6 Mar 2013 23:53:21 +0000 (23:53 +0000)]
Mostly working SOCKS client

Not plumbed in to anything yet, though

11 years agoClient user script editor
Darren [Tue, 5 Mar 2013 15:52:17 +0000 (15:52 +0000)]
Client user script editor

11 years agofontawesome update
Darren [Tue, 5 Mar 2013 15:48:06 +0000 (15:48 +0000)]
fontawesome update

11 years agoMerge branch 'client_plugins' into development
Darren [Tue, 5 Mar 2013 11:15:20 +0000 (11:15 +0000)]
Merge branch 'client_plugins' into development

11 years ago/ctcp command implimented into the client #177
Darren [Mon, 4 Mar 2013 21:56:22 +0000 (21:56 +0000)]
/ctcp command implimented into the client #177

11 years agoChannel list view width change
Darren [Sun, 3 Mar 2013 20:42:06 +0000 (20:42 +0000)]
Channel list view width change

11 years agoRPL_ENDOFBANLIST fix
Darren [Sun, 3 Mar 2013 20:07:51 +0000 (20:07 +0000)]
RPL_ENDOFBANLIST fix

11 years agoMerge pull request #175 from M2Ys4U/development
Darren [Sat, 2 Mar 2013 15:29:17 +0000 (07:29 -0800)]
Merge pull request #175 from M2Ys4U/development

Support for leading zeroes in colour codes

11 years agoSupport for leading zeroes in colour codes
Jack Allnutt [Sat, 2 Mar 2013 08:35:46 +0000 (08:35 +0000)]
Support for leading zeroes in colour codes

Fix for issue #174

11 years agoPlugin example updated
Darren [Fri, 22 Feb 2013 22:31:06 +0000 (22:31 +0000)]
Plugin example updated

11 years agoIrc component renamed; Kiwi network events;
Darren [Fri, 22 Feb 2013 20:14:42 +0000 (20:14 +0000)]
Irc component renamed; Kiwi network events;

11 years agoGateway events consistancy
Darren [Fri, 22 Feb 2013 12:59:05 +0000 (12:59 +0000)]
Gateway events consistancy

11 years agoClient: ControlBox event namespace seperator
Darren [Fri, 22 Feb 2013 11:00:21 +0000 (11:00 +0000)]
Client: ControlBox event namespace seperator

11 years agoClient plugin example
Darren [Thu, 21 Feb 2013 23:54:20 +0000 (23:54 +0000)]
Client plugin example

11 years agoClient API implimentation
Darren [Thu, 21 Feb 2013 23:53:43 +0000 (23:53 +0000)]
Client API implimentation

11 years agoMerge branch 'development' of http://github.com/M2Ys4U/KiwiIRC into development
Darren [Mon, 18 Feb 2013 19:21:29 +0000 (19:21 +0000)]
Merge branch 'development' of github.com/M2Ys4U/KiwiIRC into development

11 years agoFix off-by-one error when handling bg colours.
Jack Allnutt [Mon, 18 Feb 2013 18:12:15 +0000 (18:12 +0000)]
Fix off-by-one error when handling bg colours.

11 years agoServer: Removing plugin listeners from PluginInterface prototype
Darren [Mon, 18 Feb 2013 15:55:55 +0000 (15:55 +0000)]
Server: Removing plugin listeners from PluginInterface prototype

11 years agoDon't show a loader for query panels
Darren [Sun, 17 Feb 2013 18:50:17 +0000 (18:50 +0000)]
Don't show a loader for query panels

11 years agoClient: Channel joining loader
Darren [Sun, 17 Feb 2013 18:36:15 +0000 (18:36 +0000)]
Client: Channel joining loader

11 years agoChannel tabs/list switching on supported themes
Darren [Sun, 17 Feb 2013 17:24:55 +0000 (17:24 +0000)]
Channel tabs/list switching on supported themes

11 years agoKICK command fix
Darren [Thu, 14 Feb 2013 01:51:15 +0000 (01:51 +0000)]
KICK command fix

11 years agoUpdated README
Darren [Sat, 2 Feb 2013 15:23:04 +0000 (15:23 +0000)]
Updated README

11 years agoMerge branch 'tab_layout' into development
Darren [Sat, 2 Feb 2013 15:15:57 +0000 (15:15 +0000)]
Merge branch 'tab_layout' into development

11 years agoGit fail - redo previous commit
Darren [Sat, 2 Feb 2013 14:45:54 +0000 (14:45 +0000)]
Git fail - redo previous commit

11 years agoCLI theme input box CSS fix; CLI+Mini theme channel acitivity+chan treeview mode...
Darren [Sat, 2 Feb 2013 14:45:27 +0000 (14:45 +0000)]
CLI theme input box CSS fix; CLI+Mini theme channel acitivity+chan treeview mode styling

11 years agoMessage aligning
Darren [Sat, 2 Feb 2013 13:49:24 +0000 (13:49 +0000)]
Message aligning

11 years agoWebListener object emitting updated event names
Darren [Fri, 1 Feb 2013 18:28:23 +0000 (18:28 +0000)]
WebListener object emitting updated event names

11 years agoServer: IrcChannel definition consistancy
Darren [Fri, 1 Feb 2013 15:31:07 +0000 (15:31 +0000)]
Server: IrcChannel definition consistancy

11 years agoServer: Removed host+port duplication from IrcServer
Darren [Fri, 1 Feb 2013 14:40:17 +0000 (14:40 +0000)]
Server: Removed host+port duplication from IrcServer

11 years agoRevert "Server: Removed hostname from 'server:*' event names"
Darren [Fri, 1 Feb 2013 14:33:59 +0000 (14:33 +0000)]
Revert "Server: Removed hostname from 'server:*' event names"

This reverts commit 453c792f848d037e99a81b61fbffb5b52366c527.

11 years agoServer: Removed hostname from 'server:*' event names
Darren [Thu, 31 Jan 2013 16:11:21 +0000 (16:11 +0000)]
Server: Removed hostname from 'server:*' event names

11 years agoEmit 'dispose' on a dispose call instead of 'destroy'
Darren [Thu, 31 Jan 2013 14:48:47 +0000 (14:48 +0000)]
Emit 'dispose' on a dispose call instead of 'destroy'

11 years agoRemoved cosole.log()
Darren [Thu, 31 Jan 2013 14:29:11 +0000 (14:29 +0000)]
Removed cosole.log()

11 years agoIrcServer memory leak fix
Darren [Thu, 31 Jan 2013 14:28:18 +0000 (14:28 +0000)]
IrcServer memory leak fix

11 years agoClient: Password mismatch
Darren [Thu, 31 Jan 2013 12:57:48 +0000 (12:57 +0000)]
Client: Password mismatch

11 years agoprevious commit part.2
Darren [Thu, 31 Jan 2013 12:55:56 +0000 (12:55 +0000)]
previous commit part.2

11 years agoERR_PASSWORDMISMATCH; IrcServer disposing
Darren [Thu, 31 Jan 2013 12:54:15 +0000 (12:54 +0000)]
ERR_PASSWORDMISMATCH; IrcServer disposing

11 years agoLUSER command implimented; Network stats output;
Darren [Wed, 30 Jan 2013 15:02:52 +0000 (15:02 +0000)]
LUSER command implimented; Network stats output;

11 years ago/list command working properly
Darren [Wed, 30 Jan 2013 13:42:30 +0000 (13:42 +0000)]
/list command working properly

11 years agoClosing the IrcConnection socket on a dispose
Darren [Tue, 29 Jan 2013 13:41:08 +0000 (13:41 +0000)]
Closing the IrcConnection socket on a dispose

11 years agoClient: Switch next/prev panel hotkeys to [] chars
Darren [Tue, 29 Jan 2013 01:47:19 +0000 (01:47 +0000)]
Client: Switch next/prev panel hotkeys to [] chars

11 years agoUpdating the nick within IrcConnection on change
Darren [Tue, 29 Jan 2013 01:28:34 +0000 (01:28 +0000)]
Updating the nick within IrcConnection on change

11 years agoMissed a single IrcUser per nick related comment
Darren [Tue, 29 Jan 2013 00:38:53 +0000 (00:38 +0000)]
Missed a single IrcUser per nick related comment

11 years agoReading the correct nick on a NICK command
Darren [Tue, 29 Jan 2013 00:38:12 +0000 (00:38 +0000)]
Reading the correct nick on a NICK command

11 years agoCTCP TIME fix
Darren [Mon, 28 Jan 2013 22:36:59 +0000 (22:36 +0000)]
CTCP TIME fix

11 years agoUse 1 IrcUser object to handle user events
Darren [Mon, 28 Jan 2013 21:19:55 +0000 (21:19 +0000)]
Use 1 IrcUser object to handle user events

11 years agoIrcConnection IRC events refactor; EventEmitter2 maxListeners; Removing IrcChannels;
Darren [Sun, 27 Jan 2013 20:36:04 +0000 (20:36 +0000)]
IrcConnection IRC events refactor; EventEmitter2 maxListeners; Removing IrcChannels;

11 years agoIrc bound events fix
Darren [Sun, 27 Jan 2013 15:45:42 +0000 (15:45 +0000)]
Irc bound events fix

11 years agoGet codebase into semi-working state
Jack Allnutt [Sun, 27 Jan 2013 02:59:39 +0000 (02:59 +0000)]
Get codebase into semi-working state

11 years agoRequire EventEmitter2 as dependency
Jack Allnutt [Sun, 27 Jan 2013 02:45:47 +0000 (02:45 +0000)]
Require EventEmitter2 as dependency

11 years agoIrcEventBinder refactor
Darren [Fri, 25 Jan 2013 19:06:22 +0000 (19:06 +0000)]
IrcEventBinder refactor

11 years agoRemoved irc_events from the prototype; Untied IrcEventBinder from other objects;...
Darren [Fri, 25 Jan 2013 18:49:49 +0000 (18:49 +0000)]
Removed irc_events from the prototype; Untied IrcEventBinder from other objects; .dispose() on all IRC objects;

11 years agothis/that fixes
Jack Allnutt [Fri, 25 Jan 2013 16:59:19 +0000 (16:59 +0000)]
this/that fixes

11 years agoMore typo fixing
Jack Allnutt [Fri, 25 Jan 2013 03:19:39 +0000 (03:19 +0000)]
More typo fixing

11 years agoAdd missing colon to MODE event name
Jack Allnutt [Fri, 25 Jan 2013 03:04:11 +0000 (03:04 +0000)]
Add missing colon to MODE event name

11 years agoAdd IrcConnection.clientEvent
Jack Allnutt [Fri, 25 Jan 2013 03:01:15 +0000 (03:01 +0000)]
Add IrcConnection.clientEvent

11 years agoMODE handling
Jack Allnutt [Fri, 25 Jan 2013 03:00:42 +0000 (03:00 +0000)]
MODE handling

11 years agoMove the binding into new prototype object
Jack Allnutt [Fri, 25 Jan 2013 01:20:43 +0000 (01:20 +0000)]
Move the binding into new prototype object

11 years agoAdd IrcServer
Jack Allnutt [Fri, 25 Jan 2013 00:41:29 +0000 (00:41 +0000)]
Add IrcServer

11 years agoMore channel commands
Jack Allnutt [Fri, 25 Jan 2013 00:40:53 +0000 (00:40 +0000)]
More channel commands

11 years agoFix typo
Jack Allnutt [Thu, 24 Jan 2013 18:49:49 +0000 (18:49 +0000)]
Fix typo

11 years agoRemove handlers from prototype chain
Jack Allnutt [Thu, 24 Jan 2013 04:00:28 +0000 (04:00 +0000)]
Remove handlers from prototype chain

11 years agoIrcUser object + plumbing
Jack Allnutt [Thu, 24 Jan 2013 03:53:23 +0000 (03:53 +0000)]
IrcUser object + plumbing

11 years agoIrcChannel event binding
Darren [Thu, 24 Jan 2013 02:45:24 +0000 (02:45 +0000)]
IrcChannel event binding

11 years agoPass callback to state.connect, fix vars
Jack Allnutt [Thu, 24 Jan 2013 01:23:36 +0000 (01:23 +0000)]
Pass callback to state.connect, fix vars

11 years agoIrcChannel + IrcCommands topic event
Darren [Wed, 23 Jan 2013 23:21:47 +0000 (23:21 +0000)]
IrcChannel + IrcCommands topic event

11 years agoIrcCommands + IrcChannel
Darren [Wed, 23 Jan 2013 22:55:56 +0000 (22:55 +0000)]
IrcCommands + IrcChannel

11 years agoMore IrcChannel events implimented
Darren [Wed, 23 Jan 2013 21:24:48 +0000 (21:24 +0000)]
More IrcChannel events implimented

11 years agoaddress -> user
Jack Allnutt [Wed, 23 Jan 2013 20:55:22 +0000 (20:55 +0000)]
address -> user

11 years agoIrcConnection handling in State instead of Client
Jack Allnutt [Wed, 23 Jan 2013 20:43:50 +0000 (20:43 +0000)]
IrcConnection handling in State instead of Client

11 years agoChannel object start
Darren [Wed, 23 Jan 2013 17:45:51 +0000 (17:45 +0000)]
Channel object start

11 years agoClient: Applet loaded event
Darren [Thu, 31 Jan 2013 14:57:25 +0000 (14:57 +0000)]
Client: Applet loaded event

11 years agoTab layout; password mismatch; activity counters;
Darren [Thu, 31 Jan 2013 14:57:06 +0000 (14:57 +0000)]
Tab layout; password mismatch; activity counters;

11 years agoCallback fix on on truncated messages
Darren [Mon, 21 Jan 2013 18:31:51 +0000 (18:31 +0000)]
Callback fix on on truncated messages

11 years agoMessage truncating method a little more DRY
Darren [Mon, 21 Jan 2013 15:44:47 +0000 (15:44 +0000)]
Message truncating method a little more DRY

11 years agoSending correct message length when truncated (privmsg/notice)
Darren [Mon, 21 Jan 2013 15:07:28 +0000 (15:07 +0000)]
Sending correct message length when truncated (privmsg/notice)

11 years agoMerge pull request #159 from M2Ys4U/msg_wrap
Darren [Mon, 21 Jan 2013 14:58:49 +0000 (06:58 -0800)]
Merge pull request #159 from M2Ys4U/msg_wrap

Split long PRIVMSG and NOTICE commands into multiple messages

11 years agoUse a temporary variable rather than manipulate args.msg directly.
Jack Allnutt [Wed, 16 Jan 2013 11:54:03 +0000 (11:54 +0000)]
Use a temporary variable rather than manipulate args.msg directly.

11 years agoSplit long PRIVMSG and NOTICE commands into multiple messages to avoid truncation
Jack Allnutt [Wed, 16 Jan 2013 11:19:13 +0000 (11:19 +0000)]
Split long PRIVMSG and NOTICE commands into multiple messages to avoid truncation

RFC1459 specifies that each IRC command has a character limit of 512 characters, including the trailing
CRLF meaning that the entire command (including the verb [e.g. PRIVMSG] and target [e.g. #kiwiirc]) must
fit in 510 characters.

The limit is applied to both client -> IRCd and IRCd -> client messages, so we must be conservative and
leave room for the sender's prefix to ensure that the message is not truncated when the IRCd sends the
message to the target(s).

For this reason, I have chosen 350 characters as the break point.

11 years agoserver/irc/connection.js tidy + comments
Darren [Sat, 5 Jan 2013 02:39:51 +0000 (02:39 +0000)]
server/irc/connection.js tidy + comments

11 years agoMobile viewport headers
Darren [Fri, 4 Jan 2013 15:29:35 +0000 (15:29 +0000)]
Mobile viewport headers

11 years agomap/links/permission denied/unknown command errors shown
Darren [Thu, 3 Jan 2013 16:55:45 +0000 (16:55 +0000)]
map/links/permission denied/unknown command errors shown

11 years agoClient: /whois output corrected
Darren [Wed, 2 Jan 2013 15:05:39 +0000 (15:05 +0000)]
Client: /whois output corrected

11 years ago/clear command implimented #144
Darren [Wed, 2 Jan 2013 00:30:28 +0000 (00:30 +0000)]
/clear command implimented #144

11 years agoClient: Hide userbox on second click #113
Darren [Tue, 1 Jan 2013 23:24:33 +0000 (23:24 +0000)]
Client: Hide userbox on second click #113

11 years agoRelaxed theme: Memberlist prefix styling
Darren [Tue, 1 Jan 2013 23:17:43 +0000 (23:17 +0000)]
Relaxed theme: Memberlist prefix styling

11 years agoCSS classes added for nick modes #143
Darren [Mon, 31 Dec 2012 08:28:17 +0000 (08:28 +0000)]
CSS classes added for nick modes #143

11 years agoURLs not modifying the display text
Darren [Sun, 30 Dec 2012 01:39:29 +0000 (01:39 +0000)]
URLs not modifying the display text

11 years agoClient: URL regex allowing '-'
Darren [Sun, 30 Dec 2012 01:31:14 +0000 (01:31 +0000)]
Client: URL regex allowing '-'

11 years agoClient: Tab sizing when in narrow mode
Darren [Sun, 30 Dec 2012 01:04:33 +0000 (01:04 +0000)]
Client: Tab sizing when in narrow mode