Robert Gerus
|
0598ee7a91
|
Fix godoc a bit.
|
2015-11-16 20:25:18 +01:00 |
Robert Gerus
|
3f389ea843
|
Document irc package
Fixes #11 and silences golint
|
2015-11-12 14:07:57 +01:00 |
Robert Gerus
|
6b6f7cd0c3
|
Documentation/comment/readme fixes here and there.
|
2015-11-12 12:55:51 +01:00 |
Robert Gerus
|
fb16809729
|
„Test” code in subdirectories.
We don't have any tests written yet…
|
2015-11-12 10:54:08 +01:00 |
Robert Gerus
|
8c40177358
|
Since our builds are passing now, add a build image.
|
2015-11-12 10:41:44 +01:00 |
Robert Gerus
|
cad0e77b42
|
Ubuntu 14.04 LTS ships with golang-1.2
I don't really want to test for anything older than that; patches accepted.
|
2015-11-12 10:33:52 +01:00 |
Robert Gerus
|
4db7b24613
|
Try and try again.
|
2015-11-12 10:31:52 +01:00 |
Robert Gerus
|
36ab75fecf
|
Fix .travis.yml
|
2015-11-12 10:25:00 +01:00 |
Robert Gerus
|
36c092252c
|
Add .travis.yml for Travis CI integration.
|
2015-11-12 10:17:13 +01:00 |
Robert Gerus
|
823fff273f
|
Fix README.md syntax.
|
2015-11-12 10:10:26 +01:00 |
Robert Gerus
|
0703291209
|
Add copyright headers.
|
2015-11-12 10:07:53 +01:00 |
Robert Gerus
|
f4480c2b0a
|
Add a short readme.
|
2015-11-12 10:07:37 +01:00 |
Robert Gerus
|
6876c0ff58
|
Add documentation in apropriate places
|
2015-11-12 09:30:12 +01:00 |
Robert Gerus
|
e379376825
|
Fix log formatting in config
|
2015-11-12 01:24:40 +01:00 |
Robert Gerus
|
615f5bd310
|
We're no longer using single-file configuration.
|
2015-11-11 21:57:04 +01:00 |
Robert Gerus
|
a8c3f404aa
|
Synchronize access to configuration
|
2015-11-11 21:50:38 +01:00 |
Robert Gerus
|
6c77cdf7f7
|
Code cleanup - do away with exports
|
2015-11-11 21:38:33 +01:00 |
Robert Gerus
|
0733990a9c
|
Do away with connections variable.
Shadowing conn inside the loop feels better.
|
2015-11-11 11:50:29 +01:00 |
Robert Gerus
|
ce42674f5d
|
Reordered configuration file lookup paths
|
2015-11-11 01:11:50 +01:00 |
Robert Gerus
|
3662108144
|
Remove old and broken functionality
|
2015-11-11 01:07:28 +01:00 |
Robert Gerus
|
4deb2609d2
|
Use a different identifier for user :ping command
|
2015-11-11 01:06:05 +01:00 |
Robert Gerus
|
67e6d39d5e
|
POC enhanced dispatcher
Currently it has multiple O(n) lookups over slices. Should transform it to
map[string]nothing to make it O(1) and possibly prettify the code a bit.
|
2015-11-11 00:51:12 +01:00 |
Robert Gerus
|
0a346f6727
|
Update example configuration
|
2015-11-10 22:16:31 +01:00 |
Robert Gerus
|
99759ea732
|
Remove file path builder function from main()
|
2015-11-10 22:12:36 +01:00 |
Robert Gerus
|
1d792397cd
|
Removed lots of old code and fixed #6
|
2015-11-10 21:57:31 +01:00 |
Robert Gerus
|
1c1f280262
|
Fix #7 - config package is now reusable
Replaced Config type with map[string]string in the process.
|
2015-11-10 21:00:40 +01:00 |
Robert Gerus
|
09d2720b7f
|
Implement cache purging
Fixes #8
|
2015-11-10 18:37:58 +01:00 |
Robert Gerus
|
984e336401
|
Forgot about cache initalization
|
2015-11-10 16:30:00 +01:00 |
Robert Gerus
|
4a0976c89a
|
Partial implementation of configuration cache
Cache removal for removed files not yet implemented.
|
2015-11-10 10:48:38 +01:00 |
Robert Gerus
|
ebf31d91bb
|
Fix remainging "hiera" issues
Fixes #2 and #5
|
2015-11-10 02:06:09 +01:00 |
Robert Gerus
|
23b632ae86
|
Remove deprecated fields from Config
|
2015-11-10 00:20:16 +01:00 |
Robert Gerus
|
1b328d0b0d
|
Formatting
|
2015-11-10 00:14:05 +01:00 |
Robert Gerus
|
ef80bcd387
|
It /mostly/ works now.
|
2015-11-10 00:13:30 +01:00 |
Robert Gerus
|
1ad852888a
|
It's hierryfying and does not build… yet
|
2015-11-09 14:32:26 +01:00 |
Robert Gerus
|
2c0955a168
|
Make Callbacks a map of maps; Fixes #3
|
2015-11-09 08:00:13 +01:00 |
Robert Gerus
|
d5623a1ca2
|
Join configured channels.
|
2015-11-09 02:06:43 +01:00 |
Robert Gerus
|
07cd403f89
|
PC might be important to some people…
|
2015-11-09 01:49:40 +01:00 |
Robert Gerus
|
e816e72743
|
Add a separate dispatcher for PRIVMSG
We're going to use that one a lot more than the others…
|
2015-11-09 01:46:08 +01:00 |
Robert Gerus
|
fb8e2d8392
|
Print a nicer error messages on startup
|
2015-11-09 01:05:06 +01:00 |
Robert Gerus
|
4869d767be
|
Implement read timeouts - we should get a ping or other message at least once every ten minutes on every reasonable irc network.
|
2015-11-09 00:50:25 +01:00 |
Robert Gerus
|
62fa0b60c2
|
Handle errors on connection.
|
2015-11-09 00:43:34 +01:00 |
Robert Gerus
|
6815bb3000
|
Cleanup the dispatcher.
|
2015-11-08 22:50:41 +01:00 |
Robert Gerus
|
aa6a914aec
|
Make sure we close the dispatcher.
|
2015-11-08 22:13:15 +01:00 |
Robert Gerus
|
7a8c07445e
|
Fix the synchronisation issues…
|
2015-11-08 22:00:33 +01:00 |
Robert Gerus
|
fa40fe1ef4
|
Most of these fields don't need to be public anyway
|
2015-11-08 21:24:49 +01:00 |
Robert Gerus
|
da408c9b8a
|
Remove old dispatcher
|
2015-11-08 21:13:51 +01:00 |
Robert Gerus
|
6ad165c880
|
It responds to pings now
|
2015-11-08 20:55:47 +01:00 |
Robert Gerus
|
2dfa1a8b7f
|
Close channels if they're open, possibly fix the memleak.
|
2015-11-08 16:44:16 +01:00 |
Robert Gerus
|
665f4c8071
|
Unify log messages
|
2015-11-07 13:13:47 +01:00 |
Robert Gerus
|
70887ff97f
|
Make the log messages a bit more reasonable
|
2015-11-07 13:02:42 +01:00 |