| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Allow ExIrc.Client.start_link to use process opts | jeffweiss | 2015-01-22 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | Prior to this commit, registering the name for an ExIrc.Client process, it was a two-step process of `ExIrc.Client.start_link` and then `Process.register`. This also made registering a name for supervisor-started `ExIrc.Client` processes a bit tricky. This commit allows end users to start `ExIrc.Client` processes from a supervisor, but still register a name, as in the example below. ``` children = [ worker(ExIrc.Client, [[debug: true], [name: :irc_client]]) ] supervise(children, strategy: :one_for_all) ``` | |||||
| * | strip whitespace from channel name | jeffweiss | 2014-11-24 | 1 | -4/+4 | |
| | | | | | | | | | | | Prior to this commit, the actual channel name passed onto the client handlers included the `\r\n` from the raw command. Handlers then had to deal with inconsistent channel name formatting based on whether the event was something like a `:received` or a `:mentioned` than if the event was `:joined` or `:parted`. This commit strips leading and trailing whitespace from the channel name in order to provide consistent behavior. | |||||
| * | moved transport to a new file | Daniel Bloemendal | 2014-11-11 | 2 | -28/+24 | |
| | | ||||||
| * | added SSL support | Daniel Bloemendal | 2014-11-10 | 2 | -36/+87 | |
| | | ||||||
| * | properly silence topic debug messages | Daniel Bloemendal | 2014-11-10 | 1 | -3/+6 | |
| | | ||||||
| * | simplify ExIrc.Client.do_add_handler logic | jeffweiss | 2014-10-21 | 1 | -12/+4 | |
| | | | | | | | | | | | | | | | | | | | | Prior to this commit the `do_add_handler` function would do lots of work to check to see if the handler process was alive (either on the local node or a remote node); however, this work not comprehensive because the process could die between the `alive?` check and `Process.monitor/1`, but also unneccesary, because the semantics of `Process.monitor/1` (and `:erlang.monitor/2`) will guarantee that the monitoring process will be sent a `{:DOWN, _, _, _, _}` message if the monitored process dies, doesn't exist or the node hosting the process disconnects from the mesh. Because `Process.monitor/1` notifies the monitoring process if the monitored process is dead by the time we add it, we can remove the checks to validate that the handler process is alive and instead rely on the semantics of `Process.monitor/1` and simplify our logic. This commit also fixes the handling of the `{:DOWN, _, _, _, _}` message because previously we were checking for the Erlang variant of it as `{'DOWN', _, _, _, _}`, and thus, our handler removal upon process death was never getting properly called. | |||||
| * | Version 0.8.4 | Paul Schoenfelder | 2014-10-21 | 1 | -1/+1 | |
| | | ||||||
| * | Handle adding remote processes as handlers | Paul Schoenfelder | 2014-10-21 | 1 | -2/+10 | |
| | | ||||||
| * | untabify example_handler.ex | Joe-noh | 2014-09-30 | 1 | -118/+117 | |
| | | ||||||
| * | Always treat channel messages as channel messages. Closes #15 | Paul Schoenfelder | 2014-09-03 | 1 | -9/+3 | |
| | | ||||||
| * | Fix bug in Utils.parse_from | Paul Schoenfelder | 2014-08-12 | 1 | -12/+20 | |
| | | ||||||
| * | Handle octal format deprecation in 0.15.0 | Paul Schoenfelder | 2014-08-12 | 2 | -4/+4 | |
| | | ||||||
| * | (maint) Update for Elixir 0.15.0 | jeffweiss | 2014-08-05 | 1 | -9/+12 | |
| | | | | | | | | | | | | | | | | | | Prior to this commit, ExIrc.Utils.parse_from/2 use Regex.split with captures; however, this functionality has been removed from Elixir 0.15.0. For example, `Regex.split(~r/(!@\.)/, "n!u@h.n.tld")` in Elixir 0.14.3 would yield `["n", "!", "u", "@", "h", ".", "n", ".", "tld"]` however, in Elixir 0.15.0, this yields `["n", "u", "h", "n", "tld"]` This commit works around this functionality by using explicit regular expressions for each of the cases, pulling out each of the fields into a named capture map and relying on the truthiness of the capture map to trigger a condition match. | |||||
| * | Fixes #9 - Implement support for sending/receiving CTCP ACTION command | Paul Schoenfelder | 2014-07-31 | 4 | -27/+61 | |
| | | ||||||
| * | made SENT PONG{1,2} messages conditional upon state.debug being set | Kevin Montuori | 2014-07-15 | 1 | -2/+4 | |
| | | ||||||
| * | Merge pull request #6 from kevinmontuori/from_char_data | Paul Schoenfelder | 2014-07-14 | 3 | -5/+5 | |
| |\ | | | | | Removed calls to the depricated List.from_char_data!/1 | |||||
| | * | removed calls to the depricated List.from_char_data!/1 | Kevin Montuori | 2014-07-14 | 3 | -5/+5 | |
| | | | ||||||
| * | | fixed badarg issue | Kevin Montuori | 2014-07-14 | 1 | -4/+4 | |
| |/ | ||||||
| * | Update to Elixir 0.14.1 | Cliff Rowley | 2014-06-25 | 4 | -21/+19 | |
| | | ||||||
| * | Replace records with structs | Paul Schoenfelder | 2014-05-02 | 7 | -148/+152 | |
| | | ||||||
| * | Merge branch 'master' of github.com:bitwalker/exirc | Paul Schoenfelder | 2014-04-18 | 1 | -2/+2 | |
| |\ | ||||||
| | * | fix copy/paste error | Nami-Doc | 2014-04-19 | 1 | -2/+2 | |
| | | | ||||||
| * | | Clean up record update syntax | Paul Schoenfelder | 2014-02-19 | 2 | -34/+46 | |
| |/ | ||||||
| * | Move IrcMessage out of ExIrc.Client | Paul Schoenfelder | 2014-02-19 | 4 | -14/+9 | |
| | | ||||||
| * | Add events for kick, invite, and privmsg | Paul Schoenfelder | 2014-02-19 | 3 | -1/+65 | |
| | | ||||||
| * | Add support for /INVITE | Paul Schoenfelder | 2014-02-19 | 2 | -0/+18 | |
| | | ||||||
| * | Ensure that cmd! when called with binary sends command as charlist | Paul Schoenfelder | 2014-02-19 | 1 | -1/+2 | |
| | | ||||||
| * | Use binaries for default arguments in commands.ex | Paul Schoenfelder | 2014-02-19 | 1 | -3/+8 | |
| | | ||||||
| * | Add support for /MODE | Paul Schoenfelder | 2014-02-19 | 2 | -0/+23 | |
| | | ||||||
| * | Give events a consistent grammatical tense | Paul Schoenfelder | 2014-02-19 | 2 | -17/+17 | |
| | | ||||||
| * | Clean up commands, add kick | Paul Schoenfelder | 2014-02-19 | 2 | -29/+30 | |
| | | ||||||
| * | Update example handler with all currently known events | Paul Schoenfelder | 2014-02-19 | 1 | -4/+36 | |
| | | ||||||
| * | Deprecate :user_joined event in favor of overloaded :join event | Paul Schoenfelder | 2014-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | Use binaries instead of charlists when parsing message | Paul Schoenfelder | 2014-02-19 | 1 | -6/+6 | |
| | | ||||||
| * | Send events to handlers | Paul Schoenfelder | 2014-02-19 | 1 | -22/+45 | |
| | | | | | | | | | | | | Events for: :login :part :join :nick :topic :disconnected | |||||
| * | Add support for Elixir 0.12.4+ | Paul Schoenfelder | 2014-02-19 | 3 | -18/+18 | |
| | | ||||||
| * | Strip %, &, and ~ ranks | Paul Schoenfelder | 2014-02-19 | 1 | -1/+4 | |
| | | ||||||
| * | Fix warnings in commands.ex | Paul Schoenfelder | 2013-12-20 | 1 | -4/+4 | |
| | | ||||||
| * | Update local process name for ExIrc supervisor module | Paul Schoenfelder | 2013-12-10 | 1 | -2/+2 | |
| | | ||||||
| * | Update Client documentation | Paul Schoenfelder | 2013-12-10 | 1 | -120/+75 | |
| | | ||||||
| * | Update Channels documentation | Paul Schoenfelder | 2013-12-10 | 1 | -0/+53 | |
| | | ||||||
| * | Update Irc.Commands documentation | Paul Schoenfelder | 2013-12-10 | 1 | -0/+23 | |
| | | ||||||
| * | Fix indentation in example_handler.ex | Paul Schoenfelder | 2013-12-10 | 1 | -2/+2 | |
| | | ||||||
| * | Expand ExampleHandler, add docs | Paul Schoenfelder | 2013-12-10 | 1 | -9/+28 | |
| | | ||||||
| * | Add docs to ExIrc supervisor module | Paul Schoenfelder | 2013-12-10 | 1 | -4/+25 | |
| | | ||||||
| * | Fix bug in remove_handler | Paul Schoenfelder | 2013-12-10 | 1 | -3/+3 | |
| | | ||||||
| * | Fix reference to debug instead of debug? | Paul Schoenfelder | 2013-12-09 | 1 | -4/+4 | |
| | | ||||||
| * | Add specs and docs to Logger | Paul Schoenfelder | 2013-12-09 | 1 | -0/+16 | |
| | | ||||||
| * | Add specs and docs to Utils | Paul Schoenfelder | 2013-12-09 | 1 | -6/+22 | |
| | | ||||||
| * | Only show debug statments when debug? is true. Reorganize handle* defs to be ↵ | Paul Schoenfelder | 2013-12-09 | 1 | -33/+32 | |
| | | | | | grouped together | |||||
