Skip to content

Commit

Permalink
release 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MXWXZ committed May 30, 2024
1 parent 780b885 commit 50bd255
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
23 changes: 11 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# 0.1.4
# plugin-0.1.1
## Bug fix
1. Fix segmentation fault when shared API is enabled.

# 0.1.3
## Bug fix
1. Fix login db error when using PostgreSQL.
2. Fix plugin segmentation fault in some systems.

# 0.1.2
## Bug fix
1. Fix CSP violation for reCAPTCHA.
2. Fix validation failed for reCAPTCHA.
1. Fix segmentation fault when loading plugins.
2. Fix monitor database foreign key error.

# 0.1.1
## Changes
1. `listen.ssl` will only raise warning when `proxy.enable` is `false`.

## Bug fix
1. Fix a IP parsing bug when proxy is enabled.
2. Fix CSP violation for reCAPTCHA.
3. Fix validation failed for reCAPTCHA.
4. Fix login db error when using PostgreSQL.
5. Fix plugin segmentation fault in some systems.
6. Fix segmentation fault when shared API is enabled.

# 0.1.0
First version of skynet!
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl MigrationTrait for Migration {
)
.foreign_key(
ForeignKey::create()
.to(Agents::Table, Agents::ID)
.to(table_prefix(&Agents::Table), Agents::ID)
.from_col(AgentSettings::Aid)
.on_update(ForeignKeyAction::Restrict)
.on_delete(ForeignKeyAction::Cascade),
Expand Down
3 changes: 3 additions & 0 deletions skynet/src/cmd/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ pub async fn command(cli: &Cli, skynet: Skynet, skip_cover: bool, disable_csrf:
if disable_csrf {
warn!("CSRF protection is disabled, for debugging purpose only");
}
if !skynet.config.listen_ssl.get() && !skynet.config.proxy_enable.get() {
warn!("SSL is not enabled, your traffic is at risk")
}
if !cli.persist_session {
let _: () = redis::cmd("FLUSHDB").query_async(&mut redis).await.unwrap();
}
Expand Down
2 changes: 1 addition & 1 deletion skynet/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl Config {
listen_ssl: ConfigItem {
name: "listen.ssl".to_owned(),
default: false,
warning:true,
warning: false,
..Default::default()
},
listen_ssl_cert: ConfigItem {
Expand Down

0 comments on commit 50bd255

Please sign in to comment.