修改bug

This commit is contained in:
sylor_huang@126.com 2020-04-02 11:02:08 +08:00
parent a8b2c09f6f
commit ce9677ad94
7 changed files with 139243 additions and 5 deletions

View File

@ -42,7 +42,7 @@ class Issue < ApplicationRecord
new_attachment_name = self.attachments.select(:filename,:id).where(id: issue_files).pluck(:filename).join(",")
journal.journal_details.create(property: "attachment", prop_key: "#{issue_files.size}", old_value: old_attachment_names, value: new_attachment_name)
end
change_values = %w(subject description is_private assigned_to_id tracker_id status_id priority_id fixed_version_id start_date due_date estimated_hours done_ratio issue_tags_value issue_type token)
change_values = %w(subject description is_private assigned_to_id tracker_id status_id priority_id fixed_version_id start_date due_date estimated_hours done_ratio issue_tags_value issue_type token branch_name)
change_values.each do |at|
if self.send("saved_change_to_#{at}?")
journal.journal_details.create(property: "attr", prop_key: "#{at}", old_value: self.send("#{at}_before_last_save"), value: self.send(at))

View File

@ -28,6 +28,7 @@ zh-CN:
draft: 草稿
journal_detail:
branch_name: 分支
close_pr: 合并
merge: 合并
issue_tags_value: 标签

View File

@ -241,7 +241,7 @@
"./static/js/60.23d5ade7.chunk.js": "./static/js/60.23d5ade7.chunk.js",
"./static/js/61.cb0a9253.chunk.js": "./static/js/61.cb0a9253.chunk.js",
"./static/js/62.bfa8e48e.chunk.js": "./static/js/62.bfa8e48e.chunk.js",
"./static/js/63.1501752e.chunk.js": "./static/js/63.1501752e.chunk.js",
"./static/js/63.0903fa1d.chunk.js": "./static/js/63.0903fa1d.chunk.js",
"./static/js/64.7f2872d8.chunk.js": "./static/js/64.7f2872d8.chunk.js",
"./static/js/65.de7e42db.chunk.js": "./static/js/65.de7e42db.chunk.js",
"./static/js/66.fb800b9d.chunk.js": "./static/js/66.fb800b9d.chunk.js",
@ -282,7 +282,7 @@
"./static/js/98.8396e4ed.chunk.js": "./static/js/98.8396e4ed.chunk.js",
"./static/js/99.579e89a3.chunk.js": "./static/js/99.579e89a3.chunk.js",
"main.css": "./static/css/main.fd229636.css",
"main.js": "./static/js/main.8ce81008.js",
"main.js": "./static/js/main.b7e7188a.js",
"static/media/KaTeX_AMS-Regular.ttf": "static/media/KaTeX_AMS-Regular.aaf4eee9.ttf",
"static/media/KaTeX_AMS-Regular.woff": "static/media/KaTeX_AMS-Regular.7f06b4e3.woff",
"static/media/KaTeX_AMS-Regular.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",

View File

@ -24,7 +24,7 @@
_host = 'https://ali-cdn.educoder.net/react/build/'
}
document.write('<script type="text/javascript" src="' + _host + 'js/js_min_all.js"><\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.8ce81008.js"><\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.b7e7188a.js"><\/script>');
})()
</script>
<script>!function(){var t=location.href;"3007"===window.location.port?-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="https://newweb.educoder.net/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>'):-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')}()</script><script type="text/javascript" src="https://cdn.bootcss.com/quill/1.3.7/quill.core.min.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long