KiwiIRC.git
13 years agoFix for outdate rehash code. Config change: flip secure semantics.
Jack Allnutt [Fri, 25 Nov 2011 03:11:55 +0000 (03:11 +0000)]
Fix for outdate rehash code. Config change: flip secure semantics.

Rehash code now looks for changes to the 'server' param rather than ports/ssl certs etc to reflect OLD changes in the configuration file format.

The configuration file now uses the term "insecure" rather than "secure" to encourage people running KiwiIRC to run secure a secure service.

13 years agoRefactor bindIRCCommands()
Jack Allnutt [Fri, 25 Nov 2011 02:58:36 +0000 (02:58 +0000)]
Refactor bindIRCCommands()

Use a helper function so that the code is more readble. This means No more `'irc_' + ircNumeric.BLAH` stuff and no more bound_events.push() for each event listener.

No longer remove all listeners for each event on recode. Only events bound in bindIRCCommands() will be removed and rebound.

13 years agoDocumentation!
Jack Allnutt [Tue, 22 Nov 2011 17:13:01 +0000 (17:13 +0000)]
Documentation!

13 years agoJSLinting
Jack Allnutt [Fri, 18 Nov 2011 13:19:41 +0000 (13:19 +0000)]
JSLinting

13 years agoCheck if eol is not a string rather than not undefined or not null in websocket.sendS...
Jack Allnutt [Fri, 18 Nov 2011 13:14:46 +0000 (13:14 +0000)]
Check if eol is not a string rather than not undefined or not null in websocket.sendServerLine()

13 years agoHerp derp, correct check for null
Jack Allnutt [Fri, 18 Nov 2011 12:59:27 +0000 (12:59 +0000)]
Herp derp, correct check for null

13 years agoPass websocket callbacks through to IRCConnection's TCP socket's write() method
Jack Allnutt [Fri, 18 Nov 2011 12:24:20 +0000 (12:24 +0000)]
Pass websocket callbacks through to IRCConnection's TCP socket's write() method

Add `mod list` cli command to list currently loaded modules.

13 years agoUse UTF-8 encoding for the IRCConnection socket
Jack Allnutt [Thu, 17 Nov 2011 14:13:38 +0000 (14:13 +0000)]
Use UTF-8 encoding for the IRCConnection socket

13 years agoCleaning up index.html.jade
Jack Allnutt [Thu, 17 Nov 2011 14:12:49 +0000 (14:12 +0000)]
Cleaning up index.html.jade

13 years agoGlobale exception handler re-enabled
Darren [Thu, 17 Nov 2011 09:37:17 +0000 (09:37 +0000)]
Globale exception handler re-enabled

13 years agoTidying + going_against_nature by spacing default.css
Darren [Wed, 16 Nov 2011 23:14:29 +0000 (23:14 +0000)]
Tidying + going_against_nature by spacing default.css

13 years agoMerge branch 'master' of https://github.com/M2Ys4U/KiwiIRC
Darren [Wed, 16 Nov 2011 22:50:58 +0000 (22:50 +0000)]
Merge branch 'master' of https://github.com/M2Ys4U/KiwiIRC

13 years agoFix for Firefox 8 bug; add wrapper around the input msgbox
Jack Allnutt [Wed, 16 Nov 2011 14:43:54 +0000 (14:43 +0000)]
Fix for Firefox 8 bug; add wrapper around the input msgbox

13 years agoFixed kiwi not disconnecting from the IRC server when the websocket connection discon...
Jack Allnutt [Wed, 16 Nov 2011 14:42:38 +0000 (14:42 +0000)]
Fixed kiwi not disconnecting from the IRC server when the websocket connection disconnected

13 years agotypo
Jack Allnutt [Wed, 16 Nov 2011 13:27:33 +0000 (13:27 +0000)]
typo

13 years agoAllow for IRC command handlers to be rebound on recode
Jack Allnutt [Wed, 16 Nov 2011 13:24:56 +0000 (13:24 +0000)]
Allow for IRC command handlers to be rebound on recode

13 years agoAll fixed and working well
Jack Allnutt [Tue, 15 Nov 2011 15:53:44 +0000 (15:53 +0000)]
All fixed and working well

13 years agoFurther work towards it working; regex appears broken though
Jack Allnutt [Tue, 15 Nov 2011 15:31:54 +0000 (15:31 +0000)]
Further work towards it working; regex appears broken though

