- Adds coveralls to the repo, to track code coverage and display a badge in the README
- Updates the disconnect function on the RTM client to support both an error message and a code or reason for the disconnect, e.g.
account_inactive
- Updates the message-handlers for
team_xxx
events to set the team back to the data-store once changes are made
- Updates to
[email protected]
- Fixes a bad variable name in
example-web-client
Refactors the library to javascript, adds a lot of tests and restructures it to improve maintainability and extend functionality.
- Creates two separate clients:
- RTM; manages connection to Slack's RTM API, including reconnects
- Web; provideas a callback interface to all of Slack's Web API endpoints
- Moves the memory data store implementation off the clients and into its own class
- Uncouples the model objects from the clients; model functions to send messages to channels etc are now accessed via the web and RTM client
- Moves the transport layer (websockets and HTTP) to a pluggable model, so that complex transports (through request proxies etc) can be handled
- Adds test coverage on most core functionality in the library
- Adds support for a request-proxy URL to use the client from behind a proxy
- Updates the ws library from 0.4.3 to 0.8.1
- Reconnects when a
team_migration_started
event is received - Supports finding users by email from the memory data store
- Fixes the getUnreadCount and getChannelsWithUnreads functions
- Emits error code and message when the ws closes
- Removes no-op call when a
ping
is received on the websocket
- Added callbacks to all API calls (#20)
- Added support for star added/delete events (#27
- Fixed sample code (#18)
getChannelByName
now strips leading hash marks (#9)- Dropped support for Node 0.8 (#25)
- Fix duplicate scripts entries in package.json (230c7f74)
- Added ability to call chat.postMessage web API method (#15)
- Added ability to update and delete messages (#14 and #17)
- Added sample code (7ee93a7b)
- Fixed
getChannelsWithUnreads
(#8) - Fixed race condition when emitting
open
event (#19)
- First public release