Skip to content

Commit

Permalink
v0.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjinhub committed Jun 12, 2022
1 parent 5e0e825 commit efde6d1
Show file tree
Hide file tree
Showing 35 changed files with 339 additions and 332 deletions.
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from core.view import Decorator
from flask import (Flask, send_from_directory)

version = "0.5.6"
version = "0.5.7"

db = Orator()
redis = FlaskRedis()
Expand Down
Binary file modified core/auto/linux/core.so
Binary file not shown.
Binary file modified core/auto/windows/core.pyd
Binary file not shown.
2 changes: 1 addition & 1 deletion core/view/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
elif platform.system() == 'Linux':
from core.auto.linux.core import auto_execute, ManageTimer
elif platform.system() == "Darwin":
print("Mac platform is not supported.")
print("Mac platform is not supported.")
9 changes: 8 additions & 1 deletion core/view/workflow/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def get_user_list():
Workflow.__table__ + '.webhook_app',
Workflow.__table__ + '.input_app',
Workflow.__table__ + '.for_list',
Workflow.__table__ + '.thumbnail'
)

if str(type) != "0":
Expand Down Expand Up @@ -99,7 +100,8 @@ def post_workflow_add():
'edge_marker': "block",
'edge_color': "#c7342e",
'edge_connector': "normal",
'edge_router': "normal",
'edge_router': "metro",
'thumbnail': "",
'update_time': Time.get_date_time(),
'create_time': Time.get_date_time()
})
Expand All @@ -123,6 +125,7 @@ def post_workflow_add():
edge_color = request.json.get("edge_color", "")
edge_connector = request.json.get("edge_connector", "")
edge_router = request.json.get("edge_router", "")
thumbnail = request.json.get("thumbnail", "")

Workflow.insert({
'uuid': str(uuid),
Expand All @@ -148,6 +151,7 @@ def post_workflow_add():
'edge_color': edge_color,
'edge_connector': edge_connector,
'edge_router': edge_router,
'thumbnail': thumbnail,
'update_time': Time.get_date_time(),
'create_time': Time.get_date_time()
})
Expand Down Expand Up @@ -183,6 +187,7 @@ def get_workflow_detail():
'edge_color',
'edge_connector',
'edge_router',
'thumbnail',
'update_time',
'create_time'
).where("uuid", uuid).first()
Expand Down Expand Up @@ -214,6 +219,7 @@ def post_workflow_update():
edge_color = request.json.get("edge_color", "")
edge_connector = request.json.get("edge_connector", "")
edge_router = request.json.get("edge_router", "")
thumbnail = request.json.get("thumbnail", "")

if str(controller_data) != "{}":
is_exist = json.loads(controller_data).get(timer_app)
Expand Down Expand Up @@ -258,6 +264,7 @@ def post_workflow_update():
'edge_color': edge_color,
'edge_connector': edge_connector,
'edge_router': edge_router,
'thumbnail': thumbnail,
'update_time': Time.get_date_time()
})

Expand Down
2 changes: 1 addition & 1 deletion core/web/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" type=image/x-icon href=static/favicon.ico><title>W5 SOAR - 无需编写代码的安全自动化平台</title><link href=./static/css/app.32ad01e3776e3e4a713d166ae547e6a8.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.a79c73bcdf98379eb6e0.js></script><script type=text/javascript src=./static/js/vendor.4c57ac819e0c732d9433.js></script><script type=text/javascript src=./static/js/app.d1ef59c11c157bd1e8a0.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" type=image/x-icon href=static/favicon.ico><title>W5 SOAR - 无需编写代码的安全自动化平台</title><link href=./static/css/app.da6d9a712df14895e462e9fda56320b2.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.8827db6b1dcfc59fdee8.js></script><script type=text/javascript src=./static/js/vendor.4c57ac819e0c732d9433.js></script><script type=text/javascript src=./static/js/app.f1eaff8bccbf9074f9aa.js></script></body></html>

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion core/web/static/js/0.0f6907f0664e8b8ac4a5.js

This file was deleted.

1 change: 1 addition & 0 deletions core/web/static/js/0.75fee1a50e1202fcb49e.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion core/web/static/js/1.3e6986617218fb2bee10.js

This file was deleted.

1 change: 1 addition & 0 deletions core/web/static/js/1.dd89b837ea426853fb0c.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/10.91f57ae8399e74c3145a.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/11.048747144dc7f6422999.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/12.4b8241c86c0c2fd2cc28.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/13.58c2c9e1c5cb4ae487db.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/16.d5fc721bb537576012aa.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions core/web/static/js/17.1c1b280ebe10200470b7.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions core/web/static/js/2.9ab5d22ca3941c0a1b98.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion core/web/static/js/2.d4a230b72287bb7f2825.js

This file was deleted.

282 changes: 282 additions & 0 deletions core/web/static/js/3.9d83c74df8eca0a1ece3.js

Large diffs are not rendered by default.

282 changes: 0 additions & 282 deletions core/web/static/js/3.c9cb8cf76b60d99f5839.js

This file was deleted.

2 changes: 1 addition & 1 deletion core/web/static/js/4.ca7b9cf1f548412033cd.js

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions core/web/static/js/5.730b81524870c4f0c20a.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions core/web/static/js/6.c08715cda3b6f6005513.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion core/web/static/js/6.ec60b88d16ea242cc789.js

This file was deleted.

2 changes: 1 addition & 1 deletion core/web/static/js/7.cb3391ddd7191d390028.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/8.44c6241906883f765274.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/web/static/js/9.f321d440c2516f3cb3eb.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion core/web/static/js/app.d1ef59c11c157bd1e8a0.js

This file was deleted.

1 change: 1 addition & 0 deletions core/web/static/js/app.f1eaff8bccbf9074f9aa.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions core/web/static/js/manifest.8827db6b1dcfc59fdee8.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion core/web/static/js/manifest.a79c73bcdf98379eb6e0.js

This file was deleted.

8 changes: 4 additions & 4 deletions core/web/static/js/vendor.4c57ac819e0c732d9433.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docker/sql/w5.sql
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ CREATE TABLE `w5_workflow` (
`edge_color` varchar(10) NOT NULL DEFAULT '',
`edge_connector` varchar(10) NOT NULL DEFAULT '',
`edge_router` varchar(10) NOT NULL DEFAULT '',
`thumbnail` longtext,
`update_time` datetime DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def w5_info(**kwargs):
print(" ##@$%|||||||||||!` :%@#@")
print(" ###@&$||||||||!` !&###@")
print(" #####@&&%||||:. `%&#####@")
print(" ########&&&%: W5 SOAR '$&@#######@ v{version}".format(version="0.5.6"))
print(" ########&&&%: W5 SOAR '$&@#######@ v{version}".format(version="0.5.7"))
print("=============================================")
print("* Web : https://w5.io")
print("* Github : https://github.com/w5hub/w5")
Expand Down

0 comments on commit efde6d1

Please sign in to comment.