Skip to content

Commit

Permalink
修复多次进行user_id转换导致CTFd-Glowworm插件重置容器失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
0akarma committed Mar 25, 2020
1 parent b0f28c1 commit a2cde0a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
1.1.3 / 2020-3-25
=================

* Readme中添加`Aliyun-Instance`链接
* 修复多次进行`user_id`转换导致`CTFd-Glowworm`插件重置容器失败的问题
* 修复`Aliyun-Instance`插件模版文件名重复导致的Bug

1.1.2 / 2020-3-17
=================

* fix vul & update single-nginx.yml
* aliyun-instance-first-commit

1.1.1 / 2020-1-26
=================

Expand Down
4 changes: 2 additions & 2 deletions CTFd/plugins/aliyun-instance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def load(app):
# list plugin settings
def admin_list_configs():
configs = DBUtils.get_all_configs()
return render_template('configs.html', configs=configs)
return render_template('aliyun_configs.html', configs=configs)


@ali_blueprint.route('/admin/settings', methods=['PATCH'])
Expand All @@ -101,7 +101,7 @@ def admin_list_containers():

pages = int(count / results_per_page) + (count % results_per_page > 0)

return render_template("containers.html", containers=containers, pages=pages, curr_page=page,
return render_template("aliyun_containers.html", containers=containers, pages=pages, curr_page=page,
curr_page_start=page_start, configs=configs, mode=mode)

@ali_blueprint.route("/admin/containers", methods=['PATCH'])
Expand Down
2 changes: 1 addition & 1 deletion CTFd/plugins/aliyun-instance/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "aliyun-instance",
"name": "Aliyun Instance",
"route": "/plugins/aliyun-instance/admin/settings"
}

0 comments on commit a2cde0a

Please sign in to comment.