Skip to content
Draft

V2 #5

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8873de1
Depend on monkeylib (and thus jankson too)
OffsetMonkey538 Sep 17, 2025
5a564a9
refactorizationing
OffsetMonkey538 Sep 17, 2025
a6d4e63
make loom generate run configuration
OffsetMonkey538 Sep 17, 2025
0480cd6
this is supposedly kind of a thing that maybe makes sense?
OffsetMonkey538 Sep 17, 2025
753b74e
Update Gradle to v9.1.0
OffsetMonkey538 Sep 21, 2025
00ed2f8
Update Loom to v1.11
OffsetMonkey538 Sep 21, 2025
afff12f
Refactor build system
OffsetMonkey538 Sep 21, 2025
1484781
Fix build errors (use monkeylib logger)
OffsetMonkey538 Sep 21, 2025
5999f0d
Update github workflow
OffsetMonkey538 Sep 21, 2025
cb050a6
fix env vars not being used
OffsetMonkey538 Sep 21, 2025
d75252c
imprt
OffsetMonkey538 Sep 21, 2025
c4d5d77
fix build workflow one maybe last time
OffsetMonkey538 Sep 21, 2025
3952f49
I really shouldn't be committing code that's in this state...
OffsetMonkey538 Sep 23, 2025
cd21846
debug logs
OffsetMonkey538 Oct 5, 2025
9e71477
will it work? nooooobodyyy knowssssss!
OffsetMonkey538 Oct 5, 2025
bb5ddaa
fix javadoc error so github actions can actually compile this crap
OffsetMonkey538 Oct 7, 2025
b493907
neoforge version?
OffsetMonkey538 Oct 7, 2025
8e52b9d
depend on newer monkeylib
OffsetMonkey538 Oct 7, 2025
c33be54
depend on newer monkeylib
OffsetMonkey538 Oct 7, 2025
1a52522
depend on newer monkeylib and offsetconfig
OffsetMonkey538 Oct 7, 2025
bcec8d6
depend on newer monkeylib
OffsetMonkey538 Oct 11, 2025
6126daa
redo versioning
OffsetMonkey538 Oct 11, 2025
a938519
Allow disabling vanilla handler
OffsetMonkey538 Oct 20, 2025
e346d4f
Create HttpResponseUtil, add some utils and move sendError methods fr…
OffsetMonkey538 Oct 20, 2025
a009a85
fix javadoc compilation
OffsetMonkey538 Oct 20, 2025
13ed83a
switch to gradle wrapper bin distribution
OffsetMonkey538 Oct 20, 2025
822463a
register simple-server handler type only when examples are enabled
OffsetMonkey538 Oct 20, 2025
7d490a5
some refactoring, static file handler, static directory handler with …
OffsetMonkey538 Oct 23, 2025
b34136e
static directory handler without directory list enabled will try to s…
OffsetMonkey538 Oct 23, 2025
26dbc1d
minify directory list page html
OffsetMonkey538 Oct 23, 2025
c8fbd42
less append calls for rendering directory listing
OffsetMonkey538 Oct 23, 2025
49696d2
refactor rule and handler registries and their (de)serializers
OffsetMonkey538 Oct 23, 2025
20c4662
missing semicolon :concern:
OffsetMonkey538 Oct 23, 2025
3a91a75
hm, i guess intellij may not think they may be final after all
OffsetMonkey538 Oct 23, 2025
38e2ac0
lots o' unused imports
OffsetMonkey538 Oct 23, 2025
6e5157d
create events for registration
OffsetMonkey538 Oct 23, 2025
4973e68
fix no border around "provided" text cell in directory list
OffsetMonkey538 Oct 23, 2025
e952b87
Suppress some warnings
OffsetMonkey538 Oct 23, 2025
f5f088d
atoamtically prefix path rule path with slash
OffsetMonkey538 Oct 23, 2025
e57198a
EVENT_EVENT? yeah that seems correct
OffsetMonkey538 Oct 23, 2025
f6d13dc
update github actions, please tell me this fixes cache not working 🙏
OffsetMonkey538 Oct 23, 2025
1901e70
dummy config
OffsetMonkey538 Oct 23, 2025
89c3c64
Add files via upload
OffsetMonkey538 Oct 23, 2025
1fbcd48
Update monkeylib to v3.0.0-alpha.0.1761395863791+bd100da and add conf…
OffsetMonkey538 Oct 30, 2025
33a37a6
separate jankson configuration into method available from api
OffsetMonkey538 Nov 2, 2025
ebb3215
allow loading routers from disk?
OffsetMonkey538 Nov 2, 2025
5f78b10
add more example stuff.
OffsetMonkey538 Nov 2, 2025
c50e0d4
Respect keep-alive in HttpResponseUtil
OffsetMonkey538 Nov 12, 2025
d227635
Cleanup
OffsetMonkey538 Nov 12, 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
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "daily"
21 changes: 18 additions & 3 deletions .github/workflows/build_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,34 @@ jobs:
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: false

- name: Store short commit hash
run: echo "short_commit_hash=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"

- name: Build with Gradle
run: ./gradlew build
env:
PRESERVE_PRERELEASE_VERSION: true
DISABLE_PROPERTIES_UPDATE: true
VERSION_SUFFIX: ${{ env.short_commit_hash }}

- name: Publish to Maven
run: ./gradlew publishMavenPublicationToOffsetMonkey538Repository
env:
PRESERVE_PRERELEASE_VERSION: true
DISABLE_PROPERTIES_UPDATE: true
VERSION_SUFFIX: ${{ env.short_commit_hash }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

- name: Delete common libs
run: rm -r ./common/build/libs
Expand All @@ -36,4 +50,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: ./*/build/libs/
path: |
./*/build/libs/
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,27 @@ jobs:
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: false

- name: Build with Gradle
run: ./gradlew build
env:
IS_RELEASE: true
DISABLE_PROPERTIES_UPDATE: true

- name: Upload to Modrinth
run: ./gradlew modrinth
env:
IS_RELEASE: true
DISABLE_PROPERTIES_UPDATE: true
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
VERSION_NAME: ${{ github.event.release.name }}
VERSION_IS_PRERELEASE: ${{ github.event.release.prerelease }}
Expand All @@ -42,6 +45,8 @@ jobs:
- name: Publish to Maven
run: ./gradlew publishMavenPublicationToOffsetMonkey538Repository
env:
IS_RELEASE: true
DISABLE_PROPERTIES_UPDATE: true
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

Expand All @@ -51,4 +56,5 @@ jobs:
- name: Upload to GitHub
uses: softprops/action-gh-release@v2
with:
files: ./*/build/libs/*.jar
files: |
./*/build/libs/*.jar
Loading