13 years agoGetting the new code almost working
Jack Allnutt [Tue, 15 Nov 2011 15:12:03 +0000 (15:12 +0000)]
Getting the new code almost working

13 years agoMoving towards a more evented system for handling server messages
Jack Allnutt [Tue, 15 Nov 2011 13:59:02 +0000 (13:59 +0000)]
Moving towards a more evented system for handling server messages

13 years agoChanging nick correctly
Darren [Fri, 11 Nov 2011 14:00:45 +0000 (14:00 +0000)]
Changing nick correctly

13 years agoRemoving multiple 'nick' properties in kiwi.gateway
Darren [Fri, 11 Nov 2011 13:56:02 +0000 (13:56 +0000)]
Removing multiple 'nick' properties in kiwi.gateway

13 years agoTabview sorting now enabled
Darren [Mon, 7 Nov 2011 14:38:48 +0000 (14:38 +0000)]
Tabview sorting now enabled

13 years agoMOTD now sent in 1 client event
Darren [Mon, 7 Nov 2011 14:30:38 +0000 (14:30 +0000)]
MOTD now sent in 1 client event

13 years agoTopicSetBy event implimented
Darren [Mon, 7 Nov 2011 13:36:50 +0000 (13:36 +0000)]
TopicSetBy event implimented

13 years agoFixed window sorting
Jack Allnutt [Mon, 7 Nov 2011 11:00:28 +0000 (11:00 +0000)]
Fixed window sorting

13 years agoTabview.getTab() comparison fix
Darren [Mon, 7 Nov 2011 00:34:04 +0000 (00:34 +0000)]
Tabview.getTab() comparison fix

13 years agoSpecial chars in object keys mess with jquery. Tabview keys are now random strings
Darren [Sun, 6 Nov 2011 23:49:40 +0000 (23:49 +0000)]
Special chars in object keys mess with jquery. Tabview keys are now random strings

13 years agoSpamfilter server module empty array fix
Darren [Sun, 6 Nov 2011 17:12:19 +0000 (17:12 +0000)]
Spamfilter server module empty array fix

13 years agoNicklist faulty clickHandler fixed
Darren [Sun, 6 Nov 2011 16:49:44 +0000 (16:49 +0000)]
Nicklist faulty clickHandler fixed

No idea why it's fixed.. but a small cleanup seems to have done it :/

13 years agoNicklist tidy up
Darren [Sun, 6 Nov 2011 16:21:34 +0000 (16:21 +0000)]
Nicklist tidy up

13 years agoControl input bar tidier on small screens
Darren [Sun, 6 Nov 2011 16:08:12 +0000 (16:08 +0000)]
Control input bar tidier on small screens

13 years agoCSS resizing changes
Darren [Sun, 6 Nov 2011 12:49:03 +0000 (12:49 +0000)]
CSS resizing changes

13 years agoError reporting fix
Darren [Sat, 5 Nov 2011 04:23:49 +0000 (04:23 +0000)]
Error reporting fix

13 years agoRe-factored login screen for smaller window sizes
Darren [Sun, 30 Oct 2011 16:15:34 +0000 (16:15 +0000)]
Re-factored login screen for smaller window sizes

13 years agoDisabled page refresh keyboard shortcuts causing accidental page refreshes
Darren [Sun, 30 Oct 2011 11:44:32 +0000 (11:44 +0000)]
Disabled page refresh keyboard shortcuts causing accidental page refreshes

13 years agoRemoved the page unload blocking since it disconnected the client anyway
Darren [Sun, 30 Oct 2011 01:02:34 +0000 (01:02 +0000)]
Removed the page unload blocking since it disconnected the client anyway

13 years agoMeta key now OS dependant
Darren [Sat, 29 Oct 2011 23:34:54 +0000 (00:34 +0100)]
Meta key now OS dependant

13 years agoServer defaults moved to config.json
Darren [Sat, 29 Oct 2011 23:23:50 +0000 (00:23 +0100)]
Server defaults moved to config.json

13 years agoStartup output fix
Darren [Sat, 29 Oct 2011 22:36:01 +0000 (23:36 +0100)]
Startup output fix

13 years agoFurther mobile client dev.
Darren [Fri, 28 Oct 2011 08:53:37 +0000 (09:53 +0100)]
Further mobile client dev.

