Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API Implementation #5

Open
wants to merge 34 commits into
base: feat/context-menu-action+command-customization
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c38f8e6
Upgrade to Gradle 8.9
gmitch215 Jul 31, 2024
82529e7
Add Missing Exclude Directories
gmitch215 Jul 31, 2024
89c5aad
Add Nexus & Jenkins API Automation
gmitch215 Jul 31, 2024
b35545f
Remove Unused `freestyle` Parameter
gmitch215 Jul 31, 2024
b1dc277
Add Requested Changes
gmitch215 Aug 1, 2024
3f6c274
Remove Duplicate Repository
gmitch215 Aug 5, 2024
454f2f9
Update API Implementation
gmitch215 Aug 5, 2024
f68a401
Create dependabot.yml
gmitch215 Aug 5, 2024
016b1ff
Fix Null Safety
gmitch215 Aug 5, 2024
c886cd6
Create `remove` Command (Closes #7)
gmitch215 Aug 5, 2024
c5f66ed
Apply Suggestions from Code Review
gmitch215 Aug 6, 2024
9ff4153
Rename Configuration Location
gmitch215 Aug 10, 2024
78d51e0
Create API Utilities for Bot
gmitch215 Aug 10, 2024
8e569a2
Update CmdApplication.java
gmitch215 Aug 10, 2024
fc16e68
Implement `/codemc` Command
gmitch215 Aug 10, 2024
4b995ec
Implement Database API
gmitch215 Aug 13, 2024
4fcc2de
Create `ConfigHandler#getInt`
gmitch215 Aug 13, 2024
4ba86ec
Add Database Configuration
gmitch215 Aug 13, 2024
cd02dc1
Add Database & Change Password Commands (Closes #10)
gmitch215 Aug 24, 2024
71c0b23
Apply suggestions from Code Review
gmitch215 Aug 24, 2024
c09473d
Add Remaining Code Suggestions
gmitch215 Aug 26, 2024
4f64d2e
Upgrade to Gradle 8.10.2
gmitch215 Sep 29, 2024
4eefdcc
Fix Broken Error Format
gmitch215 Sep 29, 2024
d7ea200
Apply suggestions from code review
gmitch215 Oct 2, 2024
5590258
Update .gitignore
gmitch215 Oct 6, 2024
0fe5d97
Add API Dependencies
gmitch215 Oct 6, 2024
7e4c312
Remove Unused JavaContinuation
gmitch215 Oct 6, 2024
998a3c2
Update CmdCodeMC.java
gmitch215 Oct 6, 2024
42a6a87
Update CmdSubmit.java
gmitch215 Oct 6, 2024
edf042a
Update CodeMCBot.java
gmitch215 Oct 6, 2024
9655bda
Update CmdApplication.java
gmitch215 Oct 6, 2024
f2ad0f0
Use Database in `remove` Command
gmitch215 Oct 6, 2024
2c088c2
Update ButtonListener.java
gmitch215 Oct 6, 2024
1bcfdec
Deny `submit` for User of Same Name
gmitch215 Oct 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: daily
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,17 @@ hs_err_pid*
/.idea/misc.xml
/.idea/uiDesigner.xml
/.idea/vcs.xml
/.idea/inspectionProfiles/Project_Default.xml
/.idea/discord.xml
/.idea/intellij-javadocs-*.xml
/.idea/dataSources.xml

# Gradle
.gradle/
build/

# VSCode
.vscode/

# Copied configuration
config.json
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ compileJava.options.encoding('UTF-8')

repositories {
mavenCentral()
mavenLocal()
maven { url = 'https://jitpack.io' }
maven { url = 'https://repo.codemc.io/repository/maven-public' }
maven { url = 'https://m2.chew.pro/releases' }
Expand All @@ -42,6 +43,14 @@ dependencies {
implementation group: 'pw.chew', name: 'jda-chewtils-commons', version: '2.0'
implementation group: 'pw.chew', name: 'jda-chewtils-command', version: '2.0'
implementation group: 'org.spongepowered', name: 'configurate-gson', version: '4.1.2'

implementation group: 'io.codemc.api', name: 'codemc-api', version: '1.0.1'
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '1.9.0'
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-serialization-json', version: '1.7.3'
implementation group: 'io.github.cdancy', name: 'jenkins-rest', version: '1.0.2'
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '3.4.1'
implementation group: 'org.jetbrains.exposed', name: 'exposed-core', version: '0.55.0'
implementation group: 'org.jetbrains.exposed', name: 'exposed-jdbc', version: '0.55.0'
}

artifacts {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Sun Apr 28 16:10:49 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading