tssajo
24425a2a9a
While I love defer, I think the program is better readable and maybe even a bit faster when defer is not used when Locking/Unlocking
2016-07-20 02:15:04 +02:00
claudemiro
de869b3e63
Bump version
v1.1.0
2016-03-21 22:21:48 -03:00
claudemiro
abf9a980eb
Sending messages without a goroutine
2016-03-21 20:05:30 -03:00
claudemiro
e15a8a84e2
Testing cluster option
2016-03-17 08:44:58 -03:00
claudemiro
8c54491e27
Not necessary close body at this point
2016-03-07 08:08:56 -03:00
claudemiro
03483592fc
Testing util functions
2016-03-07 08:02:37 -03:00
claudemiro
edabc10008
Closing request body in webhook call
2016-03-06 23:30:35 -03:00
Claudemiro
bfa96ebbfb
Merge pull request #15 from dimiro1/remove-global-config
...
Remove global config and a lot of fixes
2016-03-06 20:35:08 -03:00
claudemiro
5ce17c8856
Code cleanup
2016-03-06 20:21:04 -03:00
claudemiro
e71294de18
Standardized error messages
2016-03-06 18:12:03 -03:00
claudemiro
a7c5813501
Testing http handlers
2016-03-06 17:53:51 -03:00
claudemiro
383c02de1c
Added params as a parameter for each handler.
2016-03-06 16:09:21 -03:00
claudemiro
1bae7f13ad
Internal refactoring. Removing the global config.
2016-03-06 15:34:12 -03:00
claudemiro
f07549fb6a
Changed syntax to javascript to fix the README
2016-03-06 00:18:18 -03:00
claudemiro
c272361861
Added comments in config example section in README
2016-03-06 00:17:19 -03:00
claudemiro
9dfc8c9cc0
Ignoring vscode files
2016-03-05 16:59:17 -03:00
claudemiro
6c55af2b5c
Adding README and LICENSE to distribution
1.0.0
2016-03-05 09:43:02 -03:00
claudemiro
679ff1e589
Adding the version in the generated binary
2016-03-05 09:30:36 -03:00
claudemiro
cbdd4e428a
Better config example
2016-03-05 09:29:57 -03:00
claudemiro
805e9e3957
Removed Makefile and Add a Rakefile
2016-03-05 09:27:40 -03:00
claudemiro
44bbc1b1ea
Renamed constants, avoid export uncessary constants
2016-03-04 08:33:18 -03:00
claudemiro
e02773bbeb
function init is not necessary
2016-03-04 08:32:39 -03:00
claudemiro
5fa621d743
Added user-agent header with the url of the project
2016-03-04 08:32:08 -03:00
claudemiro
880d7bda2a
Using reader for reading config file
2016-03-04 08:31:32 -03:00
claudemiro
7dad2de275
Added SSL port
2016-03-04 08:31:03 -03:00
claudemiro
081611fd87
Changed the banner, fixed spelling
2016-03-04 08:30:26 -03:00
claudemiro
8810e523f0
Adding config for functional tests
2016-03-03 21:39:15 -03:00
claudemiro
baf551ecdf
Updated TODO.org
2016-03-03 21:07:57 -03:00
claudemiro
f3dba811b7
Improved Handling SSL
...
* Panic is betten than using channels in this case
* Changed the names to a more recognized names
* Improved the README with a full config file example
2016-03-03 21:01:21 -03:00
claudemiro
55a7a0b96c
Fixed SSL verification
2016-03-03 20:46:37 -03:00
Claudemiro
cadee4e26d
Merge pull request #10 from zaeznet/SSL
...
SSL Implementation
2016-03-03 20:45:42 -03:00
Welington Sampaio
03e94887a7
Both server running. SSL and Non SSL
2016-03-03 17:12:51 -03:00
Welington Sampaio
e93145efe7
Both server running. SSL and Non SSL
2016-03-03 14:54:53 -03:00
Welington Sampaio
051da185e5
SSL Implementation
2016-03-03 08:37:00 -03:00
claudemiro
51eacdcf51
Managing vendor dependencies with glide
2016-02-21 20:15:10 -03:00
Claudemiro
412d8be451
Merge pull request #7 from jweslley/private-channel-payload
...
Private channel payload
2016-01-28 07:41:57 -02:00
Claudemiro
68f2e15320
Merge pull request #6 from jweslley/master
...
minor improvements
2016-01-27 09:10:52 -02:00
Jonhnny Weslley
a77fb791f7
sign private channels with additional user data payload
...
Pusher accepts js clients to use the same auth endpoint to both presence
and private channels.
2016-01-24 12:43:06 -03:00
Jonhnny Weslley
8bf0786cb5
add systemd config file
2016-01-24 12:06:38 -03:00
Jonhnny Weslley
ba3b699517
refactor common logic
2016-01-24 11:54:06 -03:00
claudemiro
517462a7af
Cache of the valid channel name regex
...
* Added a Benchmark to verify the performance
* Now it is 10 times faster
2016-01-23 22:25:14 -02:00
claudemiro
56da1dea01
Starting doing integration tests
2016-01-18 22:52:03 -02:00
claudemiro
1971da652f
Basic integration test
2016-01-18 00:41:45 -02:00
claudemiro
f81a365e0c
Changed the max number to the max in64 value
2016-01-18 00:40:06 -02:00
claudemiro
1de947cedc
The random Seed should be executed only once.
...
If two users connect to the system in the same second both would receive the same id. This fix this error.
2016-01-18 00:37:55 -02:00
claudemiro
45cffc17a8
Added Link to badge, fix indentation.
2016-01-17 00:32:11 -02:00
claudemiro
59abf6ac5b
Added Test for newConnection.
2016-01-17 00:27:21 -02:00
claudemiro
cbb34a928f
Verify if the exist the channel before
2016-01-17 00:12:12 -02:00
claudemiro
403138e28f
APP_KEY not API_KEY
2016-01-16 21:48:45 -02:00
claudemiro
8dea85e71c
Added badge quality report
2016-01-16 21:26:52 -02:00