13 years agoLimited scrollback
Darren [Fri, 28 Oct 2011 08:52:29 +0000 (09:52 +0100)]
Limited scrollback

13 years agoMobile UI example
Darren [Mon, 24 Oct 2011 14:28:52 +0000 (15:28 +0100)]
Mobile UI example

13 years agoHostname displayed on join
Darren [Sat, 22 Oct 2011 22:39:16 +0000 (23:39 +0100)]
Hostname displayed on join

13 years agoLogging output refactoring
Darren [Fri, 21 Oct 2011 20:27:22 +0000 (21:27 +0100)]
Logging output refactoring

13 years agoMerge branch 'doc' of https://github.com/M2Ys4U/KiwiIRC
Darren [Fri, 21 Oct 2011 09:20:01 +0000 (10:20 +0100)]
Merge branch 'doc' of https://github.com/M2Ys4U/KiwiIRC

13 years agoMerge branch 'API_Refactor' of https://github.com/M2Ys4U/KiwiIRC
Darren [Thu, 20 Oct 2011 20:14:52 +0000 (21:14 +0100)]
Merge branch 'API_Refactor' of https://github.com/M2Ys4U/KiwiIRC

13 years agoAdding JSDoc documentation to clientside JS files
Jack Allnutt [Thu, 20 Oct 2011 16:48:05 +0000 (17:48 +0100)]
Adding JSDoc documentation to clientside JS files

13 years agoforcessl server module fix
Darren [Thu, 20 Oct 2011 10:58:48 +0000 (11:58 +0100)]
forcessl server module fix

13 years agoRestore .action() as a convenience function
Jack Allnutt [Thu, 20 Oct 2011 10:03:41 +0000 (11:03 +0100)]
Restore .action() as a convenience function

13 years agoRestore .kiwi()
Jack Allnutt [Thu, 20 Oct 2011 09:49:04 +0000 (10:49 +0100)]
Restore .kiwi()

13 years agoModifying the client/server API.
Jack Allnutt [Thu, 20 Oct 2011 08:28:03 +0000 (09:28 +0100)]
Modifying the client/server API.

Adding additional methods (mode, nick, ctcp etc.) to reduce use of raw.

Removing things like kiwi and action in favour of a unified ctcp method.

13 years agoAdded the GNU Affero License
Darren [Wed, 19 Oct 2011 21:01:18 +0000 (22:01 +0100)]
Added the GNU Affero License

13 years agoHTTP plugin handler SSL detection fix
Darren [Fri, 14 Oct 2011 22:42:43 +0000 (23:42 +0100)]
HTTP plugin handler SSL detection fix

13 years agoServer listen config/listen refactor, intermediate cert support added
Darren [Fri, 14 Oct 2011 11:52:36 +0000 (12:52 +0100)]
Server listen config/listen refactor, intermediate cert support added

13 years agoDisabled integrated browser due to iframe busters killing kiwi
Darren [Thu, 13 Oct 2011 22:52:37 +0000 (23:52 +0100)]
Disabled integrated browser due to iframe busters killing kiwi

13 years agoAuto nick generation
Darren [Thu, 13 Oct 2011 22:37:27 +0000 (23:37 +0100)]
Auto nick generation

13 years agoStartup animation adjusting layout
Darren [Thu, 13 Oct 2011 22:29:39 +0000 (23:29 +0100)]
Startup animation adjusting layout

13 years agoInstead of stealing focus from the channel/query window on click, forward keyboard...
Jack Allnutt [Thu, 13 Oct 2011 00:11:58 +0000 (01:11 +0100)]
Instead of stealing focus from the channel/query window on click, forward keyboard events to the msg input box and transfer focus gracefully.

Fix for Issue #49, where the user is unable to highlight/copy etc text from the window.

13 years agoEscape chars not allowed in CSS IDs. Fix for issue #41
Jack Allnutt [Wed, 12 Oct 2011 22:50:18 +0000 (23:50 +0100)]
Escape chars not allowed in CSS IDs. Fix for issue #41

13 years agoMerge branch 'master' of github.com:prawnsalad/KiwiIRC
Jack Allnutt [Mon, 3 Oct 2011 22:25:20 +0000 (23:25 +0100)]
Merge branch 'master' of github.com:prawnsalad/KiwiIRC

