Commit Graph

7 Commits

Author SHA1 Message Date
159332ff43 Add unstage files feature
Add GitService.unstageFiles() using JGit reset to move files from
staged back to modified. Exposed via POST /repo/{name}/unstage
endpoint, repo page with checkboxes, and telnet menu option 7.
Includes unit tests for all layers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 08:56:20 +01:00
39f09f03ff Add JaCoCo coverage and improve tests to 98.7%
Add JaCoCo plugin for coverage reporting. Add additional tests
for null/edge cases in TelnetSession, TelnetServer, and
WebgitApplication.main to maximize coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 08:48:06 +01:00
6218fe345a Add telnet interface for FreeDOS users
Telnet server with text-based menu for all Git operations.
Enabled via webgit.telnet.enabled=true property, defaults to
port 2323. Includes unit tests for session and server.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 08:45:25 +01:00
88385d39a1 Add web controllers and HTML templates
Home page lists repositories with clone form. Repo page shows
branch management, file staging, commit, push and pull controls.
Table-based layout with no JavaScript or CSS for retro browser
compatibility. Includes MockMvc integration tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 08:43:15 +01:00
239b5367a3 Add GitService with clone, list, branch, commit, push, pull
Implements all core Git operations using JGit with separate
worktree and git-dir paths. Includes comprehensive unit tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 08:41:25 +01:00
a7d03b3410 Add WebgitProperties configuration
Add configuration properties class with worktreePath and gitDirPath
settings, and JGit dependency.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-26 08:40:17 +01:00
47c7841017 Initial commit 2026-02-26 08:29:29 +01:00