Commit graph

36 commits

Author SHA1 Message Date
hippoz
23036ca0aa
feat: limit gateway payload size 2021-10-13 17:51:05 +03:00
hippoz
efed62d0a2
style: move all files out of brainlet folder 2021-10-05 18:29:37 +03:00
hippoz
a47d938b7e
update folder stucture and improve documentation 2021-03-13 03:42:01 +02:00
hippoz
1c1b710cde
Add linter and documentation for future gateway version 2021-03-04 21:28:02 +02:00
hippoz
a5d021972b
fix error when special code is missing 2021-01-03 17:14:25 +02:00
hippoz
6c5470e6b1
fix #10 2021-01-03 17:04:23 +02:00
hippoz
7d1882895b yayyy not testing commits 2020-12-11 00:36:52 +02:00
hippoz
bc75e3f24c [Experimental] add an option for brainlet instance owners to require a special code sign up 2020-12-09 01:49:57 +02:00
hippoz
6d142767b0 dont get full object for @me 2020-12-08 23:32:57 +02:00
hippoz
31b53609f7 not gonna test my commits :trol: 2020-12-08 00:27:51 +02:00
hippoz
e998a26fd0 add individual user froce refresh 2020-12-08 00:25:27 +02:00
hippoz
4147e4f6ca allow private messages, mostly for bots 2020-12-05 21:06:28 +02:00
hippoz
9a6576fe98 allow bots to set custom nicknames for messages 2020-12-05 19:10:11 +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
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
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
6018c3b610 user list (?) 2020-11-21 12:08:32 +02:00
hippoz
76e0433753 add character limit for chat message (?) 2020-11-20 21:35:43 +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
c0d4ec680d make rate limit more permissive 2020-11-20 18:26:56 +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
94d3af7b7e make gateway send debug info and add some egde case handling, like empty messages 2020-11-17 18:13:07 +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
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