Skip to content

Commit f3cf1c1

Browse files
committed
chore: remove license/auth gating
1 parent 5feccc4 commit f3cf1c1

File tree

12 files changed

+19
-342
lines changed

12 files changed

+19
-342
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.gradle
2+
.gradle-user/
23
build/
34
!gradle/wrapper/gradle-wrapper.jar
45
!**/src/main/**/build/
@@ -39,4 +40,7 @@ bin/
3940
.vscode/
4041

4142
### Mac OS ###
42-
.DS_Store
43+
.DS_Store
44+
45+
### JVM ###
46+
*.hprof

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
`卫界安全` 的资助下,我们将继续为大家持续提供开源项目,我们团队也将成为`卫界安全` 资助的开源团队,为大家带来更多的**可靠的****强大的**安全工具。
1414

15-
项目中还存在一些已知和未知的`bug` ,为了不让有`bug` 的源码被二次开发和有`bug` 的程序被广泛传播,本插件的使用方式暂时采用**授权激活**的形式,当收集了足够的`issue` 以及修复了更多的`bug` 将工具的可用性提升到另一个层次时,我们会将代码**全部开源**并邀请各位对代码安全感兴趣的师傅进行共同开发和维护
15+
项目中还存在一些已知和未知的`bug`,欢迎提交 `issue`,我们会尽快进行优化和修复,并邀请对代码安全感兴趣的师傅共同开发和维护
1616

1717
## 功能介绍
1818

@@ -174,4 +174,3 @@
174174
| …… | …… | …… |
175175

176176
## 结语
177-

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ kotlin.stdlib.default.dependency=false
44
org.gradle.configuration-cache=true
55
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
66
org.gradle.caching=true
7+
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
78
platformType = IU # IntelliJ IDEA Ultimate

src/main/kotlin/org/skgroup/codeauditassistant/actions/OpenConfigAction.kt

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/main/kotlin/org/skgroup/codeauditassistant/ui/CodeAuditAssistantMainToolWindow.kt

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import com.intellij.ui.components.JBTabbedPane
66
import org.skgroup.codeauditassistant.i18n.CAMessage
77
import org.skgroup.codeauditassistant.ui.panel.CallGraphToolWindowPanel
88
import org.skgroup.codeauditassistant.ui.panel.DecompilerToolWindowPanel
9-
import org.skgroup.codeauditassistant.ui.service.AuthStateService
109
import org.skgroup.codeauditassistant.ui.service.CodeAuditAssistantProjectService
1110
import java.awt.BorderLayout
1211

@@ -17,21 +16,18 @@ class CodeAuditAssistantMainToolWindow(private val project: Project) {
1716

1817

1918
init {
20-
if (AuthStateService.instance.myState.isAuthenticated) {
21-
project.getService(CodeAuditAssistantProjectService::class.java).mainToolWindow = this
19+
project.getService(CodeAuditAssistantProjectService::class.java).mainToolWindow = this
2220

23-
val tabbedPane = JBTabbedPane()
21+
val tabbedPane = JBTabbedPane()
2422

25-
// 第一个标签页: 反编译
26-
val decompilerPanel = DecompilerToolWindowPanel(project)
27-
tabbedPane.addTab(CAMessage.message("tab.decompiler"), decompilerPanel.mainPanel)
23+
// 第一个标签页: 反编译
24+
val decompilerPanel = DecompilerToolWindowPanel(project)
25+
tabbedPane.addTab(CAMessage.message("tab.decompiler"), decompilerPanel.mainPanel)
2826

29-
// 第二个标签页: 代码分析
30-
analysisPanel = CallGraphToolWindowPanel(project)
31-
tabbedPane.addTab(CAMessage.message("tab.code.analysis"), analysisPanel.mainPanel)
27+
// 第二个标签页: 代码分析
28+
analysisPanel = CallGraphToolWindowPanel(project)
29+
tabbedPane.addTab(CAMessage.message("tab.code.analysis"), analysisPanel.mainPanel)
3230

33-
mainPanel.add(tabbedPane, BorderLayout.CENTER)
34-
} else throw IllegalArgumentException(CAMessage.message("error.not.authenticated"))
31+
mainPanel.add(tabbedPane, BorderLayout.CENTER)
3532
}
3633
}
37-

src/main/kotlin/org/skgroup/codeauditassistant/ui/component/ConfigDialog.kt

Lines changed: 0 additions & 153 deletions
This file was deleted.

src/main/kotlin/org/skgroup/codeauditassistant/ui/service/AuthStateService.kt

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/main/kotlin/org/skgroup/codeauditassistant/utils/RSAUtil.kt

Lines changed: 0 additions & 67 deletions
This file was deleted.

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,5 @@
5252
text="Search As Sink">
5353
<add-to-group group-id="EditorPopupMenu" anchor="last"/>
5454
</action>
55-
<action id="OpenConfig" class="org.skgroup.codeauditassistant.actions.OpenConfigAction"
56-
text="Open Code Audit Assistant Config">
57-
<add-to-group group-id="ToolsMenu" anchor="last"/>
58-
</action>
5955
</actions>
60-
</idea-plugin>
56+
</idea-plugin>

src/main/resources/key/public.der

-294 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)