13 years agoMerge with irc handler in FF
Darren [Mon, 3 Oct 2011 21:42:33 +0000 (22:42 +0100)]
Merge with irc handler in FF

13 years agoirc:// protocol handling. UI access not implemented, and it appears to only work...
Jack Allnutt [Mon, 3 Oct 2011 13:28:54 +0000 (14:28 +0100)]
irc:// protocol handling. UI access not implemented, and it appears to only work on Firefox at the moment

13 years agoforcessl.js move again..
Darren [Sun, 2 Oct 2011 21:30:10 +0000 (22:30 +0100)]
forcessl.js move again..

13 years agoforcessl.js moved to server folder, README.md typo
Darren [Sun, 2 Oct 2011 21:28:37 +0000 (22:28 +0100)]
forcessl.js moved to server folder, README.md typo

13 years agoMerge branch 'no-php' of https://github.com/M2Ys4U/KiwiIRC into reorg
Darren [Sun, 2 Oct 2011 21:12:25 +0000 (22:12 +0100)]
Merge branch 'no-php' of https://github.com/M2Ys4U/KiwiIRC into reorg

13 years agoMerge branch 'list' of https://github.com/M2Ys4U/KiwiIRC into list
Darren [Sat, 1 Oct 2011 22:02:24 +0000 (23:02 +0100)]
Merge branch 'list' of https://github.com/M2Ys4U/KiwiIRC into list

13 years agoCorrect port setting for page embedding
Darren [Sat, 1 Oct 2011 21:04:29 +0000 (22:04 +0100)]
Correct port setting for page embedding

13 years agoSSL checkbox fix
Darren [Sat, 1 Oct 2011 20:06:19 +0000 (21:06 +0100)]
SSL checkbox fix

13 years agoforcessl detect port fix + typo
Darren [Sat, 1 Oct 2011 19:52:44 +0000 (20:52 +0100)]
forcessl detect port fix + typo

13 years agoforcessl update
Darren [Sat, 1 Oct 2011 19:47:33 +0000 (20:47 +0100)]
forcessl update

13 years agoforcessl Kiwi server plugin, ssl checkbox checked if on ssl
Darren [Sat, 1 Oct 2011 17:23:23 +0000 (18:23 +0100)]
forcessl Kiwi server plugin, ssl checkbox checked if on ssl

13 years agoHighlight plugin updated
Darren [Sat, 1 Oct 2011 13:39:49 +0000 (14:39 +0100)]
Highlight plugin updated

13 years agoUpdating README.md file to reflect the changes in the last commit
Jack Allnutt [Sat, 1 Oct 2011 09:24:03 +0000 (10:24 +0100)]
Updating README.md file to reflect the changes in the last commit

13 years agoUpdating README.md file to reflect the changes in the last commit
Jack Allnutt [Sat, 1 Oct 2011 09:22:34 +0000 (10:22 +0100)]
Updating README.md file to reflect the changes in the last commit

13 years agoRe-organise files.
Jack Allnutt [Sat, 1 Oct 2011 09:14:17 +0000 (10:14 +0100)]
Re-organise files.

Move the client directory out of the node folder, remove the symlinks and put the real js, img and css directories in it.

Rename the 'node' folder to 'server'.

Tweaks to app.js and config.json to facilitate this reorganisation.

13 years agoMerge branch 'master' into no-php
Jack Allnutt [Sat, 1 Oct 2011 09:00:27 +0000 (10:00 +0100)]
Merge branch 'master' into no-php

13 years agoRemove mode extraction from RPL_LIST replies.
Jack Allnutt [Sat, 1 Oct 2011 08:28:42 +0000 (09:28 +0100)]
Remove mode extraction from RPL_LIST replies.

Fixes problem when no modes are set or there is a space in the mode list.

13 years agoAdding support for password protected servers. Issue #44
Jack Allnutt [Sat, 1 Oct 2011 08:27:13 +0000 (09:27 +0100)]
Adding support for password protected servers. Issue #44

13 years agoBetter colour handling code
Jack Allnutt [Fri, 30 Sep 2011 05:28:26 +0000 (06:28 +0100)]
Better colour handling code

No longer bugs out when multiple colours are used without a terminating \x03 byte between them.

Should fix Issue #38.

13 years agoFixing broken index.html.jade (whitespace issue)
Jack Allnutt [Fri, 30 Sep 2011 05:27:18 +0000 (06:27 +0100)]
Fixing broken index.html.jade (whitespace issue)

