Commit Graph

66 Commits

Author SHA1 Message Date
Sergey Matveev 5413b3ae52 Force lowercase nicknames 2018-03-04 22:01:18 +00:00
Sergey Matveev e354be7595 Trivial formatting correction 2018-03-04 22:01:18 +00:00
Sergey Matveev d5f10048e1 If no states are kept, then clear an empty rooms 2018-03-04 22:01:18 +00:00
Sergey Matveev 493dc78a24 Simplify channel closing ordering 2018-03-04 22:01:18 +00:00
Sergey Matveev cd4faa7dd6 Thanks to Björn for his patches 2018-03-04 22:01:18 +00:00
Björn Busse 69b0c46170 Do not alter MOTD
It should be up to the author how exactly the MOTD is laid out - some
people like to have a margin, therefor remove the trim().
2018-03-04 22:01:18 +00:00
Björn Busse 0b56bd0ba4 Perform DNS lookup of client addresses 2018-03-04 22:01:18 +00:00
Björn Busse 398bedcca4 Do not trim leading colon from msg 2018-03-04 19:50:32 +00:00
Björn Busse 3c46d29461
Merge pull request #1 from steigr/feature/proxy-protocol
Wrap up net.Conn with go-proxyproto.Conn
2018-03-04 20:37:56 +01:00
steigr b4e0bbf0a4 Wrap up net.Conn with go-proxyproto.Conn
Wrap up connection into proxy-protocol handler.
See examples/proxy-protocol/haproxy* to test it

Signed-off-by: steigr <me@stei.gr>
2018-02-20 19:48:13 +01:00
Sergey Matveev 158ab243b2 Fixed unkeyed room mode getting 2015-10-13 09:37:03 +03:00
Sergey Matveev 3cee88801c Better FreeBSD's startup script 2015-10-11 21:02:52 +03:00
Sergey Matveev e657ffd2ab Code refactoring
* Less memory allocations
* Daemon instance replaced with global variables
* Code simplification
* Asynchronously send messages to clients
2015-10-11 14:51:07 +03:00
Sergey Matveev 186ec4b4bd Daemon does not need reloading for passwords via HUP 2015-10-08 14:02:06 +03:00
Sergey Matveev df1aca605d Append .log extension to logfiles 2015-10-08 12:58:50 +03:00
Sergey Matveev a4ce3f8999 Various example startup scripts 2015-10-07 19:30:12 +03:00
Sergey Matveev 171c6d6df3 Increase maximum nickname length for convenience 2015-10-07 18:33:53 +03:00
Sergey Matveev 3564207ae9 Some client may send message parts with PART command 2015-10-07 17:13:21 +03:00
Sergey Matveev 13a478f8c2 More explanation of log and state files 2015-10-06 12:48:04 +03:00
Sergey Matveev 0b8c40aa61 Refactored and corrected client's network data reading 2015-10-06 12:48:04 +03:00
Sergey Matveev 63f94d18c9 Official repository of goircd is at git.cypherpunks.ru 2015-10-06 11:31:11 +03:00
Sergey Matveev 563ff8742c More beauty options description 2015-10-06 11:31:11 +03:00
Sergey Matveev e9a315574b Less memory allocations 2015-10-06 11:31:11 +03:00
Sergey Matveev e80115cf69 GNU and BSD Make compatible makefile 2015-10-06 11:31:11 +03:00
Sergey Matveev 62b4ca67a0 Unnecessary return because of Fatalln 2015-10-06 10:58:43 +03:00
Sergey Matveev ad68cf29f6 Split long lines 2015-10-05 23:57:31 +03:00
Sergey Matveev 5fcf63baf8 Add missing copyright heading 2015-10-05 23:57:05 +03:00
Sergey Matveev e0ffe8ac28 Fix client workability when sending message to unexistent recipient 2015-10-05 23:56:15 +03:00
Sergey Matveev 3016635f6a HasPrefix is not necessary before TrimPrefix 2015-09-28 11:38:32 +03:00
Sergey Matveev 43fccdbbae Merge pull request #2 from bbusse/increase-client-compatibility
Increase client compatibility - let Quassel IRC users join
2015-09-28 11:36:52 +03:00
Björn Busse 5a17f44b24 Increase client compatibility - let Quassel IRC users join
Quassel prefixes the nickname in the NICK command with a colon.
This seems to be in accordance with rfc2812. Therefor check
if the first character of a nickname is a colon and remove it.
2015-09-28 06:22:17 +02:00
Sergey Matveev b678682010 Raise copyright year. Trivial changes 2015-05-09 18:27:06 +03:00
Sergey Matveev 8702ace766 Add AWAY command support 2014-11-14 23:26:32 +03:00
Sergey Matveev 990937d451 Remove signal processor for password reloading and use pointers to strings
Simplify code and server maintaining by removing password file caching
and refreshing it with HUP signal. Also use pointers to strings, already
presented after flag-module work.
2014-08-19 18:11:56 +04:00
Sergey Matveev 85e6538f2f Combine TLS cert and key options in single one 2014-08-14 23:08:41 +04:00
Sergey Matveev b35f6e7b3c Ability to listen on raw and TLS sockets simultaneously 2014-08-14 18:46:21 +04:00
Sergey Matveev 4f5fa51327 Make an empty MODE b reply for faster client's sync 2014-08-14 17:41:57 +04:00
Sergey Matveev f46c678ce0 Ability to show server's version 2014-08-14 17:31:49 +04:00
Sergey Matveev a939b027fd Ability to authenticate users by nickname↔password database 2014-08-14 17:31:49 +04:00
Sergey Matveev 5c79c4235e Remove goroutines that lead to possible races 2014-08-13 19:13:12 +04:00
Sergey Matveev cfeaaad88f Golinting 2014-08-09 16:42:19 +04:00
Sergey Matveev def74ddc09 Fix several races 2014-08-09 16:18:56 +04:00
Sergey Matveev 87ba38e7f7 Send "already existing nickname" error to unregistered client, instead of already existing one 2014-07-03 11:08:42 +04:00
Sergey Matveev 60bd9cec0b Do not prepend unnecessary ':' to person-to-person PRIVMSGs 2014-06-27 22:29:31 +04:00
Sergey Matveev 564374f324 Thomas Habets contributed too 2014-06-10 11:27:04 +04:00
Sergey Matveev afbf2b40d4 Mention TLS and -verbose options in documentation 2014-06-10 11:26:50 +04:00
Sergey Matveev 1a2241388b SSL name is deprecated, use TLS instead 2014-06-10 11:26:13 +04:00
Sergey Matveev eb4b0917b3 Repair test due to address parsing error 2014-06-10 11:20:10 +04:00
Thomas Habets a154bd6120 Remove port from /whois output. 2014-06-09 16:03:11 +02:00
Thomas Habets 41f9649494 Cleaned up file handling. 2014-06-08 03:16:33 +02:00