Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e11166d
Implement database functionality to keep records of previous runs.
wellatleastitried Sep 18, 2026
9d7767c
Fix renaming
wellatleastitried Sep 19, 2026
5da89ce
Add testing for new database service. The basebones database and tests
wellatleastitried Sep 22, 2026
6757be7
Finish logging fixes, finish database implementation cleanup.
wellatleastitried Sep 24, 2026
d17ed67
Finalize CHANGELOG
wellatleastitried Sep 24, 2026
976b5e0
Implement database functionality to keep records of previous runs.
wellatleastitried Sep 18, 2026
c90aafe
Fix renaming
wellatleastitried Sep 19, 2026
dc255ea
Add testing for new database service. The basebones database and tests
wellatleastitried Sep 22, 2026
83f201b
Finish logging fixes, finish database implementation cleanup.
wellatleastitried Sep 24, 2026
2b3a5bd
Finalize CHANGELOG
wellatleastitried Sep 24, 2026
5a74dc9
Map out scope of API changes for plugin compatibility.
wellatleastitried Sep 24, 2026
7e5c9e5
Merge branch 'dev' into api-plugin-support
wellatleastitried Sep 24, 2026
edaef5a
Fixed some formatting. After some more planning, these API additions
wellatleastitried Sep 24, 2026
c8b54db
fix added space
wellatleastitried Sep 26, 2026
47f7ec6
Merge pull request #23 from MediaGarrd/api-plugin-support
wellatleastitried Sep 26, 2026
f8fbcb4
Merge branch 'main' into dev
wellatleastitried Sep 26, 2026
1b18224
Plan out the configuration change to use the database instead of a bash
wellatleastitried Sep 27, 2026
5df6c49
Add docker socket/add web-based setup
wellatleastitried Sep 30, 2026
9367fb8
Updating CHANGELOG
wellatleastitried Oct 27, 2026
63d2d53
Merge branch 'dev' into setup-and-tesing
wellatleastitried Oct 27, 2026
7d809c2
Merge pull request #27 from MediaGarrd/setup-and-tesing
wellatleastitried Oct 27, 2026
533622d
Delete .factorypath
wellatleastitried Oct 27, 2026
700546a
Update LICENSE file
wellatleastitried Nov 11, 2026
cdc135c
Merge branch 'dev' into mit-license
wellatleastitried Nov 11, 2026
581d237
Add the MediaGarrd itself as a backup target to preserve run-history in
wellatleastitried Nov 5, 2026
8721bcb
Merge pull request #28 from MediaGarrd/mit-license
wellatleastitried Nov 11, 2026
e4f37e4
Update LICENSE in README.md.
wellatleastitried Nov 11, 2026
73563e6
Merge branch 'dev' into server-self-backup
wellatleastitried Nov 11, 2026
5bcd88f
Merge pull request #30 from MediaGarrd/server-self-backup
wellatleastitried Nov 12, 2026
ab978f3
Update alerting.
wellatleastitried Nov 12, 2026
320688d
Simplify README.md
wellatleastitried Nov 12, 2026
0cc1089
Merge pull request #32 from MediaGarrd/update-alerting
wellatleastitried Nov 12, 2026
fa08d04
Optimize hashing, compression, and memory.
wellatleastitried Nov 12, 2026
57a3a24
Update docs to reflect new recovery tool
wellatleastitried Nov 14, 2026
e56077d
Merge pull request #35 from MediaGarrd/feat/optimizations
wellatleastitried Nov 14, 2026
59536a7
Added auth, code quality refactors
wellatleastitried Nov 19, 2026
f1f4a78
Fix remote CI failures - `make test` is failing.
wellatleastitried Nov 27, 2026
296affc
Merge pull request #41 from MediaGarrd/auth-hotfix
wellatleastitried Nov 27, 2026
54a331b
Merge pull request #40 from MediaGarrd/auth
wellatleastitried Nov 27, 2026
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
16 changes: 15 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.git
.github
.claude
.jj
ref
vendor
.vscode
build
**/build
Expand All @@ -17,6 +21,16 @@ install-util.sh
install.sh
LICENSE
README.md
docker-compose.yml.example
docker-compose.example.yml
docker-compose.yml
Makefile
.project
.classpath
bin/
test/
.settings/
.note.xnote
.env
.env.*
**/.env
**/.env.*
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/gradlew text eol=lf
*.bat text eol=crlf
*.jar binary
src/main/java/wellatleastitried/mediagarrdServer/utilities/database/DatabaseQueries.java linguist-language=SQL

