Skip to content

Commit a2cde0a

Browse files
committed
修复多次进行user_id转换导致CTFd-Glowworm插件重置容器失败的问题
1 parent b0f28c1 commit a2cde0a

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
1.1.3 / 2020-3-25
2+
=================
3+
4+
* Readme中添加`Aliyun-Instance`链接
5+
* 修复多次进行`user_id`转换导致`CTFd-Glowworm`插件重置容器失败的问题
6+
* 修复`Aliyun-Instance`插件模版文件名重复导致的Bug
7+
8+
1.1.2 / 2020-3-17
9+
=================
10+
11+
* fix vul & update single-nginx.yml
12+
* aliyun-instance-first-commit
13+
114
1.1.1 / 2020-1-26
215
=================
316

CTFd/plugins/aliyun-instance/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def load(app):
7474
# list plugin settings
7575
def admin_list_configs():
7676
configs = DBUtils.get_all_configs()
77-
return render_template('configs.html', configs=configs)
77+
return render_template('aliyun_configs.html', configs=configs)
7878

7979

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

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

104-
return render_template("containers.html", containers=containers, pages=pages, curr_page=page,
104+
return render_template("aliyun_containers.html", containers=containers, pages=pages, curr_page=page,
105105
curr_page_start=page_start, configs=configs, mode=mode)
106106

107107
@ali_blueprint.route("/admin/containers", methods=['PATCH'])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"name": "aliyun-instance",
2+
"name": "Aliyun Instance",
33
"route": "/plugins/aliyun-instance/admin/settings"
44
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)