Yonle
e97c9c0380
http: ANOTHER wording
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 19:20:13 +07:00
Yonle
fc3b329b94
http.js: another wordings.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 19:18:12 +07:00
Yonle
f28efc87fe
http.js: probably some wordings.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 19:13:41 +07:00
Yonle
3cc41c47c2
http: no need to provide that long ass example. non-distraction one is fair enough.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 12:07:08 +07:00
Yonle
b8e93b395d
http: favicon.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 11:47:49 +07:00
Yonle
743977a82e
bouncer: filter in bouncer to handle filters, Manually.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 11:25:33 +07:00
Yonle
67e44ffb84
http&bouncer: enable synchronousEvents & deflate compression by default.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-27 19:42:18 +07:00
Yonle
c356fbfcf7
make socket termination faster and fix handling onClose
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-23 22:49:43 +07:00
Yonle
9ed79a0892
fix strict syntax on http.js
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-23 21:25:56 +07:00
Yonle
ec773eebe4
use strict, reveal bostr version in user agent
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-23 21:21:46 +07:00
Yonle
120198d195
code improvement after PR #11
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-13 18:53:59 +07:00
Takuro Fukuda
7970d00132
Standalone HTTPS support ( #11 )
2024-01-13 18:36:24 +07:00
Yonle
94d0e10eb2
http.js: Tell explicitly whenever client was connecting with https or http.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-09 23:26:18 +07:00
Yonle
8863a73c65
http: favicon support.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-09 06:58:27 +07:00
Yonle
224bf54133
log with user-agent.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 23:51:46 +07:00
Yonle
e35b1ac584
autoclear lastConn
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 22:15:50 +07:00
Yonle
5ba3980a9e
feat: broadcast_ratelimit & incomming_ratelimit
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 22:06:32 +07:00
Yonle
8b955f121f
socket: use nodelay
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 13:36:14 +07:00
Yonle
403c51c9ee
Release: 2.0.2
...
Fast connect and disconnecting is brutal sometime.
What's new?
===========
- An whitelist to only allow some event authors to be published with
this bouncer.
- Orphan sockets feature to make stuff fast & not so easy to abuse,
therefore reducing the amount of reconnects.
New Contributors
================
- Takuro Fukuda https://github.com/ftkro
Full Changelog: https://github.com/Yonle/bostr/compare/2.0.1...2.0.2
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-03 17:32:10 +07:00
Yonle
2d73575375
http.js: probably need to tell the current path.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-21 15:15:11 +07:00
Yonle
0f76628728
remove mode 1, and sqlite3 no longer needed
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-18 16:53:48 +07:00
Yonle
dd1da10b8a
introduce nip42 and public/personal usage
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-16 21:53:58 +07:00
Yonle
7d6e2018e3
http: give content-type to client
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-13 18:35:50 +07:00
Yonle
22c42a3857
Make NIP-11 work by adding Access-Control-Allow-Origin
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-13 18:32:29 +07:00
Yonle
297516d595
run in cluster? tell eberiwan
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:09:03 +07:00
Yonle
0e7f9f0706
run in cluster? tell eberiwan
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:08:28 +07:00
Yonle
16b22e863a
it's rather an clients than users.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:03:19 +07:00
Yonle
a9f6f79f49
There you go, The currently connected user numbers
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:01:22 +07:00
Yonle
181840d045
redone log for websocket users
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 19:53:09 +07:00
Yonle
6d5e690269
Holy shit http.js is left alone :((((
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 14:02:14 +07:00