31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]: "
labels: [ 'Type: Bug', 'Status: Needs Triage' ]

---

**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.

**Device(s) (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Feature Request
description: Suggest an idea for this project
title: "[FEAT]: "
labels: ['Type: Feature', 'Status: Needs Triage']
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an open or closed issue already exists for the feature you are requesting. If a request exists and is closed note that it may only be fixed in an unstable branch.
options:
- label: I have searched the existing open and closed issues
required: true
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe
description: A clear and concise description of what the problem is.
validations:
required: true
- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Mockups? Anything that will give us more context about the feature you are encountering!

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: true
17 changes: 17 additions & 0 deletions .github/workflows/integration-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Integration Test Dev Branch with Client

on:
push:
branches:
- dev
pull_request:

jobs:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: MediaGarrd/MediaGarrd-Stack-Testing@main
with:
server-branch: ${{ github.head_ref || github.ref_name }}
client-branch: main
16 changes: 16 additions & 0 deletions .github/workflows/integration-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Integration Test Main Branch with Client

on:
push:
branches:
- main

jobs:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: MediaGarrd/MediaGarrd-Stack-Testing@main
with:
server-branch: main
client-branch: main
56 changes: 56 additions & 0 deletions .github/workflows/issue_handling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Handle duplicate status label

on:
issues:
types: [labeled, unlabeled]

jobs:
correct-status-labels:
runs-on: ubuntu-latest
steps:
- name: Ensure one Status label per issue
uses: actions/github-script@v7
with:
github-token: ${{ secrets.MEDIAGARRD_SERVER_ACTIONS_TOKEN }}
script: |
const issueNumber = context.payload.issue.number;
const statusLabelsToCheck = [
"Status: Needs Triage",
"Status: Approved",
"Status: Waiting on Child Issues",
"Status: Waiting on Client Update",
"Status: Waiting on Recovery Update"
];

const existingLabels = context.payload.issue.labels.map(label => label.name);
const existingStatusLabels = existingLabels.filter(label => statusLabelsToCheck.includes(label));
const addedLabel = context.payload.action === "labeled" ? context.payload.label.name : null;

let keep = null;
if (statusLabelsToCheck.includes(addedLabel)) {
keep = addedLabel;
} else if (existingStatusLabels.length == 1) {
keep = existingStatusLabels[0];
}

for (const label of existingStatusLabels.filter(label => label !== keep)) {
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
name: label
});
console.log(`Removed label "${label}" from issue #${issueNumber}`);
}

if (keep) {
console.log(`Status label: "${keep}" is set correctly`);
} else {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
labels: ["Status: Needs Triage"]
});
}

46 changes: 46 additions & 0 deletions .github/workflows/pr_handling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Require approved issue

on:
pull_request:
types: [opened, edited, reopened, synchronize]

jobs:
require-approved-issue:
if: github.head_ref != 'dev'
runs-on: ubuntu-latest
permissions:
issues: read
pull-requests: read
steps:
- name: Ensure every linked issue is approved
uses: actions/github-script@v7
with:
script: |
const { repository } = await github.graphql(`
query($owner: String!, $repo: String!, $number: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
closingIssuesReferences(first: 25) {
nodes { number labels(first: 25) { nodes { name } } }
}
}
}
}`, {
owner: context.repo.owner,
repo: context.repo.repo,
number: context.payload.pull_request.number
});

const issues = repository.pullRequest.closingIssuesReferences.nodes;
if (issues.length === 0) {
core.setFailed("Link the approved issue this pull request resolves, e.g. \"Closes #12\" in the description");
return;
}

const unapproved = issues.filter(issue => !issue.labels.nodes.some(label => label.name === "Status: Approved"));
if (unapproved.length > 0) {
core.setFailed(`Linked issues without "Status: Approved": ${unapproved.map(issue => `#${issue.number}`).join(", ")}`);
return;
}

console.log(`All linked issues are approved: ${issues.map(issue => `#${issue.number}`).join(", ")}`);
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.gradle
.settings/
build
gradle/
**/.settings/
**/.project
**/.classpath
Expand All @@ -13,9 +12,14 @@ gradle/
.env.*
.env.example
.env.test.example
vendor/**/*.jar
.factorypath

# Prod artifacts
secrets/
dockerenv/
.env
data/
docker-compose.yml
ref/structurizr/*.json
ref/structurizr/.structurizr/
Loading
Loading