Commit Graph

255 Commits

Author SHA1 Message Date
ed@djsu.me 5fe27abec3 Changed password hashing method to bcrypt 2016-04-10 13:13:52 +01:00
Harry Jeffery c5165c37e6 Merge pull request #8 from edjsu/use-key
Use Client.key for channel clientMap and modeMap lookups and insertions
2016-03-19 15:00:57 +00:00
ed d9b56c3e05 Use Client.key for channel clientMap and modeMap lookups and insertions 2016-03-19 03:18:46 -04:00
Harry Jeffery 0e43a20937 Merge pull request #7 from edjsu/flexible-comments
Allow comments to appear anywhere on a line in the auth file
2016-03-16 14:05:35 +00:00
ed a9c81d38f9 Allow comments to appear anywhere on a line in the auth file 2016-03-16 00:03:26 -04:00
Harry Jeffery b714685933 Merge pull request #6 from edjsu/split-rplList
Split rplList into rplList and rplListEnd
2016-03-14 12:43:44 +00:00
Harry Jeffery 9cbea548a3 Merge pull request #5 from edjsu/split-rplMOTD
Split rplMOTD into rplMOTDStart, rplMOTD and rplEndOfMOTD
2016-03-14 12:36:43 +00:00
Harry Jeffery 888d9479f7 Merge pull request #4 from edjsu/fprintf-on-connections
Use fmt.Fprintf to write messages to client connections
2016-03-14 12:21:39 +00:00
ed e040822a92 Use fmt.Fprintf to write messages to client connections 2016-03-14 07:17:05 -04:00
ed ce6038f4b0 Split rplList into rplList and rplListEnd 2016-03-14 07:03:18 -04:00
ed d7bbc2b475 Split rplMOTD into rplMOTDStart, rplMOTD and rplEndOfMOTD 2016-03-14 06:58:26 -04:00
Harry Jeffery f240730e9a Merge pull request #2 from edjsu/friendly-namreply
Limit the number of nicks that are sent in a single NAMREPLY message
2016-03-09 19:12:37 +00:00
ed 8449c7e81a Limit the number of nicks that are sent in a single NAMREPLY message 2016-03-09 03:22:20 -05:00
ed 7cf71b33fa Fixed private messaging between users 2016-03-08 23:12:41 +00:00
ed eed3517995 Normalized newlines so that \r and \n also work as message terminators
[messages are supposed to end in \r\n per RFC 1459, but some clients (Mibbit)
sometimes use \r or \n rather than \r\n]
2016-03-08 23:12:41 +00:00
ed 74dd329440 Make more use of the Client.key struct field 2016-03-08 23:12:41 +00:00
ed e580513fa5 Update channel.modeMap when a client leaves a channel 2016-03-08 23:12:41 +00:00
ed 4fb9253cc5 - Refactored client.setNick
- Fixed an invalid memory access error that occurs whenever a chan op
  kicks a user from their channel after changing their nick (forgot to
  update the channel's modeMap in client.setNick)
2016-03-08 23:12:41 +00:00
ed 272ea046c4 Remove empty channels from the server channelMap when the last client leaves 2016-03-08 23:12:41 +00:00
ed 0bc9a528ff Set default channel mode to +stn 2016-03-08 23:12:41 +00:00
ed 0cba792bc5 Use MatchString instead of Match to save a []byte cast 2016-03-08 23:12:41 +00:00
ed e289ba93eb Delay server.Run until everything is setup 2016-03-08 23:12:41 +00:00
ed 99050c7943 Closed auth and motd files in main after they are no longer needed 2016-03-08 23:12:41 +00:00
Harry Jeffery 39e8eca0ef Merge pull request #1 from iiori/fix-user
Fixed an index out of range error in the USER command handler
2016-02-28 22:33:44 +00:00
iiori 64e72362d9 Fixed an index out of range error that occurs when a client without a nick sends a USER command. 2016-02-27 20:58:34 -05:00
Harry Jeffery cc79e22ffe Don't accept RC4 as a cipher
This is in conformance with RFC7465
2015-02-19 15:00:28 +00:00
Harry Jeffery a769eb4767 Released version 1.1.1
Changelog:
- Fixed some protocol errors that'd make weechat complain
- Rosella now responds to pings with pongs
2013-10-21 13:36:27 +01:00
Harry Jeffery 6b011ef8c3 Reply to PING commands with PONG 2013-10-21 13:34:12 +01:00
Harry Jeffery 860073fbf3 Fixed LIST for weechat 2013-10-21 13:27:10 +01:00
Harry Jeffery a62ddb6cf4 Fixed NAMES command for weechat 2013-10-21 13:25:39 +01:00
Harry Jeffery c90f9b92ce Fixed MOTD for weechat 2013-10-21 13:21:26 +01:00
Harry Jeffery 14d4e53021 Released Version 1.1.0
Changelog:
- Added message of the day support
- Some small refactoring
2013-09-08 22:59:55 +01:00
Harry Jeffery c46bd5aa6b Added motd command line option 2013-09-08 22:56:43 +01:00
Harry Jeffery 1b2d9c95d4 Fixed typo in error message 2013-09-08 22:50:27 +01:00
Harry Jeffery 44775cabdd Implemented static MOTD message 2013-09-08 20:35:30 +01:00
Harry Jeffery 85cbc020a3 Fixed erroneous argument shadowing 2013-09-08 16:59:56 +01:00
Harry Jeffery 10e3a6a6e3 Refactored events and event handling 2013-09-08 16:24:17 +01:00
Harry Jeffery d569334204 Added MOTD reply type 2013-09-08 16:06:03 +01:00
Harry Jeffery 94ffe3fff2 Tweaked README.md 2013-09-02 02:04:29 +01:00
Harry Jeffery 0d91cad155 Added /VERSION command and set version to 1.0.0 2013-09-02 01:55:19 +01:00
Harry Jeffery f4deca40ea Fixed reply capitalisation in MODE command 2013-08-31 18:45:38 +01:00
Harry Jeffery df9ece79e3 Small tidy up in Server.handleEvent() 2013-08-31 18:44:25 +01:00
Harry Jeffery 0426b39846 Added INFO to README.md 2013-08-31 01:34:25 +01:00
Harry Jeffery 830fc8f612 Added /INFO command 2013-08-30 23:17:54 +01:00
Harry Jeffery 42c068b4bf /JOIN now sends channel name with capitalisation 2013-08-30 16:36:41 +01:00
Harry Jeffery 05743d4b4e Cleaned up the /TOPIC command slightly 2013-08-30 16:33:18 +01:00
Harry Jeffery b245c56143 Changed order of TLS ciphers 2013-08-30 01:29:02 +01:00
Harry Jeffery ac7fe8afee Use tls ciphers with perfect forward secrecy first 2013-08-30 01:18:20 +01:00
Harry Jeffery c1fc0f1157 Tweaked wording of one of the design principles. 2013-08-29 23:41:29 +01:00
Harry Jeffery 7c1650b6c1 Corrected compilation instructions in README 2013-08-29 23:24:07 +01:00