Commit Graph

48 Commits

Author SHA1 Message Date
Liam Stanley
9e08ab340d cleanup state mutexs, add state change events 2017-07-12 00:44:44 -04:00
Liam Stanley
1f66c9ffec rewrite state to support separate dataset for users 2017-07-04 01:29:22 -04:00
Liam Stanley
d8d502c44c remove message and messagef related functions from events 2017-06-07 01:23:01 -04:00
Liam Stanley
573ddd7583 fix data races for state 2017-04-24 11:55:30 -04:00
Liam Stanley
05d37d0840 utilize rfc1459 case mapping during comparisons 2017-02-21 23:16:29 -05:00
Liam Stanley
54acd5fb7e implement GetIdent() and GetHost() on Client, clean up panic handling 2017-02-20 23:02:45 -05:00
Liam Stanley
882bdb5862 make parts of CModes public 2017-02-20 21:32:51 -05:00
Liam Stanley
e57ac9cdb4 be less redundant 2017-02-17 05:30:29 -05:00
Liam Stanley
6788aa81f8 update documentation 2017-02-14 07:37:04 -05:00
Liam Stanley
3ded5b433a start working on making state accessible 2017-02-14 07:33:05 -05:00
Liam Stanley
27efadda57 implement commands 2017-02-13 07:52:29 -05:00
Liam Stanley
ed6e266cba split out connection info and throttling into ircConn; move conn from state to client 2017-02-12 02:22:41 -05:00
Liam Stanley
1090fd92a8 move connection logic into conn.go 2017-02-12 02:06:09 -05:00
Liam Stanley
af631a82f2 implem,ent state.rate() 2017-02-11 21:51:11 -05:00
Liam Stanley
dc5c0ddc3e update docs for new mode additions 2017-02-07 06:08:17 -05:00
Liam Stanley
33dfd10a13 initial push to track MODE events 2017-02-06 08:02:26 -05:00
Liam Stanley
10d5bfd60f rename UserModes -> UserPerms and parseUserModes -> parseUserPrefix 2017-02-06 03:26:32 -05:00
Liam Stanley
62d007b448 rename state.getUsers() to state.lookupUsers() 2017-02-06 02:46:38 -05:00
Liam Stanley
ba03de710d update copyright to remove year 2017-02-06 02:45:31 -05:00
Liam Stanley
1b41086bca track user modes using NAMES; closes #2 2017-01-27 07:01:37 -05:00
Liam Stanley
aeef5a8774 rewrite capability ack functionality 2017-01-19 06:58:08 -05:00
Liam Stanley
060bde413a implement state.getUsers() method to get users from multiple channels 2017-01-19 02:33:44 -05:00
Liam Stanley
8a607fb044 fix typos 2017-01-06 09:01:53 -05:00
Liam Stanley
631f950d56 implement server MOTD tracking; implement ServerMOTD 2017-01-06 08:40:01 -05:00
Liam Stanley
687e2753a1 implement GetServerOption, ServerName, NetworkName, ServerVersion, and ISUPPORT tracking; update todos 2017-01-06 08:30:09 -05:00
Liam Stanley
683485f34c fix bug with capabilities breaking after reconnect 2017-01-06 01:09:18 -05:00
Liam Stanley
714a315ef0 yay new year 2017-01-03 11:05:27 -05:00
Liam Stanley
3d0a75e389 add basic support for capability tracking; add chghost and away, as well as configuration for more 2016-12-30 08:51:31 -05:00
Liam Stanley
0577eabe26 convert to extras extension for better expandability 2016-12-30 06:10:24 -05:00
Liam Stanley
4bb84cbbfa rename user/channel Reply* to Message* 2016-12-23 18:25:34 -05:00
Liam Stanley
0a5cbe98c0 implement Reply, Replyf, ReplyTo, and ReplyTof to User/Channel 2016-12-20 03:51:27 -05:00
Liam Stanley
fea3c94367 re-implement Client.Whowas(); implement Client.Who() 2016-12-14 01:49:43 -05:00
Liam Stanley
3834924067 implement Channel.Lifetime() 2016-12-13 21:32:42 -05:00
Liam Stanley
f187f3abc6 implement User LastActive, Lifetime(), Active() and IsActive() 2016-12-13 21:26:09 -05:00
Liam Stanley
0cd3ff611d hasQuit->quitting; add stopChan; other minor bug fixes 2016-12-13 10:23:06 -05:00
Liam Stanley
74c53293ca remove potential for race conditions in state.go/helpers.go 2016-12-13 09:28:54 -05:00
Liam Stanley
cb43ed6d3f more towards TOPIC tracking; update readme 2016-12-10 07:16:01 -05:00
Liam Stanley
370f9f28ad rename state mux 2016-12-10 06:43:26 -05:00
Liam Stanley
d94de12e6b implement Client.ConnTime() and Client.ConnSince() 2016-11-24 19:18:39 -05:00
Liam Stanley
f8dfa67b5d add name field to Users 2016-11-23 12:39:52 -05:00
Liam Stanley
e11b8bc1ea move writer and reader to state; fix Client.Reconnect() 2016-11-22 22:03:48 -05:00
Liam Stanley
cc390d94dc prevent reconnect from looping on top of itself, add Client.Stop() 2016-11-19 12:36:33 -05:00
Liam Stanley
82ad653db3 set state to be internal only 2016-11-14 06:59:08 -05:00
Liam Stanley
1077762521 overhaul of docs; add additional Config.Disable* directives. 2016-11-14 06:50:14 -05:00
Liam Stanley
07d9aac94f revamp TODO's; add Client.Join() and Client.Part() 2016-11-13 06:44:12 -05:00
Liam Stanley
abfb85b949 bug fixes, add handleKICK, and handleNICK 2016-11-13 06:28:01 -05:00
Liam Stanley
f0541cd3c6 additional lock/unlocking issues 2016-11-13 05:46:44 -05:00
Liam Stanley
9eb8365acb first commit 2016-11-13 03:30:43 -05:00