Commit graph

79 commits

Author SHA1 Message Date
Thorsten Eckel
00cffad79e Added some syntactic suguar (used in rubocop cops). 2016-01-16 11:05:04 +01:00
Thorsten Eckel
d7995bc6d3 Updated dependencies and applied new rubocop rules. 2016-01-15 18:23:35 +01:00
Martin Edenhofer
037b4ffbd3 Fixed typos. 2016-01-05 13:46:43 +01:00
Martin Edenhofer
e461fa9ceb Set/gt remote ip of client connection. 2016-01-05 09:29:15 +01:00
Martin Edenhofer
5f74e50433 Rewrite of web socket event backend. 2015-12-09 14:09:37 +01:00
Martin Edenhofer
4b1e6f05fd Added logs for websocket server. 2015-12-07 00:15:53 +01:00
Martin Edenhofer
7831f1c1f8 Added browser tests for customer chat. 2015-12-05 20:41:14 +01:00
Martin Edenhofer
c0d1948358 Cleanup. 2015-11-24 03:33:40 +01:00
Martin Edenhofer
791c0f934c First version of customer chat. 2015-11-10 15:01:04 +01:00
Martin Edenhofer
f527a058c6 Fixed typo. 2015-09-06 13:41:51 +02:00
Martin Edenhofer
0100b38386 Prevent not needed use if database connections. 2015-09-04 02:22:20 +02:00
Martin Edenhofer
e1aae93269 Fixed rubocop checks. 2015-08-22 00:40:32 +02:00
Martin Edenhofer
ee5e084b63 Improved error handling. 2015-08-19 01:02:41 +02:00
Martin Edenhofer
2760137eef Removed not used logon_session feature. Added web socket authentication. Prepared browser finger print. 2015-08-18 10:50:12 +02:00
Martin Edenhofer
2edeef76e1 Removed not needed code. 2015-07-16 21:57:45 +02:00
Martin Edenhofer
1f0ee62fbf Improved output for starting/stopping. 2015-07-16 21:56:54 +02:00
Thorsten Eckel
54fd62487c Applied rubocop cop 'Style/SpaceInsideStringInterpolation'. 2015-07-03 17:18:01 +02:00
Martin Edenhofer
5cd3ca79bd Improved api for sending messages. 2015-05-12 13:31:32 +02:00
Martin Edenhofer
c9608cdc00 Improved logging. 2015-05-12 10:46:07 +02:00
Martin Edenhofer
b7ecd9a1eb Fixed use of last_ping. 2015-05-10 22:53:15 +02:00
Martin Edenhofer
c8ae1d38e1 Use utc timestamps for all. 2015-05-10 21:47:17 +02:00
Thorsten Eckel
6decb755f5 Moved rubocop cop 'Style/FileName' exclusion back to .rubocop.yml, since it will be ignored as comment in websocket-server.rb. 2015-05-08 15:58:28 +02:00
Thorsten Eckel
c1c35ce39e Corrected with rubocop cop 'Style/GlobalVars'. 2015-05-08 12:47:25 +02:00
Thorsten Eckel
cad3bf8842 - Moved websocket-server.rb 'Style/FileName' rubocop cop exclusion from .rubocop.yml to websocket-server.rb.
- Excluded websocket-server.rb from rubocop cop 'Rails/TimeZone'.
2015-05-08 12:43:54 +02:00
Thorsten Eckel
409ae23e78 Corrected with rubocop cop 'Rails/TimeZone'. 2015-05-08 12:20:43 +02:00
Thorsten Eckel
c282fd2b37 Corrected with rubocop cop 'Lint/UnusedBlockArgument'. 2015-05-07 11:49:46 +02:00
Thorsten Eckel
1ac1cf4184 Corrected with rubocop cop 'Style/Next'. 2015-05-07 11:04:40 +02:00
Thorsten Eckel
650e17be7c Corrected with rubocop cop 'Lint/StringConversionInInterpolation'. 2015-05-06 11:30:39 +02:00
Thorsten Eckel
21a7a87098 Corrected with rubocop cop 'Style/Semicolon'. 2015-04-30 19:54:08 +02:00
Thorsten Eckel
44adaf000e Corrected with rubocop cop 'Style/DeprecatedHashMethods'. 2015-04-30 19:34:33 +02:00
Martin Edenhofer
16ddef38e9 Applied rubocop Style/SpaceAfterComma. 2015-04-27 16:53:29 +02:00
Martin Edenhofer
c34a33da99 Applied rubocop Style/SpaceAroundOperators. 2015-04-27 16:41:03 +02:00
Martin Edenhofer
e474ac197a Applied rubocop Style/EmptyLines. 2015-04-27 16:29:28 +02:00
Martin Edenhofer
bd1db72b9b Applied rubocop Style/TrailingBlankLines. 2015-04-27 16:15:29 +02:00
Thorsten Eckel
ce58d465c0 Corrected with rubocop cop 'Style/HashSyntax'. 2015-04-27 15:42:53 +02:00
Thorsten Eckel
a70b3cfc89 Corrected with rubocop cop 'Style/StringLiterals'. 2015-04-27 15:20:16 +02:00
Martin Edenhofer
d81a3722e4 Improved speed of test by switching from min to sec for idle param. 2015-02-25 23:17:34 +01:00
Martin Edenhofer
f38149e823 Improved comments. 2015-01-13 17:03:58 +01:00
Martin Edenhofer
1f65db48ac Fixed websocket messages with recipients. 2014-10-05 14:38:30 +02:00
Martin Edenhofer
335f6fa42b Touch session on web socket ping/pong. 2014-07-13 23:42:36 +02:00
Martin Edenhofer
34a300238e Init version of session unit tests. 2014-06-27 08:43:37 +02:00
Martin Edenhofer
0eccb81fbc Renamed Session module to Sessions to avoid conflicts with active record Session module. 2013-08-21 20:35:22 +02:00
Martin Edenhofer
be6c6d2012 Fixed small typo. 2013-08-04 23:37:01 +02:00
Martin Edenhofer
f5c65bced4 Improved re-spool of spool messages after connection was down. 2013-06-30 17:54:54 +02:00
Martin Edenhofer
92fa09d5f2 Fixed spool issues. 2013-06-29 00:26:04 +02:00
Martin Edenhofer
dafb3fa423 Increased speed of idle session cleanups. 2013-06-23 01:56:31 +02:00
Martin Edenhofer
c986db8b37 Only use spool messages for authenticated users. 2013-06-23 00:33:16 +02:00
Martin Edenhofer
35e12c58a5 Moved from integers to strings for client_id's for keep code simpler. 2013-06-22 19:00:58 +02:00
Martin Edenhofer
ff5d44bd24 Implemented server push if ticket, article or user has changed. 2013-06-19 02:40:42 +02:00
Martin Edenhofer
d72c63a13d Fixed timestamp for spool:sent event. 2013-06-17 15:08:51 +02:00