Commit graph

140 commits

Author SHA1 Message Date
hippoz
93b5531b5d
fix: disable saving messages by default 2021-10-03 21:11:51 +03:00
hippoz
50cc87b399
docs: update to reflect protocol changes 2021-10-03 21:08:57 +03:00
hippoz
1008e68d54
feat: add allowSavingMessages policy and remove SAVE_MESSAGES attribute, as well as change HELLO packet 2021-10-03 21:05:54 +03:00
hippoz
495bd71f36
feat: add message storage and fetching api 2021-10-02 22:50:12 +03:00
hippoz
7db4c5f2c2
fix: rename roles to attributes to avoid confusion 2021-09-15 17:11:33 +03:00
hippoz
b2a725d084
feat!: add roles system and lock presence updates behind a PRESENCE_UPDATES role 2021-09-15 16:39:08 +03:00
hippoz
800d778183
fix(gateway): remove unintended code 2021-09-15 15:56:24 +03:00
hippoz
6376597857
Merge branch 'master' of https://git.hippoz.xyz/hippoz/brainlet 2021-09-15 15:55:28 +03:00
hippoz
0f3154745e
fix(policies/gateway): comply with policies.allowGatewayConnection 2021-09-15 15:54:08 +03:00
e3f35f5525 Update 'README.md' 2021-09-14 20:30:02 +01:00
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: #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: #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