-
Notifications
You must be signed in to change notification settings - Fork 59
Merging JDA611b to master #181
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
Merged
Merged
Changes from all commits
Commits
Show all changes
141 commits
Select commit
Hold shift + click to select a range
424210c
Updating to latest JDA version. Also moved the search bar on the UI. …
Darkside138 9e0afc4
Update version.yml
Darkside138 24cbf33
Updating with new GitHub action to publish test branch to Docker Imag…
Darkside138 a7152df
Merge remote-tracking branch 'origin/jda611' into jda611
Darkside138 5d0c9db
Updating with new GitHub action to publish test branch to Docker Imag…
Darkside138 c9756bc
Updating with new GitHub action to publish test branch to Docker Imag…
Darkside138 b6fb914
Removing GHCR
Darkside138 eb9da26
Trying to fix the docker build
Darkside138 a15a8cf
Trying to fix the docker build
Darkside138 4c9b5a4
Trying to fix the docker build
Darkside138 9b70627
Trying to fix the docker build
Darkside138 b8bcf66
Trying to fix the docker build
Darkside138 3f010ac
Trying to fix the docker build
Darkside138 b31cf23
Updating GA files
Darkside138 09612b0
Updating version number
Darkside138 b8497b5
Updating version number
Darkside138 bb451dc
Updating where the files are in the final artifact
Darkside138 d15bc5a
Updating gradle action file
Darkside138 b791fba
Updates to Dockerfile
Darkside138 2da36e2
More updates to Dockerfile
Darkside138 3d0036d
I was updating the wrong dockerfile and entrypoint the whole time?!?!
Darkside138 7b6d929
More updates to the correct dockerfile
Darkside138 fb588e3
More updates to the correct dockerfile
Darkside138 5fdabaa
More updates to the correct dockerfile
Darkside138 eb7d315
More updates to the correct dockerfile
Darkside138 f092d40
More updates to the correct dockerfile
Darkside138 1319d9c
More updates to the correct dockerfile
Darkside138 8f054df
More updates to the correct dockerfile
Darkside138 cad6664
More updates to the correct dockerfile
Darkside138 09023de
More updates to the correct dockerfile
Darkside138 a074ff2
More updates to the correct dockerfile
Darkside138 f327a5b
More updates to the correct dockerfile
Darkside138 ff8be59
More updates to the correct dockerfile
Darkside138 025e872
More updates to the correct dockerfile
Darkside138 c0c4659
More updates to the correct dockerfile
Darkside138 481a603
More updates to the correct dockerfile
Darkside138 3b102e5
More updates to the correct dockerfile
Darkside138 cdf76c4
Seems the container isn't staying running so trying to force it to fo…
Darkside138 2beb514
Updates to gradle build.
Darkside138 9f77ef1
More cleanup to gradle file
Darkside138 7e816f3
Create application.properties
Darkside138 854d75c
Dist is working local but not in container. Debugging.
Darkside138 d43c8f6
Merge remote-tracking branch 'origin/jda611b' into jda611b
Darkside138 63fc7e9
Have to pass the application.properties on the classpath when running…
Darkside138 317b6ee
Filtering out users to only show ONLINE or IN VOICE users
Darkside138 3ecc0d4
Making the min-width of the search bar 150px so it's always usable ev…
Darkside138 5d55aeb
Added a feature to be able to download files by right clicking them. …
Darkside138 c11c93e
Fixing issue where if command character is left blank the bot would d…
Darkside138 56ba3c5
Added a context menu when a sound is right clicked.
Darkside138 b1df2b1
Added ability to filter by favorited sounds.
Darkside138 606209d
Fixing small issues with filtering by favorite items.
Darkside138 7d50dbb
Cleaning up the right click menu interactions a bit.
Darkside138 d8ecd92
CLeaning up styling of the contextMenu and the settings menu.
Darkside138 e456191
Fixing up some styling and display of favorite information in context…
Darkside138 8978cb4
Fixed issue where search didn't work when filtering by favorites.
Darkside138 b5fcb4f
Refactoring a bunch of stuff.
Darkside138 4217e4c
Fixing issue with user list.
Darkside138 630c809
Refreshing user dropdown when settings gear is clicked.
Darkside138 0ce5980
Getting volume after call to get users is complete
Darkside138 2f30631
Fixing hard-coded .mp3 extension on sound file download
Darkside138 9fbdfc1
Added a new React front-end and some backend changes to support it
Darkside138 9ff5552
Adding install of nodejs and npm during build in Dockerfile
Darkside138 a4fea93
Adding install of nodejs and npm during build in Dockerfile
Darkside138 476bb26
Adding install of nodejs and npm during build in Dockerfile
Darkside138 fc39882
Adding install of nodejs and npm during build in Dockerfile
Darkside138 289dde5
Adding install of nodejs and npm during build in Dockerfile
Darkside138 0189f5d
Trying to fix failure to load assets for new UI
Darkside138 3e025ff
Trying to fix failure to load assets for new UI
Darkside138 3701f17
Trying to fix failure to load assets for new UI
Darkside138 eb189ff
Adding some validation to the upload feature.
Darkside138 26353c6
Making the buttons a bit more compact and showing more per row
Darkside138 3a921ec
Trying to add a favicon and fixing some streaming errors that occur w…
Darkside138 7b7a29b
Moving the badges a bit and fixing the update to soundFile names and …
Darkside138 694ac89
Fixing the hover effect
Darkside138 52fb7bd
Adding a Users button which opens an overlay with a paged list of all…
Darkside138 baa6683
Updated styling of the Users button and added sorting to the UI. Also…
Darkside138 c9dc73e
Adding in a visual indicator that a sound is playing. I have to say, …
Darkside138 f5742c7
Fixing up the stop and random endpoints to property send start and en…
Darkside138 26602b8
Adjusting the styling of the currently playing indicator.
Darkside138 0876ae0
Added the ability to play sound files locally (this ones for you Koar…
Darkside138 65970f5
Added re-connection attempts to SSE stream endpoints and suppressed e…
Darkside138 3289a7f
Initial commit of application-local.properties. Will be added to giti…
Darkside138 b5360f3
Adding application-local.properties to gitignore
Darkside138 5633713
Adding application-local.properties to gitignore
Darkside138 bef1bf7
Adding application-local.properties to gitignore
Darkside138 7effc8f
Updated README. Added a SpringBoot configuration for running locally.…
Darkside138 f6d751d
Added a settings menu to configure the number of recently added and p…
Darkside138 763b983
Adding ability to stop locally playing sounds. Updated username to se…
Darkside138 6d189d0
Added discord OAuth login and role based permissions for access to ce…
Darkside138 5222678
Actually checking in the new tests.
Darkside138 3215bf4
Updating docker-entrypoint.sh to always move application.yml
Darkside138 955f564
Updating docker-entrypoint.sh to update new application.properties va…
Darkside138 683e1a2
Updating CommandListener to play files if they are sent as commandCha…
Darkside138 759fc72
Fixing docker-entrypoint.sh
Darkside138 7f446d9
Another property to be changed in application.properties and updated …
Darkside138 c9dfa02
Trying to fix docker-entrypoint.sh
Darkside138 ea55d88
Trying to fix docker-entrypoint.sh
Darkside138 c034495
Trying to fix docker-entrypoint.sh
Darkside138 4034f68
Trying to fix docker-entrypoint.sh
Darkside138 91ed97f
Trying to fix docker-entrypoint.sh
Darkside138 ce784c2
Updating README.md to include instructions for Unraid OAuth update.
Darkside138 d230fa9
Removing env variable in run script
Darkside138 86b5470
Added more tests and fixed the FE not sending authorization with the …
Darkside138 36a723f
Trying to fix up AvtiveUser list. Sometimes it was having a bug where…
Darkside138 97814a1
Adding update-volume permission and fixing some small UI bugs
Darkside138 f02dafd
Adding update-volume permission check to back-end call
Darkside138 d236181
Adding update-volume permission check to back-end call
Darkside138 3dace45
Fixing more things in entrypoint
Darkside138 d65f210
Incrementing the version number
Darkside138 4cce9cc
Revert "Fixing more things in entrypoint"
Darkside138 44690c7
Fixing sed commands to only match lines starting with the text and to…
Darkside138 93647b6
More tests for various commands
Darkside138 9efc322
Adding task to increment the patch version in gradle.properties
Darkside138 c751c11
Fixing build.gradle
Darkside138 b70500b
Fixing build.gradle
Darkside138 4128dad
Added display of version in config menu on the UI. Fixed a couple UI …
Darkside138 7d56148
Updating DiscordUsersList to auto-select a user if some are returned …
Darkside138 e1902d8
Added new active playback display that shows the sounds being played …
Darkside138 26e7e28
Fixing entrance, leave, and move sounds.
Darkside138 32a1199
Fixing the data of who requested the sound to be played. Updated the …
Darkside138 f0ff04c
Fixing the build. Adding application.properties config for leaveOnEmp…
Darkside138 253cbaa
Fixing the docker entrypoint
Darkside138 6bfcfe6
Added event listener handling for user events like avatar changed or …
Darkside138 b66eebf
More cleanup. Also, added channel name to the active users data and d…
Darkside138 3661871
Suppressing logging of errors on stream broadcasts as that's just use…
Darkside138 ca33128
Some refactoring on SSE connections to make everything more stable. U…
Darkside138 2a96e8f
Potential fix for code scanning alert no. 6: Workflow does not contai…
Darkside138 277e753
Potential fix for code scanning alert no. 9: Information exposure thr…
Darkside138 d728e49
Updates to add csrf and resolve review messages
Darkside138 a577a5d
Merge branch 'master' into jda611b
Darkside138 208fd9f
Moved the upload and users buttons into the settings menu.
Darkside138 eacbf9b
Removing some of the console.errors that don't need to be logged.
Darkside138 8d350c3
Updating styling of scroll bars to match the theme selected. Removing…
Darkside138 5989c97
Refactor FE
Darkside138 13a77b1
Adding Java tests
2adc084
Lots of changes, mostly adding testing. Changed the way the csrf toke…
Darkside138 1bc2f87
Merge remote-tracking branch 'origin/jda611b' into jda611b
Darkside138 2c745ce
Commenting out broken tests
Darkside138 afe3f10
Fixing broken tests
Darkside138 b6bf160
Fixing broken tests
Darkside138 42b919e
Fixing csrf tokens not being sent on first request after logging in. …
Darkside138 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| name: JDA611 Branch Publish | ||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ jda611b ] | ||
|
|
||
| jobs: | ||
| publish-docker-image: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| # Login to Docker Hub | ||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_TOKEN }} | ||
|
|
||
| - name: Login to GHCR | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.SOUNDBOARD_GHCR }} | ||
|
|
||
| # Generate tags + labels for BOTH registries | ||
| - name: Extract metadata (tags, labels) for Docker | ||
| id: meta | ||
| uses: docker/metadata-action@v5 | ||
| with: | ||
| images: | | ||
| davefurrer/discordsoundboard | ||
| ghcr.io/${{ github.repository }} | ||
| tags: | | ||
| type=raw,value=jda611 | ||
|
|
||
| # Build & push using metadata | ||
| - name: Build and push Docker images | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| push: true | ||
| tags: ${{ steps.meta.outputs.tags }} | ||
| labels: ${{ steps.meta.outputs.labels }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| /app.properties | ||
| *.iml | ||
| tokens.json | ||
| .idea/ | ||
| src/main/resources/app.properties | ||
| build | ||
| .gradle/ | ||
| /src/main/resources/application.properties | ||
| /discordDB/ | ||
| /discordDB/ | ||
| /src/frontend/node_modules/ | ||
| /src/main/resources/application-local.properties | ||
| /src/frontend/coverage/ | ||
| /.gitattributes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="BootRun Local" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot"> | ||
| <option name="ACTIVE_PROFILES" value="local" /> | ||
| <option name="ALTERNATIVE_JRE_PATH" value="openjdk-25" /> | ||
| <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" /> | ||
| <module name="DiscordSoundboard.main" /> | ||
| <option name="SPRING_BOOT_MAIN_CLASS" value="net.dirtydeeds.discordsoundboard.MainController" /> | ||
| <method v="2"> | ||
| <option name="Make" enabled="true" /> | ||
| </method> | ||
| </configuration> | ||
| </component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="DiscordSoundboard [assembleBootDist]" type="GradleRunConfiguration" factoryName="Gradle"> | ||
| <ExternalSystemSettings> | ||
| <option name="executionName" /> | ||
| <option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
| <option name="externalSystemIdString" value="GRADLE" /> | ||
| <option name="scriptParameters" value="--info --warning-mode all" /> | ||
| <option name="taskDescriptions"> | ||
| <list /> | ||
| </option> | ||
| <option name="taskNames"> | ||
| <list> | ||
| <option value="clean" /> | ||
| <option value="assembleBootDist" /> | ||
| </list> | ||
| </option> | ||
| <option name="vmOptions" /> | ||
| </ExternalSystemSettings> | ||
| <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
| <ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
| <DebugAllEnabled>false</DebugAllEnabled> | ||
| <RunAsTest>false</RunAsTest> | ||
| <method v="2" /> | ||
| </configuration> | ||
| </component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="DiscordSoundboard [bootRun]" type="GradleRunConfiguration" factoryName="Gradle"> | ||
| <ExternalSystemSettings> | ||
| <option name="env"> | ||
| <map> | ||
| <entry key="SPRING_PROFILES_ACTIVE" value="local" /> | ||
| </map> | ||
| </option> | ||
| <option name="executionName" /> | ||
| <option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
| <option name="externalSystemIdString" value="GRADLE" /> | ||
| <option name="scriptParameters" value="" /> | ||
| <option name="taskDescriptions"> | ||
| <list /> | ||
| </option> | ||
| <option name="taskNames"> | ||
| <list> | ||
| <option value="bootRun" /> | ||
| </list> | ||
| </option> | ||
| <option name="vmOptions" /> | ||
| </ExternalSystemSettings> | ||
| <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
| <ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
| <ExternalSystemDebugDisabled>false</ExternalSystemDebugDisabled> | ||
| <DebugAllEnabled>false</DebugAllEnabled> | ||
| <RunAsTest>false</RunAsTest> | ||
| <GradleProfilingDisabled>false</GradleProfilingDisabled> | ||
| <GradleCoverageDisabled>false</GradleCoverageDisabled> | ||
| <method v="2" /> | ||
| </configuration> | ||
| </component> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.