13 years agoFixing typo in previous commit
Jack Allnutt [Wed, 28 Sep 2011 16:52:57 +0000 (17:52 +0100)]
Fixing typo in previous commit

13 years agoAdd local fallback in case the Google CDN fails for some reason
Jack Allnutt [Wed, 28 Sep 2011 16:51:16 +0000 (17:51 +0100)]
Add local fallback in case the Google CDN fails for some reason

13 years agoUse protocol-relative URLs for loading external scripts (i.e. jQuery) so all resource...
Jack Allnutt [Wed, 28 Sep 2011 07:58:39 +0000 (08:58 +0100)]
Use protocol-relative URLs for loading external scripts (i.e. jQuery) so all resources are loaded over SSL when enabled

13 years agoTired git push without testing things is not a good idea. Things go all WHOA NOT...
Darren [Tue, 27 Sep 2011 23:30:37 +0000 (00:30 +0100)]
Tired git push without testing things is not a good idea. Things go all WHOA NOT WORKY

13 years agoIncluded SSL/port in embedding url
Darren [Tue, 27 Sep 2011 23:22:48 +0000 (00:22 +0100)]
Included SSL/port in embedding url

13 years agoReworked client-side /list implementation
Jack Allnutt [Tue, 27 Sep 2011 11:22:54 +0000 (12:22 +0100)]
Reworked client-side /list implementation

13 years agoNick autocomplete fix
Darren [Mon, 26 Sep 2011 20:45:33 +0000 (21:45 +0100)]
Nick autocomplete fix

13 years agoMerge branch 'master' of git://github.com/M2Ys4U/KiwiIRC
Darren [Mon, 26 Sep 2011 20:20:34 +0000 (21:20 +0100)]
Merge branch 'master' of git://github.com/M2Ys4U/KiwiIRC

13 years agoAlertbox CSS
Darren [Mon, 26 Sep 2011 20:16:27 +0000 (21:16 +0100)]
Alertbox CSS

13 years agoAdding a new User object, primarilly used in the UserList object.\n\nAlso JSLinting.
Jack Allnutt [Mon, 26 Sep 2011 04:00:37 +0000 (05:00 +0100)]
Adding a new User object, primarilly used in the UserList object.\n\nAlso JSLinting.

13 years agoMerge branch 'master' of github.com:prawnsalad/KiwiIRC
Jack Allnutt [Mon, 26 Sep 2011 02:25:03 +0000 (03:25 +0100)]
Merge branch 'master' of github.com:prawnsalad/KiwiIRC

13 years agotypo fix
Jack Allnutt [Mon, 26 Sep 2011 02:24:49 +0000 (03:24 +0100)]
typo fix

13 years agoToolbar resizing fix, formatIRCMessage returning undefined fix
Darren [Sun, 25 Sep 2011 12:37:54 +0000 (13:37 +0100)]
Toolbar resizing fix, formatIRCMessage returning undefined fix

13 years agoAdded support for RPL_BANLIST[END] to server, stub methods in the client.
Jack Allnutt [Sun, 25 Sep 2011 01:19:34 +0000 (02:19 +0100)]
Added support for RPL_BANLIST[END] to server, stub methods in the client.

13 years agoSeconds -> Minutes & seconds conversion for onReconnecting()
Jack Allnutt [Sat, 24 Sep 2011 23:56:39 +0000 (00:56 +0100)]
Seconds -> Minutes & seconds conversion for onReconnecting()

13 years agoMerge https://github.com/M2Ys4U/KiwiIRC
Darren [Sat, 24 Sep 2011 22:16:49 +0000 (23:16 +0100)]
Merge https://github.com/M2Ys4U/KiwiIRC

13 years agoAdded listening to specific net. interfaces
Darren [Sat, 24 Sep 2011 22:16:45 +0000 (23:16 +0100)]
Added listening to specific net. interfaces

13 years agoWrap the jade.compile function in a try...catch block
Jack Allnutt [Sat, 24 Sep 2011 22:00:47 +0000 (23:00 +0100)]
Wrap the jade.compile function in a try...catch block

13 years agoRemoved whois ending line, added seconds formatting
Darren [Sat, 24 Sep 2011 20:22:35 +0000 (21:22 +0100)]
Removed whois ending line, added seconds formatting