Commit Graph

34 Commits

Author SHA1 Message Date
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 77ee068318
fix(ui): properly set initial nav drawer state 2022-06-18 02:14:50 +02:00
Damien Arrachequesne 8258a9aa54
ci: add Node.js 18 2022-06-18 02:14:47 +02:00
Damien Arrachequesne 577f4e9d1a
chore(server): bump dependencies 2022-06-18 02:14:40 +02:00
Damien Arrachequesne 63d7535a46
chore(release): 0.3.0
Diff: https://github.com/socketio/socket.io-admin-ui/compare/0.2.0...0.3.0
2022-05-03 07:33:06 +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
Damien Arrachequesne 4359536a4b
feat: add support for the msgpack parser
Related: https://github.com/socketio/socket.io-admin-ui/issues/28
2022-05-01 08:09:10 +02:00
imithu 925c617af1
feat(ui): improve Bengali (বাংলা) translation (#27) 2022-05-01 07:09:49 +02:00
frozeeen 62e146709f
feat: add navigation drawer for mobile devices (#31)
Related: https://github.com/socketio/socket.io-admin-ui/issues/29
2022-05-01 07:07:39 +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
Damien Arrachequesne 39864b1bf5
docs: add several examples of instrumented servers
- single server
- multiple servers with Node.js cluster module
- multiple servers with Redis
2022-04-21 23:49:35 +02:00
oldthreefeng 9c8e7728a2
chore: add Dockerfile (#25)
Signed-off-by: oldthreefeng <louisehong4168@gmail.com>
2021-09-01 09:03:19 +02:00
Damien Arrachequesne e8eaf8b9d8
chore(release): 0.2.0
Diff: https://github.com/socketio/socket.io-admin-ui/compare/0.1.2...0.2.0
2021-06-11 14:18:21 +02:00
imithu b9c09f4c7d
feat(ui): add Bengali (বাংলা) translation (#18) 2021-06-11 14:08:35 +02:00
Pedro Filipe e8d05bd118
feat(ui): add pt-BR locale (#13) 2021-06-10 08:04:40 +02:00
Dharmaraj 2e05f706c6
feat: display the real IP address of the user (#16) 2021-06-10 07:56:41 +02:00
Damien Arrachequesne cec313e379
docs: fix typo 2021-06-03 11:25:29 +02:00
Damien Arrachequesne 5f235e31a9
docs: remove comment about credentials flag
The `credentials: true` is always needed since the client is created
with `withCredentials: true`.
2021-06-03 11:22:14 +02:00
Damien Arrachequesne 5d92994bca
docs: add note about BCrypt hashes
Related: https://github.com/socketio/socket.io-admin-ui/issues/9
2021-06-03 11:21:01 +02:00
Damien Arrachequesne 9428b6bac7
chore(release): 0.1.2
Diff: https://github.com/socketio/socket.io-admin-ui/compare/0.1.1...0.1.2
2021-06-02 11:51:48 +02:00
Damien Arrachequesne 7ad384dd34
fix(ui): allow to specify the connection path
Related: https://github.com/socketio/socket.io-admin-ui/issues/8
2021-06-02 11:25:42 +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 99fa3ed1aa
docs: add credentials option for cookie-based sticky sessions
This is needed for cookie-based sticky sessions, for example with AWS
load balancers and the AWSALBCORS cookie.

Please note that the cookies must be created with `SameSite=None` and
`Secure`.

Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
2021-05-10 00:18:41 +02:00
Damien Arrachequesne eab7bfab64
chore(release): 0.1.1 2021-05-10 00:03:17 +02:00
Damien Arrachequesne 3ec64a62d3
fix(ui): allow to connect to a websocket-only server
Related:

- https://github.com/socketio/socket.io-admin-ui/pull/4
- https://github.com/socketio/engine.io-client/issues/575
2021-05-09 23:16:00 +02:00
Damien Arrachequesne 51fac0aeb8
fix(ui): set withCredentials to true
This is needed for cookie-based sticky-sessions.

Related: https://github.com/socketio/socket.io-admin-ui/issues/5
2021-05-07 11:17:33 +02:00
Damien Arrachequesne ad0ec0de08
chore(release): 0.1.0 2021-05-04 15:01:31 +02:00
yuhang 9612bc6f21
feat(locale): add zh-CN locale (#2) 2021-05-04 14:55:17 +02:00
minungHan 16a1da5736
feat(locale): add ko locale (#1) 2021-05-04 14:52:48 +02:00
Damien Arrachequesne a03379f06e
chore(release): 0.0.1 2021-04-15 15:22:19 +02:00
Damien Arrachequesne 62f4659f03
docs: update readme 2021-04-15 15:17:59 +02:00
Damien Arrachequesne f453422662
initial commit 2021-04-15 12:28:15 +02:00