Commit Graph

1355 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 6287e20919
degesch: fix log reopening after a buffer rename 2020-03-23 00:41:08 +01:00
Přemysl Eric Janouch 07d59db5ab
degesch: clean up unused functions 2020-03-22 02:00:57 +01:00
Přemysl Eric Janouch 2909b017fb
Fix handling terminal resizes while the terminal is suspended
GNU Readline has a misfeature.
2020-03-21 22:02:02 +01:00
Přemysl Eric Janouch 64d4009427
degesch: fix getpwuid usage
The "entry not found" case doesn't have to touch errno.
2019-12-07 21:18:20 +01:00
Přemysl Eric Janouch a1994865a9 hid: mention Go 1.12 alternative to TLS autodetection 2019-02-27 02:36:04 +01:00
Přemysl Eric Janouch 4179a9bd49
Update NEWS, bump version 2018-10-21 05:44:39 +02:00
Přemysl Eric Janouch aa4e86c2a0
degesch: add a comment about ENOTCONN 2018-10-21 05:40:24 +02:00
Přemysl Eric Janouch 5bbe9ceef8
Update NEWS 2018-10-21 05:40:24 +02:00
Přemysl Eric Janouch f80226620c
kike: fix wildcard handling in WHOIS 2018-10-21 05:40:24 +02:00
Přemysl Eric Janouch 2fccfb10f7
kike: allow STATS with no parameters
We were in plain conflict with RFC 2812 for no apparent reason.
2018-10-21 05:40:16 +02:00
Přemysl Eric Janouch c285f3a266 hid: clean up/finalize logging 2018-08-06 20:47:33 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 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
Přemysl Eric Janouch 5c7ac9a92b hid: cleanups
No functional changes.
2018-08-06 12:31:31 +02:00
Přemysl Eric Janouch 3fee7e8051 hid: port IRC tests from liberty, fix tag parsing 2018-08-06 12:09:18 +02:00
Přemysl Eric Janouch 09d7a10b69 hid: rename connCloseWrite to connCloseWriter 2018-08-06 12:06:42 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 3815795d59 hid: fix SSL 2.0 autodetection 2018-08-04 21:13:28 +02:00
Přemysl Eric Janouch fd1538251a hid: add support for customized replies 2018-08-03 21:45:53 +02:00
Přemysl Eric Janouch ffad1f15a5 hid: unify exit codes with the flag package 2018-08-03 21:45:53 +02:00
Přemysl Eric Janouch 765b741a67 hid: cleanups 2018-08-03 21:45:52 +02:00
Přemysl Eric Janouch ab66a60703 hid: fix listener shutdown 2018-08-03 10:55:22 +02:00
Přemysl Eric Janouch 9ee07873ea hid: fix nickname verification in the user MODE message 2018-08-02 18:42:32 +02:00
Přemysl Eric Janouch 7ee7dc5f9b hid: port default formatting strings to fmt 2018-08-02 12:51:22 +02:00
Přemysl Eric Janouch fea801ac7a hid: ircSendToRoommates -> ircNotifyRoommates
Should be clearer.
2018-08-01 20:39:37 +02:00
Přemysl Eric Janouch cbdbfc3d64 hid: figured out how to port timeouts 2018-08-01 20:39:37 +02:00
Přemysl Eric Janouch 3610f98d67 hid: another round of general code cleanups 2018-08-01 17:45:56 +02:00
Přemysl Eric Janouch b9eddabedd
kike: explicit conversion from pointer to boolean
In practice the values in the map may only be 1 or 0, so it doesn't
matter, but in C it is better to be safe than sorry.
2018-08-01 09:22:59 +02:00
Přemysl Eric Janouch 50ed74a740
kike: break out properly on errors in MODE processing
We used to only abort the inner loop, which was insufficient.
2018-08-01 09:21:37 +02:00
Přemysl Eric Janouch 3ca08badc2
kike: reset user modes while processing USER
Since the processing always succeeds and registration cannot be undone,
this doesn't seem to fix any real issue.
2018-08-01 09:17:45 +02:00
Přemysl Eric Janouch b0f5b8c10d
kike: do nothing on equivalent renicks 2018-08-01 09:17:12 +02:00
Přemysl Eric Janouch d87d533078
kike: code cleanups 2018-08-01 09:16:45 +02:00
Přemysl Eric Janouch 3c47e5b354
kike: fix grammar in hostname validation
This has an entry in RFC 2812 errata, although it's held for document
update.  We can afford the strictness.
2018-08-01 09:16:45 +02:00
Přemysl Eric Janouch 54d3406175
kike: fix grammar in config item description 2018-08-01 09:16:44 +02:00
Přemysl Eric Janouch f79dd027e9
kike: add a comment about identifier encoding 2018-08-01 09:16:44 +02:00
Přemysl Eric Janouch e77495f316 hid: bringup of what we have this far 2018-07-31 23:11:54 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 051bbedc2f hid: port IRC 3.2 message tag parsing, unused 2018-07-30 17:50:27 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 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
Přemysl Eric Janouch 50e7f7dca5 hid: port PART, KICK, INVITE, JOIN, AWAY, ISON, ADMIN, DIE 2018-07-29 17:49:57 +02:00
Přemysl Eric Janouch 3322fe2851 hid: port PRIVMSG, NOTICE, NAMES, WHO, WHOIS/WAS, TOPIC, SUMMON, USERS 2018-07-29 15:57:39 +02:00
Přemysl Eric Janouch 208a8fcc7e hid: first round of mixed fixes and cleanups 2018-07-29 08:14:07 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch fa78831cbd
Update NEWS, bump version 2018-06-22 00:59:41 +02:00
Přemysl Eric Janouch 94b0ec80cf
fancy-prompt.lua: workaround a Readline UTF-8 bug 2018-06-22 00:55:17 +02:00
Přemysl Eric Janouch 300f9a9708
Bump liberty 2018-06-22 00:03:21 +02:00
Přemysl Eric Janouch b1a89f313a
degesch: add static analysis for the logger
Caught two more occurences than I was able to find by just scanning
the source, so the effort wasn't in vain.
2018-06-21 23:46:03 +02:00
Přemysl Eric Janouch fab5115cd0
Remove .travis.yml
We don't depend on any proprietary services no longer.  I'll have to
make my own replacements with blackjack and hookers.  Until then,
the file stays in the commit log as an example.
2018-06-21 23:46:03 +02:00
Přemysl Eric Janouch d0cb3c1ac6
Update README 2018-06-21 23:46:03 +02:00