Commit Graph

62 Commits

Author SHA1 Message Date
798adb5299 Merge branch 'master' into renovate/spring-boot
All checks were successful
Build and Test / build (pull_request) Successful in 1m37s
2026-05-03 11:03:19 +02:00
a2638b0c24 Update .gitea/workflows/build.yml
All checks were successful
Deploy / build (push) Successful in 2m4s
2026-05-03 11:03:14 +02:00
e4a01db90d Merge branch 'master' into renovate/spring-boot 2026-05-03 11:02:02 +02:00
5b6185b236 Merge pull request 'Update dependency org.eclipse.jgit:org.eclipse.jgit to v7.6.0.202603022253-r' (#2) from renovate/org.eclipse.jgit-org.eclipse.jgit-7.x into master
All checks were successful
Deploy / build (push) Successful in 2m42s
Reviewed-on: #2
2026-05-02 23:03:29 +02:00
3c7444675d Merge branch 'master' into renovate/org.eclipse.jgit-org.eclipse.jgit-7.x 2026-05-02 23:03:22 +02:00
7610f5d97f Merge pull request 'Update Gradle to v9.5.0' (#4) from renovate/gradle-9.x into master
Some checks failed
Deploy / build (push) Has been cancelled
Reviewed-on: #4
2026-05-02 23:03:13 +02:00
53cb54c662 Merge branch 'master' into renovate/gradle-9.x 2026-05-02 23:03:07 +02:00
82ed9fb77a Merge pull request 'Update actions/checkout action to v6' (#5) from renovate/actions-checkout-6.x into master
Some checks failed
Deploy / build (push) Has been cancelled
Reviewed-on: #5
2026-05-02 23:03:01 +02:00
b9c637f0ba Merge branch 'master' into renovate/actions-checkout-6.x 2026-05-02 23:02:55 +02:00
fac9062f83 Merge pull request 'Update actions/setup-java action to v5' (#6) from renovate/actions-setup-java-5.x into master
Some checks failed
Deploy / build (push) Has been cancelled
Reviewed-on: #6
2026-05-02 23:02:49 +02:00
a314b88eb3 Update actions/setup-java action to v5 2026-05-02 21:02:05 +00:00
b3974c15f2 Update actions/checkout action to v6 2026-05-02 21:02:04 +00:00
768587ce57 Update Gradle to v9.5.0 2026-05-02 21:02:02 +00:00
7c595ef022 Update dependency org.eclipse.jgit:org.eclipse.jgit to v7.6.0.202603022253-r 2026-05-02 20:59:17 +00:00
270223dd9f Update plugin org.springframework.boot to v4.0.6 2026-05-02 20:59:16 +00:00
0e8ab5f4ef Add renovate.json
Some checks failed
Deploy / build (push) Has been cancelled
2026-05-02 22:58:10 +02:00
4077c1b28e Log test results
All checks were successful
Deploy / build (push) Successful in 1m41s
2026-02-27 22:02:13 +01:00
e6f6e2466b Add test step
All checks were successful
Deploy / build (push) Successful in 1m4s
2026-02-27 21:56:51 +01:00
5be1b1cc29 Throw exception on authentication issues 2026-02-27 21:54:30 +01:00
36ecd019a8 Add copilot instructions 2026-02-27 21:53:56 +01:00
472db2dd96 Incrase spacing in staging view
All checks were successful
Deploy / build (push) Successful in 50s
2026-02-27 19:31:10 +01:00
b5097685c7 Put push/pull buttons on one line
All checks were successful
Deploy / build (push) Successful in 49s
2026-02-27 19:29:08 +01:00
6a532322c4 Add credential settings
All checks were successful
Deploy / build (push) Successful in 55s
2026-02-27 19:22:38 +01:00
52fe455c76 Add ahead/behind indicator and push/pull buttons 2026-02-27 19:22:03 +01:00
a27c9fba00 Add watchtower step to workflow
All checks were successful
Deploy / build (push) Successful in 46s
2026-02-27 19:08:42 +01:00
9b1668def9 Add checkmark to mark all files
All checks were successful
Deploy / build (push) Successful in 46s
2026-02-27 19:06:00 +01:00
ec79a0c5cf Remove duplicate Push Container step in deploy workflow
All checks were successful
Deploy / build (push) Successful in 32s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:35:11 +01:00
2dcacdbe8d Exclude master from build workflow trigger
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:34:39 +01:00
e079eed52d Use ubuntu-latest runner in CI/CD workflows
All checks were successful
Deploy / build (push) Successful in 1m22s
Build / build (push) Successful in 1m45s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:33:19 +01:00
d803919bf5 Update deploy pipeline: run on master, tag as latest
Some checks failed
Build / build (push) Has been cancelled
Deploy / build (push) Has been cancelled
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:32:01 +01:00
98de13b410 Add Dockerfile and Gitea CI/CD workflows
Some checks failed
Build / build (push) Has been cancelled
- Dockerfile: eclipse-temurin:25-alpine, exposes port 8080
- build.yml: builds on every branch push with Java 25
- deploy.yml: builds and pushes Docker image on v* tags

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:29:40 +01:00
8784dfc391 Show commit title, description, author and date on commit detail page
Added GitService.getCommitInfo() using getFullMessage() to preserve
the full commit body. Controller splits the message into title (first
line) and body (remainder) for separate display in the template.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:24:40 +01:00
b0016767e8 Show current branch name in staging view
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 11:12:13 +01:00
04a69c323e Fix commit graph rendering for branching history
Track active lanes via explicit state (openLanes set) rather than
relying on PlotCommit.getPassingLanes() which is not available. Draw
'-' between passing lanes and a commit when the commit's parent is
on a lane to the left (branch convergence), giving output like:

  *     <- C (lane 0)
  | *   <- D (lane 0 passing, D on lane 1, no convergence)
  * |   <- C (lane 0, lane 1 passing)
  |-*   <- B (lane 1, converges to A on lane 0)
  *     <- A (lane 0)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 10:48:34 +01:00
eb222716cd Move parent directory link inline with back to commits
Both tree.html and blob.html now show '< Parent directory' on the
same line as '< Back to commits', separated by '|'. In blob view,
parent directory navigates to the containing directory tree.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 10:20:07 +01:00
d68933bc2f Render images in file browser blob view
Add /repo/{name}/raw/{hash}/** endpoint serving binary file content
with correct Content-Type. Blob view detects image extensions (png,
jpg, gif, bmp, webp, svg, ico) and renders an <img> tag instead of
a <pre> text block.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 10:17:30 +01:00
b0c869829f Fix file browser for directories two levels deep
TreeWalk was only entering exact-match subtrees, missing intermediate
directories. Now enters all subtrees that are prefix of the target path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 10:13:15 +01:00
321e268530 Add Rollback Selected button to staging page
Rollback restores selected unstaged files to their HEAD state
using git checkout. The button shares the form with Stage Selected,
distinguished by the submit button's name/value pair.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 10:05:41 +01:00
1b6f007eea Remove Stage/Unstage column headers from staging tables
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 10:02:20 +01:00
b2b3993d85 Add file diff view to staging page, fix title
Rename 'Changes' to 'Staging' in the page title and heading.
File names in both modified and staged file lists are now
clickable links that show the diff for that file. The diff
view shows both unstaged (index vs working tree) and staged
(HEAD vs index) differences.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:57:53 +01:00
fbfffac73f Fix branch/commit view bugs
- Filter out non-branch refs (like HEAD) from branch list
- Walk all branch tips in commit list so older checkouts still
  show newer commits
- Show '(current)' instead of Checkout button for HEAD commit
- Swap nav link order in blob view (commits first, then tree)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:52:59 +01:00
fdc520cfaf Add commits page with graph, diff, file browser, and checkout
New features:
- Commits list with ASCII graph, hash, message, author, date
- Single commit diff view with per-file diffs
- File tree browser at any commit
- File content viewer at any commit
- Checkout entire commit (detached HEAD)
- Checkout selected files from a commit

New GitService methods: listCommits, getCommitDiff,
listFilesAtCommit, getFileContentAtCommit, checkoutCommit,
checkoutFilesFromCommit.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:44:38 +01:00
383864469d Add delete confirmation page before removing repository
The Delete Repository button now navigates to a confirmation page
asking 'Are you sure?' with Yes/No options. Only the Yes button
performs the actual delete POST. No JavaScript required.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:31:03 +01:00
4458eb204b Show remotes in table with editable URLs on remote page
List all configured remotes in a table with name, editable URL
field with Save button, and per-remote Push/Pull buttons.
Add GitService.listRemotes() and updateRemoteUrl() methods.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:28:43 +01:00
005e0c7d23 Make staging (changes) the default repo view
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:23:59 +01:00
be130582fc Reorder sidebar: Staging above Branches, rename Changes to Staging
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:21:34 +01:00
ba3bf697f0 Move '(current)' label to the checkout button column
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:20:24 +01:00
6efb8f1607 Replace branch dropdown with table listing each branch
Show branches in a table with a Checkout button per row.
The current branch is shown in bold with '(current)' and
has no checkout button.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:19:31 +01:00
45f7c84b43 Move Clone New into repo dropdown, remove sidebar links
Remove the Repositories and Clone New links from the sidebar.
Add a 'Clone New...' option to the repo dropdown that shows the
clone form in the content frame when selected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 09:18:08 +01:00
8b5bdc0043 Add generic error page with stack trace
Add a @ControllerAdvice that catches all exceptions and renders
an error page showing status, error type, message, and full stack
trace in a <pre> block. Uses table-based layout consistent with
the rest of the UI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 08:04:48 +01:00