Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
850 commits
Select commit Hold shift + click to select a range
2cdb46a
More folder structure changes
Vxrpenter May 14, 2025
6ffad45
fix
Vxrpenter May 14, 2025
95a6c89
Switched to a maven central version of SecretLab Kotlin library
Vxrpenter May 17, 2025
c3491ed
Fix #9, status bots crashing when no data was received.
Vxrpenter May 17, 2025
d892dae
Small formatting fix to build.gradle
Vxrpenter May 17, 2025
1b66a47
Update issue templates
Vxrpenter May 17, 2025
ed5499c
Update README.md
Vxrpenter May 17, 2025
5d0dcac
Libary version update
Vxrpenter May 17, 2025
84ad200
Fix #8, ticket creation showing an error when taking too long.
Bill3621 May 17, 2025
6647dde
Use send instead of sendMessageEmbeds
Bill3621 May 17, 2025
0009fe9
Merge pull request #10 from Bill3621/master
Vxrpenter May 17, 2025
437cb0c
Fix to issue #11
Vxrpenter May 17, 2025
30fd833
Fix issues with the Notice of Departure feature (#12)
Bill3621 May 18, 2025
a0f6c87
Setting the notice of departure error messages to be ephemeral
Vxrpenter May 18, 2025
099412d
Create gradle.yml
Vxrpenter May 18, 2025
d3af4d3
Changed the default webserver port to 8080
Vxrpenter May 18, 2025
bad9180
Create docker.yml
Vxrpenter May 18, 2025
4ed2c77
Update to version 1.1.0-alpha6
Vxrpenter May 18, 2025
4b3a179
Update docker.yml
Vxrpenter May 18, 2025
ef4d45e
Update docker.yml
Vxrpenter May 18, 2025
08c6fe2
Update docker.yml
Vxrpenter May 18, 2025
3f0afa3
Update to compose file
Vxrpenter May 18, 2025
d74e2ab
Update gradle.yml
Vxrpenter May 18, 2025
50dfa4d
Fix #13, no longer violating role 8.8 out of the VSC
Vxrpenter May 18, 2025
aa88c1f
Update README.md
Vxrpenter May 20, 2025
7508b41
Fix to issue #15 (#16)
Vxrpenter May 23, 2025
5203d40
Update gradle.yml
Vxrpenter May 24, 2025
c32c7fd
Notice of departure formatting error fix
Vxrpenter May 24, 2025
70eb253
New translation for not being able to send modal
Vxrpenter May 24, 2025
50053d1
Checkstatus for notice of departure
Vxrpenter May 24, 2025
0d103c3
New check status method to simplify deactivated feature interactions
Vxrpenter May 24, 2025
e5f2ea5
Update to notice of departure button interactions
Vxrpenter May 24, 2025
5e5f0a0
Update to verify button interactions
Vxrpenter May 24, 2025
011326b
Update to template handling
Vxrpenter May 24, 2025
310218c
Minor changes
Vxrpenter May 24, 2025
0195006
Changed id's
Vxrpenter May 24, 2025
4b41fca
Ticket modal change
Vxrpenter May 24, 2025
ae8a62e
Removed the new status checks
Vxrpenter May 24, 2025
f5a65ba
Better status checks for all events and commands
Vxrpenter May 24, 2025
af090d6
Optimized imports
Vxrpenter May 24, 2025
d2d97bc
Fix to current whitespace after every log that had to do with the Per…
Vxrpenter May 24, 2025
a0c4ed3
Version Update
Vxrpenter May 24, 2025
19e28b1
Update README.md
Vxrpenter May 24, 2025
b176a5a
Update README.md
Vxrpenter May 24, 2025
8a5c7dc
Update README.md
Vxrpenter May 24, 2025
2278bdd
Fix to notice of departures not working
Vxrpenter May 25, 2025
d44fcd7
Small log correction
Vxrpenter May 25, 2025
02d9034
Moved regulars and notice of departure checkers to their own respecti…
Vxrpenter May 25, 2025
ad68aa6
Removed unused loggers and import directives
Vxrpenter May 25, 2025
ca1e04c
Implemented limits on modal text length to avoid too many character e…
Vxrpenter May 25, 2025
d73e1c2
retrieveSerial function for regulars table
Vxrpenter May 25, 2025
625597f
Small check to not start any checker when there are 0 entrys present
Vxrpenter May 25, 2025
b0bc01d
Moved all templates to their respective message handlers
Vxrpenter May 25, 2025
5c9faab
Added a status handling for the ticket template
Vxrpenter May 25, 2025
49874e4
Removed replies from all templates
Vxrpenter May 25, 2025
ccc39df
Removed reply from the status bot template command
Vxrpenter May 25, 2025
cf2c50a
Optimizing imports
Vxrpenter May 25, 2025
23f5816
New translation for status
Vxrpenter May 25, 2025
48d91b6
New message implementation
Vxrpenter May 25, 2025
0b22678
New status checks for all commands
Vxrpenter May 25, 2025
b4a12bb
New translation for notice of departures
Vxrpenter May 25, 2025
3483703
Added new messages to notice of departure modal interaction
Vxrpenter May 25, 2025
8aa634b
Small method changes
Vxrpenter May 25, 2025
feefdbd
New translation removing old messages from status
Vxrpenter May 25, 2025
6ae533e
Implementation of new embed responses
Vxrpenter May 25, 2025
fa1c6a6
Removed redundant file variable from CommandManager
Vxrpenter May 25, 2025
10e301f
Small refactor of the ColorTool
Vxrpenter May 25, 2025
e646af5
Small change to DurationParser
Vxrpenter May 25, 2025
97fa83d
Moved updates
Vxrpenter May 25, 2025
7809e52
New extra configuration file
Vxrpenter May 25, 2025
73d4f0f
Optimize imports
Vxrpenter May 25, 2025
15e1622
Small fixes to then Updates config file
Vxrpenter May 25, 2025
12eecef
New check that tells the user what configs were updated
Vxrpenter May 25, 2025
80b7ff2
Another small fix to the updates config data class
Vxrpenter May 26, 2025
fee66e5
Fix to updates json printout
Vxrpenter May 26, 2025
943766d
Additional force value for the updates config
Vxrpenter May 26, 2025
3e1a8dc
Changes for the new updates value
Vxrpenter May 26, 2025
af254a6
Small config updates
Vxrpenter May 26, 2025
1c209fb
Removed new force value
Vxrpenter May 26, 2025
7c6a0c7
Launchconfiguration update
Vxrpenter May 26, 2025
6fae7a2
Some restructuring of the UpdateManager and an additional force param…
Vxrpenter May 26, 2025
58ebdee
Import optimization
Vxrpenter May 26, 2025
c1e6b01
Fix a critical error that hindered compilation
Vxrpenter May 26, 2025
6e24f99
Update to version 1.1.0-beta1
Vxrpenter May 26, 2025
6fdbe65
Update UpdateHandler.kt
Vxrpenter May 26, 2025
8e59739
Update UpdateHandler.kt
Vxrpenter May 26, 2025
91313c4
Update UpdateHandler.kt
Vxrpenter May 26, 2025
3acca68
Update UpdateHandler.kt
Vxrpenter May 26, 2025
c64cf12
Create PULL_REQUEST_TEMPLATE.md
Vxrpenter May 26, 2025
66618f3
Update PULL_REQUEST_TEMPLATE.md
Vxrpenter May 26, 2025
88b64e8
Update docker.yml
Vxrpenter May 26, 2025
0bbe8ff
Update README.md
Vxrpenter May 26, 2025
13497cf
Update README.md
Vxrpenter May 26, 2025
cf37f56
Update README.md
Vxrpenter May 26, 2025
5a6e4d3
Update README.md
Vxrpenter May 26, 2025
e20ca52
Update README.md (#20)
Vxrpenter May 26, 2025
accbee2
Fix to the Update Management (#21)
Vxrpenter May 27, 2025
0878548
Update and rename gradle.yml to build.yml
Vxrpenter May 27, 2025
755d3b4
Create dependencies.yml
Vxrpenter May 27, 2025
a47509d
Update and rename docker.yml to publish.yml
Vxrpenter May 27, 2025
11335ad
Update PULL_REQUEST_TEMPLATE.md
Vxrpenter May 27, 2025
22c71b5
Update bug_report.md
Vxrpenter May 27, 2025
357a7a4
Small fix
Vxrpenter May 27, 2025
488173e
Notice of departure command update
Vxrpenter May 28, 2025
360d1a2
Pre-implementation of notice of departure command methods
Vxrpenter May 28, 2025
0b73fa6
Added statuschecks to commands
Vxrpenter May 28, 2025
3b995b4
Small ColorTool fix
Vxrpenter May 28, 2025
c2f04aa
New not found translation for notice of departures
Vxrpenter May 28, 2025
89ad084
New translations for notice of departure commands
Vxrpenter May 28, 2025
09b7a82
Fix to messages not displaying correctly
Vxrpenter May 28, 2025
f05dd67
Some additions to the notice of departure table
Vxrpenter May 28, 2025
b3816bd
New deletion method for notice of departure revokation
Vxrpenter May 28, 2025
effa08a
Implemented all new notice of departure commands
Vxrpenter May 28, 2025
09c36fb
Regulars command update in config
Vxrpenter May 28, 2025
0736303
Regulars sub command pre-implementation
Vxrpenter May 28, 2025
cea8dbb
New translations and changes to already existing translations
Vxrpenter May 29, 2025
a7132a1
Small fix in the german regulars translation
Vxrpenter May 29, 2025
311d2b9
Regulars command (full) implementation
Vxrpenter May 29, 2025
bc8c72c
translation removal
Vxrpenter May 29, 2025
e74f248
Implemented translation change for notice command
Vxrpenter May 29, 2025
46d9c65
Bump to version 1.1.0-beta2
Vxrpenter May 29, 2025
9455f70
Update publish.yml
Vxrpenter May 29, 2025
658aa25
Update publish.yml
Vxrpenter May 29, 2025
ac17ada
Update publish.yml
Vxrpenter May 29, 2025
1577373
Library updates
Vxrpenter May 29, 2025
9949054
Small fix to German translation
Vxrpenter May 30, 2025
1c1639b
Some updated translations for notice of departures
Vxrpenter May 30, 2025
7e21830
Implementation of the discord markdown datetime formats in notice of …
Vxrpenter May 30, 2025
56798f0
Small fix to the notice of departure future date checking
Vxrpenter May 30, 2025
302bbe0
Optimized imports
Vxrpenter May 30, 2025
060a311
Create CONTRIBUTING.md
Vxrpenter May 30, 2025
8dac678
Update CONTRIBUTING.md
Vxrpenter May 31, 2025
c6a0810
Create dependabot.yml
Vxrpenter May 31, 2025
f0ab524
Bump plugin.serialization from 2.0.20 to 2.1.21
dependabot[bot] May 31, 2025
133e011
Bump com.charleskorn.kaml:kaml from 0.78.0 to 0.80.1
dependabot[bot] May 31, 2025
79579a9
Bump com.google.code.gson:gson from 2.11.0 to 2.13.1
dependabot[bot] May 31, 2025
225fffe
Update de_DE.yml | Deutsche übersetzung
Kaeseekuchen May 31, 2025
44d75d2
Update de_DE.yml
Kaeseekuchen May 31, 2025
dfefea4
Update de_DE.yml
Vxrpenter May 31, 2025
e6be2d7
Update README.md
Vxrpenter Jun 1, 2025
9454592
Update README.md
Vxrpenter Jun 1, 2025
b5ea4ba
Ticket Improvements (#33)
Vxrpenter Jun 1, 2025
8642094
Updated structure of applications
Vxrpenter Jun 2, 2025
0578ac7
Switch from hashmap to hashset for global interaction
Vxrpenter Jun 2, 2025
ccf0135
Fix to roles being multiplied in the messages, leading to crashes and…
Vxrpenter Jun 2, 2025
ef63984
Reformat change
Vxrpenter Jun 2, 2025
9ea650d
Current application types saved in db are now applied to a default ac…
Vxrpenter Jun 2, 2025
ef1c0ca
Optimize Imports
Vxrpenter Jun 2, 2025
90fee2d
Create release.yml
Vxrpenter Jun 2, 2025
39f158c
Bump com.charleskorn.kaml:kaml from 0.80.1 to 0.81.0
dependabot[bot] Jun 9, 2025
f9d7749
Bump org.xerial:sqlite-jdbc from 3.49.1.0 to 3.50.1.0
dependabot[bot] Jun 9, 2025
95c430b
Bump net.dv8tion:JDA from 5.5.1 to 5.6.1
dependabot[bot] Jun 10, 2025
e9535ee
Bump org.postgresql:postgresql from 42.7.6 to 42.7.7
dependabot[bot] Jun 11, 2025
61af25f
Bump ktorVersion from 3.1.3 to 3.2.0
dependabot[bot] Jun 12, 2025
43d4a3a
Bump com.charleskorn.kaml:kaml from 0.81.0 to 0.82.0
dependabot[bot] Jun 14, 2025
e0d1359
fix (maybe)
Vxrpenter Jun 11, 2025
cae18f0
Update to the secretlab kotlin library
Vxrpenter Jun 12, 2025
20ef446
More library updates
Vxrpenter Jun 12, 2025
cfad1fe
StatusConnectionHandler logging improvements and simplification
Vxrpenter Jun 13, 2025
2329221
Updated StatusConnectionHandler usage in StatusManager
Vxrpenter Jun 13, 2025
40f081d
Removing the bad implementation of status bot information mapping thr…
Vxrpenter Jun 13, 2025
e08ada2
Logging fix
Vxrpenter Jun 13, 2025
6bb7144
New global variables
Vxrpenter Jun 13, 2025
23af949
Possible fix for #38, by#38 comparing session status and saved status…
Vxrpenter Jun 13, 2025
a4e2eba
Small fix for playerlists
Vxrpenter Jun 14, 2025
9dc9fb2
Small patch
Vxrpenter Jun 14, 2025
22ab589
Small fix to connection regained message being sent constantly
Vxrpenter Jun 14, 2025
e489ecf
Small fix
Vxrpenter Jun 15, 2025
033fcd7
Removed unused map
Vxrpenter Jun 15, 2025
55f2719
Fix handler not being handler
Vxrpenter Jun 16, 2025
9048dc1
Deferring notice of departure buttons
Vxrpenter Jun 16, 2025
fe0810f
Remove deferring
Vxrpenter Jun 16, 2025
d2030f4
Deferring the notice of departure modals
Vxrpenter Jun 16, 2025
21a2a57
small change
Vxrpenter Jun 16, 2025
e7feb22
New configuration for formatter
Vxrpenter Jun 16, 2025
aeae3b7
Translation change for formatter
Vxrpenter Jun 16, 2025
af0d86a
Update management change
Vxrpenter Jun 16, 2025
7435dc8
Implementation of formatter in translations
Vxrpenter Jun 16, 2025
09c5efc
Implementing the new dateFormatting variable to be used as the notice…
Vxrpenter Jun 16, 2025
87c2192
Fix for the formatter tag not applying to notice of departure wrong p…
Vxrpenter Jun 16, 2025
d388629
Update release.yml
Vxrpenter Jun 16, 2025
614f315
New message translations for feature
Vxrpenter Jun 18, 2025
a22fb83
Rudimentary implementation of the message without actual reason imple…
Vxrpenter Jun 18, 2025
eee8584
Another small translation addition
Vxrpenter Jun 18, 2025
760c7bd
Small translation addition
Vxrpenter Jun 19, 2025
21ff5ac
Added global modals
Vxrpenter Jun 19, 2025
833601d
Implementation of reason for closing and closing message being suppli…
Vxrpenter Jun 19, 2025
1f52286
New implementation with reason in the ticket close message
Vxrpenter Jun 19, 2025
7e70d63
Fix for anonymous userId in ticket causing error
Vxrpenter Jun 19, 2025
1492eab
Removing the ticket id in the response message
Vxrpenter Jun 19, 2025
995dc0d
Remove unused imports
Vxrpenter Jun 19, 2025
5ad69d2
Auto deny commands send in private channels
Vxrpenter Jun 19, 2025
c34a975
Moved application global variables
Vxrpenter Jun 20, 2025
0371ffd
Removed global timer variable
Vxrpenter Jun 20, 2025
0177bd1
Moved inner BotManager bot and commandManager variables to GlobalVari…
Vxrpenter Jun 20, 2025
7456d2a
New error message inclusion
Vxrpenter Jun 20, 2025
64980e1
Implementation of command denied message
Vxrpenter Jun 20, 2025
7cc8542
Removed unused methods in the CommandListener
Vxrpenter Jun 20, 2025
7ec37f6
New exist function for NoticeOfDepartureTable
Vxrpenter Jun 20, 2025
6baf4f7
Command fixes for Regulars and NoticeOfDepartureCommand
Vxrpenter Jun 20, 2025
bc7a62e
Small settings fix
Vxrpenter Jun 20, 2025
cdb2d96
Rename `ColorTool().useCustomColorCodes()` to `ColorTool().parse()`
Vxrpenter Jun 20, 2025
ca81929
Comments for CoroutineScopes
Vxrpenter Jun 20, 2025
036a278
Small log change
Vxrpenter Jun 20, 2025
4e22fee
Upstream version is now saved in GlobalVariables
Vxrpenter Jun 20, 2025
f8e189d
Optimize imports
Vxrpenter Jun 20, 2025
729cd22
Small playerlist translation changes
Vxrpenter Jun 20, 2025
fa00fa3
Bump to v1.0.0
Vxrpenter Jun 20, 2025
237f315
Fix to installer configurator
Vxrpenter Jun 20, 2025
6511c35
Small fix to update manager having value conversion problems
Vxrpenter Jun 21, 2025
9835894
Bump jvm from 2.1.21 to 2.2.0
dependabot[bot] Jun 24, 2025
91b76fd
Update config update
Vxrpenter Jun 23, 2025
579e18c
Small handler fixes
Vxrpenter Jun 23, 2025
5b8b9e8
Make new updates config serializable
Vxrpenter Jun 23, 2025
bdd8975
Another config change
Vxrpenter Jun 23, 2025
3c6e4be
Changed regenerate option for new config
Vxrpenter Jun 23, 2025
2e229ab
Added new type variable
Vxrpenter Jun 23, 2025
abd28f7
Small fixes to updates.json Serialization and config
Vxrpenter Jun 23, 2025
a07ca6b
UpdatesFileHandler fixes for the new config file
Vxrpenter Jun 23, 2025
6323626
UpdateHandler fixes + Manager fixes for new config file
Vxrpenter Jun 23, 2025
047ec7d
Small fixes
Vxrpenter Jun 23, 2025
43e4e4a
Auto update config regeneration on json error
Vxrpenter Jun 23, 2025
a1adfa4
fix
Vxrpenter Jun 23, 2025
74e58a3
Copyright notice addition
Vxrpenter Jun 23, 2025
2ac014b
profile settings addition
Vxrpenter Jun 23, 2025
0bba144
Small fixes
Vxrpenter Jun 23, 2025
7f7fa4e
Small copyright fix
Vxrpenter Jun 24, 2025
b9d92de
Bump plugin.serialization from 2.1.21 to 2.2.0
dependabot[bot] Jun 24, 2025
4bd6cae
Bump to v1.1.1
Vxrpenter Jun 24, 2025
4bc980a
Eliminate compiler warnings
Vxrpenter Jun 24, 2025
60f311a
Fix to isntaller
Vxrpenter Jun 24, 2025
bc805e0
Update installer.sh
Vxrpenter Jun 24, 2025
42961e1
Translation message changes for ticket logs
Vxrpenter Jun 25, 2025
1aab428
Small fix to the ticket log translations
Vxrpenter Jun 25, 2025
685837e
Inclusion of reason to close message and channel link to general log …
Vxrpenter Jun 25, 2025
64f24e6
Small translation formatting addition
Vxrpenter Jun 25, 2025
5ee6959
Update README.md
Vxrpenter Jun 25, 2025
7574c87
Update README.md
Vxrpenter Jun 25, 2025
929dee8
Update README.md
Vxrpenter Jul 9, 2025
03cfcf9
Bump org.jetbrains.kotlinx:kotlinx-serialization-json
dependabot[bot] Jun 27, 2025
b75d30f
Bump org.xerial:sqlite-jdbc from 3.50.1.0 to 3.50.2.0
dependabot[bot] Jul 1, 2025
44b58ec
Bump org.mariadb.jdbc:mariadb-java-client from 3.5.3 to 3.5.4
dependabot[bot] Jul 1, 2025
7313a49
Bump ktorVersion from 3.2.0 to 3.2.1
dependabot[bot] Jul 4, 2025
9f3222b
Bump com.charleskorn.kaml:kaml from 0.82.0 to 0.83.0
dependabot[bot] Jul 10, 2025
6d5e573
Bump org.xerial:sqlite-jdbc from 3.50.2.0 to 3.50.3.0
dependabot[bot] Jul 22, 2025
1b5db0a
Bump com.charleskorn.kaml:kaml from 0.83.0 to 0.85.0
dependabot[bot] Jul 18, 2025
e5217f9
Bump ktorVersion from 3.2.1 to 3.2.2
dependabot[bot] Jul 15, 2025
0a284d9
Bump com.mysql:mysql-connector-j from 9.3.0 to 9.4.0
dependabot[bot] Jul 31, 2025
10f8ce0
Bump ktorVersion from 3.2.2 to 3.2.3
dependabot[bot] Jul 30, 2025
a23deb7
Bump org.mariadb.jdbc:mariadb-java-client from 3.5.4 to 3.5.6
dependabot[bot] Sep 11, 2025
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
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.idea
.gradle
.kotlin
build
SCPToolsBot
.gitignore
CODE_OF_CONDUCT.md
gradlew.bat
installer.sh
LICENSE
README.md
settings.gradle.kts
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_PATH="/var/lib/ScpTools/"
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: Vxrpenter

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Installation: [e.g. Source, Docker, Installer, Manual]
- Bot Version [e.g. 1.1.0]
- Java Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
34 changes: 34 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!--
Thank you for creating a PR. Please mark all required information with an 'x' e.g. '- [x]'
If you have any questions, join the dc.

NOTICE: If you are creating a PR for fixing an issue, please reference it. If it does not
exist, please create it and then follow through with the PR.
-->
## Etiquette
- [ ] Did you check the contribution guidelines?
- [ ] Does this request not already exist in another form?
<!--
What exactly did you change?
-->
## Changes
- [ ] Bugfix
- [ ] Feature
- [ ] Behavior Change
- [ ] Configuration
- [ ] Other: ____
<!--
How thoroughly did you test your changes?
-->
## Tested
- [ ] Completely
- [ ] Mostly
- [ ] Partly
- [ ] Nothing
<!--
Describe all of your changes and what they purpose is. If you added a new feature, explain
why you want it implemented and how to use it.
-->
## Description

Replace this text with the description of your changes
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
22 changes: 22 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .github/release.yml

changelog:
categories:
- title: ⛔ Breaking Changes ⛔
labels:
- breaking
- title: Added
labels:
- feature
- title: Changed
labels:
- enhancement
- title: Fixed
labels:
- bugfix
- title: Dependencies
labels:
- dependencies
- title: Other Changes
labels:
- "*"
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Verify build

on:
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle Wrapper
run: ./gradlew shadowjar --no-daemon
23 changes: 23 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Upload Dependencies

on:
push:
branches:
- master

jobs:
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
48 changes: 48 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Publish

on:
release:
types: [published]

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
- name: Check out sources
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: vxrpenter/scptoolsbot

- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v2
with:
subject-name: index.docker.io/vxrpenter/scptoolsbot
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/dataSources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/markdown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading