From bbb06d2c08692ec8cfee2381d31d64e1133cd8fe Mon Sep 17 00:00:00 2001 From: xxq250 Date: Mon, 9 Feb 2026 09:51:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8F=96=E6=B6=88drone=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 4267d2b8b..f0dbafc6b 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -5,7 +5,7 @@ class UsersController < ApplicationController before_action :load_user, only: [:show, :homepage_info, :sync_token, :sync_gitea_pwd, :projects, :watch_users, :fan_users, :hovercard, :hovercard4proj] before_action :check_user_exist, only: [:show, :homepage_info,:projects, :watch_users, :fan_users, :hovercard, :hovercard4proj] before_action :require_login, only: %i[me sync_user_info] - before_action :connect_to_ci_db, only: [:get_user_info] + # before_action :connect_to_ci_db, only: [:get_user_info] before_action :convert_image!, only: [:update, :update_image] skip_before_action :check_sign, only: [:attachment_show] before_action :sso_login, only: [:get_user_info] From d7008003c91b631468392b5836f4166cd16d582c Mon Sep 17 00:00:00 2001 From: yystopf Date: Fri, 27 Feb 2026 15:34:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fixed=EF=BC=9A=E9=A1=B9=E7=9B=AEissue?= =?UTF-8?q?=E6=95=B0=E7=BB=9F=E8=AE=A1=E7=9C=9F=E5=AE=9Eissue=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admins/organizations/shared/_project_list.html.erb | 2 +- app/views/admins/projects/shared/_list.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admins/organizations/shared/_project_list.html.erb b/app/views/admins/organizations/shared/_project_list.html.erb index e828938ff..249164e63 100644 --- a/app/views/admins/organizations/shared/_project_list.html.erb +++ b/app/views/admins/organizations/shared/_project_list.html.erb @@ -27,7 +27,7 @@ <%= project.is_public ? '√' : '' %> <%= project.recommend ? '√' : '' %> - <%= project.issues.size %> + <%= project.issues.issue_issue.size %> <%= project.attachments.size %> <%= project&.pull_requests_count %> <%= project.versions.size %> diff --git a/app/views/admins/projects/shared/_list.html.erb b/app/views/admins/projects/shared/_list.html.erb index 4c9485e80..16c3545c4 100644 --- a/app/views/admins/projects/shared/_list.html.erb +++ b/app/views/admins/projects/shared/_list.html.erb @@ -28,7 +28,7 @@ <%= project.is_public ? '√' : '' %> <%= project.recommend ? '√' : '' %> - <%= project.issues.size %> + <%= project.issues.issue_issue.size %> <%= project.attachments.size %> <%= project&.pull_requests_count %> <%= project.versions.size %>