renovate[bot]
d5b238f153
fix(deps): update rust crate async-trait to 0.1.63
2023-01-23 04:59:48 +00:00
renovate[bot]
91ab6cb607
fix(deps): update rust crate async-trait to 0.1.61
2023-01-09 04:20:42 +00:00
renovate[bot]
de5e26bbf2
fix(deps): update all non-major dependencies
2022-12-19 03:30:40 +00:00
renovate[bot]
09f7d14bcc
fix(deps): update all non-major dependencies
2022-12-12 03:57:24 +00:00
renovate[bot]
ce546a0c69
fix(deps): update rust crate libloading to 0.7.4
2022-11-07 05:40:58 +00:00
renovate[bot]
619ed0b41d
fix(deps): update rust crate clap to 3.2.23
2022-10-31 05:13:52 +00:00
renovate[bot]
5a103de793
fix(deps): update all non-major dependencies
2022-10-24 04:12:45 +00:00
renovate[bot]
0d4ff8041b
fix(deps): update all non-major dependencies
2022-10-10 05:19:25 +00:00
renovate[bot]
eb462622eb
fix(deps): update all non-major dependencies
2022-09-19 03:37:23 +00:00
MedzikUser
b56357c085
fix(server): change from task::spawn to thread::spawn
...
Changed to thread::spawn due to task::spawn spawn max 2 tasks (accept max 2 clients) if your cpu has 2 cores.
2022-09-14 21:03:49 +02:00
renovate[bot]
fd4121b0d2
fix(deps): update all non-major dependencies
2022-09-05 05:42:10 +00:00
MedzikUser
032ec88ed6
chore: add some comments in code
...
Moved `PluginsManager` and `PluginsManagerType` from `servers::plugin::manager` to the `servers::plugin` module.
Added some comments in code.
Implemented function `into()` to the `PluginsManager` struct.
2022-08-22 13:23:08 +02:00
MedzikUser
501cbc74b7
fix(clippy): change < 1
to .is_empty()
...
Replaced `args.len() < 1` with `args.is_empty()`.
2022-08-20 15:01:48 +02:00
MedzikUser
db6e068926
chore(plugin): change to cdylib
...
Probably better.
2022-08-20 14:58:32 +02:00
MedzikUser
212223c568
ci(release): build binaries for gnu instead of musl
...
Musl currently doesn't support dylib.
2022-08-20 14:48:41 +02:00
MedzikUser
d15ec0c93e
feat(command): add /broadcast
...
The `/broadcast` command has been added, which can send a message to all connected clients.
2022-08-19 22:27:42 +02:00
MedzikUser
9f66c2b9d2
fix(cli): update long arguments
...
Changed clap long attributes from --host to host and --port to port.
2022-08-19 12:16:02 +02:00
MedzikUser
95d0e15786
chore(release): v0.6.0
2022-08-17 22:07:12 +02:00
MedzikUser
d31e0fff2f
fix(plugin): execute on_load
function
...
Now function `on_load` will be executed if the plugin is loads.
Added span to the logger on TRACE level in plugin loader.
Fixed clippy warning from previous commit.
2022-08-17 22:05:27 +02:00
MedzikUser
67fb1a0a3c
feat(server): add onCommand
event and handle errors in message processing
...
Added `OnCommand` event e.g. to disable command for client. (BREAKING CHANGES IN EVENT PLUGINS)
Added function for error handling in message process.
2022-08-17 21:44:06 +02:00
MedzikUser
56e16145f6
chore(release): v0.5.0
2022-08-17 15:45:36 +02:00
MedzikUser
7da5daf522
feat(client): HashMap add Mutex and functions
...
Changed map type in Client struct to Arc<Mutex<HashMap<String, ClientMapValue>>>.
Implemented functions insert_key, get_value and delete_key to the Client type.
Re-export servers::server::ClientMapValue in servers::plugins::prelude.
2022-08-17 15:40:11 +02:00
MedzikUser
bf1c3c4092
chore(release): v0.4.2
...
- **fix**: update anyhow to v1.0.62
2022-08-17 11:56:29 +02:00
MedzikUser
5d2afe3719
ci(release): delete compress binaries
2022-08-17 11:47:26 +02:00
MedzikUser
83f2961aee
chore(release): v0.4.1
2022-08-16 23:35:31 +02:00
MedzikUser
c51c0a2507
ci(fix): fix release
2022-08-16 23:34:47 +02:00
MedzikUser
dd854ee6e5
chore(release): v0.4.0
2022-08-16 23:28:39 +02:00
MedzikUser
97b19ae413
feat(tcp client): add tcp-client
2022-08-16 23:24:21 +02:00
renovate[bot]
45a89f365a
fix(deps): update all non-major dependencies
2022-08-15 03:18:35 +00:00
MedzikUser
f27df56c47
feat(plugins): implement events
...
- Events: onConnect and onSend now works
2022-08-13 12:06:53 +02:00
MedzikUser
6f7edf3d30
fix(clippy): rename module to fix clippy warning
2022-08-12 23:16:13 +02:00
MedzikUser
84eed33e24
docs: comment code
2022-08-12 23:12:29 +02:00
MedzikUser
25c2f0baa3
fix(id): fix add one to next id
...
- Fixed add one to next ID
- Added command /id
- Added `id` field to Client struct
2022-08-12 22:52:47 +02:00
MedzikUser
d0120a0703
refactor: rewrite
...
- Better Client struct (TCP and WebSocket in one type)
- WebSocket is now not a proxy to tcp
- Use async-std instead a tokio
- Use Arc and Client type now have a Clone derive
- Add global CLIENTS list
2022-08-12 22:32:22 +02:00
renovate[bot]
868671848b
fix(deps): update all non-major dependencies
2022-08-08 03:36:25 +00:00
MedzikUser
5fa16c6705
fix(lint): clippy warnings
2022-08-04 16:39:55 +02:00
MedzikUser
45a9fe605d
release v0.3.0
2022-08-04 16:36:38 +02:00
renovate[bot]
093671ff8f
fix(deps): update all non-major dependencies
2022-08-01 06:13:16 +00:00
MedzikUser
fc5afe56a1
feat(tcp client): add fn peer_addr
2022-07-29 22:10:49 +02:00
MedzikUser
3fb0a1132a
chore: some changes (more in the commit description)
...
- added `/disconnect` commands
- moved logger init function to other file
- updated command description
- the `/help` command has been accelerated
- re-export `async_trait` so that it doesn't have to be added to dependencies in plugins
2022-07-29 21:55:21 +02:00
MedzikUser
6ad4afb146
chore(renovate): update config
2022-07-29 12:13:35 +02:00
MedzikUser
e83a8360c2
chore: move struct Cli to other module
2022-07-29 12:12:13 +02:00
MedzikUser
796084d13e
chore: some changes
...
- add macros for Mutex (currently unused)
- change logger to tracing
2022-07-28 22:32:28 +02:00
renovate[bot]
2e3bb0cb43
fix(deps): update rust crate clap to 3.2.15
2022-07-25 23:10:17 +00:00
renovate[bot]
c48d61f22b
fix(deps): update rust crate tokio to 1.20.1
2022-07-25 16:02:05 +00:00
renovate[bot]
183602a69e
fix(deps): update rust crate clap to 3.2.14
2022-07-21 05:12:13 +00:00
renovate[bot]
0f0a833dac
fix(deps): update rust crate tokio to 1.20.0
2022-07-20 00:42:44 +00:00
renovate[bot]
6257dcfcfd
fix(deps): update rust crate clap to 3.2.13
2022-07-19 22:58:45 +00:00
renovate[bot]
e303383607
fix(deps): update rust crate tungstenite to 0.17.3
2022-07-13 20:54:13 +00:00
renovate[bot]
40108a20fb
fix(deps): update rust crate tokio-tungstenite to 0.17.2
2022-07-13 18:18:11 +00:00