Skip to content

Conversation

@Chesire
Copy link
Owner

@Chesire Chesire commented Oct 18, 2025

Add JWT token.
Add a whole bunch of security fixes.
Add more stuff...

@Chesire
Copy link
Owner Author

Chesire commented Oct 18, 2025

  • Need to update the EventsController to use the guildId.
  • Need to update the EventsEntity to store the guildId.

@Chesire
Copy link
Owner Author

Chesire commented Oct 22, 2025

  • README should be updated to mention every field that should be provided on start.
  • Should we make the grafana endpoints all optional? Consider this

@Chesire
Copy link
Owner Author

Chesire commented Oct 28, 2025

@copilot update the readme to include in there every environment variable that must be provided. Do this with examples for prod, and some examples for the development environment.

Copy link
Contributor

Copilot AI commented Oct 28, 2025

@Chesire I've opened a new pull request, #3, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Update README with comprehensive environment variables documentation

Co-authored-by: Chesire <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Chesire <[email protected]>
@Chesire
Copy link
Owner Author

Chesire commented Oct 28, 2025

@copilot it looks like CI is failing, lets fix it here before we merge to make sure the changes are working as intended.

The failure looks to be

Could not resolve all dependencies for configuration ':compileClasspath'.
Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine (Linux 6.11.0-1018-azure amd64) matching: {languageVersion=23, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}. Toolchain download repositories have not been configured.

Copy link
Contributor

Copilot AI commented Oct 28, 2025

@Chesire I've opened a new pull request, #4, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix CI by updating pull-request workflow to use Java 23

Co-authored-by: Chesire <[email protected]>

* Remove branch restriction from pull-request workflow to run on all PRs

Co-authored-by: Chesire <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Chesire <[email protected]>
@Chesire
Copy link
Owner Author

Chesire commented Oct 28, 2025

@copilot delete src/test/kotlin/com/chesire/capi/auth/AuthControllerTest.kt.disabled, and any other files that look to have been generated by claude while working on the branch.

Copy link
Contributor

Copilot AI commented Oct 28, 2025

@Chesire I've opened a new pull request, #5, to work on those changes. Once the pull request is ready, I'll request review from you.

@Chesire
Copy link
Owner Author

Chesire commented Oct 28, 2025

@copilot fix any tests that are broken on ci

Copy link
Contributor

Copilot AI commented Oct 28, 2025

@Chesire I've opened a new pull request, #6, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits October 28, 2025 20:32
* Initial plan

* Delete AuthControllerTest.kt.disabled file

Co-authored-by: Chesire <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Chesire <[email protected]>
* Initial plan

* Downgrade to Java 17 and fix EventController tests

Co-authored-by: Chesire <[email protected]>

* Add test security configuration and authentication helpers

Co-authored-by: Chesire <[email protected]>

* Fix EventController tests - add authentication to all MockMvc requests and update content type checks

Co-authored-by: Chesire <[email protected]>

* Use @AuthenticationPrincipal for controller authentication parameters

Co-authored-by: Chesire <[email protected]>

* Revert Java version back to 23 to match project requirements

Co-authored-by: Chesire <[email protected]>

* Fix the challenge controller tests

* Tidy up how we get the authenticated user details

* Update the EventController tests

* Test cleanups

* Remove unused security dependency and config file

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Chesire <[email protected]>
Co-authored-by: Troy Rijkaard <[email protected]>
@Chesire
Copy link
Owner Author

Chesire commented Oct 30, 2025

@copilot the docker-validation job fails on CI, lets fix this before we merge this in

Copy link
Contributor

Copilot AI commented Oct 30, 2025

@Chesire I've opened a new pull request, #7, to work on those changes. Once the pull request is ready, I'll request review from you.

…aemon (#7)

* Initial plan

* Fix docker-validation CI failure by loading built image into Docker daemon

Co-authored-by: Chesire <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Chesire <[email protected]>
@Chesire
Copy link
Owner Author

Chesire commented Oct 30, 2025

@copilot do any changes need to be done to the master github actions file based on the previous commits in this pr?

Copy link
Contributor

Copilot AI commented Oct 30, 2025

@Chesire I've opened a new pull request, #8, to work on those changes. Once the pull request is ready, I'll request review from you.

@Chesire Chesire merged commit 6bd3899 into master Oct 31, 2025
5 checks passed
@Chesire Chesire deleted the feature/add-jwt branch October 31, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants