Commit Graph

26 Commits

Author SHA1 Message Date
c285f3a266 hid: clean up/finalize logging 2018-08-06 20:47:33 +02:00
e2c34afbc6 hid: move off of the log package
We don't spam with useless messages without -debug any longer.
2018-08-06 19:52:39 +02:00
e2c8fb6e33 hid: port logging facilities
Though the regular mode now has timestamps and a new mode for systemd
has been added.
2018-08-06 19:49:06 +02:00
5c7ac9a92b hid: cleanups
No functional changes.
2018-08-06 12:31:31 +02:00
3fee7e8051 hid: port IRC tests from liberty, fix tag parsing 2018-08-06 12:09:18 +02:00
09d7a10b69 hid: rename connCloseWrite to connCloseWriter 2018-08-06 12:06:42 +02:00
e9bcd0fa53 hid: add the first tests
This has actually revealed a problem in the SSL 2.0 detection.
2018-08-06 12:06:20 +02:00
3815795d59 hid: fix SSL 2.0 autodetection 2018-08-04 21:13:28 +02:00
fd1538251a hid: add support for customized replies 2018-08-03 21:45:53 +02:00
ffad1f15a5 hid: unify exit codes with the flag package 2018-08-03 21:45:53 +02:00
765b741a67 hid: cleanups 2018-08-03 21:45:52 +02:00
ab66a60703 hid: fix listener shutdown 2018-08-03 10:55:22 +02:00
9ee07873ea hid: fix nickname verification in the user MODE message 2018-08-02 18:42:32 +02:00
7ee7dc5f9b hid: port default formatting strings to fmt 2018-08-02 12:51:22 +02:00
fea801ac7a hid: ircSendToRoommates -> ircNotifyRoommates
Should be clearer.
2018-08-01 20:39:37 +02:00
cbdbfc3d64 hid: figured out how to port timeouts 2018-08-01 20:39:37 +02:00
3610f98d67 hid: another round of general code cleanups 2018-08-01 17:45:56 +02:00
e77495f316 hid: bringup of what we have this far 2018-07-31 23:11:54 +02:00
2f841d214f hid: port configuration and initialization
All the basic elements should be there now, we just need to port PING
timers and fix some remaining issues and we're basically done.
2018-07-31 20:53:23 +02:00
051bbedc2f hid: port IRC 3.2 message tag parsing, unused 2018-07-30 17:50:27 +02:00
404aa8c9cc hid: use time.Time and time.Duration
It improves the code significantly over explicit int64 conversions.

Despite carrying unnecessary timezone information, time.Time also
carries a monotonic reading of time, which allows for more precise
measurement of time differences.
2018-07-30 10:07:02 +02:00
90129ee2bc hid: port MODE, STATS, LINKS, KILL
Now all the commands have been ported but we desperately need to parse
a configuration file for additional settings yet.
2018-07-30 09:46:59 +02:00
50e7f7dca5 hid: port PART, KICK, INVITE, JOIN, AWAY, ISON, ADMIN, DIE 2018-07-29 17:49:57 +02:00
3322fe2851 hid: port PRIVMSG, NOTICE, NAMES, WHO, WHOIS/WAS, TOPIC, SUMMON, USERS 2018-07-29 15:57:39 +02:00
208a8fcc7e hid: first round of mixed fixes and cleanups 2018-07-29 08:14:07 +02:00
2d287752d4 hid: add a work in progress IRC daemon
The port is more than viable but it's also sort of all-or-nothing
and versioning needs have come before I've had a chance to finish it.
2018-07-28 16:21:34 +02:00