Damien Arrachequesne
9a00cea5b4
refactor(server): simplify Redis store saveSession()
2023-04-06 18:01:52 +02:00
Damien Arrachequesne
6ba21636d3
feat(server): add store based on redis@4
...
Reference: https://github.com/redis/node-redis/blob/master/docs/v3-to-v4.md
Related: https://github.com/socketio/socket.io-admin-ui/issues/65
2023-04-06 18:00:39 +02:00
Damien Arrachequesne
b21b649ea2
fix: handle late HTTP server binding
...
The following example:
```js
const io = new Server(); // without port or HTTP server
instrument(io, {
auth: false
});
io.listen(3000);
```
will now work properly.
Related: https://github.com/socketio/socket.io-admin-ui/issues/49
2022-10-06 08:20:16 +02:00
Damien Arrachequesne
6d58a755b4
fix: properly track events with acknowledgement
...
"event_received" events did include the acknowledgement function, which
would break during encoding.
Related:
- https://github.com/socketio/socket.io-admin-ui/issues/48
- https://github.com/socketio/socket.io-admin-ui/issues/54
2022-10-06 08:18:25 +02:00
Damien Arrachequesne
81af1d40ae
feat(server): switch to the bcryptjs module
...
The bcryptjs module is written in plain JavaScript, so it does not need
to be compiled with node-gyp (which is problematic on some platforms).
Related: https://github.com/socketio/socket.io-admin-ui/issues/50
2022-09-19 10:38:12 +02:00
Damien Arrachequesne
8542601b55
feat: display sent and received events
2022-06-23 13:43:45 +02:00
Damien Arrachequesne
e0d91cadb1
feat: add production mode
...
There are two ways to enable this production mode:
- either with the new "mode" option:
```js
instrument(io, {
mode: "production" // defaults to "development"
});
```
- or with the NODE_ENV environment variable:
```
NODE_ENV=production node index.js
```
In production mode, the server won't send all details about the socket
instances and the rooms, thus reducing the memory footprint of the
instrumentation.
Related:
- https://github.com/socketio/socket.io-admin-ui/issues/22
- https://github.com/socketio/socket.io-admin-ui/issues/23
2022-06-22 01:18:52 +02:00
Damien Arrachequesne
481ef22b3a
feat: add page displaying all events
2022-06-18 02:29:04 +02:00
Damien Arrachequesne
577f4e9d1a
chore(server): bump dependencies
2022-06-18 02:14:40 +02:00
Corey
e17e9e1dbe
fix: properly track updates to socket.data
...
Before this commit, attributes added to `socket.data` within a
middleware were lost.
Related: 3773fe4b1c
2022-05-03 07:27:21 +02:00
Corey
3773fe4b1c
feat: add socket data in the UI ( #37 )
...
Related: https://github.com/socketio/socket.io-admin-ui/issues/32
2022-04-29 01:53:41 +02:00
Dharmaraj
2e05f706c6
feat: display the real IP address of the user ( #16 )
2021-06-10 07:56:41 +02:00
Damien Arrachequesne
74f1c20f6a
fix(server): add support for dynamic namespaces
...
This fix depends on the "new_namespace" event emitted by the server,
which was added in `socket.io@4.1.0`.
Related: https://github.com/socketio/socket.io-admin-ui/issues/6
2021-06-02 10:37:19 +02:00
Damien Arrachequesne
1cf991e49a
fix(server): only serialize required handshake attributes
...
In order not to include "auth" and other attributes like
"sessionStore", which is added by the "express-session" package.
Related: https://github.com/socketio/socket.io-admin-ui/issues/7
2021-06-02 10:34:56 +02:00
Damien Arrachequesne
f453422662
initial commit
2021-04-15 12:28:15 +02:00