Commit graph

130 commits

Author SHA1 Message Date
hippoz
3cd7fcb5f9
refactor(gateway): completely refactor gateway 2021-09-14 17:02:29 +03:00
hippoz
fe124316a4
remove legacy libbrainlet 2021-09-14 13:13:58 +03:00
hippoz
fb18dae0a8
remove legacy code 2021-09-09 17:52:39 +03:00
hippoz
81a08101e9
fix secret.js and disallow YOO packet after user is already authenticated 2021-09-08 01:02:08 +03:00
hippoz
f1b6da19a2
update documentation to be more accurate to the current implementation 2021-09-08 00:41:38 +03:00
aa7c838164 Merge pull request 'Add gateway pings' (#20) from gateway-pings into master
Reviewed-on: hippoz/brainlet#20
2021-09-07 22:28:26 +01:00
hippoz
e96bd51ff4
reset debug value 2021-09-08 00:22:21 +03:00
hippoz
a5c1900e3f
add gateway pings 2021-09-08 00:18:44 +03:00
hippoz
0345e0d0a3
bump package versions and clean gateway code 2021-09-06 20:42:30 +03:00
hippoz
680aab399b
replace terminology in log messages and such 2021-09-06 19:46:09 +03:00
hippoz
8a63040fdb
remove redundant "message" field 2021-09-06 18:59:11 +03:00
hippoz
7e6f7c6352
re-license to MIT 2021-09-06 18:53:53 +03:00
hippoz
e53c99d749
fix errors when unauthenticated gateway connection disconnected 2021-09-05 18:59:38 +03:00
hippoz
a429348c7d
remove legacy handler and clean up index.js 2021-08-22 00:41:51 +03:00
hippoz
7dda7fbcb2
Hosting improvements: more config options (policies to restrict certain actions, improved CORS documentation and default), no more default frontend, improved defaults, ... 2021-08-21 21:30:02 +03:00
hippoz
9a4787b1a1
remove user list test from experiments file, as it has now been fully tested and rolled out 2021-08-20 21:30:56 +03:00
hippoz
6c6154c072
fix weird error when client repeatedly connectes 2021-08-20 20:00:24 +03:00
hippoz
ab878b6718
fix serverside gateway error when no channels are present and improve default config 2021-08-13 21:56:10 +03:00
hippoz
ee04d03bdb
hopefully fix promise rejection for session counter 2021-06-27 14:04:50 +03:00
hippoz
f064f7b1be
we can probably enable the user list by default now 2021-06-10 23:22:57 +03:00
hippoz
3a53d585ff
add session counters and presence (brainlet-react presence is locked behind an experiment flag, just enable it with an override at the moment) 2021-06-10 14:02:31 +03:00
hippoz
76f041e75e
voice sort of barely works... 2021-06-02 04:44:52 +03:00
hippoz
3f7c462c09
remove legacy gateway and respond to transceiver events 2021-05-25 15:51:35 +03:00
hippoz
4cd8e22a78
hopefully close rtc connection on ws gateway close 2021-05-21 02:53:54 +03:00
hippoz
dffba219d6
add broken webrtc media server and experiment system 2021-05-21 01:33:47 +03:00
hippoz
72c0b3f62e
package things idk 2021-05-17 02:26:55 +03:00
hippoz
c6ec036e9e
add voice to documentation 2021-05-17 02:26:34 +03:00
hippoz
33c0c14255
use permalink tricarbon 2021-05-09 15:55:42 +03:00
hippoz
11f93542c3
add _id field for messages and allow authorization header for rest api requests 2021-03-27 07:19:11 +02:00
hippoz
78d3071a84
Merge branch 'master' of https://git.hippoz.xyz/hippoz/brainlet 2021-03-26 22:50:35 +02:00
hippoz
943ed64735
replace all mentions of category with channel for better consistency 2021-03-26 22:50:21 +02:00
ed66f264ff Merge pull request 'Put rate limited error in JSON' (#16) from hiimgoodpack/brainlet:master into master
Reviewed-on: hippoz/brainlet#16
ok
2021-03-26 18:19:14 +02:00
b6f909ee5d
Put rate limited error in JSON 2021-03-26 10:59:24 -04:00
e7da5de255 Update 'resources/Docs/DOCS.md' 2021-03-25 01:35:14 +02:00
hippoz
6d99951fe7
frontend: store gateway url as localstorage value 2021-03-22 21:08:52 +02:00
hippoz
ccca54c0b1
quick fix for gateway hostname 2021-03-22 21:01:13 +02:00
hippoz
b902a1fc04
frontend: messages 2021-03-22 19:39:10 +02:00
hippoz
b039639ff8
do not allow sending of empty messages in gateway and add interactivity to app 2021-03-22 04:27:59 +02:00
hippoz
51e7a46821
Merge branch 'master' of https://git.hippoz.xyz/hippoz/brainlet
this merge is necessary because git told me to do it
2021-03-17 03:01:27 +02:00
hippoz
8d7b2049c5
Implement basic handshake and message sending capabilities for gatewayv2 2021-03-17 03:01:11 +02:00
c25008d73f DOCS: Mark the client field as optional 2021-03-16 05:04:44 +02:00
8345fc1af3 Update 'resources/Docs/DOCS.md' 2021-03-16 01:52:43 +02:00
83eb80ce05 Update 'resources/Docs/DOCS.md' 2021-03-16 01:44:44 +02:00
hippoz
4d61db3e5b
move some files into other folders and make some code neater 2021-03-14 20:14:32 +02:00
hippoz
50a3564fd4
add secret.js back into gitignore (lets hope that this lets me push secret.js) 2021-03-13 03:51:22 +02:00
hippoz
3c856e5fe5
remove secret.js from gitignore so i can commit the default secret.js file 2021-03-13 03:50:52 +02:00
hippoz
a47d938b7e
update folder stucture and improve documentation 2021-03-13 03:42:01 +02:00
hippoz
e41a04999c
hopefully merge 2021-03-04 21:33:31 +02:00
hippoz
839b387273
Merge 2021-03-04 21:32:29 +02:00
hippoz
1c1b710cde
Add linter and documentation for future gateway version 2021-03-04 21:28:02 +02:00