Commit graph

42 commits

Author SHA1 Message Date
hippoz
29b068a1c4 add a little library for interacting with the gateway, will make it also interact with http apis soon! 2020-12-03 23:14:49 +02:00
hippoz
d6a358446c add readme with guide 2020-12-03 20:38:47 +02:00
hippoz
4dd9540430 message clumping!!!!!!! 2020-12-03 19:39:40 +02:00
hippoz
6a4112a13e revert config to fix conflict 2020-12-03 01:49:33 +02:00
hippoz
aa12ffb0a1 use colors throughout the whole app 2020-12-03 01:46:29 +02:00
hippoz
09867e58b6 add color generation function and make more endpoints use the getpublicobject function 2020-12-03 01:16:07 +02:00
hippoz
bdfdd1a460 use standard function for objects to make api more mantainable 2020-12-03 00:40:46 +02:00
hippoz
818cb1afc6 refresh also now clears messages from client 2020-12-02 23:44:59 +02:00
hippoz
d0025b4221 add forceful refresh of user clients to push updates and erase bad messages from the dom 2020-12-01 22:28:35 +02:00
hippoz
670d7d49b4 restore config to fix conflit 2020-11-26 11:43:30 +02:00
hippoz
3bc1fdbde7 add a simple rate limiter 2020-11-26 11:42:27 +02:00
hippoz
7bebf6d471 hopefully fix user list 2020-11-21 17:40:35 +02:00
hippoz
5b34130ef4 allow only one connection per user, TODO: give a firendly message to users 2020-11-21 14:44:54 +02:00
hippoz
2c41359b9d fix some DoS vulns and other stuff 2020-11-21 13:29:20 +02:00
hippoz
03d89bca7f add icons to some things 2020-11-21 13:01:02 +02:00
hippoz
887d625722 make message cards bigger 2020-11-21 12:22:33 +02:00
hippoz
0e1898b591 remove annoying yoo message when entering room 2020-11-21 12:12:22 +02:00
hippoz
6018c3b610 user list (?) 2020-11-21 12:08:32 +02:00
hippoz
6d6c4ebb61 add try catch to notification 2020-11-20 22:11:21 +02:00
hippoz
86ad93b318 fix notifications (?) 2020-11-20 22:10:42 +02:00
hippoz
98cb260ff5 add notifications (?) 2020-11-20 22:05:55 +02:00
hippoz
76e0433753 add character limit for chat message (?) 2020-11-20 21:35:43 +02:00
hippoz
d1b1cce3bf removed unnecessary console.log 2020-11-20 21:27:45 +02:00
hippoz
4b2def736f scroll to the bottom of the message list container when a new message is sent 2020-11-20 21:26:41 +02:00
hippoz
35d37ea782 fix messages not being broadcasted 2020-11-20 20:15:20 +02:00
hippoz
de6a66a877 maybe fix weird crash 2020-11-20 19:25:56 +02:00
hippoz
fd7489976d maybe fix chat? 2020-11-20 18:39:06 +02:00
hippoz
c0d4ec680d make rate limit more permissive 2020-11-20 18:26:56 +02:00
hippoz
1e935b03df change log message on listen event for server 2020-11-20 13:27:34 +02:00
hippoz
ced4d4652a add useless debug panel and do not allow user to subscribe twice to room to be safe 2020-11-20 13:25:08 +02:00
hippoz
9d1adfe748 attempt (and fail) to put message div before the textobx 2020-11-20 11:59:48 +02:00
hippoz
94d3af7b7e make gateway send debug info and add some egde case handling, like empty messages 2020-11-17 18:13:07 +02:00
hippoz
68e2bd1a6c make socket connection more robust 2020-11-17 17:20:33 +02:00
hippoz
667a843370 improve message object structure, rearrange methods in app.js just for the code to look better and make sure the message list updates when a new message is sent 2020-11-17 15:27:23 +02:00
hippoz
89acdf6a3c add buggy, basic message list 2020-11-17 11:28:11 +02:00
hippoz
514ca2dd2b implement client side message list 2020-11-16 22:18:39 +02:00
hippoz
893b1d4ff6 add message sending 2020-11-16 22:08:23 +02:00
hippoz
dcdcc64553 forgot to check for inactivity before disconnecting 2020-11-16 21:35:38 +02:00
hippoz
efffd3bc66 add events for gateway connection and fix vue warns 2020-11-16 21:33:03 +02:00
hippoz
046b4d2b01 add basic gateway connection functionality 2020-11-16 21:16:25 +02:00
hippoz
c293389359 what have i done 2020-11-09 21:55:14 +02:00
hippoz
c87c7f98d3 Initial commit 2020-10-05 20:36:03 +03:00