Commit Graph

34 Commits

Author SHA1 Message Date
claudemiro 7367f06ccb Added an upstart init file example. 2015-01-16 22:36:04 -03:00
claudemiro a4e08d1e85 Updated Dependencies 2015-01-16 22:35:41 -03:00
claudemiro f6e1993eb6 The websocket must be closed only when it is alive 2015-01-16 13:18:50 -03:00
claudemiro 1dc3105155 Moved function to generate sessions Ids from websocket to Utils 2015-01-16 13:18:24 -03:00
claudemiro a51629f7b5 Removing empty channels.
Removing empty channels when the channel becomes vacated.
2015-01-16 13:17:22 -03:00
claudemiro 0d4e9742b9 Added flymake files in gitignore. 2015-01-16 13:16:08 -03:00
claudemiro 7032e69ffb Changed Type from Subsriber to Connection.
I think Connection is a better name.
2015-01-15 20:13:42 -03:00
claudemiro edf4b421bf Updated TODO list 2015-01-15 20:03:07 -03:00
claudemiro 874c07267f Just little changes. 2015-01-15 07:53:18 -03:00
claudemiro 414c1d98ee Calculating the total of users in a channel 2015-01-15 07:52:23 -03:00
claudemiro 5043b05c7b Triggering Presence channels events. 2015-01-14 13:19:11 -03:00
claudemiro 5695bb445d Updated TODO list 2015-01-14 13:17:47 -03:00
claudemiro dd78126371 Fixed Makefile amd64 arch. 2015-01-14 13:16:54 -03:00
claudemiro 431812f695 Added Godep as a dependency manager. 2015-01-13 21:51:12 -03:00
claudemiro 3999ad5aa0 Removed empty import 2015-01-13 20:53:12 -03:00
claudemiro 2394f167a5 Changes in TODO 2015-01-13 20:52:20 -03:00
claudemiro 0e3440bc35 Fixed app and connection tests.
The tests was not updated.
2015-01-13 13:29:52 -03:00
claudemiro 59457cc734 The channel could be created in the Rest POST Event 2015-01-13 13:09:45 -03:00
claudemiro 1f5ec97f57 Fixed typo error in README 2015-01-13 13:09:14 -03:00
claudemiro 4b08b0c658 Fixed error in Makefile. 2015-01-13 08:59:33 -03:00
claudemiro 7e91fbe35d user_id in client events when channels is presence
The channels must be presence
2015-01-13 08:44:41 -03:00
claudemiro 2cb8b13dc6 CLeanup the User and Password checking
Added a Method in ConfigFile
2015-01-13 08:10:47 -03:00
claudemiro 0aec168ab3 Added basic authentication in debug/vars
Using a simple http auth middleware.
https://github.com/goji/httpauth
2015-01-13 08:01:02 -03:00
claudemiro be66978479 Changed the data field from Client WebHook
The value correct is the value associated with the event, not the data
attached to the subscription.
2015-01-13 00:38:48 -03:00
claudemiro c125bc7206 Updated TODOS 2015-01-13 00:24:29 -03:00
claudemiro dc28fa90ff Updated example config file.
Added the URL called on WebHooks.
2015-01-13 00:11:16 -03:00
claudemiro 3a9b786a46 Length of bytes that are read from the crypto/rand
Now the value is 25
2015-01-13 00:08:37 -03:00
claudemiro ef1070887b Refactor Export variables
Now the variables are separated by app and other stats were added.
2015-01-13 00:00:34 -03:00
claudemiro cadc72d482 Exporting Variables for Debug
The variables are

* Total Channels
* Total Subscribers
* Total of unique Messages received by the system.
2015-01-12 22:41:42 -03:00
claudemiro 71d5099ac3 Refactor IsPublic function
A Function to check is the channel is private or presence already exists
2015-01-12 21:50:34 -03:00
claudemiro 387a2ae28d Changed slices to maps in app, channel 2015-01-12 21:41:22 -03:00
claudemiro e2412827cf Second Import 2015-01-12 21:15:36 -03:00
claudemiro ff2fcf3c54 Fixed Tests and added GetChannels test 2015-01-02 18:27:05 -03:00
claudemiro e1b7bd8252 First import 2015-01-02 18:20:27